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

BAPI_ACC_DOCUMENT_POST Posting error correction

Former Member
0 Likes
633

Hi,

I have used BAPI_ACC_DOCUMENT_POST in my program and same is running fine since long (No coding error).

Now We need modifications in the same:

Once we are posting the document we need to get the line item number having some error (Cost-Center budget exceeded, System status CLSD is active (ORD 906200) etc). I see there is one field in RETURN table of BAPI called 'ROW' is there some way we can have the ROW field filled with POSNR or some alternate way to return the failure with ROW ID (POSNR).

I am working on high priority ticket, Currently document posting is pending in Production due to lage number of data.

Thanks,

Preyansh

2 REPLIES 2
Read only

Former Member
0 Likes
464

Hi,

You many need to imlpement BADI provided in.

Thanks,

Bandana

Read only

0 Likes
464

Hi,

Please help me get the issue resolved.

Thanks,

Preyansh