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: 

extracting data from a message

syed_ibrahim5
Active Participant
0 Kudos

MAIN PRPOGRAM : ZPROG1

TRANSACTION : ZPROG2

IF WE RUN THE TRANSACTION CODE , IT WILL SHOW THE *PURCHASE ORDER NUMBER AND GRN NUMBER* IN THE STATUS BAR AS A MESSAGE................NOW I HAVE TO RETRIEVE THOSE TWO VALUES FROM THAT STATUS WARNING MESSAGE AND ADD THOSE DATA TO THE CUSTOM TABLE BY CALLING THE TRANSACTION FROM THE MAIN PROGRAM... HOW TO STORE THOSE VALUES SHOULD I USE GET AND SET PARAMETER ID..........PLS EXPLAIN.......

WITH ANTICIPATION AND REGARDS,

SYED

5 REPLIES 5

Former Member
0 Kudos

Hi,

USe this function module BALW_BAPIRETURN_GET2 ,Pass the message number with type and class.

0 Kudos

THANKS A LOT.

Former Member
0 Kudos

Since you have purchase order number and GRN number with you and you are calling another program from same program. so you can use statement:

EXPORT TO MEMORY ID 'XXX'.

and then import in another program from same memory id.

IMPORT from MEMORY ID 'XXX'.

0 Kudos

THANKS ... I WILL TRY THAT...

Former Member
0 Kudos

Please do not post with CAPS LOCKED. It is considered rude and is difficult to read.

Many thanks,

Julius