04-27-2018 4:05 AM
How to call custom transaction ZPROG by passing data to selection screen in new session.
I dont want to use submit report since i need to call custom tcode in new session.
FM 'ABAP4_CALL_TRANSACTION' is being used to open in new session.
it is stopping at selection since data is not being passed.
how to acheive this.
04-27-2018 11:01 PM
04-27-2018 5:38 AM
Hi Sreekanth,
You can use the Submit Report and pass the parameters . It behave same.
if You want to use Call Transaction then use the transaction directly and pass the internal table for the selection screen values . Call transaction take Value_tab as the BDC recording.
alternative if you don't want to use the Value_tab, create the parameter id of your selection parameter and set it before calling your custom transaction.
Take your call .
Regards
Himanshu
04-27-2018 7:36 AM
Try a FM like HR99B_PARALLEL_REPORT_RUN which is also RFC enabled (so STARTING NEW TASK xxx DESTINATION 'NONE') and carry RSPARAMS structure to execute a submit.
04-27-2018 11:01 PM