SAP Function /SAPPSPRO/PO_PAYMT_READ - Payment History

Parameter Reference Type Length Default Optional Text
I_EBELN EKKO-EBELN C 10 Purchasing Document Number
I_EBELP EKPO-EBELP N 5 X Item Number of Purchasing Document
I_FINAL XFELD C 1 X If X fill all final information (columns or output parameters)
I_FINAL_ONLY XFELD C 1 X Do not fill C_PYMNT_H, but gets final documents
I_FIONLY XFELD C 1 X If initial then call ME_READ_HISTORY
I_HEADER_ONLY XFELD C 1 X Header documents only
I_INCLUDE_HEADER XFELD C 1 X Include header documents
I_TESTFM XFELD C 1 X Test FM
I_TEXT XFELD C 1 X If X then fill all texts

Parameter Reference Type Length Text
E_FINAL_GR EKBE-BELNR C 10 Number of Material Document
E_FINAL_GR_DATE BLDAT D 8 Document Date in Document
E_FINAL_GR_FL CHAR01 C 1 Character field length 1
E_FINAL_IV DOCNR C 10 Doc. Number
E_FINAL_IV_DATE BLDAT D 8 Document Date in Document
E_FINAL_IV_FL CHAR01 C 1 Character field length 1
E_FINAL_PY DOCNR C 10 Doc. Number
E_FINAL_PY_DATE BLDAT D 8 Document Date in Document
E_FINAL_PY_FL CHAR01 C 1 Character field length 1
E_FMIFIIT CHAR01 C 1 Character Field Length 1

Parameter Reference Length Optional Text
C_PYMNT_H /SAPPSPRO/S_PAYMT 241 X Structure for Payment History
C_RETURN BAPIRETURN1 470 Return Parameter