How to prepare Aging report in another system

Hi,
I have seen aging report for customer in SAP B1, its okay but not serve my purpose. i want this report little difference.
i sent a link file for aging report like this way.
[Aging Report |
http://www.sendspace.com/file/v8jbt3]
if it is possible to make this report please help me about this.
Regards,
Mizan
Edited by: mizan700 on Dec 29, 2010 11:39 AM

Hi Mizan,
Try this as a command in Crystal Report:
SELECT T0.CardName,T0.DocNum,T0.DocDueDate, DateDiff(DD,T0.DocDueDate,getDate()) as Overdue, T0.DocTotal-T0.PaidToDate as 'Due Amount'
FROM dbo.OINV T0
where T0.DocStatus='O' AND DateDiff(DD,T0.DocDueDate,getDate())>0
UNION ALL
SELECT T0.CardName,Null,NULL, NULL, SUM(T0.DocTotal-T0.PaidToDate) as 'Due Amount'
FROM dbo.OINV T0
where T0.DocStatus='O' AND DateDiff(DD,T0.DocDueDate,getDate())>0
GROUP BY  T0.CardName
Order By T0.CardName,T0.DocDueDate DESC
Rank can be by CR function.
Thanks,
Gordon

Similar Messages

  • How to design ageing report

    hi friends
    How to create ageing reports.If any one has documents/links pls provide me..

    Hi,
    Check in..
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • Reg:how to include a report in another report.

    Hi,
    Can anyone please tell me how to call a report from another report.
    My requirement is for example please see the below requirement :
    In report1 I write the logic.
    Zreport1.
    select kunnr name1 from kna1 into table itab.
    loop at itab.
    write: / itab-kunnr,itab-name.
    endloop.
    In report 2 i write the declaration.
    Zreport2.
    Tables:kna1.
    data:begin of itab occurs 0,
    kunnr like kna1-kunnr,
    name1 like kna1-name1,
    end of itab.
    Now I want to include or call the report1 in report2 .Can anyone please tell me how it can be done??

    Hi,
    write the submit statement as SUBMIT ZREPORT1 AND RETURN  in ZREPORT2 program..
    If you dont execute the ZREPORT1 independently then its better you write that in a ZINCLUDE... and
    include that in your second program where ever necessary..
    for that check this...
    +ZINCLUDE+
    select kunnr name1 from kna1 into table itab.
    loop at itab.
    write: / itab-kunnr,itab-name.
    endloop.
    *ZINCLUDE ends here...
    *Use the above ZINCLUDE as below...
    Report Zreport2.
    Tables:kna1.
    data:begin of itab occurs 0,
    kunnr like kna1-kunnr,
    name1 like kna1-name1,
    end of itab.
    INCLUDE ZINCLUDE. " this will do the task mentioned in the include above...
    I would rather suggest to go for the second method that is _ Specifying ZINCLUDE_ coz for the first one.. you need to
    have data declarations and which is not necessary for just a simple select query.. if you are processing
    any further in the first program then go for the first method_( SUBMIT STATEMENT)_ by declaring the necessary variables..
    This would solve your issue...
    Good luck
    Narin
    Edited by: Narin Nandivada on Sep 9, 2008 4:37 PM

  • How to call a report in another report?reply plz

    how to call a report in another report?

    hi,
    chk this.
    *Code used to populate 'select-options' & execute report 
    DATA: seltab type table of rsparams,
          seltab_wa like line of seltab.
      seltab_wa-selname = 'PNPPERNR'.
      seltab_wa-sign    = 'I'.
      seltab_wa-option  = 'EQ'.
    * load each personnel number accessed from the structure into
    * parameters to be used in the report
      loop at pnppernr.
        seltab_wa-low = pnppernr-low.
        append seltab_wa to seltab.
      endloop.
      SUBMIT zreport with selection-table seltab
                                    via selection-screen.
    *Code used to populate 'parameters' & execute report 
    SUBMIT zreport with p_param1 = 'value'
                    with p_param2 = 'value'.
    Other additions for SUBMIT
    *Submit report and return to current program afterwards
    SUBMIT zreport AND RETURN.
    *Submit report via its own selection screen
    SUBMIT zreport VIA SELECTION-SCREEN.
    *Submit report using selection screen variant
    SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
    *Submit report but export resultant list to memory, rather than
    *it being displayed on screen
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    *  Once report has finished and control has returned to calling
    *  program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
    *  DISPLAY_LIST to retrieve and display report.
    Regards
    Anver

  • Export BEx report to another system

    hello all,
                we have BEx reports which we would like to send to other system. I tried some options and like to get more info. on the options..
    openhub: not feasible as we r using hierarchies and complex queries
    rscrm_bapi / apd : does not support hier and texts description
    rep.agent pre-cal : looks good, but stores data on app.server..using download scheduler to get data onto next system, but there is no interaction b/w rep.agent job and download scheduler.
                             any other suggestions to get data from a BEx report to another system....
    thanks
    sri

    I dont know much details about MDX. But this can be achievable via MDX Queries.
    Try the transaction MDXTEST and search for more documents on MDX.
    /people/prakash.darji/blog/2006/09/04/work-with-xmla-web-service-for-bi-data-in-external-applications

  • How to create ageing report?

    Dear Experts,
    How to create following ageing report?
    Dispatch Vs Actual GRN during the period Jan-08 to Mar 08
    Ageing of Invoices to GRN Date (In-warding Date)
    Ageing--No of docsNet wt (Kg)
    Same or Next day -- 57----
    629.952
    2 to 30 days-- 98--
    755.411
    31 to 60 days--82--
    704.559
    61 to 90 days--94--
    738.709
    Here
    Dispatch (Posting /Invoice) Date; GRN (Goods Receipt Number) / In-warding Date; No. of Docs. are Characteristics & Net Weight is a Key Figure
    And Ageing = GRN Date u2013 Posting Date
    Thanks in advance!
    Nav

    HI,
    Create an variable or use the variable on Dispatch date
    and try to restrict the same Variable in the Key figure Net weight  with the Option Variable Offset
    Key figure  is same in the Columns for all 5 Key figure you are creating  with same variable and with Different off set
    Hope you can get it
    Regards
    Hari

  • How to show Crystal Reports in BW system to Business Object XI R3 Portal

    Hi All
    I have some Crystal Reports in BW system and want to call them on Business Object XI R3 Portal.
    Lets say that there are x number of reports in the system.
    I need to show them on BO Portal by passing some parameters.
    I am not able to start that how I can show them.
    I followed one tutorial on Cystal Report for Eclipse and I was able to make a Crysral Report for Web Application.That was deployed successfully. I got one URL to run that.
    But now if I want to add this link in my existing BO Portal how can I do that.
    Can anyone help me in that, that how to proceed.
    Thanks & regards

    We don't allow customizing our pages. Any patches installed will over write any changes you do. Create your own user interface.

  • How to run a job in another system

    This is the situation
    i want to test if a job, with ad external progra, that now is running in a Windows Application Server, can be moved in a linux Application server (and in another system), and if linux can process the *.bat file
    the jobs has a various step
    C:\*.bat  -> Progr. exit
    Z*      -> ABAP      
    Z*   -> ABAP      
    Z*_STEP1   -> ABAP      
    ZBAPI_* ->ABAP      
    C:\*.bat -> Progr. exit
    Anyone can help me to move it and schedulate the job?

    Hi,
    You have to convert the batch file of windows to shell script. and use that as external program  or command in the job definition instead of .bat file.You also have to edit the job definition in sap saying that the background server should be your Linux Application server.
    To convert *.bat file to shell script file this link would be helpful to you
    http://tldp.org/LDP/abs/html/dosbatch.html
    Reward points if  helps.
    Regards,
    Phani

  • How to schedule a job in another system.

    Hi,
    Now i have an ABAP program, which run in system ABC, client 001. i want to schedule a job in the program, with the function modules JOB_OPEN, JOB_SUBMIT, and JOB_CLOSE. But this job should run in ABC/002.
    How to write code?
    Who can help me on the requirement, or provide me another new solution except event trigger?
    Thanks & Best Regards,
    Johnney

    Here is the code. It works fine..
    FUNCTION Z_F_TRIGGER_REPORT.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_PROG) TYPE  D010SINF-PROG
    *"     VALUE(I_VARIANT) TYPE  VARIS-VARIANT
    *"     VALUE(I_MODE) TYPE  CHAR01
    *"  EXPORTING
    *"     VALUE(E_SUBRC) TYPE  SYST-SUBRC
    *"     VALUE(E_MSG) TYPE  CHAR80
    Functio ID :  Z_F_TRIGGER_REPORT
    TITLE      :  Report Trigger Tool
    Create Date:  15.03.2004
    Author     :  Denis Vieira
    Ownership : For the exclusive use of the Procter & Gamble Company
    Description:
    The purpose of this function module is to trigger programs
    requested remotely.
    AUTHORIZATION CHECKS
    OBJECT               AUTHORITY FIELDS         ABAP FIELDS
                     |                       |
    CHANGE HISTORY                                                      *
      DATE      |  Name  | Description                       | Reference *
    29.Jun.2006 | BA4513 | Unicode conversion and upgrade    | SPK290606
                |        | to My SAP ERP                     |
    **eject.
    Check if selected program exists in the destination file
      SELECT SINGLE  SUBC
             FROM    D010SINF
             INTO    D010SINF-SUBC
             WHERE   PROG    EQ  I_PROG
             AND     R3STATE EQ  C_A.
      IF SY-SUBRC NE C_0.
        MOVE  C_2                                               TO E_SUBRC.
        MOVE 'Report does not exist in destination system'(M01) TO E_MSG.
        EXIT.
      ENDIF.
    Check if program request is an executable program
      IF D010SINF-SUBC NE C_1.
        MOVE  C_2                                               TO E_SUBRC.
        MOVE 'Report is not an executable program'(M02)         TO E_MSG.
        EXIT.
      ENDIF.
    Check if selected variant exists in the destination file
      SELECT COUNT( * )
           FROM  VARIS
           INTO  W_COUNT
           WHERE REPORT  EQ I_PROG
           AND   VARIANT EQ I_VARIANT
           AND   DYNNR   EQ C_1000.
      IF W_COUNT EQ C_0.
        MOVE  C_2                                                TO E_SUBRC.
        MOVE 'Variant does not exist in destination system'(M03) TO E_MSG.
        EXIT.
      ENDIF.
      IF I_MODE EQ C_B.
        PERFORM 0100_BACKGROUND USING     I_PROG I_VARIANT
                                CHANGING  E_MSG  E_SUBRC.
      ELSE.
        PERFORM 0200_FOREGROUND USING     I_PROG I_VARIANT
                                CHANGING  E_MSG  E_SUBRC.
      ENDIF.
    ENDFUNCTION.
    *eject
    *&      Form  0100_background
    Executes Selected program in BackGround Mode VIA JOB
    *Block commented from here SPK290606
    *FORM 0100_BACKGROUND USING     L_PROG L_VARIANT
                        CHANGING  L_MSG  L_SUBRC.
    *Block commented till here SPK290606
    *Block added from here SPK290606
    FORM 0100_BACKGROUND USING    L_PROG    LIKE D010SINF-PROG
                                  L_VARIANT LIKE VARIS-VARIANT
                         CHANGING L_MSG     TYPE  CHAR80
                                  L_SUBRC   TYPE  SYST-SUBRC.
    *Block added till here SPK290606
      CONCATENATE C_AREA
                  C_UND
                  L_PROG
                  C_UND
                  SY-DATUM
                  C_UND
                  SY-UZEIT
                  INTO W_JOBNAME.
    Create a JOB and Get the Number for further execution
      CALL FUNCTION 'JOB_OPEN'
           EXPORTING
                JOBNAME  = W_JOBNAME
           IMPORTING
                JOBCOUNT = W_JOBCOUNT.
      IF SY-SUBRC NE C_0.
        MOVE  C_2                       TO L_SUBRC.
        MOVE 'Error opening job'(M07)   TO L_MSG.
        EXIT.
      ENDIF.
    Submit program
      SUBMIT (L_PROG)
        USING SELECTION-SET L_VARIANT
        VIA JOB W_JOBNAME NUMBER W_JOBCOUNT
        AND RETURN.
      IF SY-SUBRC NE C_0.
        MOVE  C_2                        TO L_SUBRC.
        MOVE 'Error Submitting Job'(M06) TO L_MSG.
        EXIT.
      ENDIF.
    Closes job to start its processing
      CALL FUNCTION 'JOB_CLOSE'
           EXPORTING
                JOBCOUNT  = W_JOBCOUNT
                JOBNAME   = W_JOBNAME
                STRTIMMED = 'X'.
      IF SY-SUBRC NE C_0.
        MOVE  C_2                       TO L_SUBRC.
        MOVE 'Error closing job'(M08)   TO L_MSG.
        EXIT.
      ENDIF.
      MOVE  C_0                                          TO L_SUBRC.
      MOVE 'Program Submitted in Background Mode'(M09)   TO L_MSG.
    ENDFORM.
    *eject
    *&      Form  0200_foreground
    Executes Selected program in ForeGround Mode VIA Submit
    *Block commented from here SPK290606
    *FORM 0200_FOREGROUND USING     L_PROG L_VARIANT
                        CHANGING  L_MSG  L_SUBRC.
    *Block commented till here SPK290606
    *Block added from here SPK290606
    FORM 0200_FOREGROUND USING    L_PROG    LIKE D010SINF-PROG
                                  L_VARIANT LIKE VARIS-VARIANT
                         CHANGING L_MSG     TYPE  CHAR80
                                  L_SUBRC   TYPE  SYST-SUBRC.
    *Block added till here SPK290606
      SUBMIT (L_PROG) USING SELECTION-SET L_VARIANT
             EXPORTING LIST TO MEMORY AND RETURN.
      IF SY-SUBRC EQ C_0.
        MOVE  C_0                                 TO L_SUBRC.
        MOVE 'Report submitted successfully'(M04) TO L_MSG.
      ELSE.
        MOVE  C_2                                 TO L_SUBRC.
        MOVE 'Error submitting report'(M05)       TO L_MSG.
      ENDIF.
    ENDFORM.

  • How to generate CCMS report from ECC system

    Hi,
    I have implemented CCMS between my SAP ECC system 6.0 and SAP SRM7.0. How can i generate CCMS report for my SRM system from ECC system. Can any one please tell me the steps to configure CCMS between my ECC (CEN) system and SRM 7.0 ABAP system.
    Regards,
    Pradeep J

    Pradip_jag12 wrote:
    > I have implemented CCMS between my SAP ECC system 6.0 and SAP SRM7.0.
    >Can any one please tell me the steps to configure CCMS between my ECC (CEN) system and SRM 7.0 ABAP system.
    Hi,
    Contradicting statements.
    However check the link for CCMS Configuration:
    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/30237989-0901-0010-70a4-944691eb5e52 [original link is broken]
    Ideally the CEN system should be a double stack i.e. best if its a solution manager.
    Regards,
    Srikishan

  • How to deploy reports to anothe managed Server (Weblogic)

    Hi everyone
    I would like to know how could i deploy reports to another managed server in weblogic.
    When i first installed forms and reports it asked me to where i want to deploy and everything works fine.
    But i have created another managed server  afterwards and i would like this server to be configured with reports, but it won´t work.
    I don´t know if i have to run the installer again selecting this new server or is there another better way to do this.
    Thanks for your help
    Greetings
    Mateo.

    I think you need to extend the domain instead of creating the managed instance manually through Admin console. By default when you create a domain using OSB domain template, it deploys all of the applications needed automatically to all the instances. If you are trying to do it manually, then you need to follow the documentation to see which applications need to be deployed to use OSB services.
    http://docs.oracle.com/cd/E23943_01/doc.1111/e15017/configure_osb.htm#BGBFGBFF
    To deploy a project, Login to SB console http://<admin>:<port>/sbconsole > System Administration > Export/Import Resources.

  • How to Sales Reports in CRM system

    Dear all,
    we have CRM and ECC system which are up and running.
    and also we have BW server connected to both systems. We want to see some reports like quotations report, sales orders report, deliveries report,etc... which are exclusively available in ECC system.
    Could any one of you explain me how to activate BW Infocubes and how to see Sd reports in CRM system with the help of BW system.
    Your suggestions will be highly appreciated.
    Thank you
    Raghu Ram

    Refer pre-configured scenarios and step by step guide here:
    http://help.sap.com/bp_biv170/html/BW/I15_EN_DE.htm
    For further more scenarios refer:
    http://help.sap.com/saphelp_nw70/helpdata/en/04/47a46e4e81ab4281bfb3bbd14825ca/frameset.htm

  • Printing a Customer Receivables Aging Report Doesn't Include PO #

    The standard Detailed Receivables Aging report uses variable 152 that is supposed to show the Cust/Vendor Ref No.  It doesn't show anything however.  I tried changing it to a database field and relating it to the document #, but that didn't pull in any data either.  How do I get that field to show?
    I'm running B1 2005 SP 01 PL 31.

    Ah Derek - the aging reports that take a bit of time to understand and cause some trouble if the users do not understand how the the reports are created.
    First - relating the <b>Document Number to a database</b> is not possible since those document numbers come from various tables (Invoice, Credit Memo, Journal Entry, and Payment tables).  I ran into this as one customer wanted to put the Posting Date on the report - took a good half hour to convince her the detail was not coming from one database.
    Second - I would suggest you <b>read the following notes:  723783 and 968174 </b>.  The notes might explain where you might have a small glitch.
    Third - I ran into the same situation with another client who had several fields not showing/printing.  I was extremely puzzled too until I found out that they had gone into the Print Layout Designer and <b>made the width of one field larger</b> (was it the BP Reference field?) and overlayed the document number (maybe they changed the <b>starting left  location on the general tab for BP Reference</b> to zero?).  I cannot remember exactly what caused it - one or the other.
    Fourth - they had another field not showing/printing as they had <b>unchecked the visible box</b> - no one fessed up to doing that one!
    Fifth - after finding those two points and listening to their other troubles, I said "start again time" and I went out to <b>create a new Aging Report from the system-provided template</b>.  I also wrote an <b>SQL that reported detail and roll-up</b> information using the Journal Entry table (joined with other tables) as a good second check for them.  All were happy again and I have not heard a word back from them - I guess their aging continues onward.
    Good luck - do you maybe feel like joining the "Start Again Time" crowd?  Maybe the best solution?
    Take care - Zal

  • Aging report by Revenue type

    Hi all gurus,
    Can some one tell me how to produce Aging reports by Revenue type such as fuel surcharge, freight, etc...
    Thank you,
    SONY

    You may have to create an infoset through SQ02 on table BSID which is for open items of customers. Play around with the dates fields to arrive at aging. assign the infoset to a user group. Then create a query through SQ01 after getting into the user group. You may search the forum for how to create a query.
    You may not find the due date readily, however you can build a formula either in the query or create an additional field in the infoset to derive the due date based on the baseline date and the terms of payment infomation available in this table itself.

  • Aging report by docuemnt currency

    Currently an aging report is run by Local currency, business partner curreny, or other specified currencies.
    Where the BP currency is set to multi currency, and transactions have occured in the local (AUD) and other currencies (USD, EUR), the aging report currently shows those transactions in AUD (local currency).
    How can an aging report based on docuemnt currency be produced? 
    Thanks Lisa

    Hi,
    There is no availability of the Document currency in the Aging Report.
    It would be difficult to have a Business Partner Balance appearing if the BP is a Multi Currency and has transactions in different currencies. Therefore, the option of displaying the Open Balance in Local currency is available.
    You have to other create a customized query to get the desired output.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for