SAP Function /KYK/GET_MKPF - It will give values from table MKPF

Parameter Reference Type Length Default Optional Text
LV_MBLNR MBLNR C 10 Number of Material Document
LV_MJAHR MJAHR N 4 Material Document Year

Parameter Reference Type Length Text
MKPF_A MKPF u 290 Header: Material Document