‎2010 Mar 27 4:23 AM
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
‎2010 Mar 27 4:45 AM
Hi,
USe this function module BALW_BAPIRETURN_GET2 ,Pass the message number with type and class.
‎2010 Mar 27 5:35 AM
‎2010 Mar 27 5:37 AM
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'.
‎2010 Mar 27 7:02 AM
‎2010 Mar 27 7:44 AM
Please do not post with CAPS LOCKED. It is considered rude and is difficult to read.
Many thanks,
Julius