Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

user MV45AFZZ rqmts are not transferred to PP (via MD04)

$
0
0

Hello SAP friends,

 

I'm trying to use a user exit in MV45AFZZ, for change the schedule line CN TO CP,

 

FORM USEREXIT_SAVE_DOCUMENT_PREPARE.


CHECK L_STT = 'A001' OR L_STT = 'B001'.

 

LOOP AT XVBEP[] ASSIGNING <FS_VBEP>.

 

   IF L_STT = 'A001'.

     <FS_VBEP>-ETTYP  = 'CN'.

     <FS_VBEP>-UPDKZ  = 'U'.

     VBEP-ETTYP       = 'CN'.

   ELSEIF L_STT = 'B001'.

     <FS_VBEP>-ETTYP  = 'CP'.

     <FS_VBEP>-UPDKZ  = 'U'.

     VBEP-ETTYP       = 'CP'.

   ENDIF.

 

ENDLOOP.

 

ENDFORM.

 

The problem is that, when the status is approved ("B001"), the schedule line is changed to CP, but the rqmts are not transferred to PP (via MD04).

 

 

Any help will be very welcome!!!


Viewing all articles
Browse latest Browse all 3125

Trending Articles



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