Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Finding Mendatory fields in a segment of an IDOC

Former Member
0 Kudos

Hi All,

Can anyone tell me how to find out the mendatory fields required in a segment of an IDOC if we are going to upload data using IDOC technology.

Thanks in Advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

It depends on IDOC Definition.

You can use WE30/WE31 for IDOC Definition.

Functional point there may other required entries, Which can be tested using WE19. You can fill in some data and test the inbound idoc to find out the mandatory entries.

Thanks,

Mathivanan.G

5 REPLIES 5

Former Member
0 Kudos

Hi,

It depends on IDOC Definition.

You can use WE30/WE31 for IDOC Definition.

Functional point there may other required entries, Which can be tested using WE19. You can fill in some data and test the inbound idoc to find out the mandatory entries.

Thanks,

Mathivanan.G

Former Member
0 Kudos

Hi,

Goto WE30, Enter an object and click display.

Double click on the attribute, you can see whether it is mandatory or not in the popup window.

If it is mandatory, the check box is checked.

Regards

Former Member
0 Kudos

Hi ,

If you want create segments use Tranxcode: WE31 ., before going these need to create custom fields in se11. take one example : KNVP(Master customer master partner roles) is standard DDIC, just select the requiered fields which is based on our requirement and go to tranx code : WE31 , create segments :E2KNVPM002.

Functional point there may other required entries, Which can be tested using WE19.

Regards

Siva

Former Member
0 Kudos

Hi Ginger,

Can anyone tell me how to find out the mendatory fields required in a segment of an IDOC if we are going to upload data using IDOC technology.

The fields in the IDOC can never be made mandatory but the Segments in the IDOC can be made mandatory.

If segment is mandatory it means that atleast one field in the Segment should be filled.

generally while defining the IDOC Header data is made as the mandatory segment with Minimum number 1 Maximum number 1 and rest all as optional and can occur more than once.

Hope this clarifies!

Regards

Shital

soumya_jose3
Active Contributor
0 Kudos

Hi,

Double click on the segment in WE30 and if it is mandatory, in the 'Attribute display' pop up that comes the check box 'Mandatory seg.' will be checked.

Regards,

Soumya.