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

Change schedule line for blocking Transfer Rqmts in sales order

$
0
0

Hello SAP friends,

 

I'm trying to use a user exit in MV45AFZZ, for blocking transfer rqmts, during a sales order creation, with a status profile approval. Thus i'm using two types of schedule line CP and CN.

 

FORM USEREXIT_SAVE_DOCUMENT_PREPARE.

*loop at XVBEP.

*    if RV45A-ASTTX = 'APPR'.

*      xVBEP-ETTYP = 'CP'.

*      xvbep-updkz = 'U'.

*      xvbep-BDART = 'Z4'.

*      modify xvbep .

*    ENDIF.

*  endloop.

ENDFORM.

 

The problem is that, when the status is approved ("APPR"), the schedule line is changed to CP, but the rqmts are not transferred to PP (via MD04). I don't know the way to check if VBBE is updated or not..

 

 

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>