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

Re: Cost Center missing in BAPI_SALESORDER_CREATEFROMDAT2

$
0
0

Hi Volker,

 

Please check user exit USEREXIT_MOVE_FIELD_TO_COBL in Program MV45AFZB.

This is processed for dialog and bapi sales order creation/update.

Add this coding:

    if ch_cobl-kostl isinitialandnot us_vbapkom-kostl isinitial.
      ch_cobl-kostl = us_vbapkom-kostl.
   
endif.

There might be other checks you have to do to distinguish between online and BAPI processing.

 

/Michael


Viewing all articles
Browse latest Browse all 3125

Trending Articles



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