Adobe form is printing wrong data for the first print attempt

Hi All,
I need a quick help from Adobe print form gurus. Until now i dint get an issue on printing adobe interactive form from my portal. For eg., when i am giving a print for the first attempt, it was printing the form with wrong data in form fields and whereas when i tried to print it for the second time, then it is printing properly with right information.
Please help.
Regards,
Praveen Kambala.

Hi Praveen,
Find out the data what is being printed for the first time, and check what is the flag that is making the change.  Hope that should resolve your issue.
Thanks,
Rakesh.

Similar Messages

  • How to get the date for the first monday of each month

    Dear Members,
    How to get the date for the first monday of each month.
    I have written the following code
    SELECT decode (to_char(trunc(sysdate+30 ,'MM'),'DAY'),'MONDAY ',trunc(sysdate+30 ,'MM'),NEXT_DAY(trunc(sysdate+30 ,'MM'), 'MON')) FROM DUAL
    But it look bith complex.
    Abhishek
    Edited by: 9999999 on Mar 8, 2013 4:30 AM

    Use IW format - it will make solution NLS independent. And all you need is truncate 7<sup>th</sup> day of each month using IW:
    select  sysdate current_date,
            trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month
      from  dual
    CURRENT_D FIRST_MON
    08-MAR-13 04-MAR-13
    SQL> Below is list of first monday of the month for this year:
    with t as(
              select  add_months(date '2013-1-1',level-1) dt
                from  dual
                connect by level <= 12
    select  dt first_of_the_month,
            trunc(dt + 6,'iw') first_monday_the_month
      from  t
    FIRST_OF_ FIRST_MON
    01-JAN-13 07-JAN-13
    01-FEB-13 04-FEB-13
    01-MAR-13 04-MAR-13
    01-APR-13 01-APR-13
    01-MAY-13 06-MAY-13
    01-JUN-13 03-JUN-13
    01-JUL-13 01-JUL-13
    01-AUG-13 05-AUG-13
    01-SEP-13 02-SEP-13
    01-OCT-13 07-OCT-13
    01-NOV-13 04-NOV-13
    FIRST_OF_ FIRST_MON
    01-DEC-13 02-DEC-13
    12 rows selected.
    SQL> SY.

  • Showing data for the first row only

    Oracle Experts ,
    Below is my table in oracle.I wnat show Company ID only for the first row of each company. Table 2 is my output .
    Company Country Company ID
    BARCALAYS UK 1
    BARCALAYS USA 1
    BARCALAYS Australia 1
    Kingfisher UK 2
    Kingfisher INDIA 2
    Kingfisher INDIA 2
    Output Table 2 :
    Company Country Company ID
    BARCALAYS UK 1
    BARCALAYS USA Null
    BARCALAYS Australia Null
    Kingfisher UK 2
    Kingfisher INDIA Null
    Kingfisher INDIA Null
    Please give me a sql query.
    Many thanks in advance .
    Regards,
    Dirasa

    based on if a particular country is appearing twice for the same company and company_id wether to show the company_id for that country or not you may use any of the below queries :)
    /* Will show compan_ID twice if the country is repeated */
      with x as (
          select 'Foo' company_name, 'UK' country, 1 company_id from dual
          union all
          select 'Foo', 'USA', 1 from dual
          union ALL
           select 'Foo', 'USA', 1 from dual
           UNION ALL
          select 'Foo', 'AUS', 1 from dual
          union ALL
        select 'Foo', 'AUS', 1 from dual
          union all     
          select 'Bar', 'UK', 2 from dual
          union all
         select 'Bar', 'USA', 2 from dual
         union all
         select 'Bar', 'India', 2 from dual
    SELECT company_name,country,CASE WHEN rn=1 THEN company_id ELSE NULL END company_id
       FROM (SELECT
       company_name,company_id,country,rank()over(PARTITION BY company_name,company_id ORDER BY country) rn
        FROM x)
    /* Will NOT show compan_ID twice even if the country is repeated */   
      with x as (
          select 'Foo' company_name, 'UK' country, 1 company_id from dual
          union all
          select 'Foo', 'USA', 1 from dual
          union all
          select 'Foo', 'AUS', 1 from dual
          union ALL
        select 'Foo', 'AUS', 1 from dual
          union all     
                 select 'Foo', 'USA', 1 from dual
           UNION ALL
          select 'Bar', 'UK', 2 from dual
          union all
         select 'Bar', 'USA', 2 from dual
         union all
         select 'Bar', 'India', 2 from dual
    SELECT company_name,country,CASE WHEN rn=1 THEN company_id ELSE NULL END company_id
       FROM (SELECT
       company_name,company_id,country,row_number()over(PARTITION BY company_name,company_id ORDER BY country) rn
        FROM x)
    /* Will show compan_ID twice if the country is repeated */
      with x as (
          select 'Foo' company_name, 'UK' country, 1 company_id from dual
          union all
          select 'Foo', 'USA', 1 from dual
          union ALL
           select 'Foo', 'USA', 1 from dual
           UNION ALL     
          select 'Foo', 'AUS', 1 from dual
          union ALL
        select 'Foo', 'AUS', 1 from dual
          union all     
          select 'Bar', 'UK', 2 from dual
          union all
         select 'Bar', 'USA', 2 from dual
         union all
         select 'Bar', 'India', 2 from dual
    SELECT company_name,country,CASE WHEN rn=1 THEN company_id ELSE NULL END company_id
       FROM (SELECT
       company_name,company_id,country,dense_rank()over(PARTITION BY company_name,company_id ORDER BY country) rn
        FROM x)
                    Cheers!!!
    Bhushan

  • Adobe form output not getting displayed for the whole length of the page

    Hi All,
    I have developed an adobe form using webdynpro application. While testing, the output(pdf) does not occupy the entire page/screen from end-user side. But when I test the same from my side, the output appears fine . Could anyone suggest me on this?
    Regards,
    Allwin.

    Did you check the resolution at end user side? Is it different from your resolution?
    To overcome this check what is the height and width you have specified for InteractiveFormUI element in your Web Dynpro application. Have you specified in pixels like 300px? You need to enter it as 100% for both.
    Chintan

  • LX25 displays wrong data for the entered date range

    System says "Inventory not executed" status for the bins even if Inventory is executed for the bins in the date range provided in the selection screen.
    For e.g.
    I execute report for Warehouse XYZ. I specify date range as 01.04.2014 to 31.03.2015.
    I get some bins in the status "No Inventory executed".I presume that Inventory is not executed for these bins within this period.
    But when I go to each bin in the status "No Inventory executed" I find that The bins are counted on the dates 24.09.2014 and then on 05.04.2015.
    Then I changed the date in the selection screen to 01.04.2014 to 05.04.2015.
    Those bins which were earlier in the status of "No inventory status executed" are now not present in this status.
    Does this mean that LX25 report is based on the Last counted date? Or the report is not displayed correctly for the date range provided?
    I want to know the criteria based on which the LX25 report works.
    Thanks In Advance.

    Hi Jurgen,
    Below information I found from the LX25 report info in SAP.
    Inventory status
    Description
    This report provides information on the stock in the storagae bins and presents this on the screen.  You can limit your selection by warehouse number, storage type and storage bin, or choose the following criteria:
    Total number of bins
    Number of inventoried bins in the selection period
    Bins with active inventory
    Bins with planned inventory
    Bins without executed inventory
    From this list, you can obtain a plan of the individual storage bins with further detail information within a storage type, by clicking on the relevant line total.
    It clearly shows that the report should be able to show the number of inventoried bins in the selection period, which it doesn't. Does it mean that system is not working as expected?
    Regards
    Soumya

  • Adobe Form will not go through email the first time it's submitted.

    I have created a simple fillable Adobe form that is placed on our local Intranet with a simple submit button at the bottom of the form.  The settings on the form are to send the entire form to the email address (which was also entered on the button properties).  The first time a new user of the form tries to submit the form it never goes through.  The email shows its been sent from the local users Outlook but it never arrives at the destination email address.  If the users tries to submit a second form everything works without any problems.  Does anyone know whey the first time the form is submitting (basically emailed) it doesn't go through?  Is this a problem with the form or with our local exchange server?  Any information would be greatly appreciated.
    Thanks.
    Richard

    I have created a simple fillable Adobe form that is placed on our local Intranet with a simple submit button at the bottom of the form.  The settings on the form are to send the entire form to the email address (which was also entered on the button properties).  The first time a new user of the form tries to submit the form it never goes through.  The email shows its been sent from the local users Outlook but it never arrives at the destination email address.  If the users tries to submit a second form everything works without any problems.  Does anyone know whey the first time the form is submitting (basically emailed) it doesn't go through?  Is this a problem with the form or with our local exchange server?  Any information would be greatly appreciated.
    Thanks.
    Richard

  • Af:fileDownloadActionListener picks wrong filename for the first time after row selection.

    Hi,
    I am using Oracle Jdeveloper 11g release 1. In one of my jspx pages i have a table, i can select one of the row and click on a button which invokes fileDownloadActionListener. The code of jspx is as below:
    <af:commandMenuItem text="#{coregccomplianceuiBundle.MENU_EXPORT}"
                                        id="CS19" partialSubmit="true"
                                        actionListener="#{viewScope.core_gccompliance_cs_librarybean.validateExport}"
                                        partialTriggers="CSftLib"
                                        disabled="#{viewScope.core_gccompliance_cs_librarybean.exportDisabled}">
    </af:commandMenuItem>
    <!--This button is set hidden, which is used to deal with the download job.
        The Export button on the page only does the validation. (whether it's a system defined standard)-->
      <af:commandButton text="#{coregccomplianceuiBundle.BTNEXPORTHIDDEN}" id="csl_csExportHidden"
                                          clientComponent="true" visible="false"
                                          partialSubmit="false">
    <af:fileDownloadActionListener contentType="application/x-download" 
                                          method="#{viewScope.core_gccompliance_cs_librarybean.handleExport}"
                                          filename="#{viewScope.core_gccompliance_cs_librarybean.fileName}"/> 
    </af:commandButton>
      /** force the ExportHidden Button to do export */
        function csExportHandler(event) {
            var exportCmd = AdfPage.PAGE.findComponent("emT:CS4:csl_csExportHidden");
            var actionEvent = new AdfActionEvent(exportCmd);
            actionEvent.forceFullSubmit();
            actionEvent.noResponseExpected();
            actionEvent.queue();
    The bean methods used in above block are as below:
    public void validateExport(ActionEvent actionEvent) {
           // checks if entity is system defined and shows error popup if it is .
            if (checkIsSystem())
                return;
            //Handle the export    
            AdfUtil.addScript("csExportHandler()");
    public void handleExport(FacesContext context, OutputStream out) {
            ComplianceLibraryAMImpl am = getDataController();
            HttpServletRequest request =
                (HttpServletRequest)context.getExternalContext().getRequest();
            Locale locale = NLSUtil.getClientLocale(request);
            ResourceBundle rb =
                ResourceBundle.getBundle("oracle.sysman.core.gccompliance.view.CoreGccomplianceUiMsg",
                                         locale);
            PreparedStatement st =
                am.getDBTransaction().createPreparedStatement("commit", 1);
            Connection conn = null;
            boolean isAgentSideCs = false;
            try {
                conn = st.getConnection();
                RichTable oTable = getCsTable();
                fileName = "ComplianceStandard.xml";
                List<Raw> exportGuids = new ArrayList<Raw>();
                for (Object opaqueFacesRowKey : oTable.getSelectedRowKeys()) {
                    oTable.setRowKey(opaqueFacesRowKey);
                    Object o = oTable.getRowData();
                    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding)o;
                    exportGuids.add((Raw)rowData.getRow().getAttribute("CsGuid"));
                    int csType = ((oracle.jbo.domain.Number)rowData.getRow().getAttribute("CsType")).intValue();
                    if(csType == 4)
                        fileName =
                                (String)rowData.getRow().getAttribute("CsDname") + ".zip";
                        isAgentSideCs = true;
                    else
                        fileName =
                                (String)rowData.getRow().getAttribute("CsDname") + ".xml";
                    if(((Integer)rowData.getRow().getAttribute("IsSystem")).intValue() == 1){
                        throw(new ParseException(50));
                if (exportGuids.size() > 1)
                    fileName = "Compliancestandard_list.xml";
                RAW guid = new RAW(exportGuids.get(0).toString());
                if(isAgentSideCs)
                    getDataController().exportStandardContent(conn, out, guid);
                else
                    CsExport csexport = new CsExport(false);
                    csexport.doCsExport(conn, guid, false, out);
            } catch (ParseException e) {
                String errMsg = "";
                String errHdr = "";
                if(e.getStatus() == 50){
                    errMsg = rb.getString("ERRMSG_ISSYSTEMENTITY_EXPORT");
                    errHdr = rb.getString("ERRHDR_ISSYSTEMENTITY_EXPORT");
                else{
                    errMsg = rb.getString("ERRMSG_EXPORT_CS");
                    errHdr = rb.getString("ERRHDR_EXPORT_CS");
                AdfUtil.showMessageDialog(null, AdfUtil.MESSAGE_TYPE.ERROR, errHdr,
                                          errMsg, false, null);
                throw new RuntimeException(e);
            } catch (SQLException e) {
                throw new RuntimeException(e);
            } finally {
                JDBCUtil.close(st);
            MimeUtil mimeUtil = new MimeUtil();
            mimeUtil.downloadFile(context, fileName);
            try {
                out.flush();
                out.close();
            } catch (IOException e) {
                throw new RuntimeException(e);
    Class MimeUtil:
    public void downloadFile(FacesContext context, String fileName) {
            HttpServletResponse httpServletResponse =
                (HttpServletResponse)context.getExternalContext().getResponse();
            HttpServletRequest httpServletRequest =
                (HttpServletRequest) context.getExternalContext().getRequest();
            String unicodeFileName = fileName;
            String agent = httpServletRequest.getHeader("USER-AGENT").toLowerCase(Locale.US);
            boolean isIE = false;
            if (null != agent && -1 != agent.indexOf("msie"))
                isIE = true;
            //encode the output file name to support NLS
            unicodeFileName = MimeUtil.encodeFileName(fileName, isIE);
            httpServletResponse.setHeader("Content-disposition",
                                          "attachment;filename=\"" + unicodeFileName +
    httpServletResponse.setContentType("application/x-download");
            context.responseComplete();
            httpServletResponse.setContentType("application/x-download");
            context.responseComplete();
    Now when i come to the page for first time and select a row and click on Export then the filename that gets shown in save file dialog is incorrect (it shows partial adf taskflow name) , but when i select the row again by clicking on any other row and click export it shows correct filename i.e. selectedRowName.zip or .xml according to type of row selected.
    Can anybody suggest what am i missing?

    difficult to tell like this.but better you debug your code then you can get where you getting filename wrong.

  • Tree node retrieving data for the 1st node only for 3 data blocks ?!

    Hello alllll
    i have 3 DATA BLOCKS MAster-Detail-Detail ; GL_TYPES -< GL_ACCOUNTS -< GL_COMPANIES
    The Rel between 1 & 2 is
    GL_ACCOUNTS.TYPE_ID = GL_TYPES.TYPE_IDThe Rel between 2 & 3 is
    GL_COMPANIES.ACCOUNT_ID = GL_ACCOUNTS.ACCOUNT_IDi also have a Treewhich is retrieving data in the opposite data blocks the following code used in WHEN-TREE-NODE-SELECTED Trigger and it works fine but not for every node ;
    the node selected shows data for the first node only; Say Assets but if i selected any other node it doesn't return any data ?
    could any boady pls explain to me why is that happening ?
    The following code is:
    DECLARE
            htree ITEM;
            NODE_VALUE VARCHAR2(100);
    BEGIN
    IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN 
    -- Find the tree itself.
    htree := FIND_ITEM ('BL_TREE.IT_TREE');
      NODE_VALUE := FTREE.GET_TREE_NODE_PROPERTY( htree, :SYSTEM.TRIGGER_NODE ,  Ftree.NODE_VALUE );
      GO_BLOCK ('GL_ACCOUNTS');
       set_block_property('GL_ACCOUNTS', DEFAULT_WHERE, 'GL_ACCOUNTS.ACCOUNT_ID = '  ||
       ftree.get_tree_node_property('BL_TREE.IT_TREE', :SYSTEM.TRIGGER_NODE, FTREE.NODE_VALUE));
    EXECUTE_QUERY;
    END IF;
    END;
    Regards,
    Abdetu...

    Hello Ammad Ahmed
    Thanks really for reply ,i appreciate... :)
    Can you explain little more what is the meaning of this?a tree block on canvas beside 3 data blockS out of 2 tables as follows
    SQL> desc GL_ACCOUNTS
    Name                                      Null?    Type
    ACCOUNT_ID                                NOT NULL NUMBER(10)
    TYPE_ID                                   NOT NULL NUMBER(1)
    ACCOUNT_NAME                              NOT NULL VARCHAR2(100)
    IS_CLOSED                                 NOT NULL NUMBER(1)
    ACCOUNT_ID_PARENT                                  NUMBER(10)
    SQL> desc GL_COMPANY_COA
    Name                                      Null?    Type
    ACCOUNT_ID                                NOT NULL NUMBER(10)
    COMPANY_ID                                NOT NULL NUMBER(2)only table GL_ACCOUNTS has a self rel so on data blocks on forms i have out of these 2 tables 3 data blocks in the following order
    GL_ACCOUNTS_PARENT on GL_ACCOUNTS has a where clause on it's property;
    account_id in ( select distinct account_id_parent from gl_accounts ) on GL_ACCOUNTS_PARENT block i am displaying on 1 row:
    1. the account_id ,
    2. the account
    3. name and account_type_name in a LOV
    on the second block GL_ACCOUNTS depending on the GL_ACCOUNTS table also am displaying muti rows :
    1. the account_id ,
    2. the account
    and a relation on form
    GL_ACCOUNTS.TYPE_ID = GL_ACCOUNTS_PARENT.TYPE_ID AND
    GL_ACCOUNTS.ACCOUNT_ID_PARENT = GL_ACCOUNTS_PARENT.ACCOUNT_IDon the third block GL_COMPANY_COA depending on the table GL_COMPANY_COA
    am displaying the company_id & company_name in multi_rows
    GL_COMPANY_COA.ACCOUNT_ID = GL_ACCOUNTS.ACCOUNT_ID
    how the data will be looking in data blocksam using the following link -> Large trees - using partial tree population
    http://andreas.weiden.orcl.over-blog.de/article-29307730.html
    PROCEDURE PR_FILL_TREE IS
        CURSOR crTop IS
          SELECT ACCOUNT_ID VALUE,
                 ACCOUNT_NAME LABEL
            FROM GL_ACCOUNTS
           WHERE ACCOUNT_ID_PARENT IS NULL
           ORDER BY type_id, ACCOUNT_id;
        nd FTree.NODE;
      BEGIN
          Ftree.DELETE_TREE_NODE(itTree, FTree.ROOT_NODE);
          FOR rec IN crTop LOOP
              nd:=FK_ADD_NODE(Ftree.ROOT_NODE, rec.VALUE , rec.LABEL);
              PR_QUERY_DETAILS(nd, rec.VALUE);
          END LOOP;
      END;
      if any unclear... pls notify me...!
    Regards,
    Abdetu...

  • Every sync gets "You are about to synchroniz​e your calendar for the first time" - Help !!!

    I am on a MBP with the Tour and was able to successfully sync iCal and Address Book with BB. But everytime I try to sync, I get the " You are about to synchronize our Calendar data for the first time." with the options to "Replace Device Data", "Merge Data" or Cancel. Has anyone seen this and know how to fix? Replacing data makes it impossible to update Mac with changes on BB.  
    Please help! 

    Create a backup of your iCal and your BlackBerry.
    Then create a test Calendar event on the BlackBerry, in iCal then test another synchronization once again.
    The first time sync prompt usually occurs when it does not detect entries in either the BlackBerry or iCal Calendar.
    -FB
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click "Accept as a Solution" for posts that have solved your issue(s)!

  • Hello. I have adobe forms and received the alert that it will be ending in July. Then I received an email about Adobe Acrobat XI Pro which can create forms. I signed up for the free trial and when I began to make a new form it brings me back to Adobe Form

    Hello. I have adobe forms and received the alert that it will be ending in July. Then I received an email about Adobe Acrobat XI Pro which can create forms. I signed up for the free trial and when I began to make a new form it brings me back to Adobe Forms. My question is, when Adobe Forms ends on July 28th will Adobe Acrobat XI Pro be able to create forms or will it now? and if not, then why is adobe advertising for it still?

    What you're calling "Adobe Forms" is really Adobe FormsCentral. The FormsCentral service is indeed going away soon, but you can always create PDF forms (AcroForms) with Acrobat. Acrobat also comes with a desktop version of the FormsCentral desiger, which can be used to create simple PDF forms that can be used apart from the FormsCentral service. So you'll no longer be able to create and host web forms with the FormsCentral service or use PDF forms with the FormsCentral service. You will be able to create standalone PDF forms with Acrobat and simple PDF forms with the FormsCentral desktop app.

  • Modified adobe form is not updating in to the spool

    Now i am working for the adobe forms work, i need to change the header and need to maintain header for all the pages.
    i updated successfully for the header but when i am checking in spool it is not showing updated form(it is showing previous form).
    the updated adobe form is showing in Preview PDF tab(layout tab) but not into the spool
    Please guide me on this issue.

    Hi florian,
    Thanks for your quick response.
    i have did the same thing, so many times i tried to execute a transaction but it is not giving right form.still it is showing old form
    Intially the form created me and that is not moved to quality, so my functional collegue asked to change the header information and it should be display for all the pages.
    my previous design as below mentioned.
    date                   page               logo
                       inspection instruction
    material
    inspection lot                inspection period
    vendor
    purchase order no
    quantity            ordered
                             delivered
                             open
    group
    groupconter
    longtext
    table data will be displayed in to this place.
    changes for the requirement are new header for the second page like Only date, pageno, logo and inspection lot.
    i did the changes in master page and after that remaining data put into design page.
    before it is working good and now we changed on that time onwards it is not showing updated form.
    still it is showing the previous form.
    please guide us this issue.

  • Adobe forms: Displaying work area data in different windows

    Hi,
    I have a requirement of showing work area data in different windows i.e work area which has sent from program needs to come in different windows of the form. I have created a smartform which will perfectly doing the above logic. The above work area also contains amount fields. I am also passing language 'English' or 'French', based on this i am displaying some texts also.
    But Client wants to see the same requirement in Adobe forms. Ao i am new to Adobe forms, I need some help for performing the above scenario. I am doing my research on this. But i want to know the steps which will not reduce the performance.
    In smartform, first window contains personnel no from work area and the second window contains address from work area. Then i have created a template with employee premium amount column, company premium amount column and total of that, all these from work area. So work area will contain only one row which i have to show in different window and on template.
    In Adobe forms, How can i do the same this which i have done in smart forms.
    Please suggest me any one in doing this. I appreciate your answers.
    Thanks,
    s.vikgnesh

    Hi,
    Yes as Santoosh said there is no such wiondow option in Adobe forms.
    But if you use webdynpro java/Abap we can acheive this.
    think something like this below, if it works.
    have 2 views 1st for the adobe form, 2nd view in a new window for the work area screen.
    in the adobe view have a button for the work area and respective event handler.
    in the event handler call this window, and then reload the same adobe form.
    if from the work area form if you need value to be passed to this adobe form. have a event handler for this.
    when purpose is done, close that window and set value to the required context field on the form. and reload that adobe form.
    this is a fuzzy process and time consuming, unless business has no other option we dont go this approach.
    but for sure this works, we did the same for a EHS process.
    Cheers,
    Sai

  • Acrobat Reader 10.1.4 "lack of data for the image"

    Hello,
    when I open the pdf file in version 10.1.3, everything is fine, but when opened this pdf in version 10.1.4 I receive an error message "lack of data for the image" (translate from czech). When set a  view magnification less than 120%, everything is fine, but if you set up a larger view, then is not displayed the pdf file.The document also does not print.
    Best regards Jindra

    Read this:
    http://blogs.adobe.com/dmcmahon/2012/08/21/acrobat-insufficient-data-for-an-image-error-af ter-updating-to-10-1-4-or-9-5-2/

  • Get number of pages of adobe form before printing

    Dear Experts,
    I want to get number of pages adobe form will print before printing the form.
    Please suggest.

    Hello Sagar,
         Without executing the generated Function Module, it is not possible to get the page count of a form in driver program because the generated FM itself is responsible to execute the whole layout and determine the number of pages in the PDF output. The below screenshot shows the number of pages in the structure /1BCDWB/FORMOUTPUT of generated FM after the generated FM is executed successfully.
    I really don't know why you need the number of pages before calling the generated FM. But if you still need it, then you might need to call the whole FM cycle twice( FP_JOB_OPEN , Generated FM, and FP_JOB_CLOSE ).
    1) First time while calling the FM FP_JOB_OPEN, you need to modify the contents of SFPOUTPUTPARAMS structure. Send the blank values in fields GETPDF, REQNEW and REQIMM, and send the "X" in fields NOPREVIEW, NOPRINT and NOARCHIVE and 000 in field COPIES.
    The reason for doing this is, we do not want actual PDF output. We only want to determine the number of pages.
    2) Now execute the generated FM . You will get the number of pages in the structure /1BCDWB/FORMOUTPUT-PAGES as shown in screenshot above.
    3) Now call the FM FP_JOB_CLOSE as usual.
    4) Again call the FM FP_JOB_OPEN. This time you again need to modify the contents of SFPOUTPUTPARAMS structure reversely. Send the "X" in fields GETPDF, REQNEW and REQIMM, and send the blank values in fields NOPREVIEW, NOPRINT and NOARCHIVE and 001 in field COPIES.
    This time we need the actual PDF output.
    5) Now do the required processing with previously fetched number of pages before calling the generated FM.
    6) Now call the FM FP_JOB_CLOSE as usual.

  • Problem in retreiving data for the given user parameter year!!!

    hi all,
    I am working in oracle report 6i. I want to display the data for the date given in the parameter field(MM/YYYY).
    For ex. Input is 07/2007 means i want to display the data from 04/2006 to 07/2007.Please guide me
    to get this desire output......
    Here is my query.....
    select gl_code,financial_month,financial_year,division_code
    from gtemp
    where financial_year between to_number(to_char(:P_Date,'YYYY')) - 1 and to_number(to_char(:P_Date,'YYYY'))
    and financial_month >= '04'
    and financial_month < = to_char(:P_Date,'MM')
    and division_code = 11
    order by financial_month, financial_year
    regards,
    jame
    Message was edited by:
    Jame

    Works fine if u gave values instead of variables.... But if we gave 02 in place of 11 like below.Query will get
    confused to take which years 02 because in both 2005 and 2006 we have 02(Feb)thats y.......
    how to overcome this prob.......I think, my entire query is wrong to get this desire output....Please guide me how
    to solve......
    select gl_code,financial_month,financial_year,division_code
    from gtemp
    where financial_year between 2005 and 2006
    and financial_month >= '04'
    and financial_month < = '02'
    and division_code = 11
    order by financial_month, financial_year

Maybe you are looking for

  • Intel iMac Core Duo: iSight/iChatAV 3 Focus Problems

    My dad and I have matching Intel iMac's with same RAM etc. What I am finding with iChatAV in a 1-on-1 video chat is that in the little window that shows me what I look like, my video looks awesome, yet my dad's video looks quite out of focus. He expe

  • New with a hot spot

    I finally dropped the land line and went wireless with a JetPack 4G hot spot.  Up to now it is working great.  I do have the speed that I expected and connecting all my devices to it was very simple.  The only problem is that since I dropped the land

  • Changing color of GUI (Photoshop CS4)

    Hi there, I am trying to change a color scheme of PS GUI. My 3ds max colors, mayas ... all programs color is "sand color" such as the ms windows color. HOW can i change menus, toolbars...IN PHOTOSHOP ?? THANX VERY MUCH FOR ANSWER

  • Native Applications Crashing or Not Opening

    Hello Does anyone at apple have any idea if there is a solution on the way? Most Applications are Crashing or even Stopped working on my Iphone Remote does not even open Movie.app same thing can't open it few othe ones Crash. Also the phone seems not

  • Does anyone knows why my computer gives me this message.

    This message keeps poping in my screen. " Another computer on the network is using your computer's IP address ( my IP number). Try connecting again later. If you continue to have problems, change the IPaddress of this computerof the other device. Con