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
534

i am having a little knowledge in idoc is it necessary to convert SAP document into an IDoc.plz expalin me cleary.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
498

IDOC is an Intermediate document. It is data container.

IDOC TYPE is like the structure of idoc u r transfering.

suppose u r transfering material master details, SEGMENT

conatining structure of material master is assigned to

IDOC TYPE. IDOC is like instance of STRUCTURE IDOC TYPE

which contains data. SEGMENT is nothing but collection of fields.

It contains 3 records,

Control Records (data stores in EDIDC),

Data Records (Data stores in EDID4),

Status Records (Data Stores in EDIDS ).

To transfer data from tables from one client to another, IDOCS will be used.

We should also know how to configure the ALE settings between the systems to distribute the data.

SAP uses a single IDoc type for several logically related messages. For example, the Orders IDoc type (ORDERS02) is used for several messages, such as Order (ORDERS), Order Response (ORDRSP), and Order Change (ORDCHG).

WE31 TO CREATE SEGMENT

WE30 TO CREATE IDOC TYPE AND ASSIGN SEGMENT TO IT

WE81 CREATE MESSAGE TYPE ( MESSGAE (OUTPUT) TYPE

GIVES THE MEANING OF IDOC)

WE82 ASSIGNMENT MESSAGE ( OUTPUT ) TYPES TO IDOCS

TYPES.

WE19 TEST TOOL FOR IDOC PROCESSING

WE02 IDOC LIST

WE05 IDOC LIST

BD10 SEND ARTICLE

WEDI SAP EASY ACCESS IDOC AND EDI BASIS

WE41 DISPLAY OUTBOUND PROCESS CODE

WE42 DISPLAY INBOUND PROCESS CODE

OYSN NUMBER RANGES FOR IDOCS

SM59 SETTING UP RFC DESTINATION

WE21 PORT DEFINATION

WE55 FUNCTION MODULE FOR FILENAME (IDOC)

WE20 PARTNER PROFILE

SALE DISPLAY IDOCS (IMG FOR IDOCS)

RSECHK07 TESTING THE PARTENER PROFILE

SM59 TESTING THE RFC DESTINATION

The IDoc, before being saved in the database, goes through a syntax check and other validations. If there are no errors, the IDoc gets a status of 30 which means IDoc ready for dispatch to ALE Service.

Question : How do i generate sample IDOC files (outbound processing) for the following idoc types?

wp_plu02

wp_ean01

wpdwgr01

the pos system needs to be configured and they need an actual text file of these idocs.

Answer : u need to configure settings between the systems to establish the connection.

3 REPLIES 3
Read only

Former Member
0 Likes
498

Hi,

It's not like that.

First you have to decide your requirement.

idoc is the interface used to transfer data from one system to other(between R3 or from R3 to other).

So all Application document fields data(example Sales order) will be sent through Idoc to the other side.

See the tables EDIDC,EDIDD, EDIDS etc.

Check these links.

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

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

Please check this PDF documents for ALE and IDoc.

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

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

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf

Check below link. It will give the step by step procedure for IDOC creation.

http://www.supinfo-projects.com/cn/2005/idocs_en/2/

reward points if useful

regards,

ANJI

Read only

Former Member
0 Likes
498

if you want to pass that document to other SAP client or EDI subsystem only them you need IDOC..

Read only

Former Member
0 Likes
499

IDOC is an Intermediate document. It is data container.

IDOC TYPE is like the structure of idoc u r transfering.

suppose u r transfering material master details, SEGMENT

conatining structure of material master is assigned to

IDOC TYPE. IDOC is like instance of STRUCTURE IDOC TYPE

which contains data. SEGMENT is nothing but collection of fields.

It contains 3 records,

Control Records (data stores in EDIDC),

Data Records (Data stores in EDID4),

Status Records (Data Stores in EDIDS ).

To transfer data from tables from one client to another, IDOCS will be used.

We should also know how to configure the ALE settings between the systems to distribute the data.

SAP uses a single IDoc type for several logically related messages. For example, the Orders IDoc type (ORDERS02) is used for several messages, such as Order (ORDERS), Order Response (ORDRSP), and Order Change (ORDCHG).

WE31 TO CREATE SEGMENT

WE30 TO CREATE IDOC TYPE AND ASSIGN SEGMENT TO IT

WE81 CREATE MESSAGE TYPE ( MESSGAE (OUTPUT) TYPE

GIVES THE MEANING OF IDOC)

WE82 ASSIGNMENT MESSAGE ( OUTPUT ) TYPES TO IDOCS

TYPES.

WE19 TEST TOOL FOR IDOC PROCESSING

WE02 IDOC LIST

WE05 IDOC LIST

BD10 SEND ARTICLE

WEDI SAP EASY ACCESS IDOC AND EDI BASIS

WE41 DISPLAY OUTBOUND PROCESS CODE

WE42 DISPLAY INBOUND PROCESS CODE

OYSN NUMBER RANGES FOR IDOCS

SM59 SETTING UP RFC DESTINATION

WE21 PORT DEFINATION

WE55 FUNCTION MODULE FOR FILENAME (IDOC)

WE20 PARTNER PROFILE

SALE DISPLAY IDOCS (IMG FOR IDOCS)

RSECHK07 TESTING THE PARTENER PROFILE

SM59 TESTING THE RFC DESTINATION

The IDoc, before being saved in the database, goes through a syntax check and other validations. If there are no errors, the IDoc gets a status of 30 which means IDoc ready for dispatch to ALE Service.

Question : How do i generate sample IDOC files (outbound processing) for the following idoc types?

wp_plu02

wp_ean01

wpdwgr01

the pos system needs to be configured and they need an actual text file of these idocs.

Answer : u need to configure settings between the systems to establish the connection.