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

How to use BAPI_ACC_DOCUMENT_POST?

Former Member
0 Likes
1,113

HI,

I have to use BAPI_ACC_DOCUMENT_POST in my z report. Please provide some sample report so that it will help me.

1 ACCEPTED SOLUTION
4 REPLIES 4
Read only

bpawanchand
Active Contributor
0 Likes
669

HI

[Documentation About BAPI|http://abap.wikiprog.com/wiki/BAPI_ACC_DOCUMENT_POST]

[Sample Code|;

Regards

Pavan

Read only

Former Member
0 Likes
669

i tried the link but i am getting error.

Type conflict when calling a function module (field length).

In the function module interface, you can specify only

fields of a specific type and length under "DOCUMENTHEADER".

Although the currently specified field

"LI_DOCUMENTHEADER" is the correct type, its length is incorrect.

Read only

0 Likes
669

Is ur header declared is of type bapiache09?