Application Development 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: 

Degugging Inbound and Outbound idocs

Former Member
0 Kudos

Hi friends,

Can any one help me in debugging Inbound and outbound IDocs?

1.I found the inbound FM using Tcode we19,clicked the inbound FM button and called it in the debugging mode.

While debugging the Inbound FM iam nt able to figure out the actual problem.Is there any way to reach out the exact problem?

2.How to find out the outbound Idoc FM and debug it?

Your help is appreciated.

Thanks in Advance.

8 REPLIES 8

Former Member
0 Kudos

Hello,

Put in a breakpoint in the function module, this will help you in debugging.

Regards,

Abhishek

0 Kudos

Hi,

Inbound or Outbound IDoc processing FM can be found iin partner profiles(WE20).

for Outbound: WE20 --> choose partner type --> Outbound parameters --> choose message type --> Message control Tab --> Double click on Process code to get the FM assigned.

for inbound: WE20 --> choose partner type --> Inbound parameters --> choose message type --> inbound options --> Double click on Process code to get the FM assigned.

For debugging, use Tcode WE15 for outbound, But before that u need to set the output type dispatch time as 1 (Send with periodically scheduled Job). Go to Output type assignment screen --> assign the output type --> choose further processing --> Set Dispatch time as 1 --> Save.

Note: U need to keep the break point in the Outbound FM or exit if any before going to WE15 to debug from that point.

Hope it helps,

SG.

0 Kudos

Hi Sravan,

Thanks you for your quick reply, it is very useful.

Can you please clarify my doubts because i am new to IDOCS.

1.What is the use of creating the extension for basic type?

2.How to identify whether it is Custom Idoc and Standard Idoc?

3.Tcode for output type assignmnet?

Edited by: vansri$99 on Feb 7, 2012 11:43 PM

0 Kudos

Hi,

About extension of basic type:

In case of a customer extension, you add additional segments to an IDoc type supplied by SAP (basic type), so that you can transfer more business information. This extension will be supported by future releases.

Custom Idoc is used to extend (add fields to existing idoc).then we go for custom idoc.custom idoc function modules and all created by us.

standard idoc is nothing but existing idoc.

Tcode for output type assignment varies depends upon module to module.

for sd - v/26 (for sales activity output type assignment)

we20 -tcode for partner profiles (throgh this tcode assign output type to partner profile).

0 Kudos

Hi ,

1. when we want to add more fields , which is not present in the standard idoc then we go for extension.

2. Custom Idoc type always starts with "Z".

3. for output assignment u have follow the below step :

a) Go to NACE T-code and configure the output as per your requirement.

b) Go to WE20 to assign the Partner number partner type and message type. In WE20 T-code only add the Receiver port number & give Idoc type( mention if you going to use extension also) in "Outbound Options" Tab . In the "Message control" Tab provide application ( Ex: for sales V1, Del : V2) , message type ( Configured in Nace), and Process code.

Let me know if you need any more information.

0 Kudos

Hi Shilpa,

Thank for you reply,

For debugging the Outbound Idoc we have to set output type as 1.From the below message can you explain me in details.

1.what is the tcode for the Output type assignment.

2.Can you share me any good material for Idocs ?

3.Debugging Material?

"For debugging, use Tcode WE15 for outbound, But before that u need to set the output type dispatch time as 1 (Send with periodically scheduled Job). Go to Output type assignment screen --> assign the output type --> choose further processing --> Set Dispatch time as 1 --> Save. "

Thanks in advance.

0 Kudos

Hi Vansri,

1. Output type assignment:No need to bother about tcodes(from technical perspective). It will be different for Orders/deliveries etc..

Ex.

for Sales Order:Menu option: Extras> Output> Header-->Edit.

for Outbound delivery: Menu option: Extras> Delivery Output>Header

for Inbound delivery: Menu Option: Extras--> Delivery Output etc..

Ask your functional Consultant if you couldn't find it.

It would be better if you elaborate your requirement.

2. share your email id.

3. are you doing MATMAS related stuff?

Was on leave all these days and couldn't answer you early.

Thanks,

SG.

ThomasZloch
Active Contributor
0 Kudos

This is transforming into a training course, however the forums are not meant for this purpose.

Please search for available information.

Thread locked.

Thomas