| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||||||||||||||||||||||||||||||||||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Enhancement of IDoc TypeBy 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. In
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. The
standard message type and IDoc type provided by SAP are DEBMAS and DEBMAS05. Consider
the data in the table below for extending the IDoc. These details can be
understood in different sections in the process of extending it.
Outbound process Step1.
Customize kna1 table by appending a structure provided by SAP (ZAKNA1)
Step2:
Write a module pool program to update some existing customers to add data for Visitor. Step3:
Create a custom segment Transaction Code: WE31 Segment type: Z1KNA11
Click
Save Step4:
Create IDoc extension
Choose Extension
Click
Linked basic type: DEBMAS05 Provide description and enter Observe all the segments to be
copied into your IDoc extension from linked basic type.
Select E1KNA11 and click
Provide the required values and
observe child segment Z1KNA11 to be added to parent segment E1KNA11. Step5:
Release segment and IDoc extension Transaction: WE31 Segment type: Z1KNA11 Path: Edit à
Set release
Step6:
Assign Basic type to extension / messages Transaction: WE82 Click
Select DEBMAS message type
against DEBMAS06 basic type Click
Delete the earlier one from
which it was copied. Save. Observe the result as follows
|
|||||||||||||||||||||||||||||||||
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
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 |
||||||||||||||||||||||||||||||||||