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: 

Problems with IDOCS

Former Member
0 Kudos
367

Hi everyone!

I'm working with IDOCs and I am having the following problem:

I'm modifiying a specific standart IDOC (DELVRY03), adding a new structure called ZSTRUCTURE. When making an example to create the IDOC I am not able to find the new structure that I have just created in the IDOC.

Does anybody know why? Maybe the structure is empty, is this a problem?

Thank you very much.

Regards

10 REPLIES 10

h_senden2
Active Contributor
0 Kudos
238

I dont think you can change the standard SAP idoc type, but you can create an extension of it. That's the one you must check.

regards,

Hans

Please reward all helpful answers !!!!!

former_member588853
Active Contributor
0 Kudos
238

HI..

I hope you are creating a segment structure Zstructure..

You have to activate it and release the segment you have created..

you can relese .. goto> edit>set release..

0 Kudos
238

HI..

I hope you are creating a segment structure Zstructure..

You have to activate it and release the segment you have created..

you can relese .. goto> edit>set release..

You can do it for Extension type not for the standard Idocs

Former Member
0 Kudos
238

Hi,

check the following:

1.To Create a new segment in WE31.

2. To create a extension in WE30.

3. To attach the extension to basic type and message type using WE82.

4. Assign the FM to extension using WE57.

5. Change the FM inorder to put the data into the custom segments.

6. Check the partner profiles.

Regards

Kannaiah

Former Member
0 Kudos
238

what do u mean by adding new structure here?

Have u created a new segment and extended the idoc.

If so u have to link that in WE82 in extension field.

While creating partner profile also u have specify tht extension in extension field.

0 Kudos
238

Hi everyone,

I think I did not express myself verywell.... However, that's it, I have created a new segment and I have extended the IDOC.

Then I went to the WE82 in order to attach the extension to a basic type, but I don´t know how to continue, because this doesn't fix my problem....

Thanks again

0 Kudos
238

Hi,

1. Go to WE82 and make the entry by clicking on change mode.

2. have u written the code inorder to put the data into custom segment ?

if not write the code in user exit.

3. Have you attached the FM to the extension ?

if not do that thru WE57

4. Check the code thru debugging and let me know where exactly you are facing the problem.

Regards

Kannaiah

Former Member
0 Kudos
238

hi,

I dont think u can direct modify sap standard idoc type.

Instead u can go for Idoc extension.

Create structure ie segment u want to add say EDIT->set release

and in we30 choose extension create zobject type with extension as standard idoc and choose EDIT->set release

and goto we80 add msgtype,Basic idoc type, extension.

I think this will fix ur problem.

Regards

Shanmukhi

0 Kudos
238

hi,

Sorry we82 not we80

Regards

Shanmukhi

former_member404244
Active Contributor
0 Kudos
238

Hi,

So uhave created a zsegment in WE31 tcode.Now u need to release the segement..If u r giving it as mandatory then u need to pass data to it,else not necessary.Then u created an extended idoc .Then attached ur zsegmnet.Once again u need to release the extended idoc type.Now go to WE82 and now u can attach ur extended idoc type to the message and basic type.plz chek if u have done these things..

Regards,

nagaraj