05-13-2019 9:52 AM
dear,
i am using FB05 for incoming posting with clearing, every thing working fine in for-ground but posting not happening in background when no. of document to be cleared is more than 14.
please help.
regard,
Atique
05-13-2019 1:18 PM
Did you handle correctly the pagination (ok_code "=P+") or did you just add 1 to field name indice so exceeding dynpro number of line?
(In some case FM POSTING_INTERFACE_CLEARING can build the BDC for you, or just call it in a small test, with more than 14 items cleared, and look at the generated BDC)
05-13-2019 1:18 PM
Did you handle correctly the pagination (ok_code "=P+") or did you just add 1 to field name indice so exceeding dynpro number of line?
(In some case FM POSTING_INTERFACE_CLEARING can build the BDC for you, or just call it in a small test, with more than 14 items cleared, and look at the generated BDC)
05-13-2019 2:41 PM
HI,
kindly debug in background mode and check what will be the error your getting.
How to debug in back ground mode
1.write a code like bellow and execute the program in background mode , then go to SM50 , then you can see the background program Select the program first then in the menu bar
Administration >program>Debugging , then you can debug the program and you may be can figure the issue .
DO .
IF sy-subrc <> 0
EXIT.
ENDIF.
ENDDO.
https://blogs.sap.com/2016/01/26/debug-background-job-with-ease/
Regards,
Nawa.
05-17-2019 10:26 AM
thanks guys for quick reply, issue is resolved by doing recording at the client system, the main issue was the paging the document in case of more than 14 document.
thanks Raymond and Nawan...
Regards,
Atique