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

Trigger , report program

Former Member
0 Likes
562

Hi,

I am working on an interface which sends out Material Master data of materials of a particular plant.

The requirement consists of extracting data from many tables (like MARA MSEG KEPH) and after some calculations output the final data into a flat file, there on the middleware will take care of the rest.

The program has to be triggered as when there is a change in material master data of materials from that particular plant only.

I created the program to generate the flat file. But I dont know how to create a trigger such that whenever there are changes in the master data of the materials of this specific plant, this program will create the flat file on the application server.

Please provide me an approach to solve this problem.

Thanks

pratyusha

3 REPLIES 3
Read only

Former Member
0 Likes
503

1. You can activate the change pointers (done by the functional consultant in customizing) which will throw out IDOCS for the changed materials.

2. But in your case if you are dealing with flat file and specific data, then why don't you schedule your program at regular intervals, so that I can go and check what has been changed in last 24 hrs(Or whatever time you decide) and throw out the data. You can schedule the program in SM36 transaction.

I think in your case 2 will be a better option.

3. Identify a user exit and SUBMIT your program from there.

regards,

Ravi

Note : Please mark all the helpful answers

Read only

Former Member
0 Likes
503

Use Job schedular SM36 to schedule your job in which Select "On Event" button to trigger your job.Then create a event in which Material Master changes..

Reward if Helpful

Regards

Read only

0 Likes
503

Please explain me as to how to create an event in this case.

Thanks once again.

pratyusha