Pass Order Number Parameter to Report then Save Copy as PDF to Folder Location

I have a 2010 database where I've created a report that I would like to be auto-printed to a PDF file.  When a user finishes and submits an order I need for my report called "rptOrders" (which displays a summary of the order) to auto-print
in PDF and saved to an archiving folder location.
One thing to note is that when the "rptOrders" report is opened it displays ALL the orders in the database; but I need this process to pass the parameter of the order number from the form to the report so that only the single report that is open is
printed in PDF.
The process of pushing the PDF report to a folder would need to be performed without prompting the users.  It needs to be automated and
seamless.  The users are aware of this automated process will be done, they just don't have a need to have any prompts impede their workflow.
Any solutions, thoughts or tips would be very much appreciated!

You might like to take a look at InvoicePDF.zip in my public databases folder at:
https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
Ken Sheridan, Stafford, England

Similar Messages

  • We use a doc template to create a purchased part spec document and then save them as pdf formatted files.  These part spec documents are also appended with the datasheets for these purchased parts.  When we want to update/revise the document, is there a m

    We use a doc template to create a purchased part spec document and then save them as pdf formatted files.  These part spec documents are also appended with the datasheets for these purchased parts.  When we want to update/revise the document, is there a method, using Acrobat, to make those updates to the pdf, or must we go back to the doc template and basically generate a new document?
    Also, our resulting pdf documents aren't searchable.  How can we generate pdf documents that are searchable?  I may want to search for a part value or name within the body of these pdf documents, but currently can't do that...very inconvenient.
    Can you assist?

    Not totally sure about the search issue. A lot depends on how you created the PDF and what is in the datasheets you attached (like are they graphics?). The doc portion should be searchable as long as you used print to the Adobe PDF printer or PDF Maker. For your use, it may be that the print is adequate. However, the result should be searchable (unless maybe you had a form with filled in fields and created the PDF with PDF Maker. I think the form data may be retained in form fields and the fields are not searchable. In that case, a print might be a better procedure. (it would help to know the versions of WORD and Acrobat as well as the exact process you used to create the PDF.)
    If the appended data sheets do not change, then you might try opening the original PDF and then using Replace Pages to replace the file created from the DOC file.

  • OpenDocument.aspx - pass multi value parameter when report type is actx

    We are running Crystal Reports XI R2 against a business objects infoview server.
    We have been successfully using the OpenDocuments method for opening crystal reports but have run into a snag.  When using a multi-value parameter, we can only get it to work when the viewer is set to HTML.  Setting to ActiveX prompts us to enter in the parameter values manually.
    This address works (using sViewer=HTML):
    http://vsx2af0x/businessobjects/enterprise115/infoview/scripts/opendocument.aspx?sType=rpt&sViewer=html&lsMpSiteIDs=[1235880],[1235891],[1235902],[1235913]&sPath=[Development][CGIS][Intranet Mapping][COS_Base]&sDocName=DetailedSite&sRefresh=Y
    This address does not work (using sVIewer=actx):
    http://vsx2af0x/businessobjects/enterprise115/infoview/scripts/opendocument.aspx?sType=rpt&sViewer=actx&lsMpSiteIDs=[1235880],[1235891],[1235902],[1235913]&sPath=[Development][CGIS][Intranet Mapping][COS_Base]&sDocName=DetailedSite&sRefresh=Y
    Any thoughts on the problem?

    As I understand what you need is to use LookupSet function. 
    Suppose if your dataset is like this (for simplicity I'm showing only required fields)
    PersonID Project Company
    ID1 P1 C1
    ID1 P2 C1
    ID1 P3 C2
    ID1 P4 C2
    ID1 P5 C3
    If you want to get the full project list for the person just send the PersonID alone and filter using it in the subreport. You can keep the project/company parameters optional in that case and put a default value. This would be the easiest thing.
    Now if you want pass the project parameter also you need to pass it like this
    =Join(LookupSet(Fields!Person.Value,Fields!Person.Value,Fields!Project.Value,"DatasetName"),",")
     This would act like a self lookup and return you full list of projects for the person and then you can use this to set the parameter value in the subreport.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to pass a date parameter from report builder query designer to oracle database

    i'm using report builder 3.0 connected to oracle database. i'm trying to pass a date parameter in the query with no success, i don't
    know the exact syntax. I've tried :
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date('01/01/2014','mm/dd/yyyy')
    it worked perfectly.
    However if i try to put a date parameter "From" instead of 01/01/2014 it will not work, a Define Query Parameter popup window appear and error occurred after i fill
    the values (usually i shouldnt get this popup i should enter the value when i run the report)
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date(:From,'mm/dd/yyyy')
    appreciate your assistance

    Hi Gorgo,
    According to your description, you have problem when in passing a parameter for running a Oracle Query. Right?
    Based on my knowledge, it use "&" as synax for parameter in Oracle, like we use "@" in SQL Server. In this scenario, maybe you can try '01/01/2014' when inputing in "From". We are not sure if there's any limitation for To_Date()
    function. For your self-testing, you can try the query in sqlplus/sql delveloper. Since your issue is related to Oracle query, we suggest you post this thread onto Oracle forum.
    Best Regards,
    Simon Hou

  • Should I open sent PDF's through PS (flatten then save as .eps) & then save as a PDF thru distiller

    Hi, I'm coming from a print background with newspapers where it was necessary to do the above with sent PDF's for print so that the fonts wouldn't bomb at print. I'm now working with a high gloss magazine and am wondering if it is necessary to do the same now. I have been doing it as routine with sent PDF's for print, once I ge the email I open in PS, make sure they are CMYK then flatten the image and save as .eps to open in Distiller and save as a PDF again. Again this was to make sure no fonts would bomb at print as per I was tought. (Used Quark when working with newspaper and thankfully am using InDesign for magazine). Is there any negative to doing this still? Even if the sent PDF's are fine (all True type font)? Could doing this, flatten and resave cause the iamges or fonts on the PDF's to lose quality at print? I'm pretty sure it wouldn't but I could be wrong with this higher quality print.
    Appreciate any advice here, as I'm slightly worried it may cause some loss of quality at print (fuzzy border around text - light but there). Thanks.
    Programs used are PS CS5, InDesign 5, Adobe Distiller 9. Final proofs are PDF's from InDesign to printer.

    The “workflow” you cite is absolutely not recommended for any purpose whatsoever. The only thing that can be said for it is that it produces consistently low quality results with extra steps and overhead. Forget about transparency and color management! The newspapers in question must have been either (1) working with antiquated, buggy RIP software from the previous millennia or (2) had personnel with mindsets and education from the previous millennia!
    Adobe strongly recommends use of direct PDF export from InDesign using the PDF/X-4 preset – never create PDF by distillation of PostScript!
    Although we strongly encourage use of OpenType fonts for their typographical features and cross-platform compatibility, in terms of output quality and reliability, use of Type 1 versus TrueType versus OpenType is irrelevant.
             - Dov

  • Pass non-database parameter from report to form

    (Portal 3.0.9) In short, how do I pass a non-database parameter into a form?
    I am calling a single form from multiple reports. On successful submission of the form, I want to return to the calling report. I have built the dynamic "go" statement in the success submission portion of the form:
    declare
    return_to_report varchar2(30);
    begin
    return_to_report := p_session.get_value_as_varchar2(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_CALLING_REPORT');
    go('<portal_schema>.'||return_to_report||'.show');
    end;
    The problem is that I'm unable to populate the "calling_report" field in my form since it is non-database and does not appear in the list of available variables in my link.
    Also, it would be better to pass the value (report name) in a session parameter or global variable so that it is not tied to a specific record in the form, but I cannot find documentation for help.

    Hey,
    You could also create your own link in the SQL statement.
    SELECT
    display_link_update(asset_seq) as Update_Record,
    column2,
    column3,
    from table
    display_link_update is the function call and I'm passing one variable, asset_seq. Now the function can do the link creation and pass the link back to be displayed on the report.
    CREATE OR REPLACE FUNCTION "PROPERTY"."DISPLAY_LINK_UPDATE"
    (asset_seq1 in varchar2) return varchar2 is tag varchar2(4000);
    begin
    tag:='Update Link';
    return tag;
    end;
    I need to check out session variables. Do a Google search, there should be a few items about it. I'll look into in a few days beacuse I should learn this myself.
    Tom

  • In plsql webservice how can i pass a number parameter to procedure

    hi
    i use eclipselink and jdeveloper 11 g to create pl/sql webservice. i create a session bean and i right click it and get a option for a creating a webservice.
    i have number data types in the procedure. but i can pass the parameter only strings.
    i paste the code below which i wrote
    public void UpdateActi(Number ACT_ID,Date FORWARDED_DATE
    Session session = sessionFactory.getSharedSession();
    StoredProcedureCall spcall = new StoredProcedureCall();
    spcall.setProcedureName("ACTIVITY_UPDATE_WS.ACTIVITY_UPDATE");
    spcall.addNamedArgument(ACT_ID);
    spcall.addNamedArgument(FORWARDED_DATE);
    session.executeSelectingCall(spcall);
    i get error can use only strings
    thanks in advance
    regards rajesh

    no need to be dynamic:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:73830657104020
    Regards
    Etbin

  • Internal order number in a report

    Hi,
    Is there a standard SAP report to get the same details as the KSB1 report PLUS the internal order # associated with the transactions?
    Thanks in advance.
    Points will be awarded.
    Amrish.

    Hi pawan,
    I dont get the cost center # in the KOb1 report.
    Pls advice.
    Thanks
    Amrish

  • Passing gif as parameter to report

    I am doing a conversion of my web app from using CR4E to BOE XI V3.1 and using the RAS for server side printing.  With CR4E we have a OLE picture object in our reports and we send the image the customer wants to use in their reports as a parameter.  This works fine in CR4E.  But I am now converting to RAS.  So far I have not been able to do this.  How can I do this?
    Thanks in advance.

    First of all, here is my code
    CREATE OR REPLACE
    TYPE USERCONTEXT AS OBJECT
    user_login varchar2,
    user_id integer,
    CONSTRUCTOR FUNCTION USERCONTEXT (
    P_LOGIN IN INTEGER
    P_ID_ID IN INTEGER
    ) RETURN SELF AS RESULT
    Either your type wont be compiled or this is not the real code..

  • Pass the REPORT_FILENAME parameter to Report,

    i think i know the problem, but i dont know how to solve it, so plz need your help guys :)
    the REPORT_FILENAME is to long,
    when i call the report using the orignal path which is
    D:\PISYS_10g\Eng\Reports\PI\Annually 2 years Reports\Financial\FI07_All_Gov_ann2Y.jsp
    it gave me an error and i have to configur somthing !
    when i usg a shorter path it works !
    so what i have to do? how i can make the REPORT_FILENAME length more ?
    plz email the soluation for me [email protected]
    thanks.

    thanks Frank,
    i want to make it dynamiclly call the report using the Global.RepPath,
    the probel that i have the report's path is too long,,,, do u have any idea how to alter the REPORT_FILENAME length ?
    thank you again for your replay.

  • Why do the characters in the field of a form disappear when I attach the form to another PDF file and then save the resulting pdf?

    This just started happening and it does not happen every time I do this action.  I occasionally get the following message "An incorrect structure was found in the PDF file" and that seems to be part of the issue. Has anyone experienced anything like this?

    I found out that if I waited about 15 minutes the PDF file became normal. Thank heavens! I've now sent out my newsletter for my Quilt Club to our 90 e-mail subscribers and all of them I have heard from have gotten it the way I had written it. It must just have been a quirk that happened, but I sure am glad it fixed itself. I only have 5 more newsletters to write and then I am done. Thank Heaven. Thank you for trying to help. I was about to become even more crazed than I get when I have to publish the newsletter. I do it once a month and I never would have volunteered for the 2 year job if I had know how much work it is. My husband walks gently when he knows I am trying to put the newsletter together. I'm not usually crabby, but this has made me a nut case once a month. It's a good thing we've been married for 37 years, so he knows that it is only the "newsletter editor nutty lady" that is getting mad at everything and everyone, including him! Thanks for trying to help. You were the only one that answered. JO
    Date: Tue, 6 Jul 2010 03:29:03 -0600
    From: [email protected]
    To: [email protected]
    Subject: Why do I get a black version when I convert my document to PDF?
    How did you convert the file to PDF?
    >

  • Reducing the size of image and then save that image in a folder

    can anyone help me about how to reduce the size of the image which i received from client .

    use compressionQuality to redue the image size,
    for example,
    bufferedImage = ImageIO.read(sourceFile);
    ImageWriter writer = (ImageWriter) ImageIO.getImageWritersBySuffix("jpeg").next();
    writer.setOutput(ImageIO.createImageOutputStream(result_file));
    ImageWriteParam param = writer.getDefaultWriteParam();
    param.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);
    param.setCompressionQuality(compressQuality);
    writer.write(null, new IIOImage(bufferedImage, null, null),param);
    hope this will help.....

  • Purchase order number in FBL1N

    Dear all,
    Please suggest how we can fetch purchase order number in fbl1n report even by putting sort key 014 (purchase order number) in vendor master and G/L master it is not fetching
    Thanks and Regards
    Priya

    Hello Priya,
    You should get PO number on vendor account with using FBL1N. But you must do some developments for it.
    I wrote message how can you add additional field in FBL1N before message below.
    Re: Vendor & Customers in FBL3N
    But you can update PO field on vendor line items display.
    You can skip adding field section on message which I gave you above.
    You must copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM and some customizing for updation BTE. I specified it on message.
    Then you'll write some ABAP for PO number update in vendor line items.
    I'm giving to you some examples below.
      TABLES : bkpf, bseg.
      e_postab = i_postab.
      IF sy-tcode EQ 'FBL1N'.
        SELECT SINGLE *
          FROM bkpf
          WHERE bukrs = i_postab-bukrs
            AND belnr = i_postab-belnr
            AND gjahr = i_postab-gjahr.
        IF sy-subrc EQ 0.
          IF bkpf-awtyp EQ 'RMRP'.
            SELECT SINGLE *
              FROM bseg
              WHERE bukrs = i_postab-bukrs
                AND belnr = i_postab-belnr
                AND gjahr = i_postab-gjahr
                AND ebeln NE space.
            IF sy-subrc EQ 0.
              e_postab-ebeln = bseg-ebeln.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.

  • Lexical Parameter in report 10g

    i want to call a report with few fields on my form. i create 2 user parameter which works fine. now i want to create a lexical parameter so that if null no problem report should appear with 2 user parameters but if has values then report should be called according to those parameter values.
    I use this in my form:
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'PBRANCHCODE='||:txtBranchCode||' PPERIOD='||:cmbPeriod||' CLASSCONDITION='||'cla_class_id between 1 and 2'||' paramform=no');
    CLASSCONDITION is a lexical parameter which is called in report sql:
    and periodic_branch_id = :pBranchCode
    and periodic_period_from = :pPeriod
    &ClassCondition
    it says unable to run report
    when i test using paramform=no then it shows in classcondition parameter only and and nothing after space assuming parameter list ended.
    Please help me in passing a lexical parameter to report
    Thanx in advance.

    I want to append the where condition of the report. if values inputed from Form in the class ids from and to text boxes appended as a where condition in the report query otherwise excluded
    Report Query
    select *
    from ...
    where
    and .....
    and ....
    &ClassCondition
    and i want to pass &classcondition parameter the below condition
    and class_id between :fromclass and :toclass
    Hope you understand.

  • Not able to see Purchase Order No in FBL1N Report

    Dear All,
    I am not able to see Purchase Order Number in FBL1N report. I have tried in change layout by selecting the purchase document but system is not displaying.
    Kindly help me on this.
    Regards,
    Yadayya

    Dear Yadayya,
    in reference to your query please review the SAP note
    152335  Field EBELN in line layout variant for cust./vendor
    Please note that field BSEG-EBELN is not possible for being shown
    with a value in FBL1N and FBL5N as explained in the note above.
    Since Release 3.0, several purchase orders can be offset in one invoice.
    As a result, different purchasing document numbers (BSEG-EBELN) can be
    contained in the different G/L account line items.
    As a result, it is no longer possible to enter a unique purchasing
    document number in the customer/vendor line item.Field BSEG-EBELN is not
    filled in the vendor line item and therefore cannot be displayed in the
    line item display for customers/vendors.
    Hope this information helps to clarify the standard system behaviour.
    Mauri

Maybe you are looking for

  • Adobe Cloud not working

    Hello, an hour ago my adobe cloud stopped working. Whenever i try to use a program it asks me sign in. I enter my info but they it load for 15-20 minutes without anything to happen. When try to open the Creative Cloud Manager it shows black window an

  • HP integrated bluetooth module in Pavilion dv7-2173cl Entertainm​ent Notebook PC support A2DP?

    Is my 2009 internal bluetooth module out of date?  Can I upgrade? I can connect an external bluetooth speaker, but windows is unable to find drivers.  According to HP.com, the drivers are up to date.  The icon for the speaker shows up in Devices and

  • How do I read the metadata of an object in abap?

    I need to find a way to read the metadata of an object (say an internal table) in abap.  An example of what I am looking to do is that I want to get a list of all the column names of an internal table.  Any help would be greatly appreciated! Dustin

  • Hard drive corrupted, recovery software threw iPhoto info files everywhere

    Ok, so my hard drive got corrupted, and I got some of the data off of it, but not all. I think there is a lot of iPhoto files scattered about the folders in a "Lost Folder(s)," which the recovery software decided to do. (I used Stellar Phoenix) I wat

  • Invalid URL Errors

    So I've been getting lots of random Invalid URL errors on sites I have bookmarked and some others that I visit frequently whose address I am sure of. For example, I have my gmail account bookmarked and the last few weeks or so it give me the message