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
687

Hi,

I want to create a PM Notification. I can do this using BDC also but I want to use IDocs. I am using Idocs for the first time. Could some one give me the step by step process for it. I get the file i have to map the fields in the transaction. And also i have to schedule it to run for every hour. How should i do this? I know to schedule a bdc and not Idoc.

Thanks.

4 REPLIES 4
Read only

Former Member
0 Likes
642

Hi,

You can use message type SERVICENOTIFICATION_CREATEFROM, IDoc type SERVICENOTIFICATION_CREATEFR01 and with process code BAPI. This process code will call FM IDOC_INPUT_SERVNOT_CREATE to create PM notification.

Please check this link on how to configure IDoc inbound processing.

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

Also you can schedule a job to run program RBDAPP01 to post the above IDocs.

Please ensure you setup to trigger by background job for your inbound partner profile setup (WE20).

Hope this will help to start with.

Regards,

Ferry Lianto

Read only

0 Likes
642

but where do i start from to create an Idoc with all the details you have written. Please be in detail.

Read only

Former Member
0 Likes
642

Hi,

Check the following link:

http://www.sapbrain.com/TUTORIALS/TECHNICAL/IDOC_tutorial.html

In this link you will find step by step

Regards,

Bhaskar

Read only

Former Member
0 Likes
642

Hi,

Usually you will have a middleware system (i.e. SAP XI, Gentran, etc) to perform data transformation from non IDoc format (flat file, EDI, etc) to an IDoc format.

An IDoc contains information of control record (EDIDC) and data record (EDIDD).

If you don't have a middleware, you can write custom ABAP program to do data mapping (this gonna be a long process). Please use transaction WE19 (IDoc testing tool) to start to know which segment data required for the above IDoc and also to test the inbound posting process.

Good Luck!

Regards,

Ferry Lianto