on 07-15-2013 2:02 PM
Hello
I wrote a custom function module, where in i am updating a standard SAP table (say, table_1) by using a standard SAP class and at the end i placed BAPI_COMMIT_WORK to write the data to data base, well.
I am calling this FM in a post-exit of standard SAP's CLICK_SAVE_BUTTON method of a standard SAP webdynrpo componenet.
Already standard SAP is updating this table_1 in CLICK_SAVE_BUTTON and COMMIT_WORK is also there in this method.
Then, my post-exit will trigger, where in am calling my FM, where in am updating the same table_1 and placed BAPI_COMMIT_WORK
(I tried calling my FM with addition of NEW TASK DESTINATION 'NONE', in NEW WORK UNIT, but they are not updating the table_1)
Pls. suggest me is it safe? is it OK? or do we have any better approach?
Thank you
Any help pls.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, but as its a standard SAP webdynpro component, am not sure the enhancement framework allows me to create / assign a custom class as assiatnce class at component level.
Also, I tried that clicked webdynpro component and clciked the enhancement spiral icon, then selected a already existing custom enhancement implementation, but the assistance class field is greyed out!
Any other ideas pls.
Thank you
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.