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

Create Idoc

Former Member
0 Likes
1,691

Hello,

Which are the t-codes for creating an outbound idoc?

I searched on sdn and all I could find are: WE31, WE32, WE81, WE82 t-codes, but there are more steps ...

Anybody could help?

Thank you.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,194

https://www.sdn.sap.com/irj/scn/wiki

Step by Step Procedure of IDOC to File Scenario

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/stepbyStepProcedureofIDOCtoFileScenariousingBPM

Step-by-Step Guides

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/step-by-step+guides

Outbound Idoc

https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/outboundIdocThrough+ALE

Edited by: krupa jani on Mar 24, 2009 9:40 AM

9 REPLIES 9
Read only

Former Member
0 Likes
1,194

Have a look at transaction WEDI !

Read only

0 Likes
1,194

I was hopping for a step-by-step "tutorial" because it's a slight difference in randomly accessing 10 t-codes and accessing them in the order they were ment to be used....

Read only

0 Likes
1,194

For step-by-step process for IDOc you need to search SCN Google step-by-step.Plenty of documents were already posted.

Cheers

Read only

Former Member
0 Likes
1,194

HI,

To Create Idoc we need to follow these steps:

Define & Assign logical system in SALE.

Create a port in TCODE (WE21)

Create a partner profile in TCODE (WE20)

RFC Dest in SM59

Create Segment ( WE31)u200F

Create Idoc Type ( WE30)u200F

Create Message Type ( WE81)u200F

Assign Idoc Type to Message Type ( WE82)u200F

Distribute the model in BD64

If its a custom idoc

fetch the data,

fill the control records into a table of type EDIDC

fill the data records into a table of type EDIDD

Call the function module MASTER_IDOC_DISTRIBUTE

For more information check out this blog on ALE.

[ALEIdocs|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4900] [original link is broken] [original link is broken] [original link is broken];

Regards

Sharath

Read only

Former Member
0 Likes
1,195

https://www.sdn.sap.com/irj/scn/wiki

Step by Step Procedure of IDOC to File Scenario

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/stepbyStepProcedureofIDOCtoFileScenariousingBPM

Step-by-Step Guides

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/step-by-step+guides

Outbound Idoc

https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/outboundIdocThrough+ALE

Edited by: krupa jani on Mar 24, 2009 9:40 AM

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,194

Hello,

As suggested by Amit use WEDI. You DONOT have to remember any t-codes friend. Its an area menu & all the relevant info for IDoc development can be found under the folder DEVELOPMENT.

Else you have Google at your disposal )

BR,

Suhas

Read only

Former Member
0 Likes
1,194

how to come back from " WEDI " tcode to user menu

Read only

kamesh_g
Contributor
0 Likes
1,194

hi

those are all not to create IDOC .

If u want to create idoc got TCODE WE19 give ut meesage type or idoc type so that you can crate IDOC

Read only

Former Member
0 Likes
1,194

Hello Andronic,

Creation of Idoc is bit easy;

Part - I, Idoc Creation

1. Creation of Segments -> WE31

2. Creation of Idoc type -> WE30

3. Creation and assigning of Message type -> WE81

4. Assign Message Type to IDoc type. -> WE82

Part - 2, Outbound settings;

1. Define Logical systems and assign Client to Logical system. -> SALE

2. Maintain RFC Destination. -> SM59

3. Define Ports. -> WE21

4. Maintain Partner Profile. -> WE20

5. Maintain Distribution Model. -> BD64

WE02/WE05 -> to view IDocs,

WE19 -> for testing IDocs.

Part - 3, Inbound settings,

1. Define Logical systems and assign Client to Logical system. -> SALE

2. Maintain RFC Destination. -> SM59

3. Define Ports. -> WE21

4. Create Function Module. -> SE37

5. Create Custom Table. -> SE11

6. Attach Function Module -> BD51

7. Attach Message type and Basic IDoc type to function module. -> WE57

8. Create Process Code. -> WE42

9. Maintain Partner Profile. -> WE20

10. Distribute Model. -> BD64

Hope it helps you solve your task,

ZAHACK