Dynamically providing the continution data in PDF

Hi,
I am generating a PDF with huge amount of data fetched from DB, once the data goes out of that particular page (previous), i need to provide the "continued..." option to the next page. How this can be done using the PDF library in Java? Is Adobe PDF library which does have the API to do this? or how this logic can be handled? If so, please provide the samples.
Thanks,
Rithu

Thanks for the reply. Once the data goes beyond the limit of the page, to populate the rest of the datas in the next page we need to provide it with a "Cont'd" option(text) . It seems that MS Word does this through API. How this can be done through any PDF library? or how this logic can be handled, say if the paragraph set for a particular page goes beyound the said number , provide "cont'd" text by displaying the rest of the datas in the next page.
Thanks,
Rithu

Similar Messages

  • How to download the script data into pdf file

    how to download the script data into pdf file
    i have one option to download the script data to pdf file --->rstxpdft4 program.
    i have one doubt how to use this proogram.or any function module to download the script data to pdf file.
    Thanks and regards,
    Sri.

    Hi      Sri Sai,
    I know one method to convert the sapscript to pdf file :
    first generate a Spool Request for the required Sapscript
    then goto transaction SP01 and copy the generated Spool Request number
    now execute the SAP report RSTXPDFT4
    here enter the copied Spool request number and the target directory into the parameters
    execute the report
    required pdf file will be generated into the target directory
    i hope it will help you out
    Please refer this simple program:
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    Reward points if found helpful....
    Cheers,
    Eshwar.

  • Clear the table data in PDF form

    Hi all,
    I am workin gon WD ABAP, where i  have a Interactive UI elelemt, and i am calling a PDF in to it.
    The PDF has a table, of which i am able to display , read  and save the data to Database.
    But after clicking on the save button , i want the table data to be cleared, which is not happening.
    I tried with binding with an empty internal table, but that gives an error "SOM Expression....."..!!
    Can any one let me know how to clear the PDF table data after clicking on some button.?
    All replies will be appreciated...

    Hi Runal,
    I am not sure about PDF as never worked on it but we can clear the table on view by simply invalidating the node by which you have binded your table. try to invalidate if it helps...
    this is the code to invalidate....
    lo_nd_nodename->invalidate( ).
    regards
    Pranav

  • RE: How to Export the Table data Into PDF File  in ADF

    Hi Experts,
    I am using Jdeveloper 11.1.2.3.0
    I am created employee VO and Drag and Drop as a Table in a page. So need to Export the Table data into A PDF file.
    So please give me some suggestions regarding this Scnerio.
    With Regards,
    satish

    Hi Guys ,
    Any more answers for this question.
    Please find my jsff below
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core" xmlns:report="http://www.adfwithejb.blogspot.com">
      <af:panelGroupLayout layout="vertical" id="pgl2">
          <af:query id="qryId1" headerText="Service Tariff Mapping Details" disclosed="true"
                    value="#{bindings.findByTarifValidFromQuery.queryDescriptor}"
                    model="#{bindings.findByTarifValidFromQuery.queryModel}"
                    queryListener="#{reportWiseInvoiceBean.genericQueryListener}"
                    queryOperationListener="#{bindings.findByTarifValidFromQuery.processQueryOperation}"
                    resultComponentId="pc1::t2">
         <f:attribute name="queryExpression" value="bindings.findByTarifValidFromQuery.processQuery"/>
                          </af:query>
        <af:panelCollection id="pc1" styleClass="AFStretchWidth">
          <f:facet name="menus"/>
          <f:facet name="toolbar">
              <af:toolbar id="t1">
                 <af:menuBar id="pt_m1">
                <report:reportDeclarative ButtonName="ExportToExcel" ReportName="ServiceTariffMappingDetails"
                                          ReportType="PDF" TableId=":::pc1:t2" id="rd1" Pagination="true"/>
                <af:commandButton text="excel" id="cb1" binding="#{exportToExcelBean.exportID}">
                <af:setActionListener from="pt1:pgl1:pgl2:pc1:t2" to="#{viewScope['exporter.exportedId']}"/>
                <af:setActionListener from="border:1px solid #cccccc" to="#{viewScope['exporter.thStyle']}"/>
                <af:setActionListener from="border:1px solid #cccccc" to="#{viewScope['exporter.tdStyle']}"/>
                <af:fileDownloadActionListener method="#{exportToExcelBean.exportToExcel}" filename="Service TariffMapping.xls"
                                                 contentType="text/excel;chatset=UTF-8;"/>
                </af:commandButton>
                <af:commandMenuItem id="pt_cmi133" icon="/images/common/Excel-icon.png"
                                                shortDesc="ExportToExcel"
                                >
                                <af:exportCollectionActionListener exportedId="t2" type="excelHTML"
                                                                   title="Service Tariff Mapping"
                                                                   filename="Service Tariff Mapping.xls"/>
                            </af:commandMenuItem></af:menuBar>
              </af:toolbar>
          </f:facet>
          <f:facet name="statusbar"/>
          <af:table value="#{bindings.ServiceTariffMappingDtlsRVO1.collectionModel}" var="row"
                    rows="#{bindings.ServiceTariffMappingDtlsRVO1.rangeSize}"
                    emptyText="#{bindings.ServiceTariffMappingDtlsRVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                    fetchSize="#{bindings.ServiceTariffMappingDtlsRVO1.rangeSize}" rowBandingInterval="0"
                    filterModel="#{bindings.findByTarifValidFromQuery.queryDescriptor}"
                    queryListener="#{bindings.findByTarifValidFromQuery.processQuery}" filterVisible="true" varStatus="vs"
                    id="t2" columnStretching="last" binding="#{ServiceTariffMappBean.testTable}">
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.label}"
                       id="c1">
              <af:inputText value="#{row.bindings.NormalTariffCode.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.tooltip}" id="it1">
                <f:validator binding="#{row.bindings.NormalTariffCode.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.label}"
                       id="c2">
              <af:inputText value="#{row.bindings.ServiceCode.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.tooltip}" id="it2">
                <f:validator binding="#{row.bindings.ServiceCode.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.label}" id="c3">
              <f:facet name="filter">
                <af:inputDate value="#{vs.filterCriteria.TrfVldFrm}" id="id1">
                  <af:convertDateTime pattern="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.format}"/>
                </af:inputDate>
              </f:facet>
              <af:inputDate value="#{row.bindings.TrfVldFrm.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.displayWidth}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.tooltip}" id="id2">
                <f:validator binding="#{row.bindings.TrfVldFrm.validator}"/>
                <af:convertDateTime pattern="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.format}"/>
              </af:inputDate>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.label}"
                       id="c4">
              <af:inputText value="#{row.bindings.ServiceDesc.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.tooltip}" id="it3">
                <f:validator binding="#{row.bindings.ServiceDesc.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.label}" id="c5">
              <af:inputText value="#{row.bindings.OtTrfCode.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.tooltip}" id="it4">
                <f:validator binding="#{row.bindings.OtTrfCode.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.label}" id="c6">
              <af:inputText value="#{row.bindings.OtUnitRate.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.tooltip}" id="it5">
                <f:validator binding="#{row.bindings.OtUnitRate.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.label}" id="c7">
              <af:inputText value="#{row.bindings.NtUnitRate.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.tooltip}" id="it6">
                <f:validator binding="#{row.bindings.NtUnitRate.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.label}" id="c8">
              <af:inputText value="#{row.bindings.TrfGrt.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.tooltip}" id="it7">
                <f:validator binding="#{row.bindings.TrfGrt.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.label}"
                       id="c9">
              <af:inputText value="#{row.bindings.ChargePartyCode.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.tooltip}" id="it8">
                <f:validator binding="#{row.bindings.ChargePartyCode.validator}"/>
              </af:inputText>
            </af:column>
          </af:table>
        </af:panelCollection>
      </af:panelGroupLayout>
    </jsp:root>

  • How can I dynamically change the Application Date Format?

    Hi everyone...
    In my application (v 3.2) I let the user set the application date format dynamically through a "preference" value they can change on the go.
    I then take the format they pick and assign their value (ie: DD-MON-YYYY) and pad 'HH:MI' to it and use this as the PICK_DATE_FORMAT_MASK which works great for most date pickers.
    The problem I have is that some date picker I use in the application don't require the HH:MI, they simply need the DD-MON-YYYY part. Could I use the NLS_DATE_FORMAT for this? Would I then be able to use date pickers with the "use application date format"? It doesn't seem to work for me.
    In other words, I basically need 2 date formats for my application date pickers; 1 for simply the dates and 1 for dates including time. And these 2 formats are chosen by the user by setting an application preference dynamically at run time.
    Not sure if I make sense here....any idea?
    Thanks!
    Francois

    "use application date format" is the choice you want.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to dynamic set the X date series...

    Hi,
    I set the X axis date value interval 1 so it can show as a daily "date", however, the chart is good if the data point is within 24 records. However, when I draw 7 days data (around 168 records), the x axis date lable will be messed up and cannot
    view the actual date values.
    Could you advise a formular to evaluate the returned data set, if it is bigger than a variable (e.g 168 or returned data set records is larger than 168 then it will set to auto) ??
    Thanks

    Hi kkcci88888,
    According to your description, you create a chart and many values display on X axis, then you can’t see the actual date value clearly. So you want to make X axis values group on date, right?
    In your scenario, since there are too many records within 7 days, it will have too many date appear on the category (X-axis). However, we could specify the dataset fields group on day values, and make label displays as YYYY-MM_DD using expression. Please
    refer to steps below:
    1. Specify Label with expression Category Group Properties like below:
    =Year(Fields!date.Value)&"-"&Month(Fields!date.Value)&"-"&day(Fields!date.Value)
    2. Specify the Group on expression Category Group Properties like below:
    =day(Fields!date.Value)
    3. Preview the report.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Is there any seeded report for providing the Project data on SL/SBG level

    Hello Experts,
    In my Organization, we are using Oracle Daily Intelligence for project dashboard. but data is not coming properly &
    look and feel is not so good.
    So Mgm has decided to build the custom project dashboard which will group the information on Service Line level as
    well as SBG group level. We have provided them query and data but we need to validate it with some seeded
    reports. I am not sure which reports provides me Project Mgm Performance / Project Finance Performance / Project
    profitability / Project Resource Utillization reports so that we can validate and give go-ahead.
    Thanks

    Hi
    There are no seeded reports which shows rolled up values by any type of aggregation.
    Project Intelligence product has seeded reports that rolled up projects by organization, however it is a separate product that you have not implemented.

  • Setting the Member & data build level dynamically

    Hello, I have got a situation where i need to set the Member & data build level dynamically based on the member. The option "Build Multidimensional down to here"(OLAPMetaoutline Menu)can be used,But when we use this option i could not perform my task as i need set the Build level dynamically based on the member level.I have to set the level dynamically for the following instance.Suppose My time dimension hierarchy is as follows: BY Year BY Quarter By Month If the year is say 1995,then quarter level & month level data is not required. If the year is say 1998,then quarter level & month level data is required. Could anyone provide a solution for dynamically setting the Member & data build level? Thanks,Sathyan

    Hi CTS,
    Thanks for ur repply,
    My source side i am having BANK_BRANCH_STATUS table has BRANCH_CODE and EOC_STATUS(possible values for this column is 'N','T','F','E' & 'B').
    The source table from which data has to tranform will be having BRANCH_CODE.
    i made odiwaitfordata as 1st step in package ,in this step the code looks like this
    OdiWaitForData "-CONTEXT=GLOBAL" "-GLOBAL_ROWCOUNT=1" "-LSCHEMA=ORACLE_FCSAILS" "-POLLINT=1000" "-RESUME_KEY_OPERATOR==" "-SQLFILTER=EOC_STATUS='E'" "-TIMEOUT=0" "-TIMEOUT_WITH_ROWS_OK=YES" "-UNIT_ROWCOUNT=>=1" "-INCREMENT_DETECTION=NO" "-TABLE_NAME=BANK_BRANCH_STATUS" "-OBJECT_TYPE=T"
    In the procedure,
    Source command-select branch_CODE from BANK_BRANCH_STATUS WHERE EOC_STATUS='E'
    Target command- Execute scenario for batch with branchid as a parameter... how to put up this in code form....could u suggest me?
    3) flag those which are executed so you don't wait for them again --how to put up this in code form....could u suggest me?
    Please sugest me,
    Thanks,
    MNK

  • Is there any api to modify the form field in PDF?

    Hi,
    Our client need we provide the editable PDF, i.e. some form fields in the PDF report can be edit. Now we created the PDF template and merged it with the XML data definition in Jdeveloper, but when we get the final PDF report, we found that the PDF form field property is changed to "Read-Only" automatically. We make sure that in PDF template the form field is not "Read-Only", something happened when we merging the XML data and the PDF template.
    Now we wonder if there is any API can help us to modify the PDF form field property, after we merge the XML data and PDF template, we can use it to change the form fields to editable, not "Read-Only".

    Hi,
    What I need is to modify some form fields' property, I explore some web and found before I create the PDF file, I can set the security of the PDF:
    Properties prop = new Properties();
    prop.put("pdf-security","true");
    prop.put("pdf-open-password","welcome");
    So I wonder if there is one property related to the PDF form field.
    Thank you.

  • How can i get the recurring date

    Is there any API can provide the recurring date i selected?
    I know token "ItemGetDate" can provide me an appointment 's assign, create, begin, DueDate, end date, otherwise the DataType Duration(0) i always failed to get anything.

    Hi,
    Depending on the cycle type will dictate the next invoice date. 
    So if you had a monthly recurring order starting today on July 27, 2012 the next upcoming date will a month from the date.  However the invoice will send 14 days prior to the upcoming date. 
    For more details please view the article below on how this works exactly.
    http://kb.worldsecuresystems.com/239/bc_2391.html#main_How_the_invoicing_works
    Kind regards,
    -Sidney

  • View ABAP program data in PDF

    Hello Experts,
    I am working on program to display the invoices data in PDF through ABAP program. For this i have used cl_gui_html_viewer and ALV grid. everything works fine but one. When I click on the PDF preview button on screen then for first PDF its working fine, but when i click on the another PDF preview button then it displays blank screen. In case of rerunning the program it again works fine only for first PDF preview. if anybody have idea regarding this issue please share it with me. FYI i am attaching necessary code with this. 
    Thanks,
    Avadhut

    Hi Alok,
    Here is something wrong in the code i have used it to display PDF.
    METHOD on_link_click.
        DATA : l_str_content TYPE zebd_send_content.
        READ TABLE m_tab_content INDEX row INTO l_str_content.
        DATA: l_xml  TYPE REF TO cl_xml_document.
        CREATE OBJECT l_xml.
        CASE column.
          WHEN 'PRVW'.
            g_attachment_string = l_str_content-attachment.
            CALL FUNCTION 'Z_EBD_PDF_SHOW'
              EXPORTING
                i_id = l_str_content-id
                i_pdf_string = g_attachment_string.
            CREATE OBJECT g_rcl_html_control
              EXPORTING
    *            shellstyle         =
                parent             = g_rcl_html_container
    *            lifetime           = lifetime_default
    *            saphtmlp           =
    *            uiflag             =
    *            name               =
    *            saphttp            =
    *            query_table_disabled = ''
    *          EXCEPTIONS
    *            cntl_error         = 1
    *            cntl_install_error = 2
    *            dp_install_error   = 3
    *            dp_error           = 4
    *            others             = 5
            IF sy-subrc <> 0.
    *         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
    FUNCTION Z_EBD_PDF_SHOW .
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_PDF_STRING) TYPE  STRING
    *"     REFERENCE(I_ID) TYPE  STRING
      g_attachment_string = i_pdf_string.
      g_id = I_ID.
      call screen 0101 STARTING AT 5 5.
    ENDFUNCTION.
    ***INCLUDE LZ_EBDO01 .
    *&      Module  STATUS_0100  OUTPUT
    *       text
    module STATUS_0100 output.
      set pf-status '100'.
    *  SET TITLEBAR 'xxx'.
      clear: g_url, g_tab_pdf_data,g_attachment_binary.
      free: g_rcl_html_container, g_rcl_html_control.
      create object g_rcl_html_container
        exporting
          container_name = 'PDF'.
      create object g_rcl_html_control
        exporting
          parent = g_rcl_html_container.
    *      lifetime = cl_gui_html_viewer=>lifetime_dynpro.
    *    CREATE OBJECT g_rcl_pdf_control
    *      EXPORTING
    *        parent            = g_rcl_html_container
    **        lifetime          =
    **        shellstyle        =
    **        autoalign         =
    *      EXCEPTIONS
    *        cntl_error        = 1
    *        cntl_system_error = 2
    *        create_error      = 3
    *        lifetime_error    = 4
    *        others            = 5
    *    IF sy-subrc <> 0.
    **     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *    ENDIF.
    * Convert xstring to binary table to pass to the LOAD_DATA method
      clear g_attachment_binary.
      call function 'SSFC_BASE64_DECODE'
        exporting
          b64data = g_attachment_string
        importing
          bindata = g_attachment_binary
        exceptions
          others  = 8.
      clear g_tab_pdf_data.
      call function 'SCMS_XSTRING_TO_BINARY'
        exporting
          buffer     = g_attachment_binary
        tables
          binary_tab = g_tab_pdf_data.
    * Load the HTML
      clear g_url.
      CONCATENATE g_id '.pdf' into g_id.
      g_rcl_html_control->load_data(
         exporting
           url          = g_id
           type         = 'application'
           subtype      = 'pdf'
         importing
           assigned_url         = g_url
         changing
           data_table           = g_tab_pdf_data
         exceptions
           dp_invalid_parameter = 1
           dp_error_general     = 2
           cntl_error           = 3
           others               = 4 ).
    *     CALL METHOD g_rcl_pdf_control->open_document
    *    EXPORTING
    *      url               = g_url
    *    EXCEPTIONS
    *      cntl_error        = 1
    *      cntl_system_error = 2
    *      others            = 3
    *  IF sy-subrc <> 0.
    **   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *  ENDIF.
    ** Show it
      g_rcl_html_control->show_url( url = g_url
        in_place = 'X' ).
    endmodule.                 " STATUS_0100  OUTPUT
    Thanks,
    Avadhut

  • Did being able to use the same data in multiple apps get added?

    In the new iOS 4.2, did Apple include the ability to use the same data, eg PDF files in multiple apps? I have several hundred PDF files that I want to use in three different apps.
    Or is it still the same, that you have to load up (and use valuable space) the same data again and again for EACH individual app?
    Thanks

    I don't know but think it would mean the PDFs must be stored somewhere on the device itself (like on a computer). Then also the apps must be designed to use the files from there. So a change in the iOS wouldn't be all that's needed.

  • Can you please provide the .csv files used in Power BI Getting Started Guide

    Hi Team,
    I am exploring the Power BI app developed by Microsoft on My Windows 8 machine
    For that I found the Getting started guide from the below link
    http://office.microsoft.com/en-in/excel-help/power-bi-getting-started-guide-HA104103589.aspx?CTT=5&origin=HA102835634
    Power Query and Power Pivot are totally new to me and I am trying to learn more on it
    While trying to execute the steps given in the starting guide I found that it requires 2 csv files (NYSE Daily 2009 and same for NASDAQ) for mashing up data agaist S&P 500 
    I tried to get from web, but unfortunately not getting the required data
    Can you please provide the test data (the 2 csv files NYSE Daily 2009 and NASDAQ daily 2009) using which I will resume my work in Power BI?
    Thanks in advance
    Rajendra
    InfoCepts( Specialists in Onshore and Offshore BI)
    Rajendra Kitukale InfoCepts(Specialists in Onsite and Offshore BI)

    Hi, all -- here are links to the CSV files.
    NYSE sample data:
    http://go.microsoft.com/fwlink/?LinkID=389692
    NASDAQ sample data:
    http://go.microsoft.com/fwlink/?LinkId=389693
    Hope that helps!
    Maggie Sparkman

  • Acrobat 9 - how do you create a dynamic stamp to include the current date (java script)

    I have seen my question multiple places and times but the resolutions provided have not worked for me.
    I am running Acrobat 9 Pro, cannot run X or XI due to the use of ProSystem fx Engagement.
    I want to create what I thought would be a simple stamp. My initials and the current date. i.e. "crm 01/10/13".
    Simple right? I created a PDF of my initials. Now I just need the text field with the proper Java Script to insert the date, correct?
    I have tried opening "Dynamic.pdf" and copying and pasting the text field that includes the Java Script:
    " event.value = (new Date()).toString(); AFDate_FormatEx("h:MM tt, mmm dd, yyyy"); "
    The date does not update, it stays static.
    I have manually entered the Java Script.
    I have edited the Java Script to remove the "Ex".
    I have edited the Java Script to revise the "yyyy" to "yy".
    I have edited the Java Script to remove the " h:MM tt, " trying different formats to get "dd/mm/yy".
    I have selected "Use single-key accelerators to access tools" in Preferences/General.
    I have tried PDF files, PNG files. I have created the image files from Word and Excel.
    I am at my wits' end. Can someone PLEASE assist me to resolve what should be a simple issue (I hope).
    Thank you in advance.

    Thank you for your response.
    Your script works well, but I still have the same issue.  The date is remaining static to the system date when the stamp is created.  My initial idea was to create a pdf of my initials "crm" and then add the text field with the java script for the date behind my initials.  "crm" + (TEXT FIELD with JS).  I wanted 3 stamps, red, blue and green.  The colors correspond to specific processes in our workflow.
    Your script adds my initials as well as the date.
    My machine is running Windows 7.
    My stamps are located:
    C://Documents/Acrobat Stamps/...
    Acrobat templates:
    C://Program Files (x86)/Adobe/Acrobat 9.0/Acrobat/plug_ins/Annotations/Stamps/ENU/...
    I have no problem creating stamps, just a stamp that will use the current system date.  I HATE using the typewriter for my initials and the date.  I guess I can stamp my initials and then type the date...but what is the point?
    Do you have any further thoughts or suggestions?
    Thank you very much.
    crm 01/11/13 

  • How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection

    How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection.
    I have a multiple rows on PDF form. All rows have 4 textfields. I want to submit the multiple rows data to a method defiened in webservice.
    Unable to retrieve the data in multiple rows within webservice method.

    Hi Paul,
    I'm now able to save the retrieved xml in a hidden text field and create dynamic table, and I'm able to fill this table from the XML, but the problem is that I could not find the correct way to loop on the xml, what I'm trying to say, the table will have number of rows with the data of the first row only, so can you tell me the right way to loop on the xml!
    this is my code
    TextField1.rawValue=xmlData.document.rawValue;
    xfa.datasets.data.loadXML(TextField1.rawValue, true, false);
    for(var i=0; i<count; i++)
    xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Num").rawValue = xfa.datasets.data.record.num.value;
    xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Name").rawValue = xfa.datasets.data.record.name.value;
    Table1.Row1.instanceManager.addInstance(true);
    Thanks
    Hussam

Maybe you are looking for

  • How do I switch itunes from one computer to my new one?

    I have iTunes installed on my new computer. The problem is that all of my app icons are greyed out. Any help is greatly appreciated. Thank you! Mike

  • Code for execute button on selection screen to get result

    hi experts, I need a help for writing a code for execution button on selection screen.Like in normal report on abap editor we insert selection criteria like number and we get the result according that particular number on next screen. same thing i am

  • My form will not come out of query mode. Why?

    I have a simple form with 2 canvases the second canvas apears as a modal window and inherits the main menu (6i Smartbar menu). I place the modal screen in query mode and execute query, if the form returns no records it then becomes stuck in query mod

  • Does lion os need to be updated

    do i need to update my operating system i have lion and now i think macs are at maverick?

  • Infospoke : DATASET_WRITE_ERROR

    Hi  experts, Currently i  am working production support BI7 project. Here  we have faced one issue w.r.t process chain related to infospokes Here data is extracted from  DSO to  file(Application server) through open hub destination. Job name is BI_PR