Application Development 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 a value after call transaction

Former Member
0 Kudos

hi all,

i want to read a field after calling a transaction which is then used in the program. how to read and save this value?

3 REPLIES 3

Former Member
0 Kudos

Hi,

Depending upon the transaction it may be passed back in one of the system variables sy-msgv1 (2,3 or 4). If not you will have to read the associated database table after the update has occurred.

Darren

Former Member
0 Kudos

Hi,

The statement after Call Transaction will be executed only after the execution of the tcode, so if you want to read a value from a field in the calling transaction use SET/GET parameter.

Regards

Karthik D

Former Member
0 Kudos

Use EXPORT key word in the Called Transaction to store the value in ABAP memory

After call transaction, use IMPORT key word to read the value from memory.