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

ACC_DOCUMENT02

Former Member
0 Likes
875

Hi All,

I need to populate fileds of IDOC segments

Acc_document02 Idoc.

can any body guide me ,which segments and fields i need to fill.

E1BPACHE09 : Header segment

E1BPACGL09 : G/L account item

E1BPACCR09 : Currency Items

Is these segments are enough.

What else fields i need to add or remove..

What is field

ITEMNO_ACC : Accounting Document Line Item Number

and how to fill it.

I am getting Error 51:Application document not posted.

Regards,

Ramesh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
711

Hi Ramesh,

For ITEMNO_ACC : Accounting Document Line Item Number you can use any increment variable.

v_itemno = v_itemno + 1.

E1BPACGL09-ITEMNO_ACC = v_itemno.

This will store the line nos as 1 , 2 , 3 ... once the document is posted.

To check which segments and fields need to be filled, I would suggest to post the document manually through transaction. Note down the mandatory fields on screen and identify(or map) them in segments. Fill these fields and try again.

Hope this helps.

Regards,

Savitha

2 REPLIES 2
Read only

Former Member
0 Likes
712

Hi Ramesh,

For ITEMNO_ACC : Accounting Document Line Item Number you can use any increment variable.

v_itemno = v_itemno + 1.

E1BPACGL09-ITEMNO_ACC = v_itemno.

This will store the line nos as 1 , 2 , 3 ... once the document is posted.

To check which segments and fields need to be filled, I would suggest to post the document manually through transaction. Note down the mandatory fields on screen and identify(or map) them in segments. Fill these fields and try again.

Hope this helps.

Regards,

Savitha

Read only

manubhutani
Active Contributor
0 Likes
711

in we02

just below the 51 status - you will find the error description,

please let me know that

regards

manu