Return Report

Hello Experts,
I would like to create a return report from AR credit memo.How would I include the RMA number in the report?
This is what Was generated so far,but the results do not seem to be accurate.
SELECT T0.[CardName], T0.[DocDate], T0.[Comments], T0.[DocNum], T0.[CardCode], T0.[DocTotal], T1.[ItemCode], T1.[OpenQty], T1.[Dscription], T1.[Quantity], T3.[U_NBS_RMANum] FROM ORIN T0  INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OHEM T2 ON T0.OwnerCode = T2.empID INNER JOIN ORDN T3 ON T2.empID = T3.OwnerCode
Thanks

Hi,
Try this:
SELECT DISTINCT T0.CardName, T0.DocDate, T0.Comments, T0.DocNum, T0.CardCode, T0.DocTotal, T1.ItemCode, T1.OpenQty, T1.Dscription, T1.Quantity, T4.U_NBS_RMANum
FROM dbo.ORIN T0
INNER JOIN dbo.RIN1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN dbo.OHEM T2 ON T0.OwnerCode = T2.empID
LEFT JOIN dbo.RDN1 T3 ON T3.TrgetEntry = T0.DocEntry AND T3.LineNum=T1.BaseLine
LEFT JOIN ORDN T4 ON T4.DocEntry = T3.DocEntry
Thanks,
Gordon

Similar Messages

  • SOAP Messaging Using Crystal Reports Web Services To Return Report in PDF or Excel Format

    All,
    I am trying to use SOAP messaging to fetch a Crystal Report through a Managed repository and getting back either a PDF or Excel file. For some reason, any reference to web services on this site I cannot access. Like thread, "Using Web Services on the Crystal Report Server XI to return reports".  Can anyone point in a direction to Web Service Calls API documentation or does this not exist ?????? I would hope this product has this capability.
    Thanks In Advance,
    Tom

    XI Release 2 Service Pack 2 introduced the Business Process BI Web Services, that allow you to retrieve reports using SOAP messaging.
    It's documented here:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_portal/doc/wssdk_bpbi_doc.pdf
    Sincerely,
    Ted Ueda

  • VAT return report

    I want to generate a report for VAT return i.e mothly purchase amount and VAT 4% and 12.5% on the same. In which report I can get this figures
    Atul kulkarni

    Hi,
    Pl check following report: F.12.
    Hope that it will solve your issue.
    Regards,
    Samar

  • Using Web Services on the Crystal Report Server XI to return reports

    <p>Hi,</p><p>I&#39;m trying to setup for the first time a Crystal Reports Server XI R2 and put a couple of reports onto the server.  This is so I can access the reports on the crystal reports server using using the crystal web services and finally display the reports in an ASP.NET web application.</p><p>So far I have installed the server, created a couple of reports, put them on the server, and tested to see that I can access the reports using the Central Management Console.  This all works fine and the reports are returned.</p><p> Ok, now for the bit that&#39;s not working.</p><p> I&#39;ve got a C# ASP.NET web application, and I&#39;ve followed a couple of <a href="http://support.businessobjects.com/documentation/product_guides/cr_net/vs_2005/html/crtsktutorialsotherdynamicpulldownwebservicehelpermethod.htm" target="_blank" title="Adding a Helper Method to Access Crystal Reports Web Services">tutorials</a> to give me an idea of what I should be doing to use the Web Services that are provided:  </p><ul><li>ServerFileReportManager.asmx</li><li>ServerFileReportService.asmx </li></ul><p>However, it appears that when I list the child objects on the crystal server:</p><blockquote><font size="2" color="#008080"><font size="1"><em><font size="2"><p><font size="1">serverFileReport = <font color="#0000ff">new</font> <font color="#008080">ServerFileReport</font>();<br /></font><font size="1">serverFileReport.ReportPath = <font color="#800000">""</font>;<br /></font><font size="1"><br />reportManagerRequest = <font color="#0000ff">new</font> <font color="#008080">ReportManagerRequest</font>();<br /></font><font size="1">reportManagerRequest.ExtraData = serverFileReport.GetExtraData();<br /></font><font size="1">reportManagerRequest.ParentUri = serverFileReport.ToUri();<br /></font><font size="2" color="#008080"><font size="1"><em><br />ReportManagerResponse</em></font></font><font size="1"><em> reportManagerResponse = <font color="#0000ff">new</font> <font color="#008080">ReportManagerResponse</font>();<br />reportManagerResponse = serverFileReportManagerProxy.ListChildObjects(reportManagerRequest);</em></font></p></font></em></font></font></blockquote><p><font size="1"><font size="1">I always get a</font> <font size="2"><font size="1"><em>reportManagerResponse.ReportUris</em></font></font></font><font size="1"> with a count of 0.  Now the thing is I know that I have a couple of reports on the Crystal Server, but for some reason they&#39;re not been picked up.   I must be missing something.</font></p><p><font size="1"><font size="1">Does anyone have any ideas??? Please</font>!</font></p><p>Many thanks in advance,<br />Chris</p><p>Current Set-up:</p><ul><li>Crystal Reports Server XI R2 (11.5)</li><li>Virtual Directory of the web services: crystalreportviewers115 </li><ul><li>(Physical Path - C:\Program Files\Business Objects\common\3.5\crystalreportviewers115)</li></ul><li>Development Environment: Visual Studio 2005</li></ul>

    <p>I looks like your mixing technologies here.   You are using <strong>Crystal Report Server</strong> and the <strong>Crystal Report Web Services</strong> that come with Visual Studio.</p><p>I know that this might seem like they are the same product, and the naming does seem confusing but I&#39;ll try and make it easy for you to understand.</p><p><strong>Crystal Reports Server</strong> - This is a managed reporting solution which allows you to distribute your reports via the web.  It has features like scheduling and built in security.</p><p>It appears that you have a handle on what Crytal Report Server is from what you have been able to accomplish those far.  You have created your report and published it to Crystal Report Server and viewed it via the Central Management Console.  Crystal Reports Server has two methods for accessing the reports programatically.</p><p>1. The Enterprise SDK</p><p>2. The Web Services SDK</p><p><a href="/node/353">Check out this white paper that compares these two SDKs </a></p><p><a href="/node/256">This paper describes the Web Services SDK.</a></p><p>In the above paper there is a getting started section which points you to the Developer Library which shows you how to install the web services on your Crytal Reports Server machine.</p><p>Crystal Reports Server does not have the Business Object web services installed by default so I would suggest following the directions in the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm">Developer Library.</a></p><p>The directions wont talk about Crystal Reports Server but these are the directions to get the Web Services installed. </p><p>There is another web services technology which you are writing code for which is called <strong>Crystal Report Web Services.  </strong>This technology comes with Visual Studio 2003.  It provides un-managed reports via webservices.  Un-managed means these reports are not published to Crystal Reports Server.</p><p>So basically your problem is that your code is for <strong>Crystal Report Web Services </strong>but you are trying to view reports published to <strong>Crystal Reports Server.</strong>  To take advantage of scheduling and security and web service access I would suggest using Crystal Reports Server and install the Business Objects Platform webservices to access the reports. </p><p>I hope that&#39;s clear.<br /></p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Prompts for returning report

    SQL*Plus
    What techniques are there for prompting the user in inputting a primary key that will be used to produce a report based on one table?
    For example the table is:
    CUSTOMER(customer_id, name, address)
    Message was edited by:
    Arlas

    This doesn't seem to work.
    ACCEPT customer_id CHAR PROMPT 'Enter Customer ID > '
    select      c.customer_id, a.account_id, ca.account_type, o.order_id
    from     customer c, account a, customer_account ca, customer_order co, order o
    where     a.account_id  =  c.account_id
    and     c.customer_id = ca.customer_id
    and     c.customer_id = co.customer_id
    and     co.order_id   = o.order_id
    and     c.customer_id = '&customer_id';It returns:
    old   8:  and c.customer_id = '&customer_id'
    new   8:  and c.customer_id = ''
    no rows selectedIt seems as if the ACCEPT statement is of o use because it skips past the prompt and uses no value.
    I tried something else. I tried to first give the ACCEPT statment separately and game a customer ID, then i input the select statement and now it seems to work. Unfortunately it seems need to do it this way although i need to give 2 inputs for just one report.
    Ideas?
    Message was edited by:
    Arlas

  • WHAT IS T-CODE FOR ADVANCE TAX RETURN REPORT

    hi MASTERS
    WHAT IS T-CODE FOR
    ADVANCE TAX RETURN REPORT

    Dear,
    Create one special G/L for advance payment to site engineer. For e.g. you have create special G/L T - Advance to site engineer.
    Whenever you make advance payment of Rs. 1000 to site engineer the entry will be - Use transaction F-02
    PK              Account                 Sp G/L          Amount
    29               Vendor a/c                 T                 1000
    50               Cash a/c                                       1000
    When engineer returns Rs. 200. then - Use transaction F-02
    PK              Account                 Sp G/L          Amount
    39               Vendor a/c                 T                 200
    40               Bank a/c                                       200
    It is better if you create your own document type for e.g. ZR - Return of adv payment from engineer so that this transaction will identified very easily.
    Regards,
    Chintan Joshi.

  • Customer returns report with f.s,and t.s with coding....used vbak,kna1,

    hai
    my  name is raghu i want some information....any one given functional spech....how to write technical spech with coding....plse send as soon as possible
    plse some example send to me...
    thanks
    raghu

    tell me
    can u have any model ...with f.s and t.s...with coding
    plse send i can prepare ...that is urgent
    raghu

  • VAT Return(Tamilnadu Format) using XL Reporter

    Hi Guru's,
            I need Monthly VAT Return(*.rcr) Report
            I have a VAT Return report for delhi state,But its too different when compare to Tamilnadu format.So,anyone completed these Report plz send it to me.
    Otherwise guide me how to make changes.
    Right Click->edit.Its open excel sheet then how to make changes. any Idea.
    Regards,
    Guru

    But in edit mode how the fields are linked with database fields,
    if u r havinh the format for tamilnadu govt.plz send it.
    Edited by: Darius Heydarian on Sep 16, 2008 11:00 AM

  • Report export to excel doesn't work correctly

    I've seen this problem is quite common, and some workarounds but none is correct for me.
    I have a SQL function returning report with several filters (something based on the Issues report of the Issue Tracking Application, APEX example).
    In my case seems to work correctly only when I hard code the value of :P15_CANVI_DE_CLUB. I've tried Denes Kubicek solution of setting a computation before header of this item, but it does not work. Unluckily Denes package can't be used with SQL function returning report so I cannot use it to print my report.
    Anyone knows how to face this flaw?
    Thanks for your help.
    That's the SQL function
    declare
    q varchar2(20000); -- query tasques
    q0 varchar2(4000); -- query suport subtasques
    q1 varchar2(4000); -- query subtasques
    w varchar2(4000) ; -- where, condició de filtres
    w1 varchar2(4000) ; -- where, condició de tasques
    w2 varchar2(4000) ; -- where, condició de subtasques
    w21 varchar2(4000) ; -- where subtasques
    w22 varchar2(4000) ; -- where subtasques amb filtres de pantalla
    begin
    -- q és la consulta de tasques ("TAS_TAS_ID" is null) a aquesta
    -- consulta s'ha d'unir q1 que són les subtasques
    q:= 'select null as "Tasca", '||
    '"GES_GES_ID", '||
         '"TAS_ID", '||
         '"TITOL", '||
         '"DESCRIPCIO", '||
         '"ASSIGNADA", '||
         '"DATAINICI", '||
         '"PREVISIO_FI", '||
         '"DATA_FINAL", '||
         '"PRIORITAT", '||
         '"SITUACIO", '||
         '"ORIGEN", '||
         '"NUMERADOR", '||
         '"ANY_NUMERADOR", '||
    '"CODI_NUMERADOR", '||
    '"NUMERO", '||
    '"AGR_ASS_ASS_ID", '||
         '"AGR_CODI", '||
         '"TAS_TAS_ID", '||
         '"TAS_GES_GES_ID", '||
         '"GES_GES_ID_ESTA_ASSIGNADA", '||
    '"GESTOR", '||
         '"PUBLICA", '||
         '"GRUP_TASQUES", '||
         '"NOM", '||
         '"COGNOM1" '||
    'from     "STASVWREPORT_TASQUES" ';
    -- Les següents línies calculen les condicions de filtres de pantalla
    -- Filtre origen
    if :P15_ORIGEN!='-1' THEN
    w:= w||' AND "STASVWREPORT_TASQUES"."ORIGEN"=:P15_ORIGEN';
    end if;
    -- Filtre prioritats
    if :P15_PRIORITATS<>'-1' then
    w:= w||' AND "PRIORITAT"=:P15_PRIORITATS';
    end if;
    -- Filtre situacions
    if :P15_SITUACIONS<>'-1' then
    w:= w||' AND "SITUACIO"=:P15_SITUACIONS';
    end if;
    -- Filtre grup de tasques
    w:=
    case :P15_GRUPS_TASQUES
    when '%' then w||' AND ("STASVWREPORT_TASQUES"."AGR_CODI" LIKE (''%'') or
    "STASVWREPORT_TASQUES"."AGR_CODI" IS NULL)'
    when '-2' then w||' AND ("STASVWREPORT_TASQUES"."AGR_CODI" IS NULL)'
    else w||' AND "STASVWREPORT_TASQUES"."AGR_CODI"=:P15_GRUPS_TASQUES and '||
    '"STASVWREPORT_TASQUES"."AGR_ASS_ASS_ID"=:ASSOCIAT '
    end;
    -- Filtre obertes/tancades
    if :P15_OBERTES='O' then
    w:= w||' AND "DATA_FINAL" IS NULL';
    end if;
    if :P15_OBERTES='T' then
    w:= w||' AND "DATA_FINAL" IS NOT NULL';
    end if;
    -- Filtre títol/DESCRIPCIO
    IF :P15_TITOL_DESCRIPCIO=1 THEN
    IF :P15_TITOL IS NOT NULL then
    w:= w || ' AND TRANSLATE(UPPER("STASVWREPORT_TASQUES"."TITOL")';
    w:= w || ',''ÀÁÈÉÍÏÒÓÚÜ'', ''AAEEIIOOUU'') ';
    w:= w ||'LIKE ';
    w:= w ||'TRANSLATE(UPPER(''%';
    w:= w ||:P15_TITOL||'%''),''ÀÁÈÉÍÏÒÓÚÜ'', ''AAEEIIOOUU'')';
    END IF;
    ELSE
    IF :P15_TITOL IS NOT NULL then
    w:= w || ' AND TRANSLATE(UPPER(';
    w:= w || '"STASVWREPORT_TASQUES"."DESCRIPCIO")';
    w:= w || ',''ÀÁÈÉÍÏÒÓÚÜ'', ''AAEEIIOOUU'') ';
    w:= w ||'LIKE ';
    w:= w ||'TRANSLATE(UPPER(''%';
    w:= w ||:P15_TITOL||'%''),''ÀÁÈÉÍÏÒÓÚÜ'', ''AAEEIIOOUU'')';
    END IF;
    END IF;
    -- Filtre propietari/gestor
    if :P15_GESTOR_PROPIETARI='-1' then
    w:= w||' AND ("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR) ';
    end if;
    if :P15_GESTOR_PROPIETARI='-2' then
    w:= w||' AND ("STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR) ';
    end if;
    if :P15_GESTOR_PROPIETARI='-3' then
    w:= w||' AND (("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';
    w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';
    w:= w||'OR ("STASVWREPORT_TASQUES"."AGR_ASS_ASS_ID"=:P15_CANVI_DE_CLUB ';
    w:= w||' AND "STASVWREPORT_TASQUES"."PUBLICA"=''S''))';
    end if;
    if :P15_GESTOR_PROPIETARI='-4' then
    w:= w||' AND ("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';
    w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';
    end if;
    -- Filtre dates
    if :P15_SELECCIO_DATES = '1' and :P15_DATA_INICI_F is not null then
    w:= w|| 'and ("STASVWREPORT_TASQUES"."DATAINICI" >= :P15_DATA_INICI_F ' ;
    w:= w|| 'and "STASVWREPORT_TASQUES"."DATAINICI" <= :P15_DATA_FI_F) ';
    end if;
    if :P15_SELECCIO_DATES = '2' and :P15_DATA_INICI_F is not null then
    w:= w|| ' and ("STASVWREPORT_TASQUES"."PREVISIO_FI" >= :P15_DATA_INICI_F and ';
    w:= w|| '"STASVWREPORT_TASQUES"."PREVISIO_FI" <= :P15_DATA_FI_F) ';
    end if;
    if :P15_SELECCIO_DATES = '3' and :P15_DATA_INICI_F is not null then
    w:= w|| 'and ("STASVWREPORT_TASQUES"."DATA_FINAL" >= :P15_DATA_INICI_F and ';
    w:= w|| '"STASVWREPORT_TASQUES"."DATA_FINAL" <= :P15_DATA_FI_F) ';
    end if;
    if :P15_CALCULAR_NUMERO='NUM' then w:= '"STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"="STASTBGESTORS"."GES_ID"(+) '||
    'and "STASVWREPORT_TASQUES"."AGR_ASS_ASS_ID"="STASTBAGRUPACIO"."ASS_ASS_ID"(+) '||
    'and "STASVWREPORT_TASQUES"."AGR_CODI"="STASTBAGRUPACIO"."CODI"(+) ';
    w:= w||' AND (("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';
    w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';
    w:= w||'OR ("STASVWREPORT_TASQUES"."AGR_ASS_ASS_ID"=:P15_CANVI_DE_CLUB ';
    w:= w||' AND "STASVWREPORT_TASQUES"."PUBLICA"=''S''))';
    if :P15_CODIS_GRUPS!='-1' then
    w:= w||' and "STASVWREPORT_TASQUES"."CODI_NUMERADOR"=:P15_CODIS_GRUPS ';
    else
    w:= w||' and "STASVWREPORT_TASQUES"."CODI_NUMERADOR" is null ';
    end if;
    w:= w||' and "STASVWREPORT_TASQUES"."NUMERADOR"=:P15_NUMERO ';
    w:= w||' and "STASVWREPORT_TASQUES"."ANY_NUMERADOR"=:P15_ANY ';
    :P15_CALCULAR_NUMERO:='NO';
    end if;
    w1:= '"STASVWREPORT_TASQUES"."TAS_TAS_ID" is null ' ||w;
    q:= q || ' WHERE '|| w1;
    -- La mateixa consulta però seleccionant només els TAS_ID
    q0 := 'select "TAS_ID" '||
    'from "STASVWREPORT_TASQUES" ';
    q0:= q0 || ' WHERE '|| w1;
    -- q1 dóna les subtasques de les tasques triades a q
    -- (STASTBTASQUES"."TAS_ID" in(q0)) i a més a més les subtasques que
    -- cumpleixen les condicions de filtres de pantalla
    -- (TAS_TAS_ID is not null and w)
    q1 := 'select ''Subtasca'' as "Tasca", '||
    '"GES_GES_ID", '||
         '"TAS_ID", '||
         '"TITOL", '||
         '"DESCRIPCIO", '||
         '"ASSIGNADA", '||
         '"DATAINICI", '||
         '"PREVISIO_FI", '||
         '"DATA_FINAL", '||
         '"PRIORITAT", '||
         '"SITUACIO", '||
         '"ORIGEN", '||
         '"NUMERADOR", '||
         '"ANY_NUMERADOR", '||
    '"CODI_NUMERADOR", '||
    '"NUMERO", '||
    '"AGR_ASS_ASS_ID", '||
         '"AGR_CODI", '||
         '"TAS_TAS_ID", '||
         '"TAS_GES_GES_ID", '||
         '"GES_GES_ID_ESTA_ASSIGNADA", '||
    '"GESTOR", '||
         '"PUBLICA", '||
         '"GRUP_TASQUES", '||
         '"NOM", '||
         '"COGNOM1" '||
    'from     STASVWREPORT_TASQUES ';
    w21:= '"TAS_TAS_ID" IN ('||q0||')';
    w22:= '"TAS_TAS_ID" IS NOT NULL '||w;
    w2:='('||w21||') OR ('||w22||')';
    q1:= q1 || ' WHERE '|| w2;
    q:= q ||' UNION ' || q1;
    return q;
    end;

    Problem solved!!
    <br><br>
    See this part of the query:
    <br><br>
    if :P15_GESTOR_PROPIETARI='-3' then<br>
    w:= w||' AND (("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';<br>
    w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';<br>
    w:= w||'OR ("STASVWREPORT_TASQUES"."AGR_***_***_ID"=<FONT color=red>:P15_CANVI_DE_CLUB</FONT> ';
    w:= w||' AND "STASVWREPORT_TASQUES"."PUBLICA"=''S''))';<br>
    end if;<br>
    <br>
    when instead of :P15_CANVI_DE_CLUB I put a value (say ''EE'') it works correctly, finally I created an application item (ASSOCIAT) and when when I change :P15_CANVI_DE_CLUB I set :ASSOCIAT to the same value and the query is based on this application item:
    <br><br>
    if :P15_GESTOR_PROPIETARI='-3' then<br>
    w:= w||' AND (("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';<br>
    w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';<br>
    w:= w||'OR ("STASVWREPORT_TASQUES"."AGR_***_***_ID"=<FONT color=red>:ASSOCIAT </FONT>';<br>
    w:= w||' AND "STASVWREPORT_TASQUES"."PUBLICA"=''S''))';<br>
    end if;<br>
    <br>

  • Report region runs very slow, but its sql runs fast

    We have a page with a report region Type :SQL Query (plsq function body returning sql query) which runs very slow, pegging the tach on our db box for almost a minute before returning report rows. However, if we run the generated sql from sql plus, it returns all the rows in under 10 seconds with nary a blip on the box. Any idas how what could be causing this or how to debug?
    Thanks,
    Steve

    OK, here is the bad boy, shortly after our code that returns the data.
    declare
    rc__ number;
    simple_list__ owa_util.vc_arr;
    complex_list__ owa_util.vc_arr;
    begin
    owa.init_cgi_env(:n__,:nm__,:v__);
    htp.HTBUF_LEN := 63;
    null;
    null;
    simple_list__(1) := 'sys.%';
    simple_list__(2) := 'dbms\_%';
    simple_list__(3) := 'utl\_%';
    simple_list__(4) := 'owa\_%';
    simple_list__(5) := 'owa.%';
    simple_list__(6) := 'htp.%';
    simple_list__(7) := 'htf.%';
    simple_list__(8) := 'wpg_docload.%';
    if ((owa_match.match_pattern(p_string =>
    'f'
    /* */,p_simple_pattern =>
    simple_list__
    ,p_complex_pattern =>
    complex_list__
    ,p_use_special_chars =>
    false)))
    then
    rc__ := 2;
    else
    null;
    null;
    f(p=>:p);
    if (wpg_docload.is_file_download) then
    rc__ := 1;
    wpg_docload.get_download_file(:doc_info);
    null;
    null;
    null;
    commit;
    else
    rc__ := 0;
    null;
    null;
    null;
    commit;
    owa.get_page(:data__,:ndata__);
    end if;
    end if;
    :rc__ := rc__;
    end;
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 1 25.53 26.59 4492 20992 60 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 1 25.53 26.59 4492 20992 60 1

  • How to save Database Configuration setting to a Crystal Report Instance

    Hello,
    I'm using .net c# to create and run a schedule of a crystal report.
    I'm able to connect to BOE and succesffuly create the schedule instance and pass the parameters. but it's failing to run because I'm not providing it with the Database Logon credentials.
    I know there is a way to set the database confiuration on the report in CMC, but we don't want to do that so we can have a trail of who ran the report. We want to pass that through code when scheduling an instance. Can someone tell me how to do so.
    Thanks!

    ceReportObjects = ceInfoStore.Query(sQuery);
    //check for returned reports
    if(ceReportObjects.Count > 0)
         ceReportObject = ceReportObjects[1];
         ceReport = (Report)ceReportObject;
         //grab the report logons
         dbLogons = ceReport.ReportLogons;
         dbLogon = dbLogons[1];
         //set custom values
         //** NOTE: **
         //The easiest way to determine the proper custom logon values is to
         //successfully set custom logon values through the CMC first, then
         //transpose those values to this application
         dbLogon.UseOriginalDataSource = false;
         dbLogon.CustomDatabaseDLLName = "crdb_ado.dll";
         dbLogon.CustomServerName = "servername";
         dbLogon.CustomDatabaseName = "database";
         dbLogon.CustomUserName = "username";
         dbLogon.CustomPassword = "password";
         dbLogon.TableLocationPrefixes[1].MappedTablePrefix = "DatabaseName.dbo.";
         dbLogon.TableLocationPrefixes[1].UseMappedTablePrefix = true;
         //Create an interface to the scheduling options for the report.
         SchedulingInfo ceSchedulingInfo;
         ceSchedulingInfo = ceReport.SchedulingInfo;
         //run the report right now
         ceSchedulingInfo.RightNow = true;
         //run the report once only
         ceSchedulingInfo.Type = CeScheduleType.ceScheduleTypeOnce;
         //schedule report
         ceInfoStore.Schedule(ceReportObjects);
    Taken from a sample contained [here|https://smpdl.sap-ag.de/~sapidb/012002523100005921432008E/bexi_csharp_smpl.zip]

  • Calling a report

    Dear all,
    good morning,
    i am calling a report from a form and getting error like numeric value error.
    any one can help. form is running individuallu fine and also report as well.
    when i am trying to call form form in application only the problem is coming.
    in the form the code is like for calling..
    ELSIF :AZBJ_REPORT.REPORT_NAME ='REWT' AND :AZBJ_INPUT.CHK_XLS = 'Y' THEN ---RE WISE TELE CALLING REPORT $$$$$$$$$$$$$$$$$$$
              vRepName := 'RPT_RC_RUNNER_COLLECTION_HO2';
                        --AZBJ_MESSAGE('W',1.2)                 PRINT_WEB_REPORT(vRepName,'CSV','CSV','Delimited',v_param);     
         :AZBJ_INPUT.CHK_XLS := NULL;          
                        --AZBJ_MESSAGE('W',1.3);
    and the procedure print_web_report is
    PROCEDURE print_web_report (pRepName in varchar2, pDesType in VarChar2, pFileExt in varchar2,
    pDesFormat in varchar2, pRepParam in varchar2 ) IS
    report_id report_object;
    report_timer timer;
    report_file varchar2(50);
    output_file varchar2(1255);
    output_format varchar2(12);
    file_exten varchar2(5);
    report_handle varchar2(255);
    report_status varchar2(20);
    vrep varchar2(100);
    al_btn number ;
    print_output varchar2(100);
    vRepServer varchar2(100);
    vRepDesName varchar2(255);
    vVirtualPath varchar2(255);
    vBranch varchar2(5);
    BEGIN
    -- Set printer output format
    -- Format Extension Output Extension Notes
    -- PostScript use null rrpp Printed directly by orarrp.exe
    -- PCL PCL rrpp Printed directly by orarrp.exe
    -- Delimited - rrpt Printed directly by orarrp.exe
    -- Plain Text TXT rrpt Printed directly by orarrp.exe
    -- PDF PDF rrpa Passed to Acrobat to print
    -- RTF RTF rrpr Passed to word processor to print
    -- NOTE: HTML, HTMLCSS, HTMLCSSIE and XML formats not supported by orarrp
         --azbj_message('W','PRINTING');
    output_format := pDesType;
    if output_format = 'PCL' then
    file_exten := '.rrpp';
    elsif output_format = 'PDF' then
    file_exten := '.pdf';
    elsif output_format = 'RTF' then
    file_exten := '.rrpr';
    else
    file_exten := '.'|| pFileExt;-- .xls ; .csv ; .txt
    end if;
    output_file := get_application_property(USERNAME) || to_char(sysdate, 'YYYYMMDDHHMISS');
    output_file := output_file || file_exten;
    report_id := find_report_object('Report');
    report_file := lower(pRepName) ;
    vBranch := upper(substr(get_application_property(USERNAME),1,3));
    vRepServer := 'Rep90Orarep'; --Azbj_Pk0_Reports.getRepServer  (upper(pRepName),vBranch );
    vRepDesName := 'D:\reportstemp\'; --Azbj_Pk0_Reports.getRepDesName (upper(pRepName),vBranch );
    vVirtualPath := '/rep90temp/'; --Azbj_Pk0_Reports.getVirtualPath(upper(pRepName),vBranch );
    set_report_object_property(report_id, REPORT_FILENAME, report_file);
    set_report_object_property(report_id, REPORT_EXECUTION_MODE, BATCH);
    set_report_object_property(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
    set_report_object_property(report_id, REPORT_DESTYPE, FILE);
    set_report_object_property(report_id, REPORT_DESFORMAT, pDesFormat);
    set_report_object_property(report_id, REPORT_SERVER, vRepServer);
    set_report_object_property(report_id, REPORT_DESNAME, vRepDesName||output_file);
    set_report_object_property(report_id, REPORT_OTHER, 'paramform=NO '||pRepParam);
    set_application_property(CURSOR_STYLE,'BUSY');
    report_handle := run_report_object(report_id);
    print_output := output_file;
    report_status := report_object_status(report_handle);
    while report_status in ('RUNNING','OPENING_REPORT','ENQUEUED') loop
    report_status := report_object_status(report_handle);
    end loop ;
    if report_status = 'FINISHED' then
    -- Return report output file to browser for printing
    set_application_property(CURSOR_STYLE,'DEFAULT');
    web.show_document(vVirtualPath||print_output, '_BLANK');
    else
    -- Report has not worked for some reason, inform the user
    cancel_report_object(pRepName);
    set_application_property(CURSOR_STYLE,'DEFAULT');
    --azbj_message('W',print_output||' Result is :: '||report_status);
    end if;
    END;
    upto here is fine. i traced every thing upto form is ok no problem. report is also working fine indvidually.
    only the error is coming in application when i am calling the report from form.
    any can suggest where the problem is coming exactly.
    suggestion would be great.
    thanks in advance

    it was solved thanks.
    the problem is in the application we havent given the proper name when we are calling.

  • I can no longer run reports of my client computers

    RDC 3.2.2 I recently need to run some reports of all my client computers. First, I attempted to run report of several computers. It never got beyond "Waiting for report data", so, I attepted to do separate clients, one at a time. Same result. All users are upgraded to the current client. Users are on a 1000BaseT network. Thought it may be 10.5.6 update related, but not all of my users are on Leopard. I have testing a variety of different clinet configs and I cannot generate a report.

    Starting on May 29th, 2008, I noticed that some of the computers that have been added to ARD were showing up with their IP address as 0.0.0.0. Some of the systems could have reports done for them while other would not. At the time, out of 140 computers currently listed, only 120 returned reports.
    After troubleshooting I called Apple to attempt to figure out where this problem may reside. Apple indicated that the IP numbers would get zeroed out when another device takes over the IP address of the client computer. This made sense since we were setup via DHCP. They could not determine why the reporting was not functioning without further troubleshooting through Enterprise support. This would require funding to get additional support.
    On January 22nd, 2009 I called Apple support back and started the support via their Enterprise support. The technician asked if we were using spanning tree with our network switches. I verified with the network team that we are using multicast spanning tree for Semantic Ghost. The technician also asked that I set up ARD on another test computer to see if the problem occurs with that system as well.
    On February 5th I setup both a second system for ARD Admin and a test client computer. In Mid February I set up the SQL database used by ARD to be accessed but other applications, such as a PHP webpage. This would allow me to see what information was in the database without needing to use ARD admin.
    By March 5, I had completed my tests and determined that the information is still being lost using this second computer setup. Keep in mind that the test client computer had been turned off by mid February so its network IP number would be release for another device to use. A few days before I had created a second account on the test ARD admin computer and re-imported the original list of systems used when this test started. This second account did not have the ARD test client computer added into ARD admin. This would allow for reports to be collected for a few days on this system. I then went back to the original account for ARD admin on March 5 and attempted to run the report for the test client. In ARD admin I was not able to acquire any report information. I was, however, able to see the data using the PHP webpage I have created earlier.
    I called Apple back to continue troubleshooting this problem. Remember that we had paid for support for this problem, $199. The technician indicated that the case had been resolved and closed. I explained that the issue was not resolved and troubleshooting was still ongoing. The technician remained adamant that the case was resolved and would not open a new case for further support.
    I spoke with my Technical Director in regards to this. We both called Apple Enterprise support back to see if we could get further support for this unresolved issue. The technician did give us a bit of support, however, he continued to insist that we were adding the client computers in via IP and this was causing our problems. We explained exactly how we have been adding computers into ARD admin; by scanning them through our network and dragging them to the main list, not by adding them by direct IP. The technician then continued to be unclear as to how to go about correcting this situation of lost data. He indicated that when the client computer's IP was taken over by another device the only way to get the client to report again was to remove and re-add the client back in.
    According to the document "ARD 3.1 Admin Guide.pdf"; Chapter 8 page 104, in the section titled "Installing Software on Offline Computers", paragraph 2, it states "When the client comes online, it contacts the Task Server and notifies it of its network state and any setting changes (like a DHCP-assigned IP address change)." Even after reading this statement to the technician he still was not clear as to why the client computers did not update their IP information correctly (from their current 0.0.0.0 IP) when reconnected back to the network.
    Because information is continuing to become lost Apple Remote Desktop is not meeting the needs of our department and the community college for tracking the Macintosh hardware currently in use. It may take an extended time to retrieve requested information if this data does not get reported on in ARD admin. Currently, one of my coworkers is in the process of creating a whitepaper to include alternatives for asset management for the Macintosh community.

  • Displaying image in report DESFORMAT ='SPREADSHEET' (Excel)

    Hi,
    I want to display a logo in Excel report. I have created one formula column with function
    function CF_4Formula return Char is
    begin
    return('/report/xls/gelogo_new.bmp');
    end;
    I have placed the image in the above path. When I execute the report image is not appearing in it.
    What could be the issue?
    Below is the code in After Parameter form Trigger.
    :DESTYPE = 'FILE'
    :DESNAME := '/report/stg/'||:p_report_name||'_'||:p_calendar_month||:p_calendar_year||'.xls';
    :DESFORMAT: 'SPREADSHEET'
    Also please tell me how to set/see the default directory of REPORTS_PATH in Unix server.
    Can anyone please help me out with this issue.
    Thanks,
    Kishore.

    Thanks for the response. Sadly yes, the path is correct. I've
    tried both the relative path and the full path (e.g.
    ../images/theimage.jpg and
    http://mysite.com/images/theimage.jpg)
    . Putting either address into a browser will return the correct
    image if I'm in the right location.
    So, I can get this expression: IIf(query.image NEQ "",
    DE("../images/smProds/" & query.image), DE("None")) to display
    the correct path, but what I really need is the image located at
    that spot to display in the report. What is happening is that
    report builder is returning the string, but not the image. When I
    looked at the tutorial it implied that the image would be displayed
    rather than the string.
    Is there something in report builder that determines whether
    the actual image is displayed? A property setting that I'm missing?
    Or maybe the expression iteself is wrong i.e. it is doing exactly
    what it should (display the string) and a different expression
    format is required to get the image iteself. For example, flagging
    some text as a hyperlink to the image? Not sure how you would pass
    the image name value in that case.
    Appreciate your suggestions.

  • SAP B1 8.8 PL 13 Authorisation with Crystal Report

    Hi Experts,
    I have implemented SAP B1 8.8 PL 13,
    Problem is that, I am not able to control authorizations of crystal reports.
    Practical case:-  We have one crystal report called 'VAT Return Report', where are i trying to change authorization of this Crystal report, when i give authorization to this report, system shows 'Operation completed successfully',  after this if  i  close authorization window, and again open authorization window, that authorization for 'VAT Return Report' do not retain, i.e system do not show authorization which i was given.
    Please any one can suggest me how can i solve this problem.

    Hi Sathish,
    I have checked this in PL18 have had no issue being a super user and not a super user its working fine, in crystal designer have you been able to execute the report.
    try this
    1. Is your printer setup to the correct one you normally use. - In my case it had been default
    2  In Report layout manager (RLM) --> Select the VAT ... report and verify if the status is Active.
    3. Are you able to execute the report from RLM -> Run Report
    Is your report is still not working in SBO Re-import it..
    Regards,
    Rakesh N

Maybe you are looking for

  • REPORT TO EMAIL

    Hello, My requirement is that when I run the Report through button or menu it will be email to the user with PDF format. But problem is that when I run a file for mail, eps extention file is mailed to the user.I want the PDF file extention is mailed.

  • Interfacing Bank Accounting to the Bank

    Hello everyone, Any help on the questions below would be most appreciated. I am trying to configure Bank Accounting. I have tried to configure FBZP to the best of my ability. I've defined the house banks etc. The client uses ACH, Wire transfers and C

  • Problem with validating SAML assertion signature ("bad" certificate?)

    Hi, We've been developing and testing webservices and webservice clients under WebLogic for awhile. In our typical configuration, we have the SAML Credential mapper configured on the webservice client side, and the SAML Identity Asserter on the webse

  • I want to make entry in table from intenal table

    hi i have a data in a internal table i want to enter in a database table which is having theree keys customer number date status not the scenerio is like that there may or may not be record existing in the table corresponding to the internal table re

  • I am getting blocked plug-ins and would like to resolve this issue

    I recently started getting blocked plug in's and would like to know why. How can this issue be resolved. I have upgraded my Mac Lion to Snow Leopard. It has 2.66 GHz Intel Core Processor and 2G Memory. Is this because of the latest new release? Any h