Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Parking Document Issue

Former Member
0 Likes
893

Hi Gurus,

We are using BAPI - "BAPI_ACC_DOCUMENT_POST" to park a document.Here, the posting is for GL-Vendor and for testing purpose we are posting a blocked GL and blocked vendor numbers.

But instead of returning standard error, the document is getting parked via BAPI.

Should we have to pass other than GL_ACCOUNT, ITEM_TEXT, ALLOC_NMBR, COSTCENTER, COMP_CODE, PSTNG_DATE in ACCOUNTGL

and other than ITEMNO_ACC, VENDOR_NO, SP_GL_IND, ITEM_TEXT, COMP_CODE in ACCOUNTPAYABLE.

Waiting for your replies..

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
815

You could call BAPI_ACC_DOCUMENT_CHECK without setting the flag for parking, before call of
BAPI_ACC_DOCUMENT_POST with the flag for parking set.

Regards,

Raymond

4 REPLIES 4
Read only

jashd
Explorer
0 Likes
815

While Parking an Incoming Invoice through BAPI it sets RBKP-RBSTAT value = 'A' . You can put an implicit enhancement and change the value forcefully to '3' which is in Error.

Read only

Former Member
0 Likes
815

Hi Dibyendu Jash,

We are very thankful for your response.

Again a small clarification, but why we need to do this specifically, will the standard errors not get captured via "BAPI_ACC_DOCUMENT_POST" (while Parking)...

Should we have to follow some other logic to do FI Parking(which captures standard errors)

Waiting for your replies....

Read only

RaymondGiuseppi
Active Contributor
0 Likes
816

You could call BAPI_ACC_DOCUMENT_CHECK without setting the flag for parking, before call of
BAPI_ACC_DOCUMENT_POST with the flag for parking set.

Regards,

Raymond

Read only

0 Likes
815

Hi Raymond,

Thanks a million again...

I think you had some divine drink today...

You are rocking!!!....this issue also got solved.....