2015 Jan 25 3:38 PM
Hi all,
I create user exit in ZGGBS001 (copy from standard RGGBS001 ) for modifying Depreciation (T-code: AFAB) posting value which is BSEG-HKONT (GL Account).
However, the value only change in debugging mode.
Please, help.
2015 Jan 25 6:26 PM
Hi,
Check further after changing the value in debug mode where exactly it's changing again.It must have getting overwrite. Give watchpoint so that you can check where exactly value is changing.
Regards,
Pravin
2015 Jan 26 1:43 AM
Hi Pravin s.
I put the watchpoint and yes at the end of the code it modified my value, but the value stay the same after debugging.
2015 Jan 25 6:29 PM
Hi Sopanith,
Ensure you are doing a commit work before leaving the transaction.
Regards,
Kannan
2015 Jan 26 1:44 AM
Hi Kannan,
You mean COMMIT WORK statement?
if so i tried, but it doesn't work.
2015 Jan 26 2:19 AM
Hi Sophanith,
Never use a commit work directly in the user exit.It will create inconsistencies.Try to call it via a New Task.
Regards,
Kannan
2015 Jan 26 2:41 AM
Actually,
I deleted the commit statement.
The value change back at program RGUGBR00 in debug mode.