Report on invoice
hi to all , can u pls give coding for this
report to display list of invoices posted with ina specified range of dates .
points will be rewarded for good ansers
Hi
use the Tables VBRK and VBRP for getting the invoice data
see the sample code for fetching the Billing related data
you change the output display from it as per your logic
report zesdr001
line-size 215
line-count 65
no standard page heading
message-id zv.
Tables Declaration
tables:vbrk, " Sales Document: Billing Header Data
mara, " Material Master Data
mbew, " Material Valuation data
mbewh, " Material Valuation: History Data
t001, " Company Codes
t001w, " Plants/Branches
konv, " Pricing Conditions Data
t179t, " Materials: Product hierarchies: Texts
tcurx, " Currency Conversion Table
vbuk, " Sales Document: Header Status data
tvko, " Organizational Unit: Sales Organizations
tvtw, " Organizational Unit: Dist.Channels
tspa, " Organizational Unit: Divisions
tvfk, " Billing Document Types
kna1. " Customer Master Data
Declaration of Data and Internal Tables
Internal table to store the Billing Details data.(VBRK,VBRP)
data: begin of itab_bill occurs 0,
vbeln like vbrk-vbeln, " Billing Document Number
fktyp like vbrk-fktyp, " Billing Category
vbtyp like vbrk-vbtyp, " Sales Doc Category
fkdat like vbrk-fkdat, " Billing doc date
fkart like vbrk-fkart, " Billing Doc type
bukrs like vbrk-bukrs, " Company Code
kurrf like vbrk-kurrf, " Exchange type
knumv like vbrk-knumv, " Condition Number
waerk like vbrk-waerk, " Currency
kunag like vbrk-kunag, " Sold to Party
vrkme like vbrp-vrkme, " sales Unit
posnr like vbrp-posnr, " Item Number
charg like vbrp-charg, " Batch Number
fkimg like vbrp-fkimg, " Billed quantity
werks like vbrp-werks, " Plant
matnr like vbrp-matnr, " Material Number
netwr like vbrp-netwr, " Net Value of the doc
wavwr like vbrp-wavwr, " Cost in Doc Currency
kdmat like vbap-kdmat, " Customer Material
end of itab_bill.
Internal table to write the report output when Customer Mode
Radiobutton is selected
data: begin of itab_out occurs 0,
kunag like vbrk-kunag, " Customer No
vbeln like vbrk-vbeln, " Billing Document Number
fkart like vbrk-fkart, " Billing Doc type
fktyp like vbrk-fktyp, " Billing Category
vbtyp like vbrk-vbtyp, " Sales Doc Category
fkdat like vbrk-fkdat, " Billing doc date
kunnr like kna1-kunnr, " Customer
bukrs like vbrk-bukrs, " Company Code
kurrf like vbrk-kurrf, " Exchange Rate
waerk like vbrk-waerk, " Currency
vrkme like vbrp-vrkme, " Sales Unit
posnr like vbrp-posnr, " Item Number
charg like vbrp-charg, " Batch Number
fkimg like vbrp-fkimg, " Billed quantity
werks like vbrp-werks, " Plant
matnr like vbrp-matnr, " Material NUmber
kdmat like vbap-kdmat, " Customer Material
bil_amt(16) type p decimals 2, " Bill Amount
mode(10), " Mode
density(10), " Density
sel_prc(16) type p decimals 2, " Selling Price
mvg_prs like mbew-verpr, " Moving Price
gp_mvp_amt like vbrp-netwr, " GrossProfit Amount(MVP)
gp_mvp_pr(6) type p decimals 2, " ,, percentage
end of itab_out.
Internal table to write the report output when Mode
Radiobutton is selected
data: begin of itab_out2 occurs 0,
mode(10),
vbeln like vbrk-vbeln, " Billing Document Number
fktyp like vbrk-fktyp, " Billing Category
vbtyp like vbrk-vbtyp, " Sales Doc Category
fkdat like vbrk-fkdat, " Billing doc date
kunag like vbrk-kunag, " Sold to party
kunnr like kna1-kunnr, " Customer
bukrs like vbrk-bukrs, " Company Code
kurrf like vbrk-kurrf, " Exchange Rate
waerk like vbrk-waerk, " Currency
vrkme like vbrp-vrkme, " Sales UNit
posnr like vbrp-posnr, " Item No
charg like vbrp-charg, " Batch Number
fkimg like vbrp-fkimg, " Billed quantity
werks like vbrp-werks, " Plant
matnr like vbrp-matnr, " Material Number
kdmat like vbap-kdmat, " Customer Material No
bil_amt(16) type p decimals 2, " Billing Amount
density(10), " density
sel_prc(16) type p decimals 4, " Selling Price
mvg_prs like mbew-verpr, " Moving Price
gp_mvp_amt like vbrp-netwr, " GrossProfit Amount(MVP)
gp_mvp_pr(6) type p decimals 2, " ,, percentage
end of itab_out2.
Internal table to write the report output when Density
Radiobutton is selected
data: begin of itab_out3 occurs 0,
mode(10),
density(10),
vbeln like vbrk-vbeln, " Billing Document Number
fktyp like vbrk-fktyp, " Billing Category
vbtyp like vbrk-vbtyp, " Sales Doc Category
fkdat like vbrk-fkdat, " Billing doc date
kunag like vbrk-kunag, " Sold to Party
kunnr like kna1-kunnr, " Customer
bukrs like vbrk-bukrs, " Company Code
kurrf like vbrk-kurrf, " Exchange Rate
waerk like vbrk-waerk, " Currency
vrkme like vbrp-vrkme, " Sales Unit
posnr like vbrp-posnr, " Item Number
charg like vbrp-charg, " Batch Number
fkimg like vbrp-fkimg, " Billed quantity
werks like vbrp-werks, " Plant
matnr like vbrp-matnr, " Material Number
kdmat like vbap-kdmat, " Customer Material
bil_amt(16) type p decimals 2, " Bill Amount
sel_prc(16) type p decimals 4, " Selling Price
mvg_prs like mbew-verpr, " Moving Price
gp_mvp_amt like vbrp-netwr, " GrossProfit Amount(MVP)
gp_mvp_pr(6) type p decimals 2, " ,, percentage
end of itab_out3.
*-Internal Table to Hold data to be downloaded to file
data: begin of itab_out1 occurs 0,
kunag(10), " Customer
vbeln(10), " Billing Doc No
fkdat(10), " Bill Date
posnr(6), " Item No
mode(6), " Mode
density(6), " Density
matnr(18), " Material
charg(10), " Batch Number
fkimg like vbrp-fkimg, " Billed quantity
vrkme(4), " Sales Unit
sel_prc(14), " Selling Price
bil_amt(15) type p decimals 2, " Billing Amount
waerk(4), " Currency
mvg_prs(15), " Moving Price
gp_mvp_amt like vbrp-netwr, " Gross profit Amount(MVP)
gp_mvp_pr(15), " ,, percentage
kdmat(35), " Customer Material
end of itab_out1.
*Internal Table
data: begin of fieldnames occurs 0,
title(25) type c,
table(5) type c,
field(5) type c,
type(1) type c,
end of fieldnames.
Declaration Of Variables
data: w_period like bapi0002_4-fiscal_period,
w_year like bapi0002_4-fiscal_year,
w_date like bsad-budat,
w_lin type i. "No.of lines in Internal Table
data: t_fkimg like vbrp-fkimg,
t_bil_amt(8) type p decimals 2,
t_gp_mvp_amt(8) type p decimals 2,
t_gr_fkimg like vbrp-fkimg,
t_gr_bil_amt(8) type p decimals 2,
t_gr_gp_mvp_amt(8) type p decimals 2,
t_efkimg like vbrp-fkimg,
t_ebil_amt(8) type p decimals 2,
t_egp_mvp_amt(8) type p decimals 2.
data:f_flg .
Select-Options
selection-screen: begin of block b with frame.
selection-screen : begin of block b1 with frame title text-001.
select-options:s_bukrs for t001-bukrs no intervals no-extension
obligatory,
s_vkorg for tvko-vkorg no intervals no-extension,
s_vtweg for tvtw-vtweg no intervals no-extension,
s_spart for tspa-spart no intervals no-extension,
s_werks for t001w-werks no intervals no-extension,
s_kunag for kna1-kunnr,
s_vbeln for vbuk-vbeln,
s_fkart for tvfk-fkart,
s_fkdat for vbrk-fkdat obligatory.
selection-screen begin of line.
selection-screen comment 1(20) text-008.
selection-screen end of line.
selection-screen begin of line.
parameters p_cust type c radiobutton group cust.
selection-screen comment 3(20) text-004 for field p_cust.
selection-screen end of line.
selection-screen begin of line.
parameters p_mode type c radiobutton group cust.
selection-screen comment 3(20) text-006 for field p_mode.
selection-screen end of line.
selection-screen begin of line.
parameters p_dens type c radiobutton group cust.
selection-screen comment 3(20) text-007 for field p_dens.
selection-screen end of line.
selection-screen: end of block b1.
selection-screen : begin of block b2 with frame title text-002.
parameters: p_dwnlod as checkbox,
p_file like rlgrap-filename. " default 'C:\zesdr001'.
selection-screen: end of block b2.
selection-screen: end of block b.
*******At Selection Screen********************************************
at selection-screen.
At Selection Screen on Value Request
at selection-screen on value-request for p_file.
perform f4_help.
Checking for the input values of selection screen.
perform screen_check.
Top Of Page***************************************************
top-of-page.
perform rep_headers.
*******Start of Selection*********************************************
start-of-selection.
Selecting data from the database tables
perform invoice_selection.
describe table itab_bill lines w_lin.
if w_lin = 0.
message i008. " No Data Found for the Given Selection Criteria
else.
Moving the data records into output internal table
perform bill_details.
When Customer Radio button is selected
if p_cust eq 'X'.
perform invoice_output_cust.
When Mode Radio button is selected
elseif p_mode eq 'X'.
perform invoice_output_mode.
When density Radio button is selected
elseif p_dens eq 'X'.
perform invoice_output_dens.
endif.
endif.
*******End of Selection***********************************************
end-of-selection.
perform init_fieldnames.
if p_dwnlod = 'X'.
perform read_data_for_dowlload.
perform down_load_to_file using p_file.
perform download_excel using p_file.
endif.
*& Form screen_check
Ckecking for Selection Screen fields Validation
form screen_check.
Validation of Sales Organization
clear tvko.
if not s_vkorg-low is initial.
select vkorg from tvko up to 1 rows
into tvko-vkorg
where vkorg in s_vkorg.
endselect.
if sy-subrc ne 0.
message e009. " Invalid Sales Organization
endif.
endif.
Validation of Distribution Channel
clear tvtw.
if not s_vtweg-low is initial.
select vtweg from tvtw up to 1 rows
into tvtw-vtweg
where vtweg in s_vtweg.
endselect.
if sy-subrc ne 0.
message e010. " Invalid Distribution Channel
endif.
endif.
Validation of Division
clear tspa.
if not s_spart-low is initial.
select spart from tspa up to 1 rows
into tspa-spart
where spart in s_spart.
endselect.
if sy-subrc ne 0.
message e011. " Invalid Division
endif.
endif.
Validation for company code
clear t001.
if not s_bukrs-low is initial.
select single bukrs from t001
into t001-bukrs
where bukrs in s_bukrs.
if sy-subrc <> 0.
message e007. " Enter valid Company Code
endif.
endif.
Validation of billing Document Type
clear tvfk.
if not s_fkart is initial.
select fkart from tvfk up to 1 rows
into tvfk-fkart
where fkart in s_fkart.
endselect.
if sy-subrc ne 0.
message e012. " Invalid Billing Document Type
endif.
endif.
Validation of Billing Document Number
clear vbuk.
if not s_vbeln is initial.
select vbeln from vbuk up to 1 rows
into vbuk-vbeln
where vbeln in s_vbeln and
vbtyp = 'M'.
endselect.
if sy-subrc ne 0.
message e013. " Invalid Billing Doc Number
endif.
endif.
Validation of Customer
clear kna1.
if not s_kunag is initial.
select kunnr from kna1 up to 1 rows
into kna1-kunnr
where kunnr in s_kunag.
endselect.
if sy-subrc ne 0.
message e014. " Invalid Customer Number
endif.
endif.
Validation of Plant
clear t001w.
if not s_werks is initial.
select werks from t001w up to 1 rows
into t001w-werks
where werks in s_werks.
endselect.
if sy-subrc ne 0.
message e004. " Invalid Plant Number
endif.
endif.
Validation for File path to download
if p_dwnlod = 'X'.
if p_file is initial.
message e006. " Enter the Valid file path to Download
endif.
endif.
endform. "screen_check
FORM invoice_selection *
Selecting data from the database tables
form invoice_selection.
select
a~vbeln " Billing Doc Number
a~fktyp " Billing Category
a~vbtyp " Sales Doc category
a~fkdat " Billing doc date
a~fkart " Billing doc type
a~bukrs " Company code
a~kurrf " Exchange rate
a~knumv " Condition record Number
a~waerk " Currency
a~kunag " Sold to Party
b~vrkme " Sales Unit
b~posnr " Item Number
b~charg " Batch Number
b~fkimg " Billed quantity
b~werks " Plant
b~matnr " Material Number
b~netwr " Net Value of Bill Doc
b~wavwr " Cost in Doc Currency
c~kdmat " Customer Material
into table itab_bill
from vbrk as a join vbrp as b
on bvbeln = avbeln
join vbap as c
on baubel = cvbeln and
baupos = cposnr
where a~vbeln in s_vbeln and
a~fkdat in s_fkdat and
a~bukrs in s_bukrs and
a~vtweg in s_vtweg and
a~vkorg in s_vkorg and
a~spart in s_spart and
a~fkart in s_fkart and
b~werks in s_werks and
a~kunag in s_kunag and
a~sfakn eq ' ' and
a~fksto eq ' ' .
endform .
FORM bill_details *
appending data into itab_out internal table
form bill_details.
sort itab_bill by vbeln.
select single waers from t001 into t001-waers
where bukrs in s_bukrs.
data:f_txt1(10),f_txt2(10),f_txt3(10).
loop at itab_bill.
itab_out-vbeln = itab_bill-vbeln.
itab_out-fktyp = itab_bill-fktyp.
itab_out-vbtyp = itab_bill-vbtyp.
itab_out-fkdat = itab_bill-fkdat.
itab_out-fkart = itab_bill-fkart.
itab_out-bukrs = itab_bill-bukrs.
itab_out-kurrf = itab_bill-kurrf.
itab_out-waerk = itab_bill-waerk.
itab_out-kunag = itab_bill-kunag.
itab_out-vrkme = itab_bill-vrkme.
itab_out-posnr = itab_bill-posnr.
itab_out-charg = itab_bill-charg.
itab_out-fkimg = itab_bill-fkimg.
itab_out-werks = itab_bill-werks.
itab_out-matnr = itab_bill-matnr.
itab_out-kdmat = itab_bill-kdmat.
select single currdec from tcurx into tcurx-currdec
where currkey eq itab_out-waerk.
if sy-subrc eq '0' .
if tcurx-currdec eq '0'.
itab_bill-netwr = itab_bill-netwr * 100.
itab_bill-wavwr = itab_bill-wavwr * 100.
endif.
endif.
itab_out-bil_amt = itab_bill-netwr.
clear : konv.
Pricing data from KONV table
select single kbetr kwert kpein from konv into
(konv-kbetr,konv-kwert,konv-kpein)
where knumv = itab_bill-knumv and
kposn = itab_bill-posnr and
kschl eq 'ZSP1' and
krech eq 'C' and
kinak eq ' '.
Currency conversion
select single currdec from tcurx into tcurx-currdec
where currkey eq itab_out-waerk.
if sy-subrc eq '0' .
if tcurx-currdec eq '0'.
konv-kbetr = konv-kbetr * 100.
endif.
endif.
Unit Price
itab_out-sel_prc = konv-kbetr.
Unit Price Calculation
if not konv-kpein is initial.
itab_out-sel_prc = itab_out-sel_prc / konv-kpein .
endif.
Call Function to get the Period for the given Billing date
and Company Code
perform get_period.
Selecting Material Valuation Data
clear:mbew.
if itab_out-fktyp eq 'L'.
select single
lfmon lfgja verpr stprs vmver vmstp
from mbew
into (mbew-lfmon,mbew-lfgja,mbew-verpr,
mbew-stprs,mbew-vmver,mbew-vmstp)
where matnr = itab_out-matnr
and bwkey = itab_out-werks.
if mbew-lfmon = w_period and mbew-lfgja = w_year.
select single currdec from tcurx into tcurx-currdec
where currkey eq t001-waers.
if sy-subrc eq '0' .
if tcurx-currdec eq '0'.
mbew-stprs = mbew-stprs * 100.
mbew-verpr = mbew-verpr * 100.
endif.
endif.
if itab_out-waerk eq t001-waers.
itab_out-mvg_prs = mbew-verpr ."/ itab_out-kurrf.
else.
itab_out-mvg_prs = mbew-verpr / itab_out-kurrf.
endif.
else.
clear:mbewh.
select single
lfmon lfgja verpr stprs
from mbewh
into (mbewh-lfmon,mbewh-lfgja,mbewh-verpr,
mbewh-stprs)
where matnr = itab_out-matnr
and bwkey = itab_out-werks
and lfmon = w_period
and lfgja = w_year.
select single currdec from tcurx into tcurx-currdec
where currkey eq t001-waers.
if sy-subrc eq '0' .
if tcurx-currdec eq '0'.
mbewh-verpr = mbewh-verpr * 100.
endif.
endif.
if itab_out-waerk eq t001-waers.
itab_out-mvg_prs = mbewh-verpr ."/ itab_out-kurrf.
else.
itab_out-mvg_prs = mbewh-verpr / itab_out-kurrf.
endif.
if itab_out-mvg_prs is initial.
select single
lfmon lfgja verpr stprs vmver vmstp
from mbew
into (mbew-lfmon,mbew-lfgja,mbew-verpr,
mbew-stprs,mbew-vmver,mbew-vmstp)
where matnr = itab_out-matnr
and bwkey = itab_out-werks.
select single currdec from tcurx
into tcurx-currdec
where currkey eq t001-waers.
if sy-subrc eq '0' .
if tcurx-currdec eq '0'.
mbew-verpr = mbew-verpr * 100.
endif.
endif.
if itab_out-waerk eq t001-waers.
itab_out-mvg_prs = mbew-verpr ."/ itab_out-kurrf.
else.
itab_out-mvg_prs = mbew-verpr / itab_out-kurrf.
endif.
endif.
endif.
endif.
To find Density and Mode from MARA and T179T tables
clear :mara,t179t.
select single prdha from mara
into mara-prdha
where matnr = itab_out-matnr.
select single vtext from t179t
into t179t-vtext
where spras = 'EN' and
prodh = mara-prdha(4).
split t179t-vtext at ' ' into f_txt1 f_txt2 f_txt3.
itab_out-mode = f_txt2.
itab_out-density = f_txt3.
if not itab_out-mvg_prs is initial.
if itab_out-fktyp eq 'L'.
itab_out-gp_mvp_amt = itab_out-bil_amt - itab_out-mvg_prs *
itab_out-fkimg.
else.
itab_out-gp_mvp_amt = '0'.
endif.
endif.
if not itab_out-mvg_prs is initial
and not itab_out-sel_prc is initial.
itab_out-gp_mvp_pr = ( itab_out-sel_prc - itab_out-mvg_prs )
/ itab_out-sel_prc * 100.
endif.
append itab_out.
clear itab_out.
endloop.
loop at itab_out.
if itab_out-vbtyp eq 'N' or itab_out-vbtyp eq 'O'.
itab_out-fkimg = itab_out-fkimg * -1.
itab_out-sel_prc = itab_out-sel_prc * -1.
itab_out-bil_amt = itab_out-bil_amt * -1.
itab_out-mvg_prs = itab_out-mvg_prs * -1.
itab_out-gp_mvp_amt = itab_out-gp_mvp_amt * -1.
itab_out-gp_mvp_pr = itab_out-gp_mvp_pr * -1.
If the bill amount is 0 then the quantity should also be 0.
if itab_out-bil_amt = 0.
itab_out-fkimg = 0.
endif.
Check if the Bill amount is Credit memo amount, then the gross profit
should also be the same bill amount irrespecitve of +ve or -ve.
if itab_out-gp_mvp_amt = 0.
move: itab_out-bil_amt to itab_out-gp_mvp_amt.
endif.
modify itab_out.
clear itab_out.
endif.
endloop.
endform.
*& Form get_period
Getting Document Period
form get_period.
clear :w_period,w_year,w_date.
concatenate itab_out-fkdat(4)
itab_out-fkdat+4(2)
itab_out-fkdat+6(2)
into w_date.
call function 'BAPI_COMPANYCODE_GET_PERIOD'
exporting
companycodeid = itab_out-bukrs
posting_date = w_date
importing
fiscal_year = w_year
fiscal_period = w_period.
endform. " get_period
*& Form invoice_output_cust
Report Output when customer is selected
form invoice_output_cust.
write at /1(214) sy-uline.
sort itab_out by kunag vbeln fkart posnr fkdat.
loop at itab_out.
if f_flg = 'X'.
format color col_normal intensified off.
f_flg = ' '.
else.
format color col_normal intensified on.
f_flg = 'X'.
endif.
at new kunag.
read table itab_out index sy-tabix.
endat.
write: /01 sy-vline, 2(10) itab_out-kunag,
12 sy-vline, 13(10) itab_out-vbeln,
23 sy-vline, 24(6) itab_out-posnr,
30 sy-vline, 31(10) itab_out-fkdat,
41 sy-vline, 42(6) itab_out-mode,
48 sy-vline, 49(7) itab_out-density,
56 sy-vline, 57(18) itab_out-matnr,
75 sy-vline, 76(10) itab_out-charg,
86 sy-vline,
87(13) itab_out-fkimg unit itab_out-vrkme no-sign,
102(3) itab_out-vrkme,
105 sy-vline,
106(14) itab_out-sel_prc currency konv-waers no-sign,
120 sy-vline,
121(15) itab_out-bil_amt currency vbrk-waerk no-sign,
138(3) itab_out-waerk,
141 sy-vline,
142(15) itab_out-mvg_prs currency vbrk-waerk no-sign,
157 sy-vline,
158(15) itab_out-gp_mvp_amt currency vbrk-waerk no-sign,
173 sy-vline,174(6) itab_out-gp_mvp_pr no-sign ,
180 sy-vline,181(33) itab_out-kdmat,
214 sy-vline.
t_fkimg = t_fkimg + itab_out-fkimg.
t_bil_amt = t_bil_amt + itab_out-bil_amt.
t_gp_mvp_amt = t_gp_mvp_amt + itab_out-gp_mvp_amt.
t_gr_fkimg = t_gr_fkimg + itab_out-fkimg.
t_gr_bil_amt = t_gr_bil_amt + itab_out-bil_amt.
t_gr_gp_mvp_amt = t_gr_gp_mvp_amt + itab_out-gp_mvp_amt.
at end of kunag.
format reset.
format color col_total intensified off.
write:/1(214) sy-uline.
write:/01 sy-vline,
02 'Sub Total of Customer:'(035), itab_out-kunag,
87(13) t_fkimg unit itab_out-vrkme no-sign,
121(15) t_bil_amt no-sign,
158(15) t_gp_mvp_amt no-sign,
214 ' ',
/1(214) sy-uline.
clear: t_fkimg, t_bil_amt, t_gp_mvp_amt.
endat.
at last.
write:/01 sy-vline,
02 'Grand Total :'(032),
87(13) t_gr_fkimg unit itab_out-vrkme no-sign,
121(15) t_gr_bil_amt no-sign,
158(15) t_gr_gp_mvp_amt no-sign,
214 ' '.
endat.
format color off.
endloop.
write at /1(214) sy-uline.
endform. "invoice_output_cust
*& Form invoice_output_mode
Report Output
form invoice_output_mode.
loop at itab_out.
move-corresponding itab_out to itab_out2.
append itab_out2.
clear: itab_out2.
endloop.
write at /1(214) sy-uline.
sort itab_out2 by mode vbeln posnr fkdat.
loop at itab_out2.
if f_flg = 'X'.
format color col_normal intensified off.
f_flg = ' '.
else.
format color col_normal intensified on.
f_flg = 'X'.
endif.
at new mode.
read table itab_out2 index sy-tabix.
endat.
write: /01 sy-vline, 2(10) itab_out2-kunag,
12 sy-vline, 13(10) itab_out2-vbeln,
23 sy-vline, 24(6) itab_out2-posnr,
30 sy-vline, 31(10) itab_out2-fkdat,
41 sy-vline, 42(6) itab_out2-mode,
48 sy-vline, 49(7) itab_out2-density,
56 sy-vline, 57(18) itab_out2-matnr,
75 sy-vline, 76(10) itab_out2-charg,
86 sy-vline,
87(13) itab_out2-fkimg unit itab_out2-vrkme no-sign,
102(3) itab_out2-vrkme,
105 sy-vline,
106(14) itab_out2-sel_prc currency vbrk-waerk no-sign,
120 sy-vline,
121(15) itab_out2-bil_amt currency vbrk-waerk no-sign,
138(3) itab_out2-waerk,
141 sy-vline,
142(15) itab_out2-mvg_prs currency vbrk-waerk no-sign,
157 sy-vline,
158(15) itab_out2-gp_mvp_amt currency vbrk-waerk no-sign,
173 sy-vline,174(6) itab_out2-gp_mvp_pr no-sign,
180 sy-vline,181(33) itab_out2-kdmat,
214 sy-vline.
t_fkimg = t_fkimg + itab_out2-fkimg.
t_bil_amt = t_bil_amt + itab_out2-bil_amt.
t_gp_mvp_amt = t_gp_mvp_amt + itab_out2-gp_mvp_amt.
t_gr_fkimg = t_gr_fkimg + itab_out2-fkimg.
t_gr_bil_amt = t_gr_bil_amt + itab_out2-bil_amt.
t_gr_gp_mvp_amt = t_gr_gp_mvp_amt + itab_out2-gp_mvp_amt.
at end of mode.
format reset.
format color col_total intensified off.
write:/1(214) sy-uline.
write:/01 sy-vline,
02 'Sub Total of Mode :'(033), itab_out2-mode,
87(13) t_fkimg unit itab_out-vrkme no-sign,
121(15) t_bil_amt no-sign,
158(15) t_gp_mvp_amt no-sign,
214 ' ',
/1(214) sy-uline.
clear: t_fkimg, t_bil_amt, t_gp_mvp_amt.
endat.
at last.
write:/01 sy-vline,
02 'Grand Total :'(032),
87(13) t_gr_fkimg unit itab_out-vrkme no-sign,
121(15) t_gr_bil_amt no-sign,
158(15) t_gr_gp_mvp_amt no-sign,
214 ' '.
endat.
format color off.
endloop.
write at /1(214) sy-uline.
endform. "invoice_output_mode
*& Form invoice_output_dens
Report Output
form invoice_output_dens.
loop at itab_out.
move-corresponding itab_out to itab_out3.
append itab_out3.
clear: itab_out3.
endloop.
write at /1(214) sy-uline.
sort itab_out3 by mode density vbeln posnr fkdat.
loop at itab_out3.
if f_flg = 'X'.
format color col_normal intensified off.
f_flg = ' '.
else.
format color col_normal intensified on.
f_flg = 'X'.
endif.
at new mode.
endat.
at new density.
read table itab_out3 index sy-tabix.
endat.
write: /01 sy-vline, 2(10) itab_out3-kunag,
12 sy-vline, 13(10) itab_out3-vbeln,
23 sy-vline, 24(6) itab_out3-posnr,
30 sy-vline, 31(10) itab_out3-fkdat,
41 sy-vline, 42(6) itab_out3-mode,
48 sy-vline, 49(7) itab_out3-density,
56 sy-vline, 57(18) itab_out3-matnr,
75 sy-vline, 76(10) itab_out3-charg,
86 sy-vline,
87(13) itab_out3-fkimg unit itab_out3-vrkme no-sign,
102(3) itab_out3-vrkme,
105 sy-vline,106(14) itab_out3-sel_prc no-sign,
120 sy-vline,
121(15) itab_out3-bil_amt currency vbrk-waerk no-sign,
138(3) itab_out3-waerk,
141 sy-vline,142(15) itab_out3-mvg_prs no-sign
currency vbrk-waerk,
157 sy-vline,158(15) itab_out3-gp_mvp_amt no-sign
currency vbrk-waerk,
173 sy-vline,174(6) itab_out3-gp_mvp_pr no-sign,
180 sy-vline,181(33) itab_out3-kdmat,
214 sy-vline.
t_efkimg = t_efkimg + itab_out3-fkimg.
t_ebil_amt = t_ebil_amt + itab_out3-bil_amt.
t_egp_mvp_amt = t_egp_mvp_amt + itab_out3-gp_mvp_amt.
t_fkimg = t_fkimg + itab_out3-fkimg.
t_bil_amt = t_bil_amt + itab_out3-bil_amt.
t_gp_mvp_amt = t_gp_mvp_amt + itab_out3-gp_mvp_amt.
t_gr_fkimg = t_gr_fkimg + itab_out3-fkimg.
t_gr_bil_amt = t_gr_bil_amt + itab_out3-bil_amt.
t_gr_gp_mvp_amt = t_gr_gp_mvp_amt + itab_out3-gp_mvp_amt.
at end of density.
format reset.
format color col_total intensified off.
write:/1(214) sy-uline.
write:/01 sy-vline,
02 'Sub Total of Density :'(034), itab_out3-density,
87(13) t_efkimg unit itab_out-vrkme no-sign,
121(15) t_ebil_amt currency vbrk-waerk no-sign,
158(15) t_egp_mvp_amt currency vbrk-waerk no-sign,
214 ' ',
/1(214) sy-uline.
clear: t_efkimg, t_ebil_amt,t_egp_mvp_amt.
endat.
at end of mode.
format reset.
format color col_total intensified off.
write:/01 sy-vline,
02 'Sub Total of Mode :'(033), itab_out3-mode,
87(13) t_fkimg unit itab_out-vrkme no-sign,
121(15) t_bil_amt no-sign,
158(15) t_gp_mvp_amt no-sign,
214 ' ',
/1(214) sy-uline.
clear: t_fkimg, t_bil_amt, t_gp_mvp_amt.
endat.
at last.
write:/01 sy-vline,
02 'Grand Total :'(032),
87(13) t_gr_fkimg unit itab_out-vrkme no-sign,
121(15) t_gr_bil_amt no-sign,
158(15) t_gr_gp_mvp_amt no-sign,
214 ' '.
endat.
format color off.
endloop.
write at /1(214) sy-uline.
endform. "invoice_output_dens
*& Form f4_help
To Get F4 Help to Select File Name
form f4_help.
call function 'F4_FILENAME'
exporting
program_name = sy-cprog
dynpro_number = syst-dynnr
field_name = 'P_FILE'
importing
file_name = p_file.
endform. " f4_help
*& Form rep_headers
Report Header
form rep_headers.
format color col_heading on.
format color col_heading on.
select single butxt from t001 into t001-butxt
where bukrs = s_bukrs-low.
skip 2.
write: /2 t001-butxt, 92 'BILLING ANALYSIS'(003),
190 'Date :'(010),sy-datum.
write :/2 'Company Code :'(011), s_bukrs-low ,
85 'Billing Date :'(012) , s_fkdat-low , '-' ,s_fkdat-high ,
190 'Page :'(013), sy-pagno,
214 ' '.
write at /1(214) sy-uline.
write: /1 sy-vline, 2(10) 'Customer'(004) centered,
12 sy-vline, 13(10) 'Billing'(009) centered,
23 sy-vline, 24(6) 'Billing'(009) centered,
30 sy-vline, 31(10) 'Billing'(009) centered,
41 sy-vline, 42(6) 'Mode'(006) centered,
48 sy-vline, 49(7) 'Density'(014) centered,
56 sy-vline, 57(18) 'Material'(015) centered,
75 sy-vline, 76(10) 'Batch'(016) centered,
86 sy-vline, 87(13) 'Quantity'(017) centered,102(3) 'UOM'(027),
105 sy-vline, 106(14) 'Selling'(018) centered ,
120 sy-vline, 121(15) 'Billing'(009) centered,
138(3) 'Cur'(028),
141 sy-vline, 142(15) 'Mvg.Avg.Price'(020) centered,
157 sy-vline, 158(22) 'Gross Profit(MVP)'(022) centered,
180 sy-vline, 181(33) 'Customer Material'(023) centered,
214 sy-vline.
write: /1 sy-vline, 2(10) 'Code'(024) centered,
12 sy-vline, 13(10) 'Document'(025) centered,
23 sy-vline, 24(6) 'Item'(026) centered,
30 sy-vline, 31(10) 'Date'(036) centered,
41 sy-vline,
48 sy-vline,
56 sy-vline,
75 sy-vline,
86 sy-vline,
105 sy-vline, 106(14) 'Price'(030) centered ,
120 sy-vline, 121(15) 'Amount'(031) centered,
141 sy-vline, 142(15) '(per Unit)'(019) centered,
157 sy-vline, 158(15) 'Amount'(031) centered,
173 sy-vline, 174(6) ' % '(029) centered,
180 sy-vline,
214 sy-vline.
format color off.
endform. " rep_headers
*& Form init_fieldnames
Initialise all the fields to download in Excel Data File
form init_fieldnames.
perform append_fieldname using text-004 'itab_out1'
'KUNAG' 'X'.
perform append_fieldname using text-037 'itab_out1'
'VBELN' 'X'.
perform append_fieldname using text-036 'itab_out1'
'FKDAT' 'X'.
perform append_fieldname using text-038 'itab_out1'
'POSNR' 'X'.
perform append_fieldname using text-006 'itab_out1'
'MODE' 'X'.
perform append_fieldname using text-014 'itab_out1'
'DENSITY' 'X'.
perform append_fieldname using text-015 'itab_out1'
'MATNR' 'X'.
perform append_fieldname using text-016 'itab_out1'
'CHARG' 'X'.
perform append_fieldname using text-017 'itab_out1'
'FKIMG' 'X'.
perform append_fieldname using text-039 'itab_out1'
'VRKME' 'X'.
perform append_fieldname using text-040 'itab_out1'
'SEL_PRC' 'X'.
perform append_fieldname using text-041 'itab_out1'
'BIL_AMT' 'X'.
perform append_fieldname using text-028 'itab_out1'
'WAERK' 'X'.
perform append_fieldname using text-020 'itab_out1'
'MVG_PRS' 'X'.
perform append_fieldname using text-044 'itab_out1'
'GP_MVP_AMT' 'X'.
perform append_fieldname using text-045 'itab_out1'
'GP_MVP_PR' 'X'.
perform append_fieldname using text-023 'itab_out1'
'KDMAT' 'X'.
endform.
*& Form append_fieldname
Appending field Names
form append_fieldname using p_title p_table p_field p_type.
clear: fieldnames.
fieldnames-title = p_title.
fieldnam
Similar Messages
-
Weekly report on invoiced shipments
Hello,
we have customers and was able to submit a weekly report on invoiced shipments for them in one of the middleware. can I get the same information in SAP?
report generated from middleware includes the below data
bill_to_id bill_to_name bill_to_city bill_to_state ship_to_id ship_to_name ship_to_city ship_to_state ship_date catalog description uom ord_item_type price qty po_no ord_no inv_no invc_date tax freight other gl beg_date end_date ctrct_no ord_item_type
Can anyone suggest me how to work on this to get wekly report in sap with the above criteria
Appreciate your help.
Regards,
srk
Edited by: srka13 on Apr 19, 2011 3:29 PM
Edited by: srka13 on Apr 19, 2011 3:33 PMHiya
isnt there a standard transaction code i could use for this other than defining a query
thank u,
Rukshana -
AP AGING REPORT PARKED INVOICE
Hi Experts,
I have one new requirement in AP Aging Report Parked invoice
Needs to display report out put as below.
Days Count Amount
0-30 Days
31-60 Days
61-90 Days
91-120 Days
121-150 Days
151-180 Days
181-210 Days
211- Remaining Days
Based on Document Date (0Doc_Date) when report will execute should count same day to before 30 days count should be display in Count Column and Amount should display in Amount column. Like this days should be count
This is very high pri issue for me. Can you please provide your guidelines, how can I design this report.
And let me know if it required more details.
Thanks
SriniHi,
See the simila report for Material Ageing. In the same way you can do it using Formula/Customer Exit Variables.
Calculating the Ageing of the Materials
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
Thanks
Reddy -
Combine Aging report to Invoice in PLD????
Dear Experts,
I would like each invoice show the customer's balance under footnote when print out.
I know that I have to combine the Aging report to Invoice Report in PLD layout design.
I still have no clue how to do that.
Anyone please share your idea if it is possible.
Thanks again.Hi,
To combine both reports in PLD is not possible. Especially for Aging report, it is hard coded one. You have to try by Crystal Report.
Thanks,
Gordon -
(11) TRIAL BALANCE REPORT에 PAID 된 INVOICE가 보이는 CASE
제품 : FIN_AP
작성날짜 : 2003-05-13
TRIAL BALANCE REPORT에 PAID 된 INVOICE가 보이는 CASE
==============================================
PURPOSE
Applications 11.0.3 환경에서 AP의 Trial Balance Report 실행시 잘못 생성된 data가 보여지는 경우의 문제를 해결한다.
Problem Description
Paid 가 완전히 이루어져서 gl 로 까지 transfer 된 invoice가 trial balance report에 여전히 remaining 금액과 함께 나타나고 있다.
이 때 Payament가 한번 void 되었다가 다시 reissue 된 경우이다.
Workaround
1. Aplist11.sql 이나 아래의 select 문으로 invoice 상태를 check한다.
SELECT invoice_id, invoice_amount
FROM ap_invoices_all
WHERE invoice_num = <'problem invoice'>;
2. Trial balance에 data가 어떻게 entry 되었는지 확인한다.
SELECT *
FROM ap_trial_balance
WHERE invoice_id = <results from query #1>;
3. Invoice 에 대한 payment 정보를 확인한다.
SELECT invoice_id, invoice_payment_id, accounting_date, accrual_posted_flag,
cash_posted_flag, posted_flag
FROM ap_invoice_payments_all
WHERE invoice_id = <results from query #1>;
4. Payment에 대한 distribution line 정보를 확인한다.
SELECT invoice_payment_id, payment_line_number, line_type_lookup_code,
amount, base_amount
FROM ap_payment_distributions_all
WHERE invoice_payment_id = <invoice_payment_id returned in query #3>;
일반적으로 void 되었다가 reissue 된 payment의 trial balance가 잘못된 경우는 ap_payment_distributions_all table에 data가 잘못 생성되었기 때문이다.
위의 테이블에서 잘못 생성된 data를 correct 하거나 delete 한다음에
patch 375496 을 이용하여 trial balance 를 rebuil 하는것이 workaround 이다.
Solution Description
$AP_TOP/patch/110/sql/apautopb.pls 의 버젼이 110.6 보다 낮은경우 이런 문제 예방을 위해 AP D patchset 이상을 적용한다.
Reference Documents
NOTE 106744.1maybe OP want to extract all numbers from his inbox using regular expressions?
-
Preview results in SAP B1 differ from Crystal Report - AR Invoice
Greetings,
I have an AR Invoice layout which I want to show the base document number at the header which I call it Delivery Note No.
I created a subreport for this because of the possibility of a few deliveries for 1 invoice.
All the marketing documents have a prefix which is from the table NNM1.
The way I linked in the subreport as the follow:
OINV.DocEntry-->INV1.DocEntry
INV1.BaseEntry-->ODLN.DocEntry
ODLN.Series-->NNM1.Series
When I preview the main report (AR Invoice) in Crystal Report, I get the correct prefix for the Delivery No. However, when I import it into SAP B1 and preview the invoice from there, it showed me the Invoice prefix instead. Why is it not showing the delivery prefix?
Am I doing something wrong here?Hi,
Basically Crystal report run with SQL statement, I would suggest to do well performance tuning on SQL query / Store Procedure.
Structure your query in DBA manner that will make some how faster such as use ( inner join, less condition,...)..
also if it simple query then use Command in Crystal report rather store Procedure..that make some how Faster your report.
Thanks
Kevin
Edited by: Kevin Shah on May 27, 2011 4:21 PM -
Can I run a sales report by invoice number?
I am trying to run a sales report by invoice number rather than by customer - can this be done?
Hi Connie
s u can run sales report by invoice no fot that pls find the query below
i think this will solve ur problem
SELECT T0.[DocNum][SO NO], T0.[CardName], T1.[ItemCode], T1.[Dscription], T1.[Quantity], T2.[DocNum][Delivery No], T2.[CardName], T3.[ItemCode], T3.[Dscription], T3.[Quantity], T4.[DocNum][Invoice No], T4.[CardName], T5.[ItemCode], T5.[Dscription], T5.[Quantity] FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry, ODLN T2 INNER JOIN DLN1 T3 ON T2.DocEntry = T3.DocEntry, OINV T4 INNER JOIN INV1 T5 ON T4.DocEntry = T5.DocEntry WHERE T5.[BaseRef] = T2.[DocNum] AND T3.[BaseRef] = T0.[DocNum] AND T5.[ItemCode] = T3.[ItemCode]
AND T5.[ItemCode] = T1.[ItemCode] AND T4.[DocNum] = [%0] GROUP BY T0.[DocNum], T0.[CardName], T1.[ItemCode], T1.[Dscription], T1.[Quantity], T2.[DocNum], T2.[CardName], T3.[ItemCode], T3.[Dscription], T3.[Quantity], T4.[DocNum], T4.[CardName], T5.[ItemCode], T5.[Dscription], T5.[Quantity]
Regards
Jenny
Edited by: Jennifer Anderson on Jul 28, 2010 11:21 AM -
Hi,
I will be at a meeting to help gather requirements for a project in relation to Invoice-to-Cash.
Can you guide me to get the following information:
1. a high level list of reports for Invoice-to-Cash
2. a detail list of reports for Invoice-to-Cash
3. To see the SAP deleivered data flow to give me an idea of the extractors, DSOs, Cubes(dimensions...), etc.
Also, apart from your experience, is there a process to get this information for any requirement in general? I went to BI Content in rsa1 on our development system hoping to see some reports related to Invoice-to-Cash but to no avail?
Thanks
Edited by: Amanda Baah on Apr 24, 2009 8:36 AMHi,
invoice to cash is basically a sub process of the process: Customer Order to point of receiving Cash from Customer.
So, Invoice to cash as used in my original post actually is: The point at which Customer Invoice was issued to the point at which Cash was received.
So back to my original question, can you guide me to get the following information:
1. a high level list of reports for Invoice-to-Cash
2. a detail list of reports for Invoice-to-Cash
3. To see the SAP deleivered data flow to give me an idea of the extractors, DSOs, Cubes(dimensions...), etc.
Also, apart from your experience, is there a process to get this information for any requirement in general? I went to BI Content in rsa1 on our development system hoping to see some reports related to Invoice-to-Cash but to no avail?
Thanks
Edited by: Amanda Baah on Apr 27, 2009 9:35 AM -
Purchasing Report for invoice and stock
Hi guys,
in your opinion does it exist a unique report which contains the following informations for suppliers:
- invoice codes from supplier not yet paid
- POu2019s to supplier not yet delivered
- ATH stock at supplier
At the moment my customer separates informations per supplier via FBL1N (invoices not paid), ME2L or ME2M (open for delivery), and MB52 (special stock, type O)
Iu2019m looking for a solution were this 3 information will show on 1 screen by entering the supplier.I have tyed with ME2M but it is not sufficient...
Thanks in advance best regards
Massimilianohi,
What are you trying to get is an Updates from three different area, which are not connected to each other..
FBL1N will get updated once the Payement is done,
ME2M would be updated once the GR is done, (ME2M does have any selection Parameter which will include 'Payement done')
MB52 would be cumulative Stock on Hand (this stock deoesnt link to PO)
However, you can go for a small Z program to built a customised Report. -
Report with Invoice and Accounting Document Number
Dear Experts,
Here i have a requirement.
I wanna a report which gives a Invoice (MIRO) and its accounting documents (Follow on document) in one page. Because If I view a MIRO document, for checking the accounting document, I need to click on Follow on doc, then I'll get.
But If wanna see for 1000 MIRO documents with accounting document number, then I don't want to click 1000 times to see the account doc for respective Invoice number.
The approximate format is,
Column 1 Column 2 Column 3 ....................... Column n
MIRO (Invoice number) Accountting Doc Number
5100000099 5100000011
Which tcode will give the both in one screen?
Thanks in advance
Regards,
navahsekHi,
Enter Sork Key 002 for Vendor Master Record.
and also you can check the Report in ECC 6.0
MIR5 - Display List of Invoice Documents
There you select Export Mode --> Display Accounting Document Number.
You can get Report FI and MM Document Numbers.
Hope It will Clear.
Regards,
Kishore -
Report showing Invoice number, vendor,material and qty
Hi Guys
Is there any report where we can take report for vendor, invoice number, material and qty.
RegardsDear
yeah! yau can check ME80FN with purchase order history setting.
full marks to me if solved
regdsd
dev...! -
Stock Transfer Report after Invoice
Hello Experts
Please spend one minute's time to read this. It may be long but its the exact scenario.
I have got a requirement to generate a Stock Transfer Report for the bills passed (invoice receipt) for a particular date range. Note that the delivery against the PO can be for partial quantities too.
I am using RBKP table to get all the invoice numbers falling in the certain date range selection. Against these Invoices I am retrieving the PO number and other report relevant data from the RSEG Table. And using the PO I need to get into the MSEG table to retrieve Mat Doc numbers so that I can drill into the excise tables to get Excise No.
Now the problem is:
Suppose the PO <b>4900000337 </b>contains various items
item no | material | qty
10 | mat1 | 1050
20 | mat2 | 2670
30 | mat3 | 450
Now one partial delivery is made as
item no | material | qty
10 | mat1 | 100
20 | mat2 | 250
<i>mat doc 4900012713, mov type 641</i>
and the against this delivery an invoice receipt is created using MIRO, <b>5105600790</b>
another partial delivery is made as
item no | material | qty
20 | mat1 | 350
30 | mat2 | 50
<i>mat doc 4900012714, mov type 641</i>
against this delivery an invoice receipt is created using MIRO, <b>5105600791</b>
How do I link the invoice no to the material documents to know the quantity of the particular item of the PO... as we see item no 20 is common in both the case.
RSEG
Document Number Fiscal Year Item Purchasing Doc. Item
5105600790 2007 000007 4900000337 00020
5105600791 2007 000007 4900000337 00020
MSEG
Material Doc. Mat. Doc. Year Item Line ID Parent ID Movement Type Material Quantity Purchase Order Item
4900012713 2007 0004 000005 000002 641 90050106 250.000 4900000337 00020
4900012714 2007 0002 000003 000001 641 90050106 350.000 4900000337 00020Hi...
<i>1) MIRO is done against Purchase Order right??</i>
> Yes, MIRO is done against PO. And, when I try to do it against Deliv. Doc. its not possible as its not displaying any items!
<i>2) In BSEG : you put the PO number 4900000343 then the below rows are visible right??</i>
>Yes.
<i>3) Can you please paste the rows : BELNR, EBELN and VBELN only ??</i>
Here they are...(with some other fields which might be of importance)
For <b>PO 4900000343</b>
Table: BSEG
Document Number Transaction Assignment Billing Doc. Plant Quantity Purchasing Doc. Item
BELNR KTOSL ZUONR VBELN WERKS MENGE EBELN EBELP
0490021088 BSX 20071024 0010004216 2006 50.000 4900000343 00010
0490021088 BSX 20071024 0010004216 6201 50.000 4900000343 00010
0490021088 AUM 0006201001 0010004216 6201 50.000 4900000343 00010
0490021088 FR1 490000034300010 0010004216 6201 50.000 4900000343 00010
0490021088 BSX 20071024 0010004216 2006 100.000 4900000343 00020
0490021088 BSX 20071024 0010004216 6201 100.000 4900000343 00020
0490021088 AUM 0006201001 0010004216 6201 100.000 4900000343 00020
0490021088 FR1 490000034300020 0010004216 6201 100.000 4900000343 00020
0490021089 BSX 20071024 0010004217 2006 200.000 4900000343 00020
0490021089 BSX 20071024 0010004217 6201 200.000 4900000343 00020
0490021089 AUM 0006201001 0010004217 6201 200.000 4900000343 00020
0490021089 FR1 490000034300020 0010004217 6201 200.000 4900000343 00020
0490021089 AUM 0006201001 0010004217 6201 100.000 4900000343 00030
0490021089 FR1 490000034300030 0010004217 6201 100.000 4900000343 00030
0510000678 FR1 490000034300010 6201 50.000 4900000343 00010
0510000678 FR1 490000034300020 6201 100.000 4900000343 00020
0510000679 FR1 490000034300020 6201 200.000 4900000343 00020
0510000679 FR1 490000034300030 6201 100.000 4900000343 00030
Can you also show the rows for the PO that you have mentioned in your first message.
<b>PO 4900000337</b>
Table: BSEG
Document Number Transaction Assignment Billing Doc. Plant Quantity Purchasing Doc. Item
BELNR KTOSL ZUONR VBELN WERKS MENGE EBELN EBELP
0490021080 AUM 0006201001 0010004205 6201 350.000 4900000337 00070
0490021080 FR1 490000033700070 0010004205 6201 350.000 4900000337 00070
0490021080 BSX 20071017 0010004205 2006 50.000 4900000337 00100
0490021080 BSX 20071017 0010004205 6201 50.000 4900000337 00100
0490021080 AUM 0006201001 0010004205 6201 50.000 4900000337 00100
0490021080 FR1 490000033700100 0010004205 6201 50.000 4900000337 00100
0490021081 BSX 20071017 0010004206 2006 500.000 4900000337 00010
0490021081 BSX 20071017 0010004206 6201 500.000 4900000337 00010
0490021081 AUM 20071017 0010004206 6201 500.000 4900000337 00010
0490021081 FR1 490000033700010 0010004206 6201 500.000 4900000337 00010
0490021081 BSX 20071017 0010004206 2006 300.000 4900000337 00020
0490021081 AUM 0006201001 0010004206 6201 300.000 4900000337 00020
0490021081 FR1 490000033700020 0010004206 6201 300.000 4900000337 00020
0490021082 BSX 20071017 0010004207 2006 300.000 4900000337 00010
0490021082 BSX 20071017 0010004207 6201 300.000 4900000337 00010
0490021082 AUM 20071017 0010004207 6201 300.000 4900000337 00010
0490021082 FR1 490000033700010 0010004207 6201 300.000 4900000337 00010
0490021082 BSX 20071017 0010004207 2006 250.000 4900000337 00020
0490021082 AUM 0006201001 0010004207 6201 250.000 4900000337 00020
0490021082 FR1 490000033700020 0010004207 6201 250.000 4900000337 00020
0490021101 BSX 20071025 0010004229 2006 1,000.000 4900000337 00010
0490021101 BSX 20071025 0010004229 6201 1,000.000 4900000337 00010
0490021101 AUM 20071025 0010004229 6201 1,000.000 4900000337 00010
0490021101 FR1 490000033700010 0010004229 6201 1,000.000 4900000337 00010
0490021101 BSX 20071025 0010004229 2006 250.000 4900000337 00020
0490021101 AUM 0006201001 0010004229 6201 250.000 4900000337 00020
0490021101 FR1 490000033700020 0010004229 6201 250.000 4900000337 00020
0510000675 FR1 490000033700030 6201 400.000 4900000337 00030
0510000675 FR1 490000033700070 6201 250.000 4900000337 00070
0510000675 FR1 490000033700090 6201 50.000 4900000337 00090
0510000676 FR1 490000033700070 6201 350.000 4900000337 00070
0510000676 FR1 490000033700100 6201 50.000 4900000337 00100
0510000677 FR1 490000033700010 6201 800.000 4900000337 00010
0510000677 FR1 490000033700020 6201 550.000 4900000337 00020
Thanks. I have added you on GoogleTalk... if you use it, we can discuss there and update the thread...
Regards
Aabhas K Vishnoi -
Report for invoices project wise
Hello All,
I need a report where I can see the invoices project wise i.e (PS module and SD module)
I am looking for invoices details project wise is there any standard report which I can check that how many invoices have been raised for a particular project or a particular sales order.
Thanks in advance,
PriyaHi
You are not getting the fields in FBL5N or not getting the value in them?
If you are not gettng the fields,
1. Go to SM30 - Table V_T021S...
2. Include BSEG-FIelds Sales Order and WBS Element as special fields
3. Generate the transport request and transport it to PRD
4. Execute SE38 - RFPOSXEXTEND in PRD client
Now when you execute the report, it should show you those fields..
BR,Ajay M -
Re:WBS Element Report by invoice
the client wants to know how much he paid for a project (WBS elements) against the invoices .. How we will get standard reports only invioces particulat WBS elements
Hi ,
If you mean by sales invoice
Then in CNS41 you can get report actual cost and actual revenue against the WBS.
Rgds -
Report with Invoice No, SO No, EQUNR...
Dear Experts,
I have requirement to develop report with output containing following fields
Invoice No, Equpiment No, Material Code, Serial No, Material Descr, Sold-to Party, Ship-to Party, Sales Order Number, Sales Person ID, and Sales Person
if anyone knows Please let me know the tables and fields and its relationships that I can take to develop this report.
Thanks in Advance...
BR
VenkatHi
Table VBRP
VBELN Billing Document
MATNR Material Number
VBRK
KUNAG Sold-to party
Pass VBELN in VBFA to get sales order number
Select VBELV with VBTYP_V as C. That is sales order number
Pass MATNR in MAKT to get MAKTX - material description -
Report S_ALR_87012341Duplicate invoices have started to appear on the repor
There is a Report S_ALR_87012341 for Duplicate invoices verification.
The Report S_ALR_87012341 is not working correctly.
Duplicate invoices have started to appear on the report for the first time.
These documents are however 2 years old and have now been archived.
It appears that the documents are only on the report once the archiving of the document has taken place.
We need to understand why the report is not showing these documents as we use this as one of our controls in AP.
Kindly help the approach that is required to resolve this issue.Look at the authorizations , use SU53 to find out missing authorizations .
Else , look up for your basis counterpart - to take a trace of the same to find out the exact bug.
Cheers ,
Dewang
Maybe you are looking for
-
Hi I have built my own extension palatte for inDesign, in CS extension builder. I want to remove/customize the default footer of extension palette. How is this possible? Best regards Sal
-
How to use timestamp based dynamic message selector?
Is it possible with message selector to issue query like statement that weill fetch any messages that have header timestamp older than "now" + 3 hrs. In SQL you would say something like: where timestamp <= sysdate + (180/1440) Please let ne know. Tha
-
Isight camera green light blink
My isight camera green light blinks every two seconds, when I try to use facetime or any other application of isight. And of course, the camera is not working. I'm using a Macbook Pro, just bought it a month ago. Does anyone have the same problem or
-
Software update check on apple website
is there a way i check in apple website for software update or release available rather than doing software update everytime to check on for any update
-
Hi, I need to make the over all status of the credit check (VBUK-CMGST) as space, if the payment term (VBKD-ZTERM) is Z000. I tried it using MV45FAZZ, FORM USEREXIT_SAVE_DOCUMENT, but its not working. Can any one help me out