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

Retrieve Batch Input session name by code

Former Member
0 Likes
1,339

Hi experts,

I'm developing a FI validation that basically checks if the process executed is a Batch Input (from SM35) and if its session name is 'RFUMSV00'. I use SY-BINPT to find if the execution comes from a Batch Input but I can't find the way to get the session name. Is there a way to do so?

Thanks in advance.

Carles

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
1,070

Use FM BDC_RUNNING. Also note thata BDC can be executed without sy-binpt set.

Regards,
Raymond

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
1,071

Use FM BDC_RUNNING. Also note thata BDC can be executed without sy-binpt set.

Regards,
Raymond

Read only

Former Member
0 Likes
1,070

Raymond, it worked!

Thanks a lot!