‎2006 Nov 15 7:11 AM
Hi,
i am working on my first object in interfaces which is an outbound idoc.
please tell me the basic steps to start with lik which function modules to use
which all transaction to use
what coding is required
‎2006 Nov 15 7:14 AM
Have a look at below link. It will help you to understand the same.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
Also have a look at below link.
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers
‎2006 Nov 15 7:14 AM
Have a look at below link. It will help you to understand the same.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
Also have a look at below link.
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers
‎2006 Nov 15 7:15 AM
1. Create a basic IDoc type (transaction we30) and the segment type (transaction we31). And release the segment type and IDoc type.
2. Create a message type (we81).
3. Assign basic IDoc type to message type (we82).
4. create logic systems for source and target systems
 Assign clients to logical system names
 create RFC destinations
 create distribution model(if required)
5. Create a report : (Outbound process)
 select the data from Z table into an internal table
 populate the control record ( EDIDC )
 populate data record ( EDIDD ) with Z table entries selected
 call the function module IDOC_DISTRIBUTE by passing control record data , data record and status record (EDIDS) and RUN THE PROGRAM TO create an outbound IDoc
6. Create a Function Module : (Inbound process)
 create a function module and make it remote enabled
 create a process code ( we42) and assign function module to process code
 Read the IDoc data and segregate into the internal table and then finally update the Z table that you want to update.
These are the basic things related
the transaciton used is <b>SALE</b>
Regards
- Gopi
‎2006 Nov 15 7:19 AM
Hi,
Please follow the links,
http://www.sapgenie.com/whitepapers/ale.htm
http://www.sapgenie.com/ale/index.htm
http://www.sappoint.com/abap.html
http://www.sapbrain.com/TUTORIALS/TECHNICAL/ALE_tutorial.html
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/CABFAALEHR/CABFAALEHR_ALE_QS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/ECPCA/ECPCA_ALE_154.pdf
Please reward for the same
‎2006 Nov 15 7:23 AM
Hi,
Outbound IDoc...
1. Find the Message type and IDoc Type
2. if require add enhancement using WE30 and WE31
3. you can get the Process codes from WE41
4. you need to Create the Partner Profiles using WE20
5. You need to Create the Distribution Model using BD64
6. find the User exits if any and there you need to code , by Creating the Project in CMOD.
Regards
Vijay