Billing Statements with Crystal

Post Author: vish
CA Forum: General
We have several amortization schedules in excel. Is it possible to use crystal reports to automate reports based on a payment due each month stored in excel. Every payment is different. Sales support say if programmed correctly, it can be automated each month without having to create a new report each time for a new payment. Any guidance on how this might be accomplished as I don't see how in the demo.
The goal is to create a billing statement each month with minimizing the time to create it.
thanks.

Post Author: V361
CA Forum: General
Vish, if you have CRXI, look at the samples, some of these are pretty good.  You could set up the report, and have a parameter, the parameter, could prompt for the Excel (date) and run the report based on that.  Without a little more detail, I can not provide much of a solution.

Similar Messages

  • HT3702 I just purchased several items for I-pad and the billing statement says billed to store credit.  What does this mean ?  I have a $20  i-tunes card how do I pay with this ?

    I just purchased several items for I-pad and the billing statement says billed to store credit.  What does this mean ?  I have a $20  i-tunes card how do I pay with this ?  I'm an old **** and don't talk to anyone who plays with I-pad etc.

    That means it should have used your iTunes card credit = store Credit.
    You can check here...
    View Purchase History...
    Sign Into your Account... Click on your account name... Click on Account.... Purchase History
    http://support.apple.com/kb/HT2727
    If you have any problems...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Crystal Reports - Customer Statements with Ageing

    Hi,
    I have created a custom accounts receivable statement in Crystal reports 2011.
    However, I am currently facing some challenges:
    1. How can I put a specific date so that the statement will show data upto that date e.g. today is 22/05/2014, but I want to run a statement as 30/04/2014 - how do i achieve this?
    2. How can I insert formulas into crystal report that will allow me to calculate the ageing on the above as at date?
    Any help would be highly appreciated.

    Hi Nishit,
    Please try below Query.
    select T1.cardcode 'Bp Code',T1.cardname 'Name',sysdeb 'Debit Amount',syscred 'Credit Amount',
    T0.BALDUEDEB as 'Balance Due',
    case T0.transtype
    when '13' then 'INV'
    when '14' then 'AR CN'
    when '24' then 'INCOMING'
    else 'Other'
    end 'Type',
    Ref1,
    fccurrency 'BP Currency',
    CONVERT(VARCHAR(10), refdate, 103) 'Posting Date',
    CONVERT(VARCHAR(10), duedate, 103) 'Due Date',
    CONVERT(VARCHAR(10), taxdate, 103) 'Doc Date' ,
    CASE
    when (DATEDIFF(dd,refdate,current_timestamp))+1 < 31
    then
    case
    when syscred <> 0 then -syscred
    else sysdeb
    end
    end "0-30 days",
    case when ((datediff(dd,refdate,current_timestamp))+1 > 30
    and (datediff(dd,refdate,current_timestamp))+1< 61)
    then
    case
    when syscred <> 0 then -syscred
    else sysdeb
    end
    end "31 to 60 days",
    case when ((datediff(dd,refdate,current_timestamp))+1 > 60
    and (datediff(dd,refdate,current_timestamp))+1< 91)
    then
    case
    when syscred <> 0 then -syscred
    else sysdeb
    end
    end "61 to 90 days",
    CASE
    when (DATEDIFF(dd,refdate,current_timestamp))+1 > 90
    then
    case
    when syscred= 0 then sysdeb
    when sysdeb= 0 then -syscred
    end
    end "90 + days"
    from dbo.JDT1 T0
    INNER JOIN dbo.OCRD T1 ON T0.shortname = T1.cardcode and T1.cardtype = 'c'
    where T0.intrnmatch = '0' and T0.BALDUEDEB != T0.BALDUECRED and t1.CardCode='[%0]'
    ORDER BY T1.CARDCODE, T0.taxdate
    Hope this help
    Regards::::
    Atul Chakraborty

  • Query Engine report error with Crystal Report 9 And MS SQL SErver 2000

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...
    Refer the above statement highlighted in BOLD. That statement is WRONG. Select what ???? Try any one of the below statement,
    select ''
    --or
    select 0
    --or
    select null
    Regards, RSingh

  • When I try to open a pdf billing statement it opens a blank web page and does not download the pdf or open its reader. Why not?

    I click on a link to download last months billing statement for say my phone provider. A new web page opens that is blank. The pdf file that is supposed to download and open up in Adobe or other PDF reader does not show up or open up.

    You can open with any of the following (if they are installed on your ipad) by tapping on the PDF file
    1. iBooks
    2. Adobe Reader
    3. GoodReader
    4. Quickoffice
    5. And many more

  • Problems deploying VS 2005 Web Site with Crystal Reports

    If it's not one assembly reported missing, it's another. Runs fine on my local machine, but can't deploy to a test environment on my company's server. How can I force crystal to install everything on the server that is needed so that my clients (end users) can run this report?
    We are not running Crystal RAS.
    When I set up my msi, I made sure to set it to take assemblies from my local machine. Yet, my local machine does not seem to contain all of the assemblies that it needs. They're not showing up in the bin anyway.
    I am using non-embedded report files (as you can see from my code below) so that I can change reports on the fly, if necessary without recompiling the entire app.
    I am using the ReportDocument object.
    Error as follows (when run from any desktop) in IE.
    Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Source Error:
    Line 21:         'Server.MapPath(strPath)
    Line 22:
    Line 23:         crMissing218 = New ReportDocument
    Line 24:
    Line 25:         Dim file As String = Server.MapPath("\reports\CrystalReports\crmissing218.rpt")
    Source File: C:\Inetpub\wwwroot\MicsaReports\Missing218s.aspx.vb    Line: 23
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
    === Pre-bind state information ===
    LOG: User = NT AUTHORITY\NETWORK SERVICE
    LOG: DisplayName = CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    (Fully-specified)
    LOG: Appbase = file:///C:/Inetpub/wwwroot/MicsaReports/
    LOG: Initial PrivatePath = C:\Inetpub\wwwroot\MicsaReports\bin
    Calling assembly : CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Inetpub\wwwroot\MicsaReports\web.config
    LOG: Using host configuration file:
    ?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Post-policy reference: CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    Stack Trace:
    [FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +0
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
       Missing218s.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\MicsaReports\Missing218s.aspx.vb:23
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
    Any help with this would be most appreciated. Is there a KB that deals with deploying a VS 2005 WEB SITE with Crystal?
    Thank you,
    Bob

    Okay. So I installed the correct MSMs, opened the deployment document that came with it entitled, "Crystal Reports for .net Framework 2.0 - Deployment using Merge Modules" and got to page 4. At the bottom of page 4. It had me create a new Web Setup Project. The MSMs are included in the project, as they should be.
    On page 4, #7, it says "Build the project."
    #8 says Run your development setup.
    There are 3 panes on my VS interface (4 including the Solution Explorer). To me, they look like they need the information regarding what Web Site this is to deploy.
    I don't see any instructions on how to do this. I just blew away my old MSIs that I created because the previous document said not to use them.
    So, how do I add my Web Site to these panes?
    Thank you for your help with this.
    Bob

  • How to Choose Document Number of Marketing Documents with Crystal Reports

    Dear Experts,
    I am trying to prepare a simple marketing document, such as a sales order, with Crystal Reports Basic 2008.
    [Goal]
    Being able to choose the document number of a particular sales order when I open Crystal Reports from SBO.
    [Problem]
    The document in Crystal Reports shows nothing, although I can choose a document number when Crystal Reports opens.
    [Parameters I set up]
    Parameter Fields Screen
    List of Values: Dynamic
    Value: DocNum
    Parameters: My Parameters
    Select Expert Screen
    {ORDR.DocNum} = {?Document Number}
    [Crystal Reports Design]
    Report Header
    SALES ORDER
    Page Header
    ORDER#: (ORDR, DocNum)
    BILL TO: (ORDR, CardName) (ORDR, Address)
    Details
    ITEM#: (RDR1, ItemCode)
    ITEM NAME: (RDR1, Dscription)
    QTY: (RDR1, Quantity)
    PRICE: (RDR1, Price)
    Total: (RDR1, LineTotal)
    Page Footer
    TOTAL DUE: (ORDR, DocTotal)
    Thank you for your help,
    --Toshi

    Hi Toshiomi,
    The parameter fields should be
    List of Values: Static
    Value: {ORDR.DocNum}
    Parameters: DocNo
    Type: Number
    and in the Select Expert screen
    {ORDR.DocNum} = {?DocNo}
    I hope this will solve your problem in the most efficient way.
    Thanks,
    Nazar
    Edited by: Nazar N on Dec 22, 2009 10:52 AM

  • How to use union statement with declare & set function?

    Hi Experts,
            i  have small query about how to use union statement with declare & set function?
    Example as below :
    DECLARE @name AS date
    Declare @name2  AS date
    /* SELECT FROM [2013].[dbo].[OINV] T0 */
    /* WHERE */
    SET @name = /* T0.DocDate */ '[%1]'
    SET @name2 = /* T0.DocDate */ '[%2]'
    select  '2013',t5.U_salmannm,t1.CardName,t2.sumapplied as CollectionAmount,t2.DcntSum ,t3.DocTotal as InvoiceTotal,
    datediff(dd,t3.DocDate,t1.Docdate) as Days
    from 2013.dbo.orct t1
    inner join 2013.dbo.RCT2 t2 on t1.DocNum = t2.DocNum
    left join 2013.dbo.oinv t3 on
    t3.docentry = t2.baseAbs
    inner join 2013.dbo.ocrd t4 on t1.Cardcode = t4.CardCode
    inner join [2013].[dbo].[@CQ_RTSM] t5 on t4.U_BeatCode = t5.U_RoutCode
    where t2.DcntSum <> 0.000000 and t3.DocDate between [%1] and [%2]
    Union
    /* SELECT FROM [2014].[dbo].[OINV] T0 */
    /* WHERE */
    SET @name = /* T0.DocDate */ '[%1]'
    SET @name2 = /* T0.DocDate */ '[%2]'
    select  '2014',t5.U_salmannm,t1.CardName,t2.sumapplied as CollectionAmount,t2.DcntSum ,t3.DocTotal as InvoiceTotal,
    datediff(dd,t3.DocDate,t1.Docdate) as Days
    from 2014.dbo.orct t1
    inner join 2014.dbo.RCT2 t2 on t1.DocNum = t2.DocNum
    left join 2014.dbo.oinv t3 on
    t3.docentry = t2.baseAbs
    inner join 2014.dbo.ocrd t4 on t1.Cardcode = t4.CardCode
    inner join [2014].[dbo].[@CQ_RTSM] t5 on t4.U_BeatCode = t5.U_RoutCode
    where t2.DcntSum <> 0.000000 and t3.DocDate between [%1] and [%2]

    You have to create stored procedure in SQL only .
    Like u must have create for Crystal .
    You can execute procedure in query manager but you have to enter parameter manually..
    example
    Exec @Test '20140101' '20140501'
    Every time user has to enter it manually in yyyymmdd format in case of date parameters.
    Example
    Create Proc [@Test]
    as begin
    DECLARE @name AS date
    Declare @name2  AS date
    /* SELECT FROM [2013].[dbo].[OINV] T0 */
    /* WHERE */
    select  '2013',t5.U_salmannm,t1.CardName,t2.sumapplied as CollectionAmount,t2.DcntSum ,t3.DocTotal as InvoiceTotal,
    datediff(dd,t3.DocDate,t1.Docdate) as Days
    from 2013.dbo.orct t1
    inner join 2013.dbo.RCT2 t2 on t1.DocNum = t2.DocNum
    left join 2013.dbo.oinv t3 on
    t3.docentry = t2.baseAbs
    inner join 2013.dbo.ocrd t4 on t1.Cardcode = t4.CardCode
    inner join [2013].[dbo].[@CQ_RTSM] t5 on t4.U_BeatCode = t5.U_RoutCode
    where t2.DcntSum <> 0.000000 and t3.DocDate between @Name and @Name2
    Union
    /* SELECT FROM [2014].[dbo].[OINV] T0 */
    /* WHERE */
    select  '2014',t5.U_salmannm,t1.CardName,t2.sumapplied as CollectionAmount,t2.DcntSum ,t3.DocTotal as InvoiceTotal,
    datediff(dd,t3.DocDate,t1.Docdate) as Days
    from 2014.dbo.orct t1
    inner join 2014.dbo.RCT2 t2 on t1.DocNum = t2.DocNum
    left join 2014.dbo.oinv t3 on
    t3.docentry = t2.baseAbs
    inner join 2014.dbo.ocrd t4 on t1.Cardcode = t4.CardCode
    inner join [2014].[dbo].[@CQ_RTSM] t5 on t4.U_BeatCode = t5.U_RoutCode
    where t2.DcntSum <> 0.000000 and t3.DocDate between
    between @Name and @Name2
    end

  • SAP 8.8 - statement in crystal report

    Hi,
    We have imported layout and reports available in SAP 8.8 Information Center, however, Customer statement (in Crystal version) does not seem to be part of it.
    Will statement in Crystal report version be released in any near future?

    Hi Paulo,
    I am aware that the Crystal report layout available for download.  Unfortunately Customer statement is not one of them.
    Yes, it is good that Crystal report is provided as a report writing tools.  However, we need to look beyond that.
    Customer Statement is expected as standard report in all accounting packages and is a document that needs to be sent to third party, ie the customers.
    Therefore, the presentatipon of it is important and also the information required is often more than what the existing one has.
    The problem is, the data on the existing customer statement are populated by the program and what we can see is just field type "text".
    The following screnarios are not taken care of.
    Example:
    1. It is normal that there are part payment invoice.
    The normal request is showing original invoices amount, applied details (ie the receipts/credit notes applied against it) and also the outstanding balance.
    2. Posting Date and Document Date are not the same.
    SAP B1 allows posting date and document date to be different, but the Document Date fields is not avaialble in PLD.
    3. No transactions available for the period.
    Customer has no transaction in 1 March 2009 - 30 Apr 2009, however, there are opening balance prior to March 2009.
    It is normal expectation that when you run the customer statement for 1 March 2009 to 30 March 2009, it will still produce a statement, with the prior balance row populated.
    However, it just does not print the statement at all.
    So, Customer has not choice but to keep posting date from blank. 
    These are just some of the problems. 
    I would hope SAP could look into this standard report, to add to the list, Stock Aging and Bank Reconciliation report should also be looked into.
    Regards,

  • Someone using my credit card. Saw my billing statement. I dont purchase on feb 18 it cost usd 34.99 in peso 1,609.41 but I have never received any receipt I bought it. I can send to u my credit card paper bill. Pls explain to me. Who bought it?

    Someone using my credit card. Saw my billing statement. I dont purchase on feb 18 it cost usd 34.99 in peso 1,609.41 but I have never received any receipt I bought it. I can send to u my credit card paper bill. Pls explain to me. Who bought it? What apple id who bought that big amount of app. Pls help me. Its to expensive. I want who/what apple id sign in and purchase app and using my credit card. Pls reply. Thank you so much.

    You need to contact Applecare at AppleCare phone number: (800)-694-7466, and ask to speak with iTunes consumer account protection.

  • Problem with Crystal report viewer

    I am using Crystal viewer 2008 with Crystal report 2008.
    I am using a static parameter.  When running with viewer I can not clik on modify to change the parameter because the modify button is grey.
    Help ty.
    Also where can I read limit of using Crystal Viewer ?
    And how much to get something better ?

    You can update the parameters using Crystal Viewer 2008. I had the same problem with the "CHANGE" button being grayed out.
    Go to your Report -> Select Expert -> and now you have three choices: Record, Group, Saved Data. Put your select statement using your parameters in the Saved Data only (remove it from Record if already there).
    It works awesome and even works on dynamic parameters!

  • Error when startup WPF Application with Crystal Report !

    Hi!
    I have an error when build & run a WPF Application with Crystal Report. Can anyone help me ?
    First, I created 2 project, one is the WPF Application & one is Shell Start Up project (to show loading screen, then show main window when loaded, is WPF Application too)
    WPF Application:
    /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window {
            public MainWindow() {
                InitializeComponent();
               // crViewer is SAPBusinessObjects.WPF.Viewer.CrystalReportsViewer
                crViewer.ViewerCore.ReportSource = new CrystalReport1(); // Assign report to viewer
    Shell Startup:
    [STAThread]
            public static void Main(string[] args) {
                AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
                Application app = new Application();
                ShowLoadingWindow(); // Show loading screen
                MainWindow mw = new MainWindow();
                mw.Show();
                app.Run();   
            static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) {
                // Exception was throw here
    And here is the exception & it's stack trace
    Message:  Object reference not set to an instance of an object.
    Stacktrace:
    at SAPBusinessObjects.WPF.Viewer.ViewerCore.<>c__DisplayClass1.<set_ReportSource>b__0()
       at SAPBusinessObjects.WPF.Viewer.DelegateMarshaler.<>c__DisplayClass29.<QueueOnThreadPoolThread>b__28(Object )
       at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

    As far as I know the error is typically due to the fact that I'm trying to address an object that has not been set. E.g.; this could be due to  bad scoping, bad inits/constructs, trying to access a member of a class without instance object and so on. I suspect this is a design \ code issue. You might be able to confirm this using [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx].
    Other than that, I'd recommend creating a phone case here:
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    - Ludek

  • Customer Statement with opening and closing balances

    Dear Forum,
    The users want to generate the Customer Statement with opening and closing balances like the traditional one. The statement now generated gives the list of all open items as on date, but the users want the statement with opening balances as on the date of the begining of the range specified and the closing balance at the end of the period for which the statement is generated. Is there a way to generate the same from the system.
    Thanks for the help.
    Regards,

    Hi,
    SPRO> Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Line Items > Correspondence > Make and Check Settings for Correspondence
    You can use the program RFKORD10 with correspondance type SAP06 for your company code
    This program prints account statements and open items lists for customers and vendors in letter form. For account statements, all postings between two key dates, as well as the opening and closing balance, are listed.
    Regards,
    Gaurav

  • Error while replacing IF statements with DECODE function in procedure

    Hi All,
    I have created a procedure which has nested IF statements. Now I want to replace the IF statements with DECODE functions to improve performance.
    Procedure:
    IF (var_int_sev = '0')
    THEN
    var_sev := '2';
    ELSE
    SELECT sev
    INTO var_int_sev
    FROM errorconfig
    WHERE errorcode = var_errorcode;
    var_sev := var_int_sev;
    END IF;
    I converted the above IF statement into DECODE function as mentioned below:
    var_Sev := DECODE(var_int_sev,0,2,SELECT severity FROM errorconfig WHERE errorcode=var_ErrorCode)
    But it throws below error at the select statement used inside DECODE.
    Error(58,51): PLS-00103: Encountered the symbol "SELECT" when expecting one of the following: ( - + case mod new not null others <an identifier> <a double-quoted delimited-identifier> <a bind variable> avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date <a string literal with character set specification> <a number> <a single-quoted SQL string> pipe <an alternatively-quoted string literal with character set specification> <an alternativ
    Can someone help me in converting the IF to DECODE in the above case. Also how can we use a select statement inside decode.

    instead of trying to rewrite all your code and hoping that the performance will be better, it's a better option to investigate and find out which part of your application is slow
    read this:
    When your query takes too long ...

  • Select statement with LIMIT

    I m trying to find if LIMIT is a part of the select statement and if works like
    set rowcount 1 in sybase....if anyone can post the generic select statement with LIMIT in it that would be great!
    any help or input will be greatly appreciated
    Thanks!

    Hallo,
    i don't know sybase, but it is probably rownum
    select * from scott.emp
    where rownum < 3
    Regards
    Dmytro

Maybe you are looking for