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

Former Member
0 Likes
1,315

hi..

how to create an IDoc..?

should i create a IDoc Type before creating an IDoc..?

then wat s segments on it..?

plz send me any doc which has step-by-step methods.

thnx & regards.

Ashraf.

hi..

how to create an IDoc..?

should i create a IDoc Type before creating an IDoc..?

then wat s segments on it..?

plz send me any doc which has step-by-step methods.

thnx & regards.

Ashraf.

10 REPLIES 10
Read only

Former Member
0 Likes
1,292

Hi,

i got this data from sdn .plz go thru might be helpful

IDOC is a intermediate document to exchange data between two SAP Systems.

*IDocs are structured ASCII files (or a virtual equivalent).

*Electronic Interchange Document

*They are the file format used by SAP R/3 to exchange data with foreign systems.

*Data Is transmitted in ASCII format, i.e. human readable form

*IDocs exchange messages

*IDocs are used like classical interface files

IDOC types are templates for specific message types depending on what is the business document, you want to exchange.

WE30 - you can create a IDOC type.

An IDOC with data, will have to be triggered by the application that is trying to send out the data.

FOr testing you can use WE19.

how to create idoc?

*WE30 - you can create a IDOC type

For more information in details on the same along with the examples can be viewed on:

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

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

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

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

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

Read only

Former Member
0 Likes
1,292

create segments in WE31 tcode.

Create Idoc in WE30 & assign segments to it.

Read only

Former Member
0 Likes
1,292

Hi Ashraf,

For creating a IDOC u need to Create a segment type in WE31.The internal table in which we store the data to be passed to the IDOc thos fielda are defined in fieldname and data element.Save and release the segment.

Create IDOC type in WE30. Give min and max types. Mark it as mandatory.

Create Message type in WE81.Assign it to a change request and save it.

Link this message type with IDOC type in WE82.

Then start your coding and pass the details of Data and control records.

Just have a look at these links:

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

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

Creation of IDOC:

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=creation%20of%20idoc&cat=sdn_all&start=11

ALE/ IDOChttp://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

Hope this helps.

Regards,

Priyanka.

Read only

Former Member
0 Likes
1,292

step1. go WE31 and create the segments with the fields that u want to add in the segment and set it release by choosing EDit->set release.

2) Goto WE30 and create the Idoc type with the segments create din we31 and set release .

3) Go to WE81 and create the message type

4)Go to WE82 and assign the message type to the idoc type

Read only

0 Likes
1,292

hi..

i had the 4 steps which is there in your answer. then wat to do. how can i c my IDoc. wat wil b the next step..plz tell me..

Ashraf.

Read only

Former Member
0 Likes
1,292

in we30 create idoctype.

in we31 create segments

again in we30 attach the segments as parent and child to the idoctype.

in we82 create message type and attach the idoctype in it.

Read only

Former Member
0 Likes
1,292

in we30 create idoctype.

in we31 create segments

again in we30 attach the segments as parent and child to the idoctype.

in we82 create message type and attach the idoctype in it.

reward this with points.

Read only

0 Likes
1,292

hello..

i did the 4 steps which is there in your answer. wat wil be the next step after this 4 steps. plz help me out..

Ashraf.

Read only

0 Likes
1,292
Read only

0 Likes
1,292

whether your idoc is inbound or outbound please let me know then i can give the answer.

please reward this with points.