Segment error in HRSM_D01 idoc

Interfaces (ALE, IDOC, RFC, EDI etc.)

Moderators: Snowy, thx4allthefish

Post Reply
RGoeken
Posts: 45
Joined: Fri Aug 11, 2006 3:18 am

Segment error in HRSM_D01 idoc

Post by RGoeken » Fri Jan 22, 2010 1:58 am

Hi all,

I made an extension ZZRSM_D based on basic type HRSM_D01 (HR time). That is an inbound Idoc but I am trying to use it as an outbound.
When only one time record is selected the 7 segments are filled correctly in the right hierarchy, but when two records are selected, the 14 segments are all placed under eachother without any hierarchy. The idoc gets the status 26 with error E0078:
"The segment E1BP7012_2 does not occur at the current level of the basic type HRSM_D01 (extension ZZRSM_D).
This error can have several reasons:
The segment E1BP7012_2 is assigned to a group whose header segment does not occur.
The segment E1BP7012_2 does not exist in the syntax description of the basic type HRSM_D01 (extension ZZRSM_D).
The sequence of segments in the group in which the segment appears is incorrect."
I have tried it with and without filling fileds like segnum and hlevel, does not make a difference.
Any tips? Thanks...

thx4allthefish
Posts: 5694
Joined: Sat Oct 26, 2002 6:18 pm
Location: barolo barrel

Re: Segment error in HRSM_D01 idoc

Post by thx4allthefish » Fri Jan 22, 2010 2:36 am

I am shadowing this in ABAP/Interfaces.
curiousorange wrote: I give up. Humanity isn't worth saving. Why is there never a Vogon Constructor Fleet around when you really need one?

Post Reply