Problem: you are trying to create a reversal document for Activity Allocation in ERP from your application.
Solution: There are two possibilities.
First – you can create a Batch Input for transaction KB24N and by this create the reversal document
Second – better solution – you can use BAPI FM called BAPI_ACC_ACT_POSTINGS_REVERSE. This FM will allow you to create new reversal document for Activity Allocation with easy FM module call. It will also return all messages that the standard transaction returns.
Number of the document that should be reversed is meant to be put into doc_header-rvrs_no field. Also, remember to put a user name into the doc_header-username field, otherwise BAPI will return error.
Komentowanie jest zakończone.