2008 Feb 28 2:13 PM
Hi,
I would like put a trigger on a SAP table.
I would like that this triggers lauches a program (or perform ..what you want).
And this program receive the datas to insert or to delete from the SAP Table.
Is someone can help me?
Thanks.
Hi,
I would like put a trigger on a SAP table.
I would like that this triggers lauches a program (or perform ..what you want).
And this program receive the datas to insert or to delete from the SAP Table.
Is someone can help me?
Thanks.
2008 Feb 28 2:38 PM
2008 Feb 28 3:29 PM
Thanks i already did this except the step 4.
But this one is not automatic and i would like that when a SAP table is updated by a SAP transaction, my table receives the information.
I would like he same effect but with using the SM30.
Thanks
2008 Feb 28 3:37 PM
I think then you need to create change pointers for the table
and create program (that scheduled to run in background) and fetch change pointers using fm CHANGE_POINTERS_READ and do whatever you want.
May this will help you
a®
2008 Feb 28 4:34 PM
you can use change pointers to capture the events for a table::
Or
you can use BOR to do the same..
Suppose you want to track changes in table LFA1 or LFB1...
Go to to tcode: Swo1 and you need to copy the existing LFA,LFB1..etc to ZLFA1 or ZLFB1.
and in one of those events for create or change you need to write a function module/subroutine/code that keeps track of these changes into a structure depending on your methods parameters.
Your Function module /subroutine gets executed in one of the methods of the BOR object after the relevant event for vendor creation or vendor change is raised.
After this you need to configure these events in SWEC.
In this transaction, the details are available as to which events are raised and whether the input requires us to specify the change document object, object category and type of the event. Specify the trigger event by choosing the radio button for On create or On Change.
Hope this helps a little.
2008 Feb 29 7:41 AM
Hi,
Could you give me more details about the first or the second method?
Thanks.
2008 Feb 28 3:55 PM
Hi ,
I dont think that is possible , yes but you can handle events when you manage the table using table maintanence .
Regards
Arun
2008 Apr 04 1:26 PM
2008 Apr 04 1:28 PM
Work flow u need to configure for this.....
allocate points if usefull
Regards
sas
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |