Billing Table Info
Can any one tell me in which table the Purchase Order Number information in Billing Items is stored.
We have to enhance the 2LIs_13_VDITM data source in order to get the Purchase Order number information that exists in Billing items....
Steve Feintuch replied
If you want to append the PO Number to the 2LIS_13_VDITM data source, you can find this in table VBKD in R/3.
So, you must go to transaction CMOD in R/3, type in your poject name for enhancements. Click on components, click on EXIT_SAPLRSAP_001 and enter the appropriate code to make the enhancement.
It should look something like that.
data: begin of i_vbkd occurs 0,
vbeln like vbkd-vbeln,
bstkd like vbkd-bstkd,
end of i_vbkd.
*please note that i_data1 represents 2lis_13_vditm , you must declare this in your enhancement
select vbeln bstkd into table i_vbkd from
vbkd for all entries in i_data1 where
vbeln = i_data1-vbeln.
read table i_vbkd with key vbeln = i_data1-vbeln
if sy-subrc eq 0.
move i_vbkd-bstkd to i_data1-zzbstkd.
Hope this helps!