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 generation based on change pointers.

Former Member
0 Likes
385

Hi All,

I have done below following steps to generate custom IDocs but IDoc is got generated when I execute BD21 transaction only but my requirement is as soon as they created or change information I need to generate IDoc. How to do this?

Create first Segment - WE31

Create IDoc type - WE30

Create Message type - WE81

Assign Message type to IDoc type - WE82

Activate change pointers - BD50

Link message type to function module - BD60

Global activation of function modules - BD61

Create Port - WE21

Define Partner Profile - WE20

Thanks & Regards,

Anil

1 REPLY 1
Read only

Former Member
0 Likes
305

Hi,

You need to schedule the program RBDMIDOC as batch job.

You can schedule in intervals like every 5mts or 10mts ...etc.

depends on number of changes occuring.

This program RBDMIDOC is nothing but BD21. To schedule the job follow below steps.

Hi,

Follow below steps.

1. Goto SM36--Give Your first Job name, Choose Job class

2. Click on Step, give the Program name and Variant. Come back to main screen.

3. Click on start Condition then a Popup will be displayed. There click on Date/Time. below you can see Period values there choose hourly.

4. Then Check and save.

Regards,

Ashok