Generate PDF form

Hi all,
I'm using the code below to generate a pdf form ('ZPDF_TEST_FORM').
When the function in FM_NAME is called, it returns with SY-SUBRC eq 2 and this error message:
Adobe document services error: SOAP Runtime
Exception: CSoapExceptionFault : SOAP (100102)
Any ideas??
Thanks,
Jeroen
data: FP_OUTPUTPARAMS   type SFPOUTPUTPARAMS,
      FM_NAME           type RS38L_FNAM,
      FP_DOCPARAMS      type SFPDOCPARAMS,
      LV_FORMOUTPUT     type FPFORMOUTPUT.
initialization.
  FP_OUTPUTPARAMS-GETPDF = 'X'.
  call function 'FP_JOB_OPEN'
    changing
      IE_OUTPUTPARAMS = FP_OUTPUTPARAMS
    exceptions
      CANCEL          = 1
      USAGE_ERROR     = 2
      SYSTEM_ERROR    = 3
      INTERNAL_ERROR  = 4
      others          = 5.
  call function 'FP_FUNCTION_MODULE_NAME'
    exporting
      I_NAME     = 'ZPDF_TEST_FORM'
    importing
      E_FUNCNAME = FM_NAME.
  call function FM_NAME
    exporting
      /1BCDWB/DOCPARAMS  = FP_DOCPARAMS
    importing
      /1BCDWB/FORMOUTPUT = LV_FORMOUTPUT
    exceptions
      USAGE_ERROR        = 1
      SYSTEM_ERROR       = 2
      INTERNAL_ERROR     = 3.
  call function 'FP_JOB_CLOSE'
    exceptions
      USAGE_ERROR    = 1
      SYSTEM_ERROR   = 2
      INTERNAL_ERROR = 3
      others         = 4.

This should be due to a user authorization error.
You should look for the ADS Configuration Guide at https://www.sdn.sap.com/irj/sdn/adobe -> Installation and Configuration and pick your scenario or http://help.sap.com/saphelp_nw70/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm
Look specially at the chapter 5 Creating a User in the SAP NetWeaver AS ABAP for Basic Authentication -> Assigning the Security Role in Java at the ADS Conf. Guide.
If you need more information, I'll glad to assist you.
Regards,
Darwin Castillo
SAP Netweaver Consultant
Edited by: Darwin Castillo on May 17, 2009 6:27 AM

Similar Messages

  • Application error while generating PDF form

    Hello there,
    I am getting the message "Application error while generating PDF form" and when you hover it has additional information Message Class HREIC_APPL - Message number 258.
    I get this upon doing the following steps:
    1. Enter SAP R3, enter HREIC on the transaction code input.
    2. Enter EIC, Activity Search. Searched for an Activity, selected it and click the "PRINT" button.
    3. After clicking the PRINT button, I get the error message "Application error while generating PDF form".
    Installed this on development box, did the same configuration in test system, but still I get this error. ADS Configuration is working fine and configured fine.
    Is there anything else that is needed to be checked? like Ports, Firewalls, etc?
    Thanks a lot.

    Be sure that the RFC name is "ADS" and not anything else.
    Thanks.

  • API for generating PDF Form

    How can i generate PDF Form from .NET coding?

    Etymon� PJ is a developer toolkit for parsing, modifying, and creating PDF documents. The main part of the toolkit is a Java class library that provides software developers with an object representation of a PDF document and offers the following features:
    # Read and parse an existing PDF document
    # Extract data from an existing PDF document
    # Modify an existing PDF document
    # Create a new PDF document
    check this link
    http://www.etymon.com/pj/
    Renjith

  • How to populate Adobe LiveCycle Designer generated  PDF Forms with data from Database in Windows app

    Hi
    I have a PDF template designed in Adobe LiveCycle Designer. This template has form fields which needs to be filled with data programmatically. I am using windows application in C#.Net 2005 in which I want to retrieve data from database and merge this data into PDF form in respective fields.
    How this can be achieved?
    I searched a lot & I found that we can process the XDP file generated from PDF to acheive this. I created the XDP file out of the PDF template created in designer. But I don't know how to merge data from database into that XDP file in respective fields and again convert this XDP file back to PDF programmatically. Can anybody help me ? This is urgent.
    Thanks in advance.
    Sambhaji

    Please ignore the above code.<br />The following one is correct one.<br />using System;<br />using System.Data;<br />using System.Configuration;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.WebControls;<br />using System.Web.UI.WebControls.WebParts;<br />using System.Web.UI.HtmlControls;<br />using System.Text;<br />public partial class _Default : System.Web.UI.Page <br />{<br />    protected void Page_Load(object sender, EventArgs e)<br />    {<br />        Response.ContentType = "application/vnd.adobe.xdp+xml";<br />        StringBuilder responseString = new StringBuilder();<br />        responseString.Append("<?xml version='1.0' encoding='UTF-8'?>");<br />        responseString.Append("<?xfa generator='AdobeLiveCycleDesigner_V8.0' APIVersion='2.5.6290.0'?>");<br />        responseString.Append("<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>");<br />        responseString.Append("<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>");<br />        responseString.Append("<xfa:data>");<br /><br />        responseString.Append("<form1>");<br />        responseString.Append("<TextField1>Homer</TextField1>");<br />        responseString.Append("<TextField2>Simpson</TextField2>");<br />        responseString.Append("<field name ='DropDownList1'>");<br />        responseString.Append("<items save='1'>");<br />        responseString.Append("<text>1</text>");<br />        responseString.Append("<text>2</text>");<br />        responseString.Append("<text>3</text>");<br />        responseString.Append("</items>");<br />        responseString.Append("</field>");<br /><br />        responseString.Append("</form1>");<br /><br />        responseString.Append("</xfa:data>");<br />        responseString.Append("</xfa:datasets>");<br />        responseString.Append("<pdf  href='C:\\Test.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />");<br />        responseString.Append("</xdp:xdp>");<br /><br />        Response.Write(responseString);<br />        Response.Flush();<br />        Response.End();<br />    }<br />}

  • Generate PDF FORM with editable fields

    Hi,
    my requirement is to create a document wich has a number of fields which users can fill in. By default, these fields need to be filled in with the data from the database, but editable by the user, the rest of the document has to be non-editable. I'm looking to PDF Forms for this, but am open to other suggestions. I can't get the output to show such fields. Is it even possible?
    Spiffo

    HI,
    I have no clear at all how we define a editable field in the template.
    Besides, we need Adobe Writer to see this editable fields from the PDF generated?
    Thanks in advance.
    S.

  • Convert or Generate PDF form to XML format

    Hello,
    Is it possible to convert or generate a filled PDF form to XML with a specific format like the one below? Please advise.
    <ImportSession UserID="Test" Password="Test">
    <Batches>
    <Batch Name="Batch Name" BatchClassName="Batch Name">
    <Documents>
    <Document FormTypeName="Form2314">
    <IndexFields>
    <IndexField Name="TITLE" Value="7601"/>
    <IndexField Name="DocDate" Value="05/18/2011"/>
    <IndexField Name="Person Name" Value="Smith, John"/>
    <IndexField Name="From" Value="IT Division"/>
    </IndexFields>
    <Pages>
    <Page ImportFileName="<INSERT FILE LOCATION HERE>"/>
    </Pages></Document>
    </Documents>
    </Batch>
    </Batches>
    </ImportSession>
    Thanks,
    Han Dao

    Hi Hodmi,
    I would prefer to use LC Designer, can you explain little bit more on how to start it and LC Form ES.
    Thanks, Han

  • Generate PDF form without hidden fields

    when I generate a PDF form from the responses it shows the hidden fields that would not have been shown. Is there a way to stop that from happening?

    Hi;
    That is not something supported at this time.
    We do have a "Feature Request" form where you can vote on popular existing ideas or add a new one of your own:
    https://adobeformscentral.com/?f=XnF-KJVCovcEVQz9tZHYPQ
    Thanks,
    Josh

  • How generate PDF form XML

    I have a XML in the following format
      <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    - <PP gemfgid="DEAPP4144T11G03" type="AssyPPart_GEAE" Value="">
    - <WS gemfgid="DEAWS4144T11G03_AGB10" type="AssyWkstn_GEAE" Value="">
      <OP gemfgid="DEAOP4144T11G03_AGB10_000" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_010" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_020" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_030" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_040" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_050" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_060" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_070" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_080" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_090" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      </WS>
      </PP>I want to generate hte PDF in following format
    PP
    I__WS
        I___OPPlease help how write a "fo" file for this and generate the PDF

    Write an XSL with FO instrauctions, transform your XML with this XSL to an XSL-FO file and generate the PDF from the XSL-FO file with Apache FOP.
    See http://xmlgraphics.apache.org/fop/quickstartguide.html :
    5. To produce a PDF file from this XML file, we need an XSLT stylesheet that converts the XML to XSL-FO. This is the first step in the processing chain. The second step will be done by FOP when it reads the generated XSL-FO document and formats it to a PDF document. You can copy the following minimal XSLT stylesheet, which takes your first name and produces a "Hello World!"-style document (save it as name2fo.xsl):
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0"
          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
          xmlns:fo="http://www.w3.org/1999/XSL/Format">
      <xsl:output method="xml" indent="yes"/>
      <xsl:template match="/">
        <fo:root>
          <fo:layout-master-set>
            <fo:simple-page-master master-name="A4-portrait"
                  page-height="29.7cm" page-width="21.0cm" margin="2cm">
              <fo:region-body/>
            </fo:simple-page-master>
          </fo:layout-master-set>
          <fo:page-sequence master-reference="A4-portrait">
            <fo:flow flow-name="xsl-region-body">
              <fo:block>
                Hello, <xsl:value-of select="name"/>!
              </fo:block>
            </fo:flow>
          </fo:page-sequence>
        </fo:root>
      </xsl:template>
    </xsl:stylesheet>

  • Error in generating the pdf form:HR_F_6559

    Hi  Gurus,
    I  canu2019t create W2s out , i have the message  Error in generating the pdf form: HR_F_6559
                                                                                    HR_F_W2_07
                                                                                    HR_F_W2_AUDIT
    Thanks in advance for  your help
    Soufiene

    Please, refer to the following thread:
    US - "Error in generating PDF form"
    Kind regards,
    Graziela

  • How to call pdf forms developed in ABAP from WD Java application?

    Hi
    I have a web dynpro ABAP application that that is responsible for generating PDF forms for all other applications (WD ABAP and WD Java).
    How can I call the pdf forms generated by the WD ABAP application from WD Java application in a separate window?
    These forms are to be called on click of a "Print" button. Also, these forms are non interactive.
    Kindly let me know if you need any other information.
    Regards
    Vineet Vikram
    Edited by: vineet vikram on Jun 24, 2009 7:28 AM

    in addtion to Nikhil's response. you can write following code on action of print button:
        IWDWindow window = wdComponentAPI.
            getWindowManager().createExternalWindow(
                  "<ABAP Application URL>",
                  "<Title for window>",
                  false);
       window.open();
    to Close the application, you can use the window close or u can fire an event to close current window.
    Abhinav

  • Save a PDF Form to KM

    Hi all!! I've created an interactive form in a WebDynpro and I need this form to be save in KM.
    So I need to convert my form to some format, in java is Byte[], in ABAP I don't know what the format is. Then send it to a Web Service that is already created..
    Can someone give me tips to look for them? or if someone did this, send me the code please...
    Thanks.

    Hi Manish
    just a bit of rather high-level input: What you want is possible from a technology point of view, i.e. NetWeaver provides you with all the tools you need, but essentially you need to build an application that does all the things you want from scratch.
    Interactive Forms has no standard persistence mechanism for the generated PDF forms, as the way such PDFs are handled differ from app to app, from customer to customer, and NW isn't able to accommodate all wishes. Some of the SAP applications provide mechanisms sich as storing files in KM or Records Mgmt, but this is limited.
    You will need an application that
    - generates the PDF
    - assigns the PDF to a KM folder (after editing?)
    - allows the retrieval of the PDF from KM and editing
    - presumably, at some point send the data entered in the PDF back to the database (before archiving the PDF permanently?)
    So the forms aspect is only one of the important ones, developing on top of KM the other.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • PDF form auto-notification/pop-up on 3rd Party PDF readers

    My livecycle generated PDF form wants to work only on Acrobat reader for user input and most importantly when summing numbers in the table field. I currently enable usage rights under Acrobat 9.  The problem is that when people attempt to open the form with 3rd party PDF viewers I receive complaint that the form doesn't work; no numbers are  summed, buttons and fields don't operate.
    I'm searching for a method that will automatically manage and direct a user to execute the form through Adobe reader. The compliment to this statement is that I am searching for a method to detect and alert a user against trying to use a 3rd party pdf viewer. When the user does run the form in Adobe reader, my objective is to hide this particular instruction as it is not relevant. I'm very open to the method of instruction such as throwing a splash screen, adding javascript methods or dynamically writing text across the document, such as a water mark, that informs and instructs on how to successfully use the form.
    Can anyone offer methods, techniques, behind code examples on how to manage this issue?
    Any input and suggestion is greatly appreciated as I am at a road block.
    Thanks,
    DJG

    Hi George,
    Thanks for your interest. I looked carefully at possibly using dynamic form option but decided against adding the unnecessary complexity. Given the simplicity of the form, dynamics isn't needed. To your point, static is the most "robust" solution for my needs. I've tested with with reader from 9 on up and it works..... I just need to educate the user in a way so that this will be usable.
    Often with web searches hitting the right key words is often critical. Problem is that I don't know enough about the PDF model that I may be missing key words. Am I missing something really obvious? In your opinion am I even describing this in the correct manner? Never hurts to get a second opinion.
    Thanks much,
    DJG

  • Generate PDF format from ABAP List using 'RSPO_SR_OPEN'

    Hi All,
    I need some help on the following code. I have 2 cases.
    First case:
    I am using the function Module 'RSPO_SR_OPEN' to create spool from the List Output.
    Once I get the Spool number from Above function Module I will submit it through report RSTXPDF5 to get spool request for PDF data created.
    I will use this spool number in the report RSTXPDFT5 to download it to Local system in PDF format.
    PDF will be generated but I am unable to open the PDF, some conversion error.
    Second Case:
    Instead of using function Module 'RSPO_SR_OPEN' , I will use standard Print button on the application toll bar to generate the spool number and then remaining step follows.
    In this case PDF file is generating as per the requirement.
    Now my question is why system does not work properly when I am using function module 'RSPO_SR_OPEN' .
    I have attached the code for your reference:
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'EMAIL'.
    IF SY-LSIND EQ 1.
    Send mail to User ID
    PERFORM SEND_MAIL.
    LEAVE TO LIST-PROCESSING.
    ENDIF.
    WHEN 'MM03'.
    SET PARAMETER ID 'MAT' FIELD I_MARA-MATNR.
    CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    WHEN 'LIST'.
    data: pdf_spoolid like tsp01-rqident.
    data: gd_spool_nr1(11) type c,
          gd_spool_nr2(10) type c.
    RANGES : R_SPOOL FOR TSP01-RQTITLE.
    Function Module to Create Spool Number
      call function 'RSPO_SR_OPEN'
           exporting
                dest             =  c_device
                LAYOUT           = 'X_65_200'
                copies           = '1'
                doctype          = 'LIST'
           importing
                spoolid          = gd_spool_nr
           exceptions
                operation_failed = 1
                others           = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Report to Generate spool number for PDF convert
    submit RSTXPDF5 with spoolno  = gd_spool_nr
                    with dstdevic = 'LOCL' and return .
    if sy-subrc eq 0.
    gd_spool_nr2 = gd_spool_nr.
    condense gd_spool_nr2 no-gaps.
    concatenate '00000' gd_spool_nr2 '*' into gd_spool_nr1.
    R_SPOOL-LOW     = gd_spool_nr1.
    R_SPOOL-OPTION  = 'CP'.
    R_SPOOL-SIGN     = 'I' .
    APPEND R_SPOOL.
    To select PDF Spool Number from TSP01 based on Title
    select single * from tsp01 where rqtitle IN R_SPOOL.
    if sy-subrc eq 0.
    Report to Download PDF spool to GUI
      submit RSTXPDFT5 with spoolid = tsp01-rqident and return.
    endif.
    endif.
    ENDCASE.
    Thanks & Regards,
    Nagaraj

    Hi,
    Check this code,
    REPORT  Z_CREATE_PDF_ABAPLIST NO STANDARD PAGE HEADING.
    PF-status containing a PDF button in the report Output to generate
    PDF form
    SET PF-STATUS 'Z_PDF'.
    *Table Declarations
    TABLES: MARA, MARC, MAKT.
    Internal Table Declarations
    DATA: BEGIN OF TS_MARA OCCURS 0,
             MATNR LIKE MARA-MATNR,
             MTART LIKE MARA-MTART,
             MATKL LIKE MARA-MATKL,
             LVORM LIKE MARA-LVORM,
             WERKS LIKE MARC-WERKS,
             MAKTX LIKE MAKT-MAKTX,
           END   OF TS_MARA.
    Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK B1.
      SELECT-OPTIONS: S_MATNR FOR MARA-MATNR OBLIGATORY,
                      S_WERKS FOR MARC-WERKS OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    TOP-OF-PAGE.
    write: 40 'Generating PDF from List Output' color 1 intensified on.
      skip 1.
      write: /1 'Date        :',  SY-DATUM,
             /1 'User ID     :',  SY-UNAME,
             /1(112) SY-ULINE.
    START-OF-SELECTION.
    Perform for Basic Selection
    PERFORM GET_MARA.
    Perform to Display Data
    PERFORM DISPLAY_MARA.
    AT USER-COMMAND.
    User Command to generate PDF Form
      AT USER-COMMAND.
      CASE SY-UCOMM.
        WHEN 'PDF'.
        DATA: L_PARAMS TYPE PRI_PARAMS,
                L_VALID TYPE STRING,
                W_SPOOL_NR LIKE TSP01-RQIDENT.
    TO GET PRINT PARAMETERS
          CALL FUNCTION 'GET_PRINT_PARAMETERS'
            IMPORTING
              OUT_PARAMETERS = L_PARAMS
              VALID          = L_VALID.
          IF SY-SUBRC <> 0.
          ENDIF.
    Internal table for Selection Screen
    DATA: BEGIN OF I_RSPARAMS OCCURS 0.
           INCLUDE STRUCTURE RSPARAMS.
    DATA: END OF I_RSPARAMS.
    Store the current selection screen details
    CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
      EXPORTING
        CURR_REPORT           = SY-REPID
    IMPORTING
      SP                    =
      TABLES
        SELECTION_TABLE       = I_RSPARAMS
    EXCEPTIONS
      NOT_FOUND             = 1
      NO_REPORT             = 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.
    SUBMIT TO GET THE SPOOL NUMBER
    SUBMIT Z_CREATE_PDF_ABAPLIST WITH SELECTION-TABLE I_RSPARAMS
                                 TO SAP-SPOOL
                                 SPOOL PARAMETERS L_PARAMS
                                 WITHOUT SPOOL DYNPRO
                                 AND RETURN.
    SELECT THE RECENTLY CREATED SPOOL
          SELECT MAX( RQIDENT ) INTO W_SPOOL_NR FROM TSP01
                                     WHERE RQCLIENT = SY-MANDT
                                     AND   RQOWNER  = SY-UNAME.
    *REPORT TO GENERATE SPOOL NUMBER FOR PDF CONVERT
          SUBMIT RSTXPDF5 WITH SPOOLNO  = W_SPOOL_NR
                          WITH DSTDEVIC = 'LOCL' AND RETURN .
          IF SY-SUBRC EQ 0.
            CLEAR W_SPOOL_NR.
    SELECT THE RECENTLY CREATED SPOOL FOR PDF
            SELECT MAX( RQIDENT ) INTO W_SPOOL_NR FROM TSP01
                                       WHERE RQCLIENT = SY-MANDT
                                       AND   RQOWNER  = SY-UNAME.
    *REPORT TO DOWNLOAD PDF SPOOL TO GUI
            SUBMIT RSTXPDFT5 WITH SPOOLID = W_SPOOL_NR
                             AND RETURN.
          ENDIF.
      ENDCASE.
    *&      Form  GET_MARA
          text
    -->  p1        text
    <--  p2        text
    FORM GET_MARA .
    CLEAR  : TS_MARA.
    REFRESH: TS_MARA.
    To select Materials based on Selection Criteria
    SELECT A~MATNR A~MTART A~MATKL A~LVORM B~WERKS INTO CORRESPONDING
                               FIELDS OF TABLE TS_MARA FROM MARA AS A
                               INNER JOIN MARC AS B ON A~MATNR EQ B~MATNR
                               WHERE A~MATNR IN S_MATNR
                               AND   B~WERKS IN S_WERKS.
    LOOP AT TS_MARA.
       SELECT SINGLE * FROM MAKT WHERE MATNR EQ TS_MARA-MATNR
                                 AND   SPRAS EQ SY-LANGU.
       MOVE MAKT-MAKTX TO TS_MARA-MAKTX.
       MODIFY TS_MARA INDEX SY-TABIX.
    ENDLOOP.
    ENDFORM.                    " GET_MARA
    *&      Form  DISPLAY_MARA
          text
    -->  p1        text
    <--  p2        text
    FORM DISPLAY_MARA .
    CLEAR  : TS_MARA.
    WRITE: /1   '|', 2(18)  'Material Number' COLOR 7,
             21  '|', 22(5)  'Plant          ' COLOR 7,
             28  '|', 29(13) 'Material Type  ' COLOR 7,
             42  '|', 43(14) 'Material Group ' COLOR 7,
             57  '|', 58(13) 'Deletion Flag  ' COLOR 7,
             71  '|', 72(40) 'Description    ' COLOR 7,
             112 '|'.
    WRITE: /1(112) SY-ULINE.
    LOOP AT TS_MARA.
      WRITE: /1   '|', 2(18)   TS_MARA-MATNR,
              21  '|', 22(5)   TS_MARA-WERKS,
              28  '|', 29(13)  TS_MARA-MTART,
              42  '|', 43(14)  TS_MARA-MATKL,
              57  '|', 58(13)  TS_MARA-LVORM,
              71  '|', 72(40)  TS_MARA-MAKTX,
              112 '|'.
    WRITE: /1(112) SY-ULINE.
    ENDLOOP.
    ENDFORM.                    " DISPLAY_MARA
    Thanks & Regards,
    Nagaraj Kalbavi

  • How to save PDF form to a KM Folder in Portal

    Folks,
    I have a requirement to save ADOBE Form to KM folder in portal and again access that form for changes.
    Thanks,
    Manish

    Hi Manish
    just a bit of rather high-level input: What you want is possible from a technology point of view, i.e. NetWeaver provides you with all the tools you need, but essentially you need to build an application that does all the things you want from scratch.
    Interactive Forms has no standard persistence mechanism for the generated PDF forms, as the way such PDFs are handled differ from app to app, from customer to customer, and NW isn't able to accommodate all wishes. Some of the SAP applications provide mechanisms sich as storing files in KM or Records Mgmt, but this is limited.
    You will need an application that
    - generates the PDF
    - assigns the PDF to a KM folder (after editing?)
    - allows the retrieval of the PDF from KM and editing
    - presumably, at some point send the data entered in the PDF back to the database (before archiving the PDF permanently?)
    So the forms aspect is only one of the important ones, developing on top of KM the other.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Generate a new pdf report with itens on my pdf form

    Hi! My name is Heitor.
    I have Adobe Forms Central and Adobe Acrobat XI Pro installed on my machine.
    I would like to know if its possible to make a pdf report.
    Example: Clicking in a button "print" on my already open and filled pdf form, and gathering all my 30 itens (see that i am only showing 5 itens on my form. but on my form exists a "Add" button to add itens on variables) on a dropdown list and generating a new pdf report with all these itens listed.
    Thanks!
    Heitor Teixeira
    www.heitorteixeira.com

    Hi! My name is Heitor.
    I have Adobe Forms Central and Adobe Acrobat XI Pro installed on my machine.
    I would like to know if its possible to make a pdf report.
    Example: Clicking in a button "print" on my already open and filled pdf form, and gathering all my 30 itens (see that i am only showing 5 itens on my form. but on my form exists a "Add" button to add itens on variables) on a dropdown list and generating a new pdf report with all these itens listed.
    Thanks!
    Heitor Teixeira
    www.heitorteixeira.com

Maybe you are looking for

  • Font way too small on Help Panel

    Hi I have recently have a problem with the font in the help panel being really small, out of all the books only 'Actionscript3.0 Language and Components' is legible, all the rest are tiny . I have tried the technote at http://kb.adobe.com/selfservice

  • How can you draw a thicker line!

    Hi, Do you know how to draw a thicker line without using Graphics2D? I can not use setStroke because if I use graphics2d class, the user have to download JRE to run my applet. Thanks

  • Simultaneously downloading with the 400 and 800 FireWire on the Mac Pro

    During a Mac Pro training Web Cast the speaker related that one could download with both the 400 and 800 FireWire simultaneously, however the speaker never explained how to do that. How would you go about downloading simultaneously?

  • Which ones need connection?

    In the app store, how can I tell which games need internet connection?

  • Finder Never Finds

    I don't know why but if I ever try and find anything with the Finder application it simply cannot locate a darned thing I'm looking for. I end up resorting to a 3rd party application called EasyFind. To give an example, I was trying to un-install Rox