SAP Function /SAPHT/MESZLAUZ_CHKLOT - Check the Lot Geneology Table if Batch is from a split lot.

Parameter Reference Type Length Default Optional Text
AUFNR_I_MSEG MSEG-AUFNR C 12
I_CHARG MSEG-CHARG C 10
I_MATNR MSEG-MATNR C 18 X
I_MSEG MSEG u 1156
I_WERKS MSEG-WERKS C 4 X
NOSPL 0 X
SPL 0 X

Parameter Reference Type Length Text
AUFNR_I_MSEG MSEG-AUFNR C 12
FROMPO_LOTGENE /SAPHT/MESZSPLPO-Z_FROMPO C 12
I_CHARG MSEG-CHARG C 10
I_MATNR MSEG-MATNR C 18
I_MSEG MSEG u 1156
TOPO_LOTGENE /SAPHT/MESZSPLPO-Z_TOPO C 12

Parameter Reference Type Length Default Optional Text
BATHDR MBCFC003 u 125 X

Parameter Reference Length Optional Text
LOTGENE /SAPHT/MESZSPLPO 61
TEMP_MSEG MSEG 1156 X

Exception Text
NO_ORIGIN_LOT_FOUND
NO_SPLIT_PROCESS_ORDER_FOUND