Application Development 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: 

Retrieve Batch Input session name by code

former_member470288
Participant
0 Kudos

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

raymond_giuseppi
Active Contributor

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

Regards,
Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor

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

Regards,
Raymond

former_member470288
Participant
0 Kudos

Raymond, it worked!

Thanks a lot!