Page 1 of 1

Segment error in HRSM_D01 idoc

Posted: Fri Jan 22, 2010 1:58 am
by RGoeken
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...

Re: Segment error in HRSM_D01 idoc

Posted: Fri Jan 22, 2010 2:36 am
by thx4allthefish
I am shadowing this in ABAP/Interfaces.