Application Development and Automation 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: 
Read only

How to identify mandatory fields while using an idoc

Former Member
0 Likes
3,001

Hi

I am new to Idocs. I want to find out the mandatory fields in the segments that are used in an Idoc.

Please help.

Regards,

Lohitha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,998

Hi Lohitha,

I dont think there is a straight forward/documented way of knowing a mandatory field within a segment, however you can use WE30 or WE60 to identify the mandatory segments in an IDOC.

I guess you will have to use common knowledge of the requirement to know/identify a field that might be mandatory. For Ex: when you are creating an ITEM on a SO, Material is mandatory etc

Regards,

Chen

Hi Lohitha,

I dont think there is a straight forward/documented way of knowing a mandatory field within a segment, however you can use WE30 or WE60 to identify the mandatory segments in an IDOC.

I guess you will have to use common knowledge of the requirement to know/identify a field that might be mandatory. For Ex: when you are creating an ITEM on a SO, Material is mandatory etc

Regards,

Chen

4 REPLIES 4
Read only

Former Member
0 Likes
1,999

Hi Lohitha,

I dont think there is a straight forward/documented way of knowing a mandatory field within a segment, however you can use WE30 or WE60 to identify the mandatory segments in an IDOC.

I guess you will have to use common knowledge of the requirement to know/identify a field that might be mandatory. For Ex: when you are creating an ITEM on a SO, Material is mandatory etc

Regards,

Chen

Read only

0 Likes
1,998

Thank you.

That was really helpful.

Lohitha

Read only

Former Member
0 Likes
1,998

Yes By using Idoc documentation(WE60), YOU CAN FIND THE MANDATORY SEGMENTS AND OPTIONAL SEGMENTS.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,998

The field MUSTFL of the table IDOCSYN is marked 'X' for the mandatory segments.

You can check this table by providing the idoc type(key field).