Skip to Content
avatar image
Former Member

Retrieve Batch Input session name by code

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 03, 2017 at 06:39 AM

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

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 03, 2017 at 08:42 AM

    Raymond, it worked!

    Thanks a lot!

    Add comment
    10|10000 characters needed characters exceeded