cancel
Showing results for 
Search instead for 
Did you mean: 

Populating the SEGMENT attribute for IDocs

Former Member
0 Kudos

When mapping to an IDoc, each IDoc data element has a corresponding SEGMENT attribute, which I assume is the sequential segment number of the segment in the IDoc.

Does that value need to be set, or does the IDoc adapter take care of it? If I do need to map it, how can I do it, because I would need to find a way of generating a running number either in the mapper, or externally in an XSL mapping file.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey

yes,SEGMENT field is mandatory and needs to be set,you may hardcode it to 1.

Thanx

Aamir

Former Member
0 Kudos

Hi,

OK thanks for explicitly stating thae answer! I was hoping for that.

BR,

Tony.

Answers (1)

Answers (1)

Former Member
0 Kudos

Map it to a constant

Regards,

Sushil