Q
Problem solve Get help with specific problems with your technologies, process and projects.

Blank value fields in IDocs

This user has a requirement that all IDoc data, including null values, flow from his outbound processor to a SAP legacy system. However, he can't view the null values in the IDoc. Our expert explains why this is and remedies how to meet the user's requirement.

We are using CREMAS04 for vendor master outbound processing from SAP to legacy via XI as middleware. We are triggering the IDoc through a change pointer by executing BD21.

Now, if we are in change mode (XK02) and we blank out any field in the vendor master, for example the NAME2 field,...

that field is not reflected in the IDoc that is created. The requirement is that any such change should flow into legacy. Can there be a field in an IDoc with a null value?

The blanked out field is still there, it is simply not displayed by the IDoc editor (WE02). IDocs use fixed length and fixed field structure so empty fields are transported as a sequence of blanks. Try reading the IDoc with a small ABAP from table EDID4 and see what is actually in there.

data: tedid4 type table of edid4.
select * from edid4 where docnum eq '000000000012345678'.

Or, use SE16 and display the IDoc in ALV-List-Viewer. The ABAP listing won't display the IDoc raw data.

This was last published in August 2006

Dig Deeper on SAP Basis administration and NetWeaver administration

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close