BI : Billing date for largest billing amount

Hi,
I have a scenario where I have data for sales order and invoices in PSA.
Now I need the billing date for the largest billing amount against a sales order in the cube. Can we calculate the billing date in the cube/report?
If yes then how......

Hi,
Have you tried using condition in your report with the following criteria
Top N condition for invoice amount with N = 1.
But, this is possible from the cube only. Direct access to PSA data cannot be done.
With Regards

Similar Messages

  • BI : Billing date for largest billing date

    Hi,
    I have a scenario where I have data for sales order and invoices in the cube.
    Now I need the <b>billing date for the largest billing amount against a sales order</b> in the cube. Can we calculate the billing date in the cube/report?
    If yes then how......

    Query kept in wrong discussion group..

  • Billing Date for Cancelled Billing Document

    I have billing document whose billing date is Mar-2008 and in header creation date is May-2005. When we checked the document flow it showing same billing document has been cancelled in My-2005 and also cancelled document date is May-2005.  This billing document is created for contract whose billing plan is valid till Dec-2008. When i checked the billing plan there I get the billing date which showing in billing document. Now my question is why cancelled billing document having current year billing date when it is cancelled in May-2005.
    Regards,

    Hi
    We have a option to change the billing documnet date under header details.
    1) Go  to VF02
    2) Enter billing document date
    3) Go to header deatils and change the billing date to current billing date
    4) save the document.
    Pts if ur problem gets solved
    RGDS
    B.JAGANATH

  • Problem with Billing date while creating Billing Document

    According to the factory calendar maintained at the client side every Saturday is a holiday. Due to  this, the billing date for every Billing Document (vf01)  created on Saturdays gets pushed to Monday's date..  I tried using VOFM routine 011 to default the billing date (vbrk-fkdat) to system date.I have assigned the same in copy control.. But this does not work. Any suggestions?

    hello,
    This is a standard flow and if you want to tamper that, need to change in standard SAP...which I would not recommend you...
    Please use a separate factory calender for that particluar site...
    Thanks..

  • Billing date for a purchase order in the corresponding billing document

    Hello,
    for a purchase order I need to select the billing date in the bill which corresponds to the purchase order. There is a posting date in the order history but I am not sure that this date is identical with the billing date in the purchase order. Any suggestions? Thanks.
    Regards, Lars.

    I guess you are talking about due date for a billing document.
    There's an FM Determine_Due_date for that. before that you'll have to use FM FI_DOCUMENT_READ with I_AWTYP as VBRK and I_AWREF as Billing Document Number. You will get T_BSEG entry.
      CALL FUNCTION 'FI_DOCUMENT_READ'
       EXPORTING
         i_awtyp           = 'VBRK'
         i_awref           = po_vbeln
       TABLES
         t_bseg            = i_bseg
      SORT i_bseg BY vbeln.
    READ TABLE i_bseg WITH KEY vbeln = 'Billing Document Number'.
      IF sy-subrc IS INITIAL.
        MOVE-CORRESPONDING i_bseg TO wa_faede.
        CALL FUNCTION 'DETERMINE_DUE_DATE'
             EXPORTING
                  i_faede                    = wa_faede
             IMPORTING
                  e_faede                    = wa_faede
             EXCEPTIONS
                  account_type_not_supported = 1
                  OTHERS                     = 2.
    This wa_faede will have due date in one of its fields.
    Hey do reward points if this post is helpful.

  • VF01 Determine Billing date for billing index and printout to current date

    Hi
    we need to determine the Billing date for billing index and printout to current date
    What can I do to determine automatically at the time of creation current day to Billing date for billing index and printout?
    please let me know
    Best Regards,

    Hi Beatriz ,
    You have two options here. you can chose either of these solutions:
    1.
    A. T-Code: VTFL ( if using del related billing)   For the billing document and delivery, at item level assign the copying requirement 011 or if you are currently using some other routine then you can use following in that
    VBRK-FKDAT = SY-DATUM.
    B. T-code VTFA (if using order related billing)
    Similar to A, using copying requirement 011.
    2. You may also try option of Checking in the User Exit for the Program RV60AFZA & RV60AFZA.
    Please let us know if this helps
    Regards
    Harpreet

  • Change billing date for first scheduling period in VA41

    Hi,
    Requirment: At the time of Contract creation, the first scheduling period amount will be compared to a fixed threshold value. If it is less than that threshold value then change its billing date to next schedule period's billing date.
    I have tried so many user-exits but hey are not triggered at the required point of time.
    As soon as we create the contract the dates will be changed accordinly.
    Also do we have any function module to change date if we make a Z program.
    bye
    Divya

    hello,
    SDAPO001  Activating Sourcing Subitem Quantity Propagation
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly)
    V45L0001  SD component supplier processing (customer enhancements)
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Badi's
    BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001     SD Customer functions for resource-related billing
    Thank u ,
    santhosh
    Edited by: santhosh kumar on Feb 9, 2009 7:59 AM

  • Only One Billing Date for Collective Invoices

    Hi Gurus,
    I have a peculiar client requirement.
    There is a Order related billing. Now this Order type and Billing type is used by 30 RBUs.Now I want to do Collective billing for a particular RBU on last day of the month. Also I dont want the billing to happen any time of the month in between so I can think of blocking of Order but this will block all Orders for that type. Also if I use Billing block this will block all Billings !
    I am thinking of taking ABAP help.
    Pls suggest
    rgds..
    Ameet

    Go to VF04, maintain the required Billing Date in Default Data tab and execute.
    G. Lakshmipathi

  • Bolivia: expiring date for issuing billing document

    Hi gurus,
    there is a singular requirement in Bolivia which consists of a date in which a certain billing document has to be issued according to several variables, e.g, the number range issued by the Local tax agency.
    Is there in VBRK a field which could fit such requirement? if not, is there any standard field which could be added to VBRK? Otherwise, there is no more option than configuring a header text where user can update this date or as per standard texts in SO10 which can be called from the billing form, bearing in mind that this "expiring date" lasts at least for one year.
    thanks!
    VL

    In VBRK, as for as date fields are  concerned, to my knowledge all fields (pricing date, billing date etc) would be filled in from a predecing document and no date field would be left with blank which I am not sure as right now, I dont have access to SAP.  Nevertheless, there would be some unutilized fields which you can check and make use of that.  Having said this, you can achieve this with the help of billing exit.
    G. Lakshmipathi

  • Billing date for Rebate CMs

    Hi,
    We would like to set the billing date of CMs from rebate settlement to be set as 'current date' instead of the valid-to date of the agreement.
    We already updated user exit : RV60AFZC and put the code:
    IF sy-tcode EQ 'RBT_ENH_VB7'.
    vbrk-fkdat = sy-datum.
    But the billing date is still not getting updated..

    Hello Gemma,
    the relevant source code is in program LV60AA38:
      PERFORM vbrk_vbrp_fuellen.    < here your userexit is performed
    übergebene Daten setzen
      IF NOT xkomfkgn-fkdat IS INITIAL.
        vbrk-fkdat = xkomfkgn-fkdat.        < here VBRK-FKDAT is filled (overwriting the value set by userexit)
    Please use instead a copy-routine in transaction VTFA.
    The combination is:
    - sales document type from field T6B1-AUART_B3 (for partial setlement) or T6B1-AUART_B1 (for final settlement)
    - billing document assigned to the sales document type in VOV8 (field order related billing type)
    - item category set as default in transaction VOV4
    In the copy-routine you can set the billing date.
    Best regards,
    Ivano.

  • Billing date for return orders

    Hi,
    when creating return order (RE), without reference to any SD document, the billing date is default as current date.
    But, when I create the return order, with reference to a billing document, the billing date is scheduled, based on the lead times etc..
    I want to have it default as current date, with reference or not.. where/how is this configured?
    Thanks,

    Check in VOV8 for your return order type where there is a field to propose billing date.
    thanks
    G. Lakshmipathi

  • Default Billing date for cancellation of F2 invoice

    Hello
    I am trying to default the billing date to the system date in the cancellation document, but it is not working. Can someone give me advice with my customize settings? My invoice is F2 and my cancellation is S1 (ECC 6.0)
    In Billing copy control (VTFF), billing ->billing, I go to the settings for F2 -> S1.
    At the header screen, copying requirements and other values are blank. Do I need to maintain any values here?
    At the item screen for my item (TAN), copying reqs is set to 005 (Cancellation Header), Data VBRK/VBRP is set to 011 (Bill date = today).
    If anyone can give me advice on my settings, it would be greatly appreciated
    Regards
    Ken

    Use the include program for invoice <b>RV60AFZC</b>
    in the userexit USEREXIT_NUMBER_RANGE_INV_DATE you have to do the coding.
    <b>For using this userexit make sure that you are not using USEREXIT_NUMBER_RANGE for assigning internal number range to invoices of different plant/company code.</b>
    The following codes will make all invoices created (S1 or F2) take system date by default, you can modify it to make it work only for S1 (Cancellation invoice)
    FORM USEREXIT_NUMBER_RANGE_INV_DATE USING US_RANGE_INTERN.
    Example: Number range from TVFK like in standard
    US_RANGE_INTERN = TVFK-NUMKI.
    *{   INSERT        DEVK906746         
    data : date  type dats.
    date = sy-datum.
    vbrk-fkdat = date.
    modify vbrk.
    *}   INSERT
    ENDFORM.

  • Billing date for orders

    Dear gurus
    i have an issue    i have 1000 sales orders, billing dates are different but my user want to bill them all in today's date (same day) only how can i do
    thanks in advance

    Go to VF04, maintain the required Billing Date in Default Data tab and execute.
    G. Lakshmipathi

  • Bill key date for manual billing

    When a manual billing document is invoiced, the bill key date field in table ERDK remains empty even though it has been correctly filled in ERCH. Any idea why this is so and how it can be corrected?

    Hi,
    To update the Bill Key date in ERDK,we implemented the BADI ISU_DEF_BILL_PERIOD and inside it,under method SET_BILLING_PERIOD_INV we made the code changes to update the billing key date.
    Thanks,
    Shreeraj

  • Change delivery date on sales order -- change of Billing date on item

    Hi,
    We are trying to change a delivery date for a sales order's item, if we do so normally the billing date on that item's billing tab will change automatically also.
    Now, for a specific sales order the billing date in the billing tab is not changing.
    We compared 2 sales orders .. the same statusses - no blocks - ... and with one it works (changing of the billing date) and with the other it does not work..
    Please help !
    thanks a lot!

    Hi,
    Check the following.
    If invoice dates are defined for the customer, the system proposes the billing date from the invoice date calendar. If no invoice dates are agreed, then the actual goods issue date is formed on the basis of delivery related billing. In order related billing, the billing date of the order forms the basis of the billing date.
    If you are billing services, the system proposes the date of services rendered. You can change the date manually in the sales document.
    If you are using a billing plan to bill a project, the system can propose billing dates for the billing plan on the basis of planned or actual dates in the corresponding milestone.
    In a billing plan for a maintenance or rental contract, you can specify rules by which the system determines billing dates on the basis of other dates in the contract.
    Regards
    Nadarajah Pratheb

Maybe you are looking for

  • Rebate fixed amount condition in the pricing procedure

    Hi SD Gurus, i'm using rebate fixed amount conditions (Lum sum). The situation from a business point o f view is the following: i pay the customer 1000$ once he made something. This kind of condition is not relevant for accruals since they have to be

  • How do I place a SubReport on the last page of a report?

    Post Author: KPichelman CA Forum: Crystal Reports I am using CR 9.0 and C# to create a report.  Now I need to place a subreport (a signature box) on the last page of the report and I seem to be having difficulties.  I will not know the number of page

  • Volume button not working, but not in US to fix it

    Hi, I recently bought an iphone5s 2 weeks back unlocked from the apple website while in the US. and then as i was leaving immediately to India i opened it only when i reached India. To my surprise the Volume increase button is not working. Apple only

  • Too many objects match the primary key oracle.jbo.Key[2044 ].;

    When I try to use the Accounting Setup Manager, I get a blank error message and when I click again, I get the following exception: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.TooManyObjectsException: JBO-25013: T

  • Cannot View/Download Email Attachments - ActiveSync

    Can View Emails, Contacts, etc..But when I click on an attachment, it acts like its downloading, but doesn't..Any ideas? I have full access to our companys exchange 2007 server, we also have sales people in the field who have pda's using activesync o