Salvation after 5+ years and variety of technological marriages, ABAP RAP is here finally. Fiori and WebAPI development can take a deep breath. This post is about common and uncommon snippets for ABAP RAP. This post is updated on regular manner.Read More
MIME repository is a nice and convenient way to store and provide built in documents for end users. It comes handy, when working with templates. User can download the up to date templates always. This is especially good, when users use excel documents, to load data into the system.Read More
SAP worklfows can be hanging for numerous reasons. This article explains about detecting the failure of saving workflow container data to database, where the container conversion to the database format fails in the middle. This approach applicable to resolve root cause of dumps (happening in the SAP standard WF classes) of hanging workflows.Read More
Nothing tricky here, function module
MONTH_NAMES_GET is available for that purpose
DATA: month_names TYPE STANDARD TABLE OF t247. CALL FUNCTION 'MONTH_NAMES_GET' TABLES month_names = month_names EXCEPTIONS month_names_not_found = 1 OTHERS = 2. IF sy-subrc <> 0. RETURN. ENDIF.
The below snippet helps you to read BRF+ decision tables into ABAP, where only I EQ LOW range or direct value assignment is specified in a particular BRF+ table cell (everything other is ignored).
To get the BRF+ table content into ABAP:
- obtain the BRF+ table GUID from the BRF+ Workbench and pass it as
- define a structure/table type in DDIC or a type locally in ABAP, which has the identical component names (and possibly the same types) as the BRF+ table columns to use as
It comes handy, when you need to allocate the next item number of a document. The task is always to get the highest number first.
DATA: po_items TYPE STANDARD TABLE of ekpo. DATA(max_num) = REDUCE numc5( INIT res = '00000' FOR line IN po_items NEXT res = COND #( WHEN line-ebelp > res THEN line-ebelp ELSE res ) ).Read More
AFTER 15 MINUTES THE INSTATNTIATION FAILED, USING THE BELOW GUIDE.
IF YOU CANNOT FIND ABAP Trial Environment under the dev space, it will never work.
SO AFTER ALL THE ONLY WORKING SOLUTION IS:
DELETE YOUR EU AWS TRIAL AND CREATE A NEW ONE IN USA. IT IS WORKING.Read More
When you need to include simply fields
TYPES: BEGIN OF ty_cua_update, uname TYPE xubname, modify_type TYPE c LENGTH 1, update_op TYPE c LENGTH 1, modify_failed TYPE boole_d, modify_messages TYPE bapirettab, distribution_failed TYPE boole_d, distribution_messages TYPE bapirettab, END OF ty_cua_update.Read More