Thursday, March 13, 2014

HOW TO FIND THE PAYMENT DOCUMENT NO USING THE PURCHASE ORDER NUMBER IN SAP



How to find the Payment Document Number (SAP FI) using the purchase order Number (SAP MM)?
Or
How do you solve the MM issues?  Do you have any technique to find FI ' PD' no based on MM 'PO' no?
Answer:
To explain the solution as a sap consultant we must have basic knowledge  regards Tables and Fields .
for this question we need to know TABLE -BKPF  and EKBE
TABLES AND SOME IMPORTANT FIELDS
EKBE- Purchasing History Data table
BKPF-Purchasing Document Header table
EKBE
EBELN-pur .doc.no
EBELP-PO.item .no
GJAHR-year
BELNR-Mat.doc.no
BUZEI-Item no
BEWTP-E-Goods receipt no
BEWTP-Q-Invoice receipt no
BUDAT-Posting date                      

                BKPF
 BUKRS- company code
BELNR- Accounting doc no/payment doc
GJAHR- Fiscal year
BUDAT- Accounting doc.posting date
BLDAT-Accounting  doc  Date
AWKEY- Reference key
XBLNR- Reference doc







{Note :- For More Understanding find below links too



step 1: enter table EKBE in the field

sap fi table ,sap mm to fi tables ,important tables in sap,most useful tables in sap














 pass the purchase order no(EBELN) , item Number (EBELP)  and BEWTP-Q (Invoice receipt no)In the Table EKBE

sap fi table ,sap mm to fi tables ,important tables in sap,most useful tables in sap

execute 

sap fi table ,sap mm to fi tables ,important tables in sap,most useful tables in sap

Double click on any item to get full view of the document
sap fi table ,sap mm to fi tables ,important tables in sap,most useful tables in sap

































note the material document no(BELNR-5105604179) and year(GJAHR-2000)

TIP : how to change the field label to Field(technical) name
          just click the 'F5' or go to menu------- settings----user parameters(f5)

sap fi table ,sap mm to fi tables ,important tables in sap,most useful tables in sap

select field name
sap fi table ,sap mm to fi tables ,important tables in sap,most useful tables in sap






enter
Now  field label is changed as field (technical) name
sap fi table ,sap mm to fi tables ,important tables in sap,most useful tables in sap

































 go back ......
step 2:

Enter table name BKPF in the field
sap fi table ,sap mm to fi tables ,important tables in sap,most useful tables in sap













Execute
now  add year to   Invoice receipt number and pass the combined number in field AWKEY  in BKPF table .then we get the BELNR as Payment DOC.NO .
Invoice receipt number  & year = 51056041792000 (reference key)

sap fi table ,sap mm to fi tables ,important tables in sap,most useful tables in sap


enter

sap fi table ,sap mm to fi tables ,important tables in sap,most useful tables in sap,payment issues in sap fi

now we got the payment doc no (BELNR-BKPF)=510000032

No comments: