Application Development and Automation 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: 
Read only

Problem with Session

Former Member
0 Likes
523

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
483

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

3 REPLIES 3
Read only

Former Member
0 Likes
484

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

Read only

Former Member
0 Likes
483

the program is used for Processing multiple sessions. instead you can look for some function module or other approach.

Read only

Former Member
0 Likes
483

I found solution ,i can add selection screen rsparams with submit program