on 07-15-2014 7:29 PM
My company has added a custom tab to RECN. On this tab we update a custom table containing additional information related to a real estate contract. Everything seems to be working just fine except one little thing:
If I change some data on our new tab, then without saving I click the green back arrow I get a prompt to save or not. If I select to not save, it goes back and I can enter a different contract number. If I go back into either the same contract or even a different contract and save anything, it will save the change, but the change I made earlier and tried to cancel also happens.
When we do the updates on the new tab, the data is updated by calling a function module with the parameter "IN UPDATE TASK". As near as I can figure, answering "no" to that save prompt will make it not save, but apparently the changes I made are still waiting in that update task. It seems like saying "No" to the prompt should clear out all of those updates.
Any ideas how to deal with this?
I do not see any options to close this, but I do want to put it to bed. Here is what we did to resolve the problem: we did an enhancement on method ASK_USER_FOR_EXIT of class CL_RECA_WB_MANAGER. what we added at the end of the method is code to check the response from the prompt and if the user answered "No" meaning he doesn't wish to save, it will call function module BAPI_TRANSACTION_ROLLBACK and eliminate our unwanted updates.
We are testing thoroughly and so far it all looks good.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Debug implementation of BADI_RECA_STORABLE.
Debug methods:
STORE_WRITE
Also debug associated BDT screen.
Some where earlier data was not initializing properly..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hm looks like some wrong event handling in the custom tab. How is the custom tab added? With help of OSS no. 969234 ?
Regards
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.