2007 Apr 10 12:48 PM
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
2007 Apr 10 12:53 PM
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 !!!!!
2007 Apr 10 12:56 PM
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..
2007 Apr 10 12:57 PM
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
2007 Apr 10 12:58 PM
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
2007 Apr 10 12:59 PM
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.
2007 Apr 10 1:24 PM
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
2007 Apr 10 1:28 PM
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
2007 Apr 10 1:06 PM
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
2007 Apr 10 1:08 PM
2007 Apr 10 1:31 PM
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