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_DOCUMENT01 - basic type need help

Former Member
0 Likes
1,192

Hi Gurus

I am using ACC_DOCUMENT MESSAGE TYPE, ACC_DOCUMENT01 BASIC TYPE. I do generate the idoc properly with status 30 but I still have following error.

not sure what I am missing I did define all the structure mentioned in the acc_document01.

Please help

EDI: Syntax error in IDoc (segment cannot be identified)

Message no. E0078

Diagnosis

The segment E1BPACCAHD does not occur at the current level of the basic type ACC_DOCUMENT01 (extension ).

This error can have several reasons:

The segment E1BPACCAHD is assigned to a group whose header segment does not occur.

The segment E1BPACCAHD does not exist in the syntax description of the basic type ACC_DOCUMENT01 (extension ).

The sequence of segments in the group in which the segment appears is incorrect.

Previous errors ('mandatory' segment or group missing) may be due to this error.

5 REPLIES 5
Read only

Former Member
0 Likes
840

Hi Guys

any help with this urgent.

Read only

Former Member
0 Likes
840

Can you tell me what do you want to do with this IDoc type: billing document or ......

Which function module do you use?

Read only

0 Likes
840

Hi Maria

I am using ACC_DOUCMENT MESSAGE TYPE AND ACC_DOCUMENT01 BASIC TYPE

to send accouting information to legacy.

thanks

Read only

0 Likes
840

I got it, but i asked you:

1. which function module do u use (you can find it in the partner profile Tcode WE20 - double click the message type and there you can see the process code, which corresponds to the function module)

2. what do u want to use acc_document for? For outbound invoice, inbound invoice or .....

Read only

0 Likes
840

Hi MAria

IN WE20 I define only message type, basic type. This is oubound interface and I am using MASTER_IDOC_DISTRIBUTE. I did not define process code.

I don;t think I need one. I am just sending IDOC to legacy.