2015 Apr 13 7:30 PM
Up until recently, I had been using the AcctngGLPosting BAPI to automate a process of creating a parked GL document. In order to get this to work, I was using I user exit to capture the document header record and change the "status_new" field to a "2" which would result in a parked document.
However, as part of our EHP7 upgrade this process now stopped working and is throwing and error "636 Changing the transaction code is not permitted for parked documents". I also found SAP note "2021422 - Parking using RWIN with illegal TCODE or AWTYP", which explicitly prevents me from doing what was previously working. The note explains why this change was made, but doesn't provide an answer to how to use the bapi to create the parked GL document instead.
Does anyone know of another mechanism by which to create a parked GL document? I've reviewed the documentation for the AcctngGLPosting BAPI and I don't see anything changed in there to accommodate this functionality.
Any and all suggestions are welcome.
2015 Apr 14 7:37 AM
Hi,
Try Implementing the BTE RWBAPI01.
I have changed the header status using this BTE for BAPI BAPI_ACC_DOCUMENT_POST.
Hope This helps.
2015 Apr 13 9:01 PM
Elder,
We submit program " RFBIBL00" (for tcode FBV1) in a customer program to create a session of parked documents.
submit rfbibl00 and return
with ds_name eq p_output
with fl_check eq space
with callmode eq callmode
with pa_xprot eq 'X'.
Then process the created batch in the same customer programs using:
submit rsbdcsub and return "8/23/01 and return was added
with mappe = p_sname " batch session name, in the batch header record
with z_verarb = 'X' " To process
with fehler = ' ' " not batch sessions in error
with logall = 'X' . " Extended log
Bruce
2015 Apr 14 7:37 AM
Hi,
Try Implementing the BTE RWBAPI01.
I have changed the header status using this BTE for BAPI BAPI_ACC_DOCUMENT_POST.
Hope This helps.
2015 Apr 14 12:49 PM
Thanx for the information. This looks like it will allow me to do exactly what I need.
2016 Sep 07 7:52 PM
Hi Gaurav,
We also have the same issue now. We are using the " BAPI_ACC_GL_POSTING_POST" to park the document. So do we need to replace it with another BAPI " BAPI_ACC_DOCUMENT_POST", if yes can you send me some instructions on how to do this?
2021 Nov 04 1:04 PM
What FM we have to use if I have to update header status in this BTE?