Posts

Showing posts with the label bapi_goodsmvt_create sample code

BAPI_GOODSMVT_CREATE (561) - Stock/Inventory SAP Upload Tool.

Generally during cut-over activity stage, we need to upload initial inventory/stock from legacy. This program will help you to mass upload Inventory/Stock. This program is built on BAPI  'BAPI_GOODSMVT_CREATE'  for movement type 561. SAMPLE PROGRAM: REPORT  zstock_upload . TYPES :  BEGIN  OF  gty_upload ,          srno        TYPE  sy - tabix ,          doc_date    TYPE  char10 ,          pstng_date  TYPE  char10 ,          move_type   TYPE  mseg - bwart ,          spec_stock  TYPE  mseg - sobkz ,          plant       TYPE  mseg - werks ,  ...

BAPI_GOODSMVT_CREATE (311) - Transfer Posting SAP Upload Tool.

Image
This sample program can be used for mass transfer posting using BAPI 'BAPI_GOODSMVT_CREATE'. Suppose there is a requirement to move stock from one storage location to another or transfer stock from one batch to another, here is where this program will come handy. REPORT  zmm_311_movement . TYPES :  BEGIN  OF  gty_upload ,          srno        TYPE  sy - tabix ,          material    TYPE  mseg - matnr ,          plant       TYPE  mseg - werks ,          stge_loc    TYPE  mseg - lgort ,          move_stloc  TYPE  mseg - lgort ,          spec_stock  TYPE  mseg -...