Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from tspiridon on Apr 28 at 1:37 PM Hi Felipe I think that best way to create a event will be from change document. First you must check if change document are written for your case (insert, update or delete of AFVC records). I expect that change document (of ORDER class) will be written. If so, you have no problem. You can publish event for object with key from AFKO - in this case you must use event with parameters -or for 'position' of afko - for each afvc records. All you must do is to: - first: extend configuration of ORDER in SCDO to enable publishing event from creation, changing and deletion; - second: define your event to be published (delegate standard object - first choise, and extend with your events) - third: define what event must be published in transaction SWEC. In SWEC you must use your own custom function modules in 'Event Container'. Here you will have all change document info (header and position) and can see if it was a change, creation or delete of record of AFVC. For each case you can publish your own event (can be more: one record was deleted, one was crested and one was changed) ... Traian Spiridon SAP ABAP Workflow Consultant Mobile: +40 726 187 211 email: email@removed
| | | ---------------Original Message--------------- From: Felipe Uribe Sent: Sunday, April 27, 2014 11:54 PM Subject: Events from AFVC Table Hi guys, Any suggestion to create an event when a record is created, changed or erased from AFVC table from TCode CJ20N? I did try in Tcode SCDO (Change Documents) creating a new one and modifying PROJ and ORDER. I also used the BADI WORKBREAKDOWN_UPDATE to insert ABAP Code to trigger the event, but when the record is created, the variable IT_WBS_ELEMENT is empty. Any suggestion? Thanks a lot Felipe Uribe | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |