2012 Feb 07 1:49 AM
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.
2012 Feb 07 5:22 AM
Hello,
Put in a breakpoint in the function module, this will help you in debugging.
Regards,
Abhishek
2012 Feb 07 7:27 AM
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.
2012 Feb 07 10:16 PM
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
2012 Feb 08 6:11 AM
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).
2012 Feb 10 4:13 AM
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.
2012 Feb 10 7:07 PM
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.
2012 Feb 13 6:24 AM
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.
2012 Feb 13 11:12 AM
This is transforming into a training course, however the forums are not meant for this purpose.
Please search for available information.
Thread locked.
Thomas