|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Enhancement of IDoc Type
By Suraj Kumar Pabbathi
Usually enhancement takes place when the
content in IDocs provided by SAP are not sufficient for the business process.
IDoc extension can take place whenever dictionary table has a new structure
appended required by the business process.
In brief IDoc extension takes
place when extra fields are required for the business process.
Let us take a scenario and
understand the process of IDoc extension.
this scenario say visitor is different from the actual customer who has came to
the sales office in behalf of the customer to obtain the quotation or inquiry
etc. Or an authorized agent qualified by the actual customer to order for items.
So a field by name NAMEVI (Visitor) is added to Customer master data. As there
is no provision given by SAP to handle this, we need to extend an IDoc.
standard message type and IDoc type provided by SAP are DEBMAS and DEBMAS05.
the data in the table below for extending the IDoc. These details can be
understood in different sections in the process of extending it.
Customize kna1 table by appending a structure provided by SAP (ZAKNA1)
Write a module pool program to update some existing customers to add data for Visitor.
Create a custom segment
Transaction Code: WE31
Segment type: Z1KNA11
(create). Provide short text
Create IDoc extension
and it leads to next screen.
Linked basic type: DEBMAS05
Provide description and enter
Observe all the segments to be
copied into your IDoc extension from linked basic
Select E1KNA11 and click
(create segment) to obtain a
Provide the required values and
observe child segment Z1KNA11 to be added to
parent segment E1KNA11.
Release segment and IDoc extension
Segment type: Z1KNA11
Path: Edit à
Assign Basic type to extension / messages
Select DEBMAS message type
against DEBMAS06 basic type
provide the information
Delete the earlier one from
which it was copied.
Observe the result as follows
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards