on 2023 Feb 05 9:29 AM
I was setting up the variant in OBPM4.
But I am not getting how to setup AL11 file path to place the files.
Request clarification before answering.
Hello,
Alternatively;
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
User | Count |
---|---|
17 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.