‎2008 Oct 27 10:10 AM
Hi all,
i am performing BDC recording as part of my report,i am passing the session name and one check boxon selection screen.when this check box is checked i have to submit the session with the name passed on selection screen.
what i am doing is in BDC_OPEN_GROUP i am pasiing my selection screen parameter as Group ID and at end of close group i have written a code like below.
If check box is 'X'.
SUBMITT RSBDCSUB.
endif.
but it is processing all sessions that are pending .but i want to submit only the session that i had created recently.can anyone hel;p me in this.
Thanks and regards,
Gopal
‎2008 Oct 27 10:20 AM
Hi,
Sesion name can be dupliacate so as per you senerio submit the program.
QID is unque for each sesions.
you can get the QID from export parameter of funcion module BDC_OPEN_GROUP.
the parameter name is QID.
and then submit the report RSBDCBTC instead of RSBDCSUB which takes QID as input.
This is how you can submit the latest sesion created by your program.
Regards,
Shan
‎2008 Oct 27 10:20 AM
Hi,
Sesion name can be dupliacate so as per you senerio submit the program.
QID is unque for each sesions.
you can get the QID from export parameter of funcion module BDC_OPEN_GROUP.
the parameter name is QID.
and then submit the report RSBDCBTC instead of RSBDCSUB which takes QID as input.
This is how you can submit the latest sesion created by your program.
Regards,
Shan
‎2008 Oct 27 10:26 AM
the program is used for Processing multiple sessions. instead you can look for some function module or other approach.
‎2008 Oct 27 10:39 AM
I found solution ,i can add selection screen rsparams with submit program