Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

workflow deactivates in PP_COMPLETE_DOCUMENT_ENJ

$
0
0


Hi Experts,

 

I created accounting documents in FV50 and used the option in the menu bar - DOCUMENT -> SAVE AS COMPLETED.

 

While debugging i checked, there is an FM  - PP_COMPLETE_DOCUMENT_ENJ, in which at the below commit statements, the workflow gets deactivated.

 

if workf eq 'X'.

    commit work and wait.

  else.

    commit work.

  endif.

  if g_imess = 'X'.                                        "Note 574238

    CALL FUNCTION 'CUSTOMIZED_MESSAGE'                     "Note 574238

      EXPORTING                                            "Note 574238

        I_ARBGB       = 'FP'                               "Note 574238

        I_DTYPE       = 'I'                                "Note 574238

        I_MSGNR       = '001'                              "Note 574238

        I_VAR01       = bkpf-belnr                         "Note 574238

        I_VAR02       = bkpf-bukrs.                        "Note 574238

  endif.

 

i tried using both the commit statements, but it workflow gets deactiavted even if I use any of these commit statements.

 

i dont understand what can be the issue here. Has anyone faced the similar issue before ?

 

 

Thanks

Meenakshi


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>