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

material for ale,idoc programming

former_member190312
Active Participant
0 Likes
505

Hi folks,

i need urgently the material for IDOC programming.i am mentioning the process below.

1)i have created one program. i need to send some fields to a folder through IDOCS.

when i will press a push button on my program, this idoc program should execute so that some of the fields will transfer through IDOCS.

Thanks

1 ACCEPTED SOLUTION
4 REPLIES 4
Read only

Former Member
0 Likes
484

hi,

Intermediate Documents (IDOCs)

An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data.

The two available process for IDOCs are 1) Outbound Process 2) Inbound Process.

There are basically two types of IDOCs.:

1. Basic IDOC type defines the structure and format of the business document that is to be

exchanged between two systems.

2. Extension Idoc: Extending the functionality by adding more segments to existing Basic IDOCs.

-To Create Idoc we need to follow these steps:

1. Create Segment ( WE31)

2. Create Idoc Type ( WE30)

3. Create Message Type ( WE81)

4. Assign Idoc Type to Message Type ( WE82)

1. Creating a Segment:

nGo to transaction code WE31

nEnter the name for your segment type and click on the Create icon

nType the short text

nEnter the variable names and data elements

nSave it and go back

nGo to Edit -> Set Release

nFollow steps to create more number of segments

2. Create Idoc Type (WE30)

nGo to transaction code WE30

nEnter the Object Name, select Basic type and click Create icon

nSelect the create new option and enter a description for your basic IDOC type and press enter

nSelect the IDOC Name and click Create icon

nThe system prompts us to enter a segment type and its attributes

nChoose the appropriate values and press Enter

nThe system transfers the name of the segment type to the IDOC editor.

nFollow these steps to add more number of segments to Parent or as Parent-child relation

nnSave it and go back

nnGo to Edit -> Set release

3. Create Message Type (WE81)

nGo to transaction code WE81

nChange the details from Display mode to Change modenAfter selection, the system will give this message “The table is cross-client (see Help for further info)”. Press EnternClick New Entries to create new Message Type

nFill details

nSave it and go back

4. Assign Idoc Type to Message Type (WE82)

nGo to transaction code WE82

nChange the details from Display mode to Change moden After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.

nClick New Entries to create new Message Type.

nFill details

nSave it and go back

There are three types of records :

nControl Record nData Record nStatus Record

Control Record - contains the key information like destination, IDoc type, message type, port and sender information. Control records are of EDIDC type of structure.

Data Records - This contains two parts.

nAdministrative Section and Data Section

nAdministrative Section consists of Idoc number, Segment Name, Segment number, Version, Segment Hierarchy etc.

nData Section contains the data of respective segment

nData records are of EDIDD type of structure

nStatus Record - whenever a process is taken place, system will generate status records.

nWe can identify the process with the number of status record.

n01 - 49 for Outbound Process

n50 - 75 for Inbound Process

nwhen IDoc is processed the messages are:

n01 - IDoc is created

n30 - IDoc is ready for dispatch

n03 - IDoc is processed

check all the below links u will find lot of info

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

For ALE -- IDoc's

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

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

ALE/ IDOC/EDI

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.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

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

http://www.angeli.biz/www5/books/IDocBook/IDocBook.pdf

IDOC Convertion

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

~~Guduri

Read only

Former Member
0 Likes
484
Read only

Former Member
0 Likes
484

Hi,

Check the following link:

http://www.sapbrain.com

Regards,

Bhaskar