SAP Function TBLP_MAT2MAT_TRAN_CREATE - Create a material to material movement

Parameter Reference Type Length Default Optional Text
I_CHARG CHARG_D C 10 X Batch number
I_ERFME ERFME C 3 X Unit of entry
I_ERFMG ERFMG P 7 X Quantity in unit of entry
I_LGORT_R LGORT_D C 4 X Storage location
I_LGORT_S LGORT_D C 4 X Storage location
I_MATNR MATNR C 18 X Material number
I_MATNR_R MATNR C 18 X Material number
I_TYPE AS4FLAG C 1 X Flag (X or blank)
I_VALTYPE_R BWTAR_D C 10 X Valuation Type
I_VALTYPE_S BWTAR_D C 10 X Valuation Type
I_WBSR PS_PSP_PNR N 8 X Work breakdown structure element (WBS element)
I_WBSS PS_PSP_PNR N 8 X Work breakdown structure element (WBS element)
I_WERKS_R WERKS_D C 4 X Plant
I_WERKS_S WERKS_D C 4 X Plant

Parameter Reference Type Length Text
E_RC SYST-SUBRC I 4
E_TBLP TBLP u 270

Exception Text
CCODES_NOT_SAME Company codes are not the same
CREATE_PLORD_FAILURE Planned order creation failed
CREATE_RESERVATION_FAILURE Reservation creation failed
INVALID_CCODE Company codes are invalid for posting period
INVALID_MTART Material type is not set to quantity updating
MOVEMENT_FAILURE Movement creation failed
NO_MAT_PROCUREMENT
SERIAL_NUMBERS
STOCK_TOO_LOW Sending stock too low to create movement
TBLP_ERROR Table tblp was not updated
WBS_INVALID WBS status is invalid e.g. not released
WRONG_POSTING_PERIOD Movement is not possible in current posting per.