We will be developing an API which will take CARRID as input in JSON payload and it will return relevant details from SFLIGHT table. Goto
Category: ABAP
Test APIs through Postman
Postman can be downloaded from here. Select the Method(SET/GET..) → Enter the URL / Service / API → Navigate to Params Tab and enter if
Program to retrieve XML Data from IDoc
Execute above code to get the XML Data from IDoc
Push asynchronous RFC execution over Queue (SMQR)
If program takes much time to execute synchronous FM calls, then we can send it to Queue (created in TCode SMQR) which will execute asynchronously.
ABAP Function- CONCAT_LINES_OF( )
The in-built function CONCAT_LINES_OF( ) concatenates the table data into a string. The table must have field/fields of character type like C,D,N,T or STRING. The
COMMIT WORK & SYSTEM EVENTS
When a transaction is finished the data is either persisted or rolled back using the commands- COMMIT WORK ( & WAIT) or ROLLBACK WORK. Now