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

ABAP coding / tables behind IDOC

Former Member
0 Likes
514

Hello *,

First some words about the scenario:

I want to design a composite application prototype which aims to replace an existing system.

In the existing application (non-SAP) material master data is periodically (1 x per night) transferred via (customer) IDOC from SAP PLM to the application own database. Real-time read and search functionality is implemented for this database.

Now, with composite application framework, I have the posibility connecting directly (real-time) to the PLM data via entity services. So no redundant keeping of data is necessary.

So now the problem is, that I need the data of the given IDOC but in request/response scenario implemented as an RFC. Am I right?

How can I realize this? Where can I find the ABAP coding behind the IDOC? And the tables and data fields which fill the IDOC?

Can anyone help me? Or are there any good papers/information about IDOCs?

Thanks in advance.

Best regards

Joschi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
467

Hi Joschi,

You can refer some of the links below

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

IDOC Convertion

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

In your case you need to identify the partner profile and check the details of the partner profile, the inbound process code and the associated FM which writes the data.

Cheers

VJ

3 REPLIES 3
Read only

Former Member
0 Likes
468

Hi Joschi,

You can refer some of the links below

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

IDOC Convertion

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

In your case you need to identify the partner profile and check the details of the partner profile, the inbound process code and the associated FM which writes the data.

Cheers

VJ

Read only

Laxmana_Appana_
Active Contributor
0 Likes
467

Hi,

IDOC's are two types.

1.Outbound IDOC

2.Inbound IDOC.

which contain three types of data .

1.Data records

2.Control data

3.Status data

these types of data are stored in EDID4,EDIDC,EDIDS tables.

through transaction WEDI you can navigate to different transactions which are used for idoc development and configuration settings.

in outbound Idoc generation FM : MASTER_IDOC_DISTRIBUTE

is used to generate IDOC.

inbound idoc will be processed through program/function module depending on the processing method.

you can veiw the idoc's in the system through WE05 transaction.

Regards

Appana

Read only

Former Member
0 Likes
467

Hi,

So, what you are trying to do is to fetch the data from the non-SAP system from your composite app using the services exposed by the non-SAP system, right?

So, given that you will call the service and display the data and then finally when you press save, this data needs to be saved in SAP. So, if that is the case, you don't have to depend on the function module behind the IDOC to save the material. You can call the services (BAPI) given by SAP to save the data, in this case you can call the BAPI_MATERIAL_SAVEDATA, which will create the material in the SAP system.

However, if you still need the IDOC function module, you can find them using IDOCINPUTMATMAST* in SE37 transaction.

However, If you are trying to do a master data distribution, I would still a prefer a IDOC way as you can monitor the data.

Regards,

Ravi

Note : Please mark all the helpful answers