cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in Posting statistical debit item in mass write off process FP04M

Former Member
0 Kudos
697

Hello All,

We have a requirement in ISU FICA for which the solution proposed involved posting a statistical debit item during write off process. So we enhanced event 5040 to post item there. We have used FKK_CREATE_DOC FM to post documents.

This solution is working fine for single document posting i.e. FP04, but for mass writeoff i.e. FP04M it is giving dump with error:

The following are executed during the COMMIT WORK statement - the routines registered for this with the PERFORM .. ON COMMIT statement, the methods registered for the events in the object services and possibly also local updating (SET UPDATE TASK LOCAL).

Then we tried to use FM FKK_CREATE_DOC_MASS for FP04M transaction there also it is giving dump with error:

"Nested call of PERFORM ON COMMIT: NESTED_PERFORM_ON_COMMIT caller: SAPLF KB0 program: SAPLFKB0 form: CHECK_COMMIT" for while using FM 'FKK_CREATE_DOC_MASS'.

We have already checked for OSS Note 841211 and 778875 but both can not be implemented.

We are using SAP Release 753 and 1809 version of S/4 HANA.

Can anybody help on this?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member406383
Participant
0 Kudos

Hi Abhishek,

During the enhancement of the event 5040, the FM FKK_CREATE_DOC will not help you create document for mass postings. For this you can try calling the FM BAPI_CTRACDOCUMENT_CREATE, with postings individual documents in new session by appending the DESTINATION keyword. This will call the FM BAPI_CTRACDOCUMENT_CREATE for posting individual documents in mass in subsequent new session.

Thanks,

Anand

Former Member
0 Kudos

Hi Anand,

When I am trying to do BAPI_TRANSACTION_COMMIT after this BAPI, it is giving me same dump.