cancel
Showing results for 
Search instead for 
Did you mean: 

F110 - How to setup AL11 file path in OBPM4 after payment run?

shubham070198
Explorer
0 Kudos
1,490

I was setting up the variant in OBPM4.

But I am not getting how to setup AL11 file path to place the files.

View Entire Topic
e_enginyilmaz
Participant

Hello,

Alternatively;

  • Go to OBPM4, select your format.
  • Choose Event Modules and activate the module 21.

You can use this method by working with an ABAPer in case you need a dynamic selection of file path and/or naming rule.

Kind regards,

Engin

shubham070198
Explorer

Many thanks Engin !!

I created the physical path and logic path in FILE tcode.

Now I can manipulate the path in Event 21 of OBPM3.

There are 2 parameters in Event 21 exit, I_FILENAME & C_FILENAME.

also we get some payment data in FPAYH structure; do you have any idea that can we debugg the job of the payment run?

because whenever I try to debug the job I can see there are multiple reports getting executed and before hitting the logic in the exit it gives me error that 'program terminated' stating F1 explanation that foreground attribute not possible in background.

e_enginyilmaz
Participant
0 Kudos

I am not an ABAPer but the method I'd prefer is to create an infinite loop and then go to SM50 to find the process and try to debug from there. I generally insert the code piece like below right above the code I want to debug.

DATA : lv_var1 TYPE c VALUE 1 ,
lv_var2 TYPE c VALUE 2 .


DO .
IF lv_var1 EQ lv_var2.
EXIT.
ENDIF.
ENDDO.

After seeing the the code gets stuck inside the loop above I change the value of lv_var1 to '2' to skip the code block that causes the infinite loop.

Alternatively, you can check the blog entry below to understand how background jobs are debugged.

https://blogs.sap.com/2013/04/12/debugging-job-in-sm50-and-sm37/

Kind regards,

Engin