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: 

about Idocs

Former Member
0 Kudos

Hi all,

Plz help me in Idocs. I am newly working on it.

Just give me some idea how to create basic type. And how the listings in data records are coming in tcode we02.

Pls guide me how the sumid and summe field is populated in the segment.

I ve one problem. The sumid field of structure E1EDS01 is only of 3 chars. But requirement is there to fill that field with qualifier and description like "012:Freight totals".

Plz guide me with the details and also kindly send any good documents on Idocs in my mail id abir1.mukherjee@gmail.com.

Plz experts help me I want to learn.

With regards,

Abir.

1 ACCEPTED SOLUTION

Former Member
15 REPLIES 15

Former Member

0 Kudos

Hi all,

I am new to Idocs and want to know in depth about Idoc. I want to know form the very base. But the links that u r forwarding is vast. It does not deal with beginners.

I want to know how to create an Idoc, how to know from Idoc number what purpose it is for, output types, qualifiers, how the segments are displayed in WE02, sending partner, receiving partner etc. All these will help me to work in Real time.

Pls send me some good docs in my mail id abir1.mukherjee@gmail.com Pls help me experts.

With regards,

Abir.

0 Kudos

Hi Abir,

I have sent you the docs at abir1.mukherjee@gmail.com.

<b>Reward points if it helps.</b>

Regards,

Amit Mishra

0 Kudos

Hi Amit,

Can u pls send me the docs once more. I had not got it.

I want Idoc materials.

My email id is abir1.mukherjee@gmail.com.

With regards,

Abir.

0 Kudos

Hi Abir,

I have sent you the docs again at abir1.mukherjee@gmail.com.

<b>Reward points if it helps.</b>

Regards,

Amit Mishra

Former Member

Former Member
0 Kudos

Hi Abir,

Check ur mail.

Reward points if it helps.

With Regards,

Manikandan R

Former Member
0 Kudos

Hi,

Chk ur mail.I mailed u some good docs.

also refer:

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

http://www.sappoint.com/abap/ale.pdf

http://www.sappoint.com/abap/ale2.pdf

http://www.sapgenie.com/sapedi/idoc_abap.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm

http://www.allsaplinks.com/idoc_sample.html

http://www.sappoint.com/abap.html

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

http://www.allsaplinks.com/idoc_sample.html

ALE/ IDOC/ XML

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp

http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm

IDOC Convertion

/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment

IDOC Testing

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b80f643d711d1893e0000e8323c4f/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

rgds,

latheesh

Message was edited by: Latheesh Kaduthara

Former Member
0 Kudos

Hai Abir

check the following Links

http://www.sappoint.com/abap/ale.pdf

http://www.sappoint.com/abap/ale2.pdf

http://www.sapgenie.com/sapedi/idoc_abap.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

ALE---IDOC Creation Steps

01 Error --> Idoc Added

30 Error --> Idoc ready for dispatch(ALE Service)

then goto SE38 --> Execute the Program RBDMIDOC

29 Error --> ALE Service Layer

then goto SE38 --> Execute the Program RSEOUT00

03 Error --> Data Passed to Port ok

then goto SE38 --> Execute the Program RBDMOIND

12 Error --> Dispatch ok

Inbound Status Codes

50 Error --> It will go for ALE Service Layer

56 Error --> Idoc with Errors added

51 Error --> Application Document not posted

65 Error --> Error in ALE Service Layer

for 51 or 56 Errors do the following steps

goto WE19 > give the IDOC Number and Execute>

Press on Inbound function Module

for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error

ALE IDOC

Sending System(Outbound ALE Process)

Tcode SALE ? for

a) Define Logical System

b) Assign Client to Logical System

Tcode SM59-RFC Destination

Tcode BD64 ? Create Model View

Tcode BD82 ? Generate partner Profiles & Create Ports

Tcode BD64 ? Distribute the Model view

Message Type MATMAS

Tcode BD10 ? Send Material Data

Tcode WE05 ? Idoc List for watching any Errors

Receiving System(Inbound ALE )

Tcode SALE ? for

a) Define Logical System

b) Assign Client to Logical System

Tcode SM59-RFC Destination

Tcode BD64 ? Check for Model view whether it has distributed or not

Tcode BD82 -- Generate partner Profiles & Create Ports

Tcode BD11 Getting Material Data

Tcode WE05 ? Idoc List for inbound status codes

ALE IDOC Steps

Sending System(Outbound ALE Process)

Tcode SALE ?3 for

a) Define Logical System

b) Assign Client to Logical System

Tcode SM59-RFC Destination

Tcode BD64 !V Create Model View

Tcode BD82 !V Generate partner Profiles & Create Ports

Tcode BD64 !V Distribute the Model view

This is Receiving system Settings

Receiving System(Inbound ALE )

Tcode SALE ?3 for

a) Define Logical System

b) Assign Client to Logical System

Tcode SM59-RFC Destination

Tcode BD64 !V Check for Model view whether it has distributed or not

Tcode BD82 -- Generate partner Profiles & Create Ports

Tcode BD11 Getting Material Data

Tcode WE05 !V Idoc List for inbound status codes

Message Type MATMAS

Tcode BD10 !V Send Material Data

Tcode WE05 !V Idoc List for watching any Errors

1)a Goto Tcode SALE

Click on Sending & Receiving Systems-->Select Logical Systems

Here Define Logical Systems---> Click on Execute Button

go for new entries

1) System Name : ERP000

Description : Sending System

2) System Name : ERP800

Description : Receiving System

press Enter & Save

it will ask Request

if you want new request create new Request orpress continue for transfering the objects

B) goto Tcode SALE

Select Assign Client to Logical Systems-->Execute

000--> Double click on this

Give the following Information

Client : ERP 000

City :

Logical System

Currency

Client role

Save this Data

Step 2) For RFC Creation

Goto Tcode SM59-->Select R/3 Connects

Click on Create Button

RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles

give the information for required fields

RFC Destination : ERP800

Connection type: 3

Description

Target Host : ERP000

System No:000

lan : EN

Client : 800

User : Login User Name

Password:

save this & Test it & RemortLogin

3)

Goto Tcode BD64 -- click on Change mode button

click on create moduleview

short text : xxxxxxxxxxxxxx

Technical Neme : MODEL_ALV

save this & Press ok

select your just created modelview Name :'MODEL_ALV'.

goto add message type

Model Name : MODEL_ALV

sender : ERP000

Receiver : ERP800

Message type :MATMAS

save & Press Enter

4) Goto Tcode BD82

Give Model View : MODEL_ALV

Partner system : ERP800

execute this by press F8 Button

it will gives you sending system port No :A000000015(Like)

5) Goto Tcode BD64

seelct the modelview

goto >edit>modelview-->distribute

press ok & Press enter

6)goto Tcode : BD10 for Material sending

Material : mat_001

Message Type : MATMAS

Logical System : ERP800

and Execute

7)goto Tcode : BD11 for Material Receiving

Material : mat_001

Message Type : MATMAS

and Execute --> 1 request idoc created for message type Matmas

press enter

Here Master Idoc set for Messge type MATMAS-->press Enter

1 Communication Idoc generated for Message Type

this is your IDOC

Thanks & regards

Sreenivasulu P

abdul_hakim
Active Contributor
0 Kudos

go thru the book <b>ALE/EDI and IDoc Technologies for SAP</b> by Arvind Nagpal..

Cheers,

Abdul Hakim

0 Kudos

Hi,

I am working on a Idoc number. In we02 corresponding to that Idoc number there are various segments and the fields corresponding to that segments are populated.

I want to know there should be some user exits to populate the fields but I am not able to find that exits.

Experts please help me in doing so.

With regards,

Abir.

0 Kudos

Hi all,

I want to know about the query of the previous post.Please give me the reply. I want to know about it about the user exits.

Pls experts help me.

With regards,

Abir.

0 Kudos

hi abir,

for user-exits..

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.planetsap.com/Userexit_List.htm.

check this program which gives u the exits for a particular transaction.

http://www.sap-img.com/ab038.htm

hope this helps,

do reward if it helps,

priya.

0 Kudos

hi,

Are u using standard FM to to fill the segments.

if yes then u have search user-exit ; and write the code for the same.

http://www.planetsap.com/Userexit_List.htm

Refer this link for finding the user exit

Mark Helpfull Answers

Regards.

Mark Helpful Answers

Message was edited by: Manoj Gupta

ferry_lianto
Active Contributor
0 Kudos

Hi Abir,

The easy ways to find user exits for IDoc are:

- For inbound IDoc, please go t/code <b>WE42</b> and find correspondence function module then go to SE37.

Inside the FM, you can search custom exits where SAP provides area to modify IDoc segment and data.

- For outbound IDoc, please go t/code <b>WE41</b> and follow same above steps.

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.