Report for Monthly Quantiy sold by Customer (SOLD TO PARTY)

Hi Gurus
I had asked this question many times but no answer I got from the forum , I want to create a report which should show quantity , uom sold to customer(sold to party) by each month and plant (werks).
I want to display monthly sales in the report when plant and delivery date is selected ( month = jan,feb,mar,apr,may......) and each quantity must display under jan,feb,mar,apr respectively.
Can anyone help me please , I am still struggling with this stuff.
Thanks in advanced
Regards
PE

Hi Aatish
I have developed the report for monthlywise quantity sold to party
but it is giving some trouble in the calculation where there is zero value it is taking the above value and displaying in the report but when I search individually with sold to party it is comming correctly
can you check my source and comment on it please
REPORT soldtoparty
line-size  170
line-count 65 no standard page heading.
TABLES : kna1,VBRP,vbrk.
DATA:BEGIN OF itab OCCURS 0,
kunag like VBRK-KUNAG,
name1  like kna1-name1,
werks LIKE vbrp-werks,
vbeln LIKE vbrp-vbeln,
fkdat LIKE VBRK-FKDAT,
vrkme LIKE vbrp-vrkme,
fkimg LIKE vbrp-fkimg,
total like vbrp-fkimg,
END OF itab.
DATA: BEGIN OF itab1 OCCURS 0,
fkdat(2) TYPE c,
kunag like VBRK-KUNAG,
name1  like kna1-name1,
werks LIKE vbrp-werks,
vbeln LIKE vbrp-vbeln,
vrkme LIKE vbrp-vrkme,
fkimg LIKE vbrp-fkimg,
total like vbrp-fkimg,
END OF itab1.
DATA : BEGIN OF itab2 OCCURS 0 ,
fkdat like VBRK-FKDAT,
fkimg like vbrp-fkimg,
kunag like VBRK-KUNAG,
name1  like kna1-name1,
vrkme  like vbrp-vrkme,
jan LIKE vbrp-fkimg,
feb LIKE vbrp-fkimg,
mar LIKE vbrp-fkimg,
apr LIKE vbrp-fkimg,
may LIKE vbrp-fkimg,
jun LIKE vbrp-fkimg,
jul LIKE vbrp-fkimg,
aug LIKE vbrp-fkimg,
sep LIKE vbrp-fkimg,
oct LIKE vbrp-fkimg,
nov LIKE vbrp-fkimg,
dec LIKE vbrp-fkimg,
TOTAL like vbrp-fkimg,
END OF itab2.
TOP-OF-PAGE.
  WRITE:/50(40) ' CUSTOMER SOLD BY QUANTITY' CENTERED   ,2 'Page', SY-PAGNO.
  WRITE:/50(40) '----
' CENTERED .
  FORMAT INTENSIFIED on.
  WRITE:/2 SY-DATUM COLOR 3, SY-UZEIT .
   "WRITE:/1 S903-SPMON ."p_yearf.
  ULINE.
  "CENTERED.
  skip.
  "FORMAT COLOR COL_HEADING.
  ULINE.
  FORMAT COLOR 3.
  WRITE:/1 SY-VLINE,
    0 'PARTY' ,10 SY-VLINE,
    11 'NAME' ,40 SY-VLINE,
    41 'JAN' centered  , 50 SY-VLINE,
    51 'FEB',60 SY-VLINE,
    61 'MAR',70 SY-VLINE,
    71 'APR',80 SY-VLINE,
    81 'MAY',90 SY-VLINE,
    91 'JUN',100 SY-VLINE,
    101 'JUL',110 SY-VLINE,
    111 'AUG',120 SY-VLINE,
    121 'SEP',130 SY-VLINE,
    131 'OCT',140 SY-VLINE,
    141 'NOV',150 SY-VLINE,
    151 'DEC',160 SY-VLINE,
    161'TOTAL',170 SY-VLINE.
  FORMAT COLOR 3 on.
  ULINE.
END-OF-PAGE.
data wa_itab1 like itab1.
DATA : mm(2) TYPE c,
value type p decimals 2,
total type p decimals 2,
sum1 type p decimals 1,sum2 type p decimals 1,sum3 type p decimals 1,
sum4 type p decimals 1,sum5 type p decimals 1,sum6 type p decimals 1,
sum7 type p decimals 1,sum8 type p decimals 1,sum9 type p decimals 1,
sum10 type p decimals 1,sum11 type p decimals 1,sum12 type p decimals 1,
sum13 type p decimals 1,
t_s LIKE vbrp-fkimg.
"g_total like vbrp-fkimg.
SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
PARAMETERS: p_yearf TYPE SPMON,
p_yeart type SPMON.
SELECT-options:
                p_kunag for VBRK-KUNAG , "no-extension no intervals,
                s_werks for vbrp-werks no-extension no intervals obligatory,
                s_vrkme for vbrp-vrkme no-extension no intervals obligatory.
"p_matnr for vbrp-matnr no-extension no intervals,
"p_augru for vbrp-augru_auft no-extension no intervals,
"p_vbeln for vbrk-vbeln no-extension no intervals.
RANGES : p_fkdat FOR sy-datum.
RANGES: r_date FOR sy-datum.
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS: NRW RADIOBUTTON GROUP g1,
MWD RADIOBUTTON GROUP g1,
RWS RADIOBUTTON GROUP g1,
EDU RADIOBUTTON GROUP g1,
Standard RADIOBUTTON GROUP g1 default 'X'.
SELECTION-SCREEN END OF BLOCK blk2.
SELECTION-SCREEN END OF BLOCK blk.
start-of-selection.
break developer.
case 'X'.
when mwd.
CONCATENATE p_yearf(4) p_yearf+4(2) '01' INTO p_fkdat-low.
concatenate p_yeart(4) p_yeart+4(2) '01' into p_fkdat-high.
p_fkdat-sign = 'I'.
p_fkdat-option = 'BT'.
CALL FUNCTION 'RE_LAST_DAY_OF_MONTH'
EXPORTING
i_datum = p_fkdat-high
IMPORTING
e_tt = p_fkdat-high+6(2).
APPEND p_fkdat.
*start-of-selection.
SELECT *
from VBRK
INNER JOIN vbrp ON vbrk~vbeln = vbrp~vbeln
INNER JOIN kna1 on vbrk~kunag = kna1~kunnr
INTO corresponding fields of TABLE itab
where
vbrp~werks in s_werks and
VBRK~KUNAG in p_kunag and
VBRP~vrkme in s_vrkme and " 'M3' and
VBRK~fkdat in p_fkdat order by KUNAG.
*left outer join kna1
**from S903 INNER JOIN kna1
*ON VBRKKUNAG = kna1kunnr
*INTO corresponding fields of TABLE itab
*where
*"vbrp~werks in s_werks and
*VBRK~KUNAG in p_kunag and
*VBRP~vrkme in s_vrkme and " 'M3' and
*VBRK~fkdat in p_fkdat order by KUNAG.
LOOP AT itab.
mm = itab-fkdat+4(2). " Monthly for Ageing
clear itab2.
Read table itab2 with key KUNAG = itab-KUNAG.
*IF SY-SUBRC EQ 0.                      " Record for Customer exists so modify existing record updating the quantities
     PERFORM itab2_rec USING 'M' mm.
  ELSE.                                  " Record for Cusotmer does not exist so Append a new record for Customer
     PERFORM itab2_rec USING 'A' mm.
  ENDIF.
itab1-fkdat = itab-fkdat+4(2).
*itab1-vrkme = itab-vrkme.
itab1-KUNAG = itab-KUNAG.
itab1-name1 = itab-name1.
itab1-fkimg = itab-fkimg.
APPEND itab1.
clear itab1.
ENDLOOP.
SORT itab1 BY KUNAG fkdat name1.
"delete adjacent duplicates from itab1.
LOOP AT itab1.
move itab1 to wa_itab1.
AT NEW KUNAG.
t_s = 0  .
ENDAT.
t_s = t_s + itab1-fkimg .
AT END OF KUNAG.
mm = itab1-fkdat.
"break angle.
  IF SY-SUBRC = 0.                     " Record for Customer exists so modify existing record updating the quantities
CASE mm.
                     " Record for customer does not exit so append a new record for customer
  WHEN '01'.
  itab2-jan = t_s  .
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
    sum2 = sum2 + itab2-jan.
  APPEND itab2.
  WHEN '02'.
  itab2-feb = t_s  .
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
    sum2 = sum2 + itab2-feb.
  APPEND itab2.
  WHEN '03'.
  itab2-mar = t_s .
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
    sum3 = sum3 + itab2-mar.
  APPEND itab2.
  WHEN '04'.
  itab2-apr = t_s  .
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
    sum4 = sum4 + itab2-apr.
  APPEND itab2.
  WHEN '05'.
  itab2-may = t_s.
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
   sum5 = sum5 + itab2-may.
  APPEND itab2.
  WHEN '06'.
  itab2-jun = t_s .
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
  sum6 = sum6 + itab2-jun.
  APPEND itab2.
  WHEN '07'.
  itab2-jul = t_s .
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
    sum7 = sum7 + itab2-jul.
  APPEND itab2.
  WHEN '08'.
  itab2-aug = t_s .
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
  sum8 = sum8 + itab2-aug.
  APPEND itab2.
  WHEN '09'.
  itab2-sep = t_s .
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
    sum9 = sum9 + itab2-sep.
  APPEND itab2.
  WHEN '10'.
  itab2-oct = t_s .
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
    sum10 = sum10 + itab2-oct.
  APPEND itab2.
  WHEN '11'.
  itab2-nov = t_s .
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
  sum11 = sum11 + itab2-nov.
  APPEND itab2.
  WHEN '12'.
  itab2-dec = t_s.
  itab2-KUNAG = wa_itab1-KUNAG.
  itab2-name1 = wa_itab1-name1.
  itab2-total = wa_itab1-total.
  sum12 = sum12 + itab2-dec.
  APPEND itab2.
itab2-total = itab2-jan + itab2-feb + itab2-mar + itab2-apr + itab2-may + itab2-jun + itab2-jul + itab2-aug + itab2-sep
+ itab2-oct + itab2-nov + itab2-dec .
total = sum1 + sum2 + sum3 + sum4 + sum5 + sum6 + sum7 + sum8 + sum9 + sum10 + sum11 + sum12.
IF MM = 'A'.  " Mode for Append
    APPEND itab2.
ELSE.             " Mode for Modify
    itab2-KUNAG = itab1-KUNAG.
    itab2-name1 = itab2-name1.
    "MODIFY itab2 WHERE kunag = itab1-kunag.
ENDIF.
"loop at itab2  .
on change of itab2-KUNAG." ,itab2-name1,itab2-jan,itab2-feb,itab2-mar,itab2-apr,itab2-may,itab2-jun,itab2-jul,itab2-aug,itab2-sep,itab2-oct.
          WRITE:/1 SY-VLINE,
            itab2-KUNAG   under   'PARTY' LEFT-JUSTIFIED ,0  SY-VLINE COLOR 2,
            itab2-name1   under     'NAME' LEFT-JUSTIFIED ,10 SY-VLINE,
            itab2-jan DECIMALS 1  under    'JAN' LEFT-JUSTIFIED,40 SY-VLINE,
            itab2-feb DECIMALS 1 under    'FEB' LEFT-JUSTIFIED,50 SY-VLINE,
            itab2-mar DECIMALS 1  under    'MAR' LEFT-JUSTIFIED,60 SY-VLINE,
            itab2-apr DECIMALS 1 under    'APR' LEFT-JUSTIFIED,70 SY-VLINE,
            itab2-may DECIMALS 1 under    'MAY' LEFT-JUSTIFIED,80 SY-VLINE,
            itab2-jun DECIMALS 1 under    'JUN' LEFT-JUSTIFIED,90 SY-VLINE,
            itab2-jul DECIMALS 1 under    'JUL' LEFT-JUSTIFIED,100 SY-VLINE,
            itab2-aug DECIMALS 1 under    'AUG' LEFT-JUSTIFIED,110 SY-VLINE,
            itab2-sep DECIMALS 1 under    'SEP' LEFT-JUSTIFIED,120 SY-VLINE,
            itab2-oct DECIMALS 1 under    'OCT' LEFT-JUSTIFIED,130 SY-VLINE,
            itab2-nov DECIMALS 1 under    'NOV' LEFT-JUSTIFIED,140 SY-VLINE,
            itab2-dec DECIMALS 1 under    'DEC' LEFT-JUSTIFIED,150 SY-VLINE,
            itab2-Total DECIMALS 1 under  'TOTAL' LEFT-JUSTIFIED,160 SY-VLINE COLOR 3,
            170 SY-VLINE COLOR 3.
            uline.
  "itab2-total = itab2-jan +value itab2-febitab3-maritab2-apritab2-mayitab2-junitab3-julitab2-augitab2-sepitab2-octitab3-nov+itab2-dec).
"itab2-total = sum(itab2-jan)  .
endon.
"endloop.
ENDCASE.
ENDIF.
"ENDFORM.
ENDAT.
ENDLOOP.
ENDCASE.
write:  sum1 DECIMALS 1  under    'JAN' LEFT-JUSTIFIED,40 SY-VLINE,
         sum2 DECIMALS 1 under    'FEB' LEFT-JUSTIFIED,50 SY-VLINE,
         sum3 DECIMALS 1  under    'MAR' LEFT-JUSTIFIED,60 SY-VLINE,
         sum4 DECIMALS 1 under    'APR' LEFT-JUSTIFIED,70 SY-VLINE,
         sum5  DECIMALS 1 under    'MAY' LEFT-JUSTIFIED,80 SY-VLINE,
         sum6 DECIMALS 1 under    'JUN' LEFT-JUSTIFIED,90 SY-VLINE,
         sum7 DECIMALS 1 under    'JUL' LEFT-JUSTIFIED,100 SY-VLINE,
         sum8 DECIMALS 1 under    'AUG' LEFT-JUSTIFIED,110 SY-VLINE,
         sum9 DECIMALS 1 under    'SEP' LEFT-JUSTIFIED,120 SY-VLINE,
         sum10 DECIMALS 1 under    'OCT' LEFT-JUSTIFIED,130 SY-VLINE,
         sum11 DECIMALS 1 under    'NOV' LEFT-JUSTIFIED,140 SY-VLINE,
         sum12 DECIMALS 1 under    'DEC' LEFT-JUSTIFIED,150 SY-VLINE,
         sum13 DECIMALS 1 under  'TOTAL' LEFT-JUSTIFIED,160 SY-VLINE COLOR 1.
uline.
regards
Piroz

Similar Messages

  • Report for monthly sales(sales office wise,sales group wise,plant wise)

    Please send the Report for monthly sales(sales office wise,sales group wise,plant wise)  with T.CODE.,

    Hi
    As per my knowledge there is no Standard Report in SAP based on sales office, sales group. and plant.
    You may create your own report using MC18,MC21 and MC24.... Otherwise ask your ABAPer's help...
    Muthu

  • Report for monthly pay components for the employees

    Hai Group
    I want a report for all the employees monthly  total wage and each individual components like basic, hra, medical, special allow etc, and also for deductions like pf, esi, pt, tax, etc.
    Is standard report available or we need to go for a development for this?
    Plz let me know incase the standard report available, where and is it possible to download to an excel file?
    thank you

    Hi Friend
    In Wage type reporter screen, you can find a place called OTHER SECTIONS, next to that you can see the wage type column and down below you can find a place for object selection.  Click on object section, you have find the personnel number in u2018Available objectsu201D move that to u2018Objects Selectedu2019  and try executing the report.  Save this as a variant so that every time you donu2019t need to select the personnel number.
    Hope this will solve your problem.
    Regards
    Santhosh.S

  • Report for monthly/ weekly stock analysis

    Hi,
    Could anybody please let me know the transaction code for the following.
    -> I would like to call a report for stock analysis (quantity basis not stock value), What I want is to call up figures of monthly / weekly usage over 6 months.
    Thanks in advance

    Hi ,
    Pls try MC45.
    Enter only one object to analyse either : plant/ pur org/sales org
    Input your period to analyse
    Report shows  consumed materials with stock value and qty ..Click double line & triple line tabs to get more details.
    thnks
    nandu

  • SAP reporting for Month end reports for Pension (TP, USS, LGPS)

    Hi
    I wonder if anyone can help me.  We have just had SAP installed and are experiencing problems with month end reports for Pension reporting.  Can anyone point me in the right direction of the reports?  I have managed to extract some reports but they hold year to date values, not the current month and I am having problems with extracting the monthly contributory salary.
    Many thanks in advance
    Pia

    It's possible to re value asset records but the intent is not for currency adjustments.  That is almost always done in consolidations.
    It's possible to depreciate based on the current exchange rate using 95314 but this is considered a modification.  I've rarely seen it implemented.
    -nathan

  • P&L Report for Month wise

    Hi all,
    can any one tell me which t.code using for get the report for Profit & Loss Statement in monthwise?
    Regards,
    Mohan.

    You need to create a financial statement version using OB58 for your P&L accounts and then run F.01 with that financial statement version.

  • SAP standard report for showing the stock at customer location

    Hi All,
    Can any one let me know if there is a standard SAP report which can show the following
    Stock at the customer location on a monthly basis
    I tried the following t-code - MB58 but that doesnt have the
    From date - Till date
    Any pointers on this one will be really helpful.
    Regards,
    Pandi

    Hello,
    MB52   -   List of Warehouse Stocks on Hand
    MB53   -   Display Plant Stock Availability
    MB5B  -    Stock for Posting date.
    Prase

  • Report for monthly stock value

    Hi SAP Gurus,
    Is there any report or transaction that can show monthly stock value based on plant/GL account balance ?
    Thanks for your help.
    Regards,
    Raj

    I personally do not trust info structure data which are basis to MC.9 and MC.5
    basis for MB5L is audit relevant data, while info structures are only statistics.
    Ideally the data should match, but if for some reason the update to the info structure fails, then the financial posting still happens as they are technically not in the same LUW.

  • Report for listing contact person with customer

    Hello,
    we use the tables adrc, adrp, kna1, knvv and now I want to know if somebody has a ready report, where I can put the country-id in (f.e. 'it') , so that this reports lists all contact persons with their customer and their adress.
    Does anybody such a report ?
    Thanks
    Gerd

    again

  • Generating Report for Monthly Database Tablespace Usage in Grid

    I am trying to generate a Report in OEM Grid to obtain the Statistical history of Tablespace Growth for an Oracle Database. When am running the report which is predefined and created as SYSMAN, am getting no rows select for an Oracle 10g database which is the target on a Linux Host. When I try to generate the same for the databases on HPUX, RAC instances I get a detailed report except for couple of databases on Stand Alone Linux servers. Am I missing any Set up?
    Please advise!

    Grid is reporting correctly about this database regarding the Availability, File Systems space Usage Alerts and all that has been set up.

  • Report for pending delivery

    Hi Experts,
    We have requirement,  SAP report for pending delivery - to help customer reconcile on what is pending for deliveries.
    I have used standard Tcode VL06 and VL06O but seeing all deliveries.
    Kindly let me know how to configure a report or t code so that  I should be able to see only pending delivery based on sales order.
    Regards,

    Hi DSP
    If I understood your requirement correctly, you are sending the sales orders to the dispatcher, based on those sales orders dispatcher has to create the deliveries only for those items which are going to be shipped today (i.e. GI to be posted today) so that he can optimized the transporation etc.
    For this requirement I think you can use VL04 transaction code and give input as shown in below screen shot. The inportant thing to note here is that, system selects only those line items from a sales order which has a GI date less than or equal to the date given in below screen.
    i.e. if your sales order has a 2 line items
    Line item 1 has GI date = 19.08.2014
    Line item 2 has GI date = 22.08.2014
    then as per below input  i.e. GI date = 22.08.014 system will create a delivery for both the line items
    If you give GI date = 19.08.2014 in below selection screen then system will create a delivery only for line item 1.  Please try and let me know

  • Standart report for payment details

    Hi SAP GURUS
    Kindly tell me if there is any standard report in sap for employee payment .

    Hi,
    Please check following t code.
    1. PC00_M99_CWTR - Wage type reporter for monthly & annaly
    2. PC00_M40_ANN - Payroll annual display u2013 India  for monthly & annaly
    Santosh R. Shivane

  • Query item not sold per customer for this month compare with last month

    Dear all,
    i want to make query that show information about item sold per customer last month which is not sell again this month.
    for example last month customer A buy item 1,2 and 3. This month, customer A only buy item 2. So, the query will show information item 1 and 3 which is not sell again to customer A.
    Thanks a lot

    Here's one that will show you items bought in the last 60 days but not the last 30 days.  It's not perfect but will get you on your way, some bits will also not be relevant, like the qrygroup64 part.
    select     t0.cardcode,
              t0.cardname,
              t2.slpname,
              t1.itemcode,
              t1.itemname,
              t1.onhand,
              s0.[2mthqty],
              s0.[2mthdollar],
              s1.[1mthqty],
              s1.[1mthdollar],
              s2.lastsale
    from
    (select     t0.cardcode,
              t1.itemcode,
              sum(t1.quantity) as [2mthqty],
              sum(t1.linetotal) as [2mthdollar]
    from
    oinv t0
    inner join
    inv1 t1
    on t0.docentry = t1.docentry
    where t0.docdate >= getdate()-60
    and t1.quantity > 0
    group by     t0.cardcode,
                   t1.itemcode) s0
    full outer join
    (select     t0.cardcode,
              t1.itemcode,
              sum(t1.quantity) as [1mthqty],
              sum(t1.linetotal) as [1mthdollar]
    from
    oinv t0
    inner join
    inv1 t1
    on t0.docentry = t1.docentry
    where t0.docdate >= getdate()-30
    group by     t0.cardcode,
                   t1.itemcode) s1
    on s0.cardcode = s1.cardcode and s0.itemcode = s1.itemcode
    inner join
    (select     t0.cardcode,
              t1.itemcode,
              max(t0.docdate) as lastsale
    from
    oinv t0
    inner join
    inv1 t1
    on t0.docentry = t1.docentry
    where t0.docdate >= getdate()-60
    group by     t0.cardcode,
                   t1.itemcode) s2
    on s0.cardcode = s2.cardcode and s0.itemcode = s2.itemcode
    inner join
    ocrd t0
    on s0.cardcode = t0.cardcode
    inner join
    oitm t1
    on s0.itemcode = t1.itemcode
    inner join
    oslp t2
    on t0.slpcode = t2.slpcode
    where           (s1.[1mthqty] = 0 or s1.[1mthqty] is null)
    and t0.qrygroup64 = 'N'

  • Report for Sold to Party code against Sales order number

    Hi,
            Is there any standard report to take out the Sold to Party code against Sales order number as i have the sales order number.
    I don't want to use Tables ,so pls tell standard report if any.

    Dear   Monty garg.
    You can use u201CVA05Nu201D to find the sales orders which have been created against for the particular customer/sold to party.
    Please let me know if any further clarifications pertinent to this.
    Thanks&Regards
    Raghu.k

  • Crystal Report: Items sold by customer

    Experts,
    I am creating a crystal report to return items sold by customer.
    1) The report should allows me to choose date range, and if there is no date range selected, it should return all items sold, customer ID and name
    2) The report should also let me pick customer ID, and if there is no customer ID selected, it should return all items sold to customer.
    Please help me out.
    Thanks so much.

    Hi Phong,
    Please check below links.
    Optional Parameters in Crystal Reports
    Optional parameter, no values
    Crystal Reports Parameter display "All" when no value is passed in parameter? - Stack Overflow
    Any you can also create Option Parameter while creating Parameter in Crystal Report by Selecting Option option to TRUE in Parameter.
    Hope this helps
    Regards::::
    Atul Chakraborty

Maybe you are looking for

  • Standard text in Smart forms

    Hi ,            Im using the standard text in smart forms, but Im getting the output displayed as hexadecimal numbers. These are the hexa characters stored in the "SO10" transaction for the standard text name. I try to display a signature stored in s

  • CTI Not ready reason code 50010

    Hi ,   We have a UCCE set up 8.0 . Agents automatically going to not ready state. When checked in report it shows Missed Tasks eroor code (50010). It is a default cisco reason code.Can anyone explain the exact reason for this issue . Thanks, Rahul

  • Is Java Compiler a part of JVM or JRE but not JVM? ?

    hi friends... i need clarification....I am completely confused about how things go about from d time v compile to execution...Please can anybody give me a complete description

  • Can't open .bin files downloaded from Belkin's site

    I can't get firmware updates from Belkin's website to open. Supposedly they're in .bin archives including instructions and the firmware. I even updated my Stuffit Expander to version 10. No luck. If I drag the bin file onto expander it pops up a dial

  • Creating new project

    When viewing movie in event library, the preview screen shows the entire picture as filmed, but when I move the film to the project library, the preview screen shows the top of the film cut off. How do I adjust or fit so that everybody's heads are no