‎2007 Feb 14 4:50 PM
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.
‎2007 Feb 15 2:53 AM
‎2007 Feb 15 6:56 AM
Can you tell me what do you want to do with this IDoc type: billing document or ......
Which function module do you use?
‎2007 Feb 15 12:17 PM
Hi Maria
I am using ACC_DOUCMENT MESSAGE TYPE AND ACC_DOCUMENT01 BASIC TYPE
to send accouting information to legacy.
thanks
‎2007 Feb 15 12:45 PM
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 .....
‎2007 Feb 15 12:55 PM
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.