Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem running the FMs in Update function module

Former Member
0 Likes
853

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

4 REPLIES 4
Read only

matt
Active Contributor
0 Likes
751

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.

Read only

Former Member
0 Likes
751

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

Read only

matt
Active Contributor
0 Likes
751

Put these function modules in another exit that is called before the commit work.

Read only

Former Member
0 Likes
751

Thanks Metthew.

Searching for BADIs/Exits. If you know anything please let me know.

Thanks

surya