Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to capture data from a transaction when called in a function module by sumbit and to be able to process further

Former Member
0 Likes
658

hi all,

  i want some feedback for calling a custom transaction in function module(rfc) and need to capture the output of the transaction and its messages into my function module and further use the output for Webservices.

The transaction refers a custome report program .

hi all,

  i want some feedback for calling a custom transaction in function module(rfc) and need to capture the output of the transaction and its messages into my function module and further use the output for Webservices.

The transaction refers a custome report program .

2 REPLIES 2
Read only

0 Likes
620

Hi Chetan,

       Instead of calling transaction, you can used SUBMIT statement and IMPORT statement after the submit. In your custom report, do the EXPORT for the data that you need further process in function module.

Thanks

Hock Lin

Read only

Former Member
0 Likes
620

Hi Chetan,

You can go for CALL transaction statement.

Here the transaction will be executed in background and messages will be populated in it_mess. This you can use for further action.

   CALL TRANSACTION 'SE11' USING it_tab
                        MESSAGES INTO it_mess
                        UPDATE 'A'
                        AND SKIP FIRST SCREEN.

Thanks,

Sachin