cancel
Showing results for 
Search instead for 
Did you mean: 

Can the segment E1EDK04 occur more than once in an IDOC?

walkerist
Participant
0 Kudos

My IDOC data comes from a billing document. IDOC was created using output request then "repeat output".

My billing document has two tax/vat condition types. Therefore it has 2 tax codes(Example A1 and B1). However, only 1 tax code was created on the IDOC and it is E1EDK04 A1. I'm expecting E1EDK04 B1 also.

How do I debug to know why only 1 tax code were considered? Thank you

Sandra_Rossi
Active Contributor

WE30 to see the cardinality of segments in the IDoc type.

SAT to trace hierarchy call.

Don't forget to do it also for the Update Task.

ST05 to trace SQL. You may include the call stack of each SQL operation.

walkerist
Participant
0 Kudos

sandra.rossi Thanks! Lastly, customer wants this to add a letter at the end of the segment. Like this E1EDK04 A1 "Q". is this possible?

Sandra_Rossi
Active Contributor
0 Kudos

WE30 Create a Z extension of the standard IDoc type, create a new Z segment with the field(s) you want, then implement the user exits to choose your Z extension and fill your Z segment.

Also see the other questions which seem similar to your question:

INVOIC02 tax only one E1EDK04 site:sap.com
walkerist
Participant
0 Kudos

sandra.rossi I'm using INVOIC01 but thanks for this.

Sandra_Rossi
Active Contributor
0 Kudos

Why don't you use the latest version of invoices? (you should always use the highest number e.g. ORDERS05)

Accepted Solutions (0)

Answers (0)