2016 Jan 31 5:42 AM
Dear All,
Following function modules were used to do reversal in FB08 and FBRA transactions.
POSTING_INTERFACE_RESET_CLEAR - FBRA transaction update
POSTING_INTERFACE_REVERSE_DOC - FB08 Transaction update.
When I run these two FMs in one executable program it's running fine.
Note: These two FMs internally calling BDC code.
Issue:
When I try to call these two FMs in one Update Function module(i.e. POST_DOCUMENT) system throwing run time error.
The reason is "CALL TRANSACTION" statement executed while running Update function module.
Can I run these two FMs in this Update Function module? If yes please let me know the process.
Thanks
Surya
2016 Jan 31 6:45 AM
Why do you want to? Once you're in the update process, all checks should have been made, so a reversal should not be necessary.
2016 Jan 31 7:14 AM
Hi Metthew,
While doing one reversal, I need to do one more reversal in side that process.
that's why I calling these FMs inside POST_DOCUMENT fm.
Thanks,
Surya
2016 Jan 31 8:32 AM
Put these function modules in another exit that is called before the commit work.
2016 Jan 31 9:22 AM
Thanks Metthew.
Searching for BADIs/Exits. If you know anything please let me know.
Thanks
surya