03-17-2014 12:21 PM
Hi everyone,
I want to transport some parameters to the transaction that I call. Currently I’m using this way of calling a transaction (CALL TRANSACTION ‘NAME’ MODE 'N' UPDATE 'S' MESSAGES INTO messtab. Using batch input (bdcdata)). When I use this I’m not able to call another transaction. So is there another way to transport parameters when calling a transaction (module pool)?.
Thanks in advanced.
Best regards.
03-17-2014 12:56 PM
Use Export Memory ID, IMPORT Memory Id if you are accessing in same session.
Or use, SET parameter ID, GET parameter ID if you want to store and retrieve in come other session.
03-17-2014 12:33 PM
Hi Arben,
What do you mean by "call another transaction"?
If your concern is about the hard coded parameters you can use a constant table like STVARV and pass the parameters according to your needs.
Check the CALL TRANSACTION documentation if you have any doubts about the command
https://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION.htm
Regards,
Felipe
03-17-2014 12:54 PM
Hi Felipe,
With "call another transaction" I mean calling the same transaction in another session in the same computer. I used export/import from/to Memory ID to transport parameters but when I call it twice or more parameters confuse and then I get no right values, but values that are stored in local memory from the first execution.
I mean everything goes right, but only the first time.
Any idea?
Thank you!
03-17-2014 1:34 PM
Arben,
could you describe the flow that you programs should be executed?
03-17-2014 12:35 PM
Hi, try to look towards using SUBMIT if you call executable program.
Another way - use export/import from/to Memory ID to transport some parameters between different programs
03-17-2014 12:55 PM
Hi Maxim,
I used export/import from/to Memory ID to transport parameters but when I call it twice or more parameters confuse and then I get no right values, but values that are stored in local memory from the first execution.
I mean everything goes right, but only the first time.
Any idea?
Thank you!
03-17-2014 2:38 PM
03-17-2014 12:56 PM
Use Export Memory ID, IMPORT Memory Id if you are accessing in same session.
Or use, SET parameter ID, GET parameter ID if you want to store and retrieve in come other session.