2010 Jan 27 8:18 PM
Hi all!
My disclaimer: I know less than nothing about IDOCs. So hopefully I lead you down the right path. I have searched SDN and then tried google. As far as I can tell I've gone thru the right steps. But since it isn't working I must have skipped a step.
Here's what I've done:
1. Changed the segment via WE31. I had to cancel the activation. So I activated it again. It did generate a change request.
2. Updated the custom function module. Hard coded a value into that field just to see if it would work.
Tested it by running the invoice transaction. I see the IDOC with all the fields except for the one I added.
Next:
1. Cancel the activation on WE31.
2. Cancel the activation for the Object via WE30.
3. Activate the segment via WE31.
4. Activate the object via WE30.
5. Verify the structure was correct via SE11.
All looked good, I tested again. Again the IDOC was generated with all the fields except for the one I added.
I've since tried some other things. That do not really make a lot of sense, but I tried them. Does anyone know what I'm missing? How do I get the new field to display on my IDOC?
(I've also checked the partner profile via WE20 and verified the message type and object...)
Thank you!
Michelle
2010 Jan 29 8:30 PM
Hi Michelle Crapo
i send mail to you
Check field got extended or not by editing the custom segment....
Thanks
Ramesh
Hi all!
My disclaimer: I know less than nothing about IDOCs. So hopefully I lead you down the right path. I have searched SDN and then tried google. As far as I can tell I've gone thru the right steps. But since it isn't working I must have skipped a step.
Here's what I've done:
1. Changed the segment via WE31. I had to cancel the activation. So I activated it again. It did generate a change request.
2. Updated the custom function module. Hard coded a value into that field just to see if it would work.
Tested it by running the invoice transaction. I see the IDOC with all the fields except for the one I added.
Next:
1. Cancel the activation on WE31.
2. Cancel the activation for the Object via WE30.
3. Activate the segment via WE31.
4. Activate the object via WE30.
5. Verify the structure was correct via SE11.
All looked good, I tested again. Again the IDOC was generated with all the fields except for the one I added.
I've since tried some other things. That do not really make a lot of sense, but I tried them. Does anyone know what I'm missing? How do I get the new field to display on my IDOC?
(I've also checked the partner profile via WE20 and verified the message type and object...)
Thank you!
Michelle
2010 Jan 28 6:02 AM
2010 Jan 28 1:21 PM
hi,
do you have extended the SAP Segment or created a new Z-Segment with the zfileld ?
I think you have to use the CMOD transaction to get your Customer-Exit activated.
Regards,
Gordon
2010 Jan 28 1:24 PM
I changed an existing Z* segment.
We are using a custom function module to add the data to the IDOC. It is working for the other fields that we added to the Z segment. Just not this one. That's why I'm sure I did something wrong. The rest of it works.
Thank you for the quick answer,
Michelle
2010 Jan 28 1:30 PM
1. you have to activate WE30/WE31
2. you have to maintain your IDoc & extension in the WE20 outbound parameters.
3. you have to create a CMOD Project to activate your customer Exit for Incoice IDocs
4. you have to fill the new z-field with relevant value in the Function Module "assigned in CMOD".
if all steps are done. Put a breakpoint in the module to see that the z-field is filled.
Regards,
Gordon
2010 Jan 29 8:30 PM
Hi Michelle Crapo
i send mail to you
Check field got extended or not by editing the custom segment....
Thanks
Ramesh
2010 Feb 01 11:49 AM
Thank you Everyone!!!!
As you all have tried to tell me, the field is in the IDOC. I just have to look at the the ABAP code to try to understand why it isn't being filled.
Michelle
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |