By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
I had a look at IDOC_OUTPUT_SHPMNT and see no reason why the segment should not have been added. It may be empty but the routine to create it should be called. The you can fill the data with customer exit '002'. The catch-all solution would be to build a wrapper function, e.g. Z_IDOC_OUTPUT_SHPMNT which in turn calls the original function IDOC_OUTPUT_SHPMNT. This will build your IDoc the traditional way. Then you can process the created IDoc data and manipulate your segments as desired.
Related Q&A from Axel Angeli
An SAP user wants to know how to upload data into SAP R/3 when SAP Scripting is not enabled.continue reading
An SAP user is receiving an error message while integrating SAP iDoc PORDCR1 for a purchase order.continue reading
An SAP user is having difficulty with PERNR iDoc while transporting data from SAP to an external system.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.