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

Need help to create idoc

Former Member
0 Likes
1,058

Hi peeps,

I need to create an standard IDOC PEXR2001after doing a payment run through f110. I did some search on the web, got some ideas but no clear direction. I understand that the whole process might be quite long and difficult to explain. Can anyone just give me some general guidelines on how to start doing this? Please treat me as a complete beginner in this area.

I will reward points for helpful answers.

Thanks !

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
987

hi,

for creating an IDOC.

First we need to create the Segment type in we31.Enter the data to be passed from IT to the IDOC in this.save n release the segment.

Create IDOC type in we30.

Create msg type in we81. Assign it to a change request and save it.

Link this message type with idoc type in WE82.

Then start the coding part.

Pass the data record,control record into standard function ale_idocs_create.

Give the receiver system no..

Try this out.

It should work.

-Priyanka.

Hi peeps,

I need to create an standard IDOC PEXR2001after doing a payment run through f110. I did some search on the web, got some ideas but no clear direction. I understand that the whole process might be quite long and difficult to explain. Can anyone just give me some general guidelines on how to start doing this? Please treat me as a complete beginner in this area.

I will reward points for helpful answers.

Thanks !

6 REPLIES 6
Read only

Former Member
0 Likes
988

hi,

for creating an IDOC.

First we need to create the Segment type in we31.Enter the data to be passed from IT to the IDOC in this.save n release the segment.

Create IDOC type in we30.

Create msg type in we81. Assign it to a change request and save it.

Link this message type with idoc type in WE82.

Then start the coding part.

Pass the data record,control record into standard function ale_idocs_create.

Give the receiver system no..

Try this out.

It should work.

-Priyanka.

Read only

0 Likes
987

Thanks Priyanka for your lightning-quick reply.

PEXR2001 is an sap standard IDOC. In this case, since I am not required to create an IDOC from scratch, do the steps you mentioned still apply?

Read only

0 Likes
987

sry i dont know whether these steps apply r not please check out.

Read only

Former Member
0 Likes
987

Hi Yupinto,

Follow below steps to create custom IDOC.

You can directly create an iDoc using some transaction like...

Use TCODE bd10 - to Send Data

and TCODE bd11 - to Get Data

and you can check the IDoc List using TCODE we02.

As you want step by step procedure.

1. Define Logical System and Assign Logical System

TCODE sale

2. Define RFC TCODE sm59

3. Define Port TCODE we21

4. Define Partner Profile TCODE we20

5. Define Distribution Model TCODE bd64

6. Send Data TCODE bd10

7. Get Data TCODE bd11

8. IDoc List TCODE we02

Check these links for more details on IDoc's:

ALE/ IDOC

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

Hope this helps

Regards,

manikandan rajendran

Read only

0 Likes
987

Hi manikandan,

BD10 can only be used to create material idocs.

I need to create PEXR2001 idoc of message type payext.

Can you help me with this.