Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDOC extension

Former Member
0 Likes
739

Hi ,

Can anybody guide me on the follwing topics regarding IDOC......

1) How to add extended fields in existing IDOC ?

2) Exception Handling and Error Handling in IDOC ?

Please reply me as soon as possible.

Thanx in advance !

Hi ,

Can anybody guide me on the follwing topics regarding IDOC......

1) How to add extended fields in existing IDOC ?

2) Exception Handling and Error Handling in IDOC ?

Please reply me as soon as possible.

Thanx in advance !

5 REPLIES 5
Read only

Former Member
0 Likes
708

Search the forum for answers.

Read only

Former Member
0 Likes
708

Hi,

Please refer

[Extended fields in existing IDOC |http://sap.niraj.tripod.com/id51.html]

[Exception Handling in IDOC|http://help.sap.com/saphelp_nw04/helpdata/EN/dc/6b7f1543d711d1893e0000e8323c4f/frameset.htm]

Regards,

Swapna.

Read only

Former Member
0 Likes
708

Hello,

Here are the answers about the Information you need.

1Adding Extended Fields to an Existing IDoc

-


Procedure

-


a. Identify the Fields to be Extended.

b. Go to Transaction WE31 and Create a Custom

Segment where you can specify all those fields

found in Step a.

c. Then go to WE30. Select the Option "EXTENSION"

and enter the Extended Name (Ex: ZSHPMNT05)

d. Add the Custom Segment created in Step b.

e. Release the Extension and your Extension is now

ready for Usage.

2. Exception Handing in IDoc

-


Procedure

-


a. In order for us to have robust Error Handling

mechanism, we need to understand the Basic

IDoc structure and the Optionality of the Segments

b. For example, if the Custom Segment in our IDoc

Extension is specified as Mandatory, and there is

no Data Populated in to it, we can read the IDOC

segment and error out that particular IDoc using

the Status Code 51 or 56 programatically

(for Inbound) and Status 26 for Outbound.

Hope it was clear and helpful.

Thanks and Regards,

Venkat Phani Prasad Konduri

Read only

Former Member
0 Likes
708