cancel
Showing results for 
Search instead for 
Did you mean: 

Set Field in IDOC-Segment mandantory?

Former Member
0 Kudos

Hi everybody,

is it possible to mark IDOC-fields in a segment in R/3 as mandantory.

I cant see any options in WE31.

Thanks

Regards Mario

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mario,

You can mark them mandatory.

Go to WE30 and select the idoc type. there inside you will find all the segments.

You can mark the segment there as mandatory.

Regards,

Sumit

ps : award points if that helped u.

Former Member
0 Kudos

Hi Sumit,

I asked for setting fields not a segment as you told.

Thanks Mario

Former Member
0 Kudos

Hi Mario,

AFAIK its not possible using WE30 or WE31. I think SAP doesnt recommend us to make fields inside segments mandatory. Problem comes when you want to reuse the same idoc in other transactions.

What you can possibly do is after you import the idoc structure in XI then export the xsd modify the same and then import it as external defination in XI.

btw Why do want to do that ?

Regards,

Sumit

ps : award points if that solved your query.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you can do it in XSD of the IDOC in XI

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Shabarish_Nair
Active Contributor
0 Kudos

Only segments can be set to mandatory. Fields cannot be !!!!

prateek
Active Contributor
0 Kudos

Do as follows:

Import the IDoc as it is in XI Integration Repository. Now export it to ur file system. Change the field parameters in notepad or any tool like xmlspy. Save the changes and import it again under External definition.

Regards,

Prateek

Former Member
0 Kudos

Hi all,

thanks for your replies.

backgroud: We have to map the IDOC into EDIFACT-standard.

In EDIFACT some fields are mandantory!

As it is much easier to find a validation error in an IDOC than in EDIFACT I want to validate the IDOCs!

So if I modify the IDOC-XSD --> What is the advantage? AFAIK XI 3.0 does not validate against XSD.

Regards Mario

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>So if I modify the IDOC-XSD --> What is the advantage? AFAIK XI 3.0 does not validate against XSD.

in IDOC - sth none

in sth - IDOC - message mapping would validate

Regards,

michal

Shabarish_Nair
Active Contributor
0 Kudos

Dont know how much this should help you; but nevertheless an interesting read !!!

/people/morten.wittrock/blog/2006/03/21/validating-messages-in-xi-using-xml-schema

/people/jacob.vandborg/blog/2005/11/29/schema-validation-of-incoming-message

Former Member
0 Kudos

Hi michal,

could you give a little more details.

I do not understand you post.

Thanks Regards

Mario