BAPI_ACC_BILLING_REV_POST: Reversal in special period
[BAPI] [BAPI_ACC_BILLING_REV_POST] [break in period] [PERIO] [period] [reversal] [reversal time] [special] [word reversal]
- VF11: PCA/CO-PA reversal document not created IISymptom 1.) When you reverse an invoice, the system creates neither a PCA nor a CO-PA reversal document even though the reversal invoice is relevant for PCA or CO-PA. 2.) Or: If...
- VF11: PCA/CO-PA reversal document not created IISymptom 1.) When you reverse an invoice, the system creates neither a PCA nor a CO-PA reversal document even though the reversal invoice is relevant for PCA or CO-PA. 2.) Or: If...
- Reversal of cost object hierarchy distribution terminatesSymptom You execute or reverse the distribution of a cost object hierarchy. Sometimes the program terminates with the message FB_COMMON_MESSAGES. Other terms KKPX, KKPY, reversal, dump, MESSAGE_TYPE_X, FB_COMMON_MESSAGES, SAPLFAGL_COFI_ONLREC, LFAGL_COFI_ONLRECF22, PUT_FINAL_DOCNRS_INTO_TRACE, SAPMKKPA....
Symptom
You want to post a reversal document to a special period using BAPI BAPI_ACC_BILLING_REV_POST.When creating the CO-PA document, the system does not take the special period into account.As a result, the reversal document is posted to the period determined for the posting date and not as expected to the special period.
Other terms
BAPI, BAPI_ACC_BILLING_REV_POST, reversal, PERIO, period, special period
Reason and Prerequisites
The problem is caused by a program error.
You use BAPI BAPI_ACC_BILLING_REV_POST to post to a special period.
Solution
Implement the attached source code corrections and consider the following:
Program RKEVRK2R is only a ‘template program’ for generating the ‘actual’ program RK2Rxxxx (xxxx = name of the operating concern) which is called during the update of the actual data.For regenerating this program you have to call function module ‘RKE_GENERATE_INTERFACE_ACT’ in the test environment and start it for the respective operating concern.
Example: If the name of the operating concern is ‘S001′, you have to regenerate program RK2RS001 with the following steps:
Call transaction SE37 (Function Builder:Initial Screen)Enter function module: ‘RKE_GENERATE_INTERFACE_ACT’Choose ‘Single test’ (F8)Enter import parameter ERKRS = ‘S001′Choose ‘Execute’ (F8)