How to bind the interactive form with a header/detail table.

Hi there,
I'm having problem to bind the adobe form with my detail table.
When executing the layout after doing the binding, the detail fields in the form is repeating itself on all the rest of the rows for that column???

Is the cardinality on the context correct?  Have you tried displaying this same context using a web dynpro table instead?

Similar Messages

  • How to do an interactive form with tables

    I've been asked to recreate an interactive form that was created using several tables. The tables are made up of cells that contain labels of what information is required, followed by blank cells where the user can put the information (text fields). A few of the cells are to contain drop down menus that will contain a list of answers to choose from (combo boxes). I kind of like the idea of doing it in a table just because it keeps everything lined up automatically.
    I am a Lynda.com subscriber, and I found a course on that site that shows how to create interactive forms with InDesign, but it just breezes past doing it with tables. It says you can do it, but doesn't show how. The problem is, one table can contain all three types of cells that I plan to use. I can select the whole table and then choose "Type" in the Buttons and Forms panel, but I would think that would turn the whole table into just one type of field. I can't seem to figure out how to select individual cells of the table to choose different types.
    Is there a way to do that?

    This is work around
    1- Draw a rectangle frame, and without release mouse use up and right arrow key to define rows and columns count and use Ctrld+ down arrow key to reduce space between rows and Ctrl+left arrow key to reduce space between column.
    2- Covert frames to Buttons.

  • How to use Adobe Interactive forms with ISR frame work in Webdynpro forJava

    Hi,
    Anybody worked on Adobe Interactive forms with ISR frame work in Webdynpro for Java in ESS/MSS development.
    We have already searched in ISR_Cookbook_2004, however we didn't anything related webdynpro for java in that.
    Any information regarding this will be of great help.
    Regards
    Satish Kumar

    There are a number of issues here. A form that you created with LiveCycle Designer (XFA) cannot be used with FormsCentral. An Acroform, the kind you can create with Acrobat, can be used with FormsCentral, with certain limitations,  one of which is skip logic. A dynamic XFA form allows for this type of thing, but as mentioned, they don't work with FormsCentral. You can set up an Acroform to show/hide or activate/inactivate fields based on selections or entries made in other fields, but you'd have to set this up in Acrobat, not FormsCentral. So you can set up something roughly equivalent to a web form's skip logic, but you'd have to learn how to do this in Acrobat using JavaScript. There is a separate Acrobat JavaScript forum here if you have any questions.

  • Send Back An Interactive Form with updated Vendor Details

    Dear SDN,
                   We have a requirement of sending back an Adobe Form after the user updates some fields as an email or to the universal work list of the sender?
    The step is:-
    1. Receive Adobe form.
    2. Update Fields.
    3. Send back to the sender as an email//UWL.
    The receiver of the Adobe Forms  may not have SAP Access so whats the work around? Can javaMail API be used without the Dynpro ? Can Guided procedure help ? Or may be a webservice to send the mail ?
    Please suggest.
    Anirban.

    Hi,
    Well, as stated in the blog, it depends on your scenario. So there's no howto guide at the moment.
    Business logic and PDF (by email) sending has to be developed on your backend side. I suggest you to read the Interactive Forms tutorials in the Webdynpro for Java section for first steps.
    It's also possible to trigger a guided procedure with the help of an interactive form (with the help of a posting on a address specific to the GP). For this, you can check the CAF (Composite Application Framework) tutorials here on SDN.
    Regards,
    Francois

  • How to get the values enterd in the interactive form and store it in table.

    Hi Experts,
    I have a requirement, i want to display the editable fields in Adobe form and have a button.If i click the button what i enter in the fields that will be store in the table.
    I tried but the button action is not going....
    In the Form i put the layout type as : xACFLayout.
    and in the webdynpro the enabled property checked and display type put the activeX still the form in the fields are in non-editable....
    Can you please give me step by step procedure for the same.
    Thank you in advacne..
    Thanks.
    Rrrr.

    Hi,
    I put the form layout is ZCI.
    When i click the button the acion was not trigerring.
    Please help me in this ASAP. It's imp for me..
    For your understand;
    My Requirement:
    I have a interactive form in that 2 input fields 1. First name 2.Last name and one button .
    If i clcik the button what i enterd in the above 2 inputfields i have to get store it in R/3 table.
    I tried this one.
    1. Created the view in the context created the node "adobe" cardinality... (1..1) and below created the child node "input" cardinality(1..1) and 2 attributes first name and last name.and other attribute pdfsource type xstring.
    created the UI element Interactive form, and chekc the enabled checkbox, and display type "native" and binding the  data source property to node  "adobe" cardinality... (1..1) and pdf source to pdfsource node. and templet  gave  "ZFORM" and gave the interface name "ZINTERFACE" and drag and drop the node elements into layout
    and created the webdybnpro button and webdynpro event gave *clcik and javascript and save activated the form.
    2. In the Ui elemt in view action onsubmit wrote the code to get the context element values and insert  that int0o table.
    But here the Submit button action was not trigerring.....................
    can you please help me in the same..... ASAP give any sugesstion what i have to change in this scenario.....

  • How to bind the values of a RFC to a table element in WDA

    Hi,
    I have a RFC that returns some set of rows for a particular pernr.I want to bind this RFC to a table element in WDA.
    please let me know how to do this and points will be rewarded for the helpful anwers

    Hi,
    Pl post in Web Dynpro ABAP
    This tutorial may help https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7a89b067-0801-0010-8192-a9896a60938e
    If its WD java
    bind the datasource to the RFC model node
    Regards
    Ayyapparaj

  • Prefill interactive form with data upon displaying out

    Hi,
    Let's say if i have a web dynpro application, with a view containing an interactive form. I would like to prefill the interactive form with data by calling a webservice or thru RFC before it display the form out. So that when the form is first displayed out, it is already prefilled with data. Is this possible?
    Is there any guide out there which is similar to this scenario?
    Btw, currently i only managed to consume the webservice and prefill the form with data after clicking a button which will execute the webservice.
    Regards,
    Cindy

    Hi,
    A Presentation from tech ed
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/26e9dc90-0201-0010-a790-a7048c8bba95
    A blog
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
    Adobe Online Interactive Forms Integration into Web Dynpro for Java Applications - Webinar Details
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cf8dc795-0801-0010-ae97-af93a0795b3f
    Regards
    Ayyapparaj

  • How to display grid the interactive form

    Dear All
    I m trying to print the grid into the interactive form using adobe life cycle 8.1.
    My requirement is like I am getting the value in my local node in the view. From there i have to populate those value into the Pdf.
    So that user can take the print of the pdf.
    Value are getting in local. But it is not showing in the PDF. At the same time in other value are showing success fully only inthe table i am not able to get the value.
    Kindly help me out with your document or solution note
    Prashant Krishen

    Hi Prashant,
    For populating a table on a pdf the node structure should be different.
    You need to create node structure of the data which you want to show in Table like this
    DataNode            0..n
        SubNode         1..1
              att1
              att2
    Create the elements of DataNode only and set the attribute values.
    Now create the structure of the UI element in Form like this
    Subform1
            Subform2
                   Header1
                   Header2
            Subform3
                   Textfield1
                   Textfield2
    Bind the Subform3 to the node DataNode and Textfield1 and Textfield2 to att1 and att2 respectively.
    Set the 'Repeat Subform to each data Item* property of Subform3 to true.
    Now at runtime you will get all the data of the node in PDF form as a Table.
    Regards
    Ravindra

  • How can I save a form with database connections with the info w/o requiring the connection again?

    I have a form in LiveCycle ES2 that has an ODBC connection to an Access 2007 database.  The form works great and all the data populates the form just fine, but next I need a way to save the generated form with the data so it can be sent and signed by people who won't (and can't) have a connection to the database.  I am developing on a Windows 7, 64 bit machine and have Adobe Acrobat X Pro, and Adobe Reader X.
    Any help or suggestions would be appreciated.
    Thanks

    Thanks for the quick response.  I tried saving the form as Reader Extended in Acrobat Pro, but if I close the form I saved as extended, it still prompts for the data connection.  Is there some setting in Adobe LiveCycle in the properties that maybe needs to be set?  I have it set as a Dynamic XML Form.  In form properties, there is a tab called data binding, should I have "Allow binding to data not defined by the default data connection" checked?  Wasn't sure what "Add data nodes inside the filtered data hierarchy" would do either.

  • Attachments added to the Interactive form is lost after submit

    Hi All,
    I have a scenario where the user can add attachments to the Interactive Form Online and click on Submit to archive the filled form. The problem is that i am not able to retrieve the attachments added to the form.
    The datasource of the ITF is bound to the View Context node and the pdfsource is bound to an attribute of XSTRING type.
    Here i am able to see the changed values of the Input fields in my context node. But, any attachments added is lost.
    How can i retrieve the attachments? I tries calling the Methods SET_TASK_GETATTACHMENTS and GET_ATTACHMENTS of PDF Objects but it always returns null.
    FYI,
    if i use file upload UI Element and upload an existing form with attachments then i am able to get the list of attachments by calling the Methods SET_TASK_GETATTACHMENTS and GET_ATTACHMENTS of PDF Objects before this PDF is displayed in the next view. (binding the XSTRING of FIle Upload UI to the PDFSOURCE of the ITF).
    Here also if i add some new attachments to the PDF and click on submit then these new docs are  lost.
    In short whenever i add attachments to the pdf dynamically via add attachment option after the PDF is displayed the new attachments are lost.
    Please let me know how to correct this.
    Thanks,
    Abhishek

    There is a default functionality provided by Adobe... If all your fields are field, you can not submit. It will prompt .. to fill the form.
    Only you have to mark those field as mandatory.
    So select the field -> Go to Object Pallet -> Value Tab -> select the type as User entered Required
    This will solve your problem.
    You can also customise the requirements through scripting language.
    cheers
    Satya

  • How to create Adobe Interactive Form in MDM

    Iam new to MDM Technology, I want to create Adobe Interactive Form and show a sample demo.
    Sample demo which should show adobe interactive form in mdm and how to integrate adobe interactive form in mdm and how to update th data in MDM
    I have knowledge of creation of adobe form but how to integrate with mdm technology.

    Hi,
    There are couple of ways to integrate MDM with SAP Interactive Forms.
    1. WebDynpro Java and MDM API (requires Portal)
    2. MDM WebService (Portal not required)
    Updating data in MDM using WebDynpro Java :
    1. In Component Controller -> Fetch data from MDM using API and populate appropriate context structure
    2. Map the View Controller and Comp Controller context.
    3. Place Interactive Form UI element in view.(Keep the UI element in UpdatePDF mode, this can be done in properties window. Also increase the height and width property value)
    4. The Interactive Form UI element is editable in Adobe Form Designer (7.1 / 8.0)
    5. Design the form and bind the UI (TextFields/ Dropdowns) with the Context of View Controller.(Done in Binding tab of Object window)
    6. Deploy and run the application.
    The rendered application will contain an Adobe Interactive Form populated with MDM data.
    Regards,
    Suresh

  • Hi gurur's how we  do the interactive report in ALV

    hi gurur's how we  do the interactive report in ALV.
    PLZ HELP ME

    Hi Srivasu,
                    I will send a sample code along with Comments check it once ok.copy the below code and execute it and debug it ok..
    *& Report  YPURCHASEORDER_ALV_LISTDISP                                 *
    *&  DEVELOPER  : KIRAN KUMAR.G                                         *
    &  PURPOSE    : CREATING A PURCHASE ORDER BASED ON PURCHASE DOC NUMBER
    *&  CREATION DT: 22/11/2007                                            *
    *&  REQUEST   : ERPK900035                                             *
    REPORT  YPURCHASEORDER_ALV_LISTDISP.
    Tables
    TABLES : ekko, "Purchasing Document Header
             ekpo. "Purchasing Document Item
    Type pools
    TYPE-POOLS: slis.
    Internal Tables
    DATA: BEGIN OF gt_headerdat OCCURS 0,
           ebeln LIKE ekko-ebeln,        " Purchasing Document Number
           bukrs LIKE ekko-bukrs,        " Company Code
           bstyp LIKE ekko-bstyp,        " Purchasing Document Category
           bsart LIKE ekko-bsart,        " Purchasing Document LIKE
           aedat LIKE ekko-aedat,        " Date on which the recordwascreate
           ernam LIKE ekko-ernam,        " Name of Person who Created Object
           lifnr LIKE ekko-lifnr,        " Vendor's account number
           spras LIKE ekko-spras,        " Language Key
           ekorg LIKE ekko-ekorg,        " Purchasing Organization
           ekgrp LIKE ekko-ekgrp,        " Purchasing group
          END OF gt_headerdat.
    DATA: BEGIN OF gt_item OCCURS 0,
           matnr LIKE ekpo-matnr,        "Material Number
           werks LIKE ekpo-werks,        "Plant
           lgort LIKE ekpo-lgort,        "Storage location
           matkl LIKE ekpo-matkl,        "Material group
           menge LIKE ekpo-menge,        "Purchase order quantity
           meins LIKE ekpo-meins,        "Order unit
           netpr LIKE ekpo-netpr,        "Net price in purchasing document
           kunnr LIKE ekpo-kunnr,        "Customer Number 1
          END OF gt_item.
    Global Structures
    DATA: gt_header    TYPE slis_t_listheader, "For Headings
          wa_header    TYPE slis_listheader,
          gt_fieldcat  TYPE slis_t_fieldcat_alv, "Structure Defintion
          wa_fieldcat  TYPE slis_fieldcat_alv,
          gt_fieldcat1 TYPE slis_t_fieldcat_alv,
          wa_fieldcat1 TYPE slis_fieldcat_alv,
          wa_layout    TYPE slis_layout_alv,     "Layout
          gt_events    TYPE slis_t_event,        "For Events
          wa_events    TYPE slis_alv_event.
    Selection Screen
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS  : s_ebeln FOR ekko-ebeln.
    SELECTION-SCREEN: END OF BLOCK b1.
    Initialization
    INITIALIZATION.
      PERFORM initial.
    Fetch Data
    START-OF-SELECTION.
      PERFORM fetch_data.
    END-OF-SELECTION.
    Bulid fieldcatalog
      PERFORM fieldcat.
    Change fieldcatalog
      PERFORM fieldcat_change.
    Events Triggering
      PERFORM place_events.
    Layout.
      PERFORM layout.
    Display Data
      SORT gt_headerdat BY ebeln.
      PERFORM display_list.
    *&      Form  initial
          text
    -->  p1        text
    <--  p2        text
    FORM initial .
      s_ebeln-sign    = 'I'.
      s_ebeln-option  = 'BT'.
      s_ebeln-low     = '3000000090'.
      s_ebeln-high    = '3000000166'.
      APPEND s_ebeln.
    ENDFORM.                    " initial
    *&      Form  fetch_data
          text
    -->  p1        text
    <--  p2        text
    FORM fetch_data .
      REFRESH gt_headerdat.  "Clear the Body of Internal Table
      CLEAR   gt_headerdat.  "Clear Header Line
      SELECT ebeln
             bukrs
             bstyp
             bsart
             aedat
             ernam
             lifnr
             spras
             ekorg
             ekgrp
        FROM ekko
        INTO TABLE gt_headerdat
       WHERE ebeln IN s_ebeln.
    ENDFORM.                    " fetch_data
    *&      Form  display_list
          text
    -->  p1        text
    <--  p2        text
    FORM display_list .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
        i_callback_program             = sy-cprog
      I_CALLBACK_PF_STATUS_SET       = ' '
        i_callback_user_command        = 'USERCOMMAND'
      I_STRUCTURE_NAME               =
        is_layout                      = wa_layout
        it_fieldcat                    = gt_fieldcat
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
        it_events                      = gt_events
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
        t_outtab                       = gt_headerdat
       EXCEPTIONS
        program_error                  = 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.
    ENDFORM.                    " display_list
    *&      Form  place_events
          text
    -->  p1        text
    <--  p2        text
    FORM place_events .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = gt_events
        EXCEPTIONS
          list_type_wrong = 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.
      CLEAR wa_events.   "Clear Header Line
      READ TABLE gt_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      IF sy-subrc = 0.
        wa_events-form = 'HEADING'.
        MODIFY gt_events FROM wa_events INDEX sy-tabix.
      ENDIF.
      CLEAR wa_events.   "Clear Header Line
      READ TABLE gt_events INTO wa_events WITH KEY name = 'END_OF_LIST'.
      IF sy-subrc = 0.
        wa_events-form = 'PAGEDOWN'.
        MODIFY gt_events FROM wa_events INDEX sy-tabix.
      ENDIF.
      CLEAR wa_events.    "Clear Header Line
      READ TABLE gt_events INTO wa_events WITH KEY name = 'USER_COMMAND'.
      IF sy-subrc = 0.
        wa_events-form = 'USERCOMMAND'.
        MODIFY gt_events FROM wa_events INDEX sy-tabix.
      ENDIF.
    ENDFORM.                    " place_events
    *&      Form  layout
          text
    -->  p1        text
    <--  p2        text
    FORM layout .
      CLEAR wa_layout.                   "Clear Header Line
      wa_layout-zebra = 'X'.             "Zebra Lines in the Output
      wa_layout-colwidth_optimize = 'X'. "Optimize the Column Width
    ENDFORM.                    " layout
    *&      Form  heading
          text
    FORM heading.
      WRITE:/6 'THIS REPORT DISPLAYS THE PURCHASE ORDER DETAILS'.
      WRITE:/6 'CLICK ON PURCHASE DOC NO FIELD(INTERACTIVE LIST)'.
    ENDFORM.                    "heading
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM fieldcat .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
        i_program_name               = SY-CPROG
        i_internal_tabname           = 'GT_HEADERDAT'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
        i_inclname                   = SY-CPROG
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
        CHANGING
        ct_fieldcat                  = gt_fieldcat
       EXCEPTIONS
        inconsistent_interface       = 1
        program_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.
    ENDFORM.                    " fieldcat
    *&      Form  fieldcat_change
          text
    -->  p1        text
    <--  p2        text
    FORM fieldcat_change .
      LOOP AT gt_fieldcat INTO wa_fieldcat.
        CASE wa_fieldcat-fieldname.
          WHEN 'EBELN'.
            wa_fieldcat-hotspot  = 'X'.
        ENDCASE.
        MODIFY gt_fieldcat FROM wa_fieldcat INDEX sy-tabix.
      ENDLOOP.
    ENDFORM.                    " fieldcat_change
    *&      Form  pagedown
          text
    FORM pagedown.
      WRITE:/35 'HAVE A NICE DAY...' COLOR 4.
    ENDFORM.                    "pagedown
    *&      Form  usercommand
          text
         -->UCOMM      text
         -->SELFIELD   text
    FORM usercommand USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
      READ TABLE gt_headerdat INDEX selfield-tabindex.
      CASE selfield-sel_tab_field.
        WHEN 'GT_HEADERDAT-EBELN'.
          REFRESH : gt_item.
          CLEAR   : gt_item.
          SELECT matnr
                 werks
                 lgort
                 matkl
                 menge
                 meins
                 netpr
                 kunnr
            FROM ekpo
            INTO TABLE gt_item
           WHERE ekpo~ebeln EQ gt_headerdat-ebeln.
    *Build a Field Catalog
          PERFORM fieldcat1.
    *For Heading in the Interactive List
          PERFORM heading1.
    *Display Interactive Data
          PERFORM display_data1.
      ENDCASE.
    ENDFORM.                    "usercommand
    *&      Form  fieldcat1
          text
    -->  p1        text
    <--  p2        text
    FORM fieldcat1 .
      REFRESH : gt_fieldcat1.
      CLEAR   : wa_fieldcat1.
      wa_fieldcat1-col_pos    = '1'.           "Column Postion
      wa_fieldcat1-fieldname  = 'MATNR'.       "Field Name
      wa_fieldcat1-tabname    = 'GT_ITEM'.   "Internal Table
      wa_fieldcat1-key        = 'X'.           "Blue Color
      wa_fieldcat1-seltext_l  = 'MATERIAL NO'. "Display Text Screen
      APPEND wa_fieldcat1 TO gt_fieldcat1.
      CLEAR wa_fieldcat1.
      wa_fieldcat1-col_pos    = '2'.           "Column Postion
      wa_fieldcat1-fieldname  = 'WERKS'.       "Field Name
      wa_fieldcat1-tabname    = 'GT_ITEM'.   "Internal Table
      wa_fieldcat1-seltext_l  = 'PLANT'.       "Display Text Screen
      APPEND wa_fieldcat1 TO gt_fieldcat1.
      CLEAR wa_fieldcat1.
      wa_fieldcat1-col_pos    = '3'.           "Column Postion
      wa_fieldcat1-fieldname  = 'LGORT'.       "Field Name
      wa_fieldcat1-tabname    = 'GT_ITEM'.   "Internal Table
      wa_fieldcat1-seltext_l  = 'STORAGE LOCATION'."Display Text Screen
      APPEND wa_fieldcat1 TO gt_fieldcat1.
      CLEAR wa_fieldcat1.
      wa_fieldcat1-col_pos    = '4'.            "Column Postion
      wa_fieldcat1-fieldname  = 'MATKL'.        "Field Name
      wa_fieldcat1-tabname    = 'GT_ITEM'.    "Internal Table
      wa_fieldcat1-seltext_l  = 'MATERIAL GRP'. "Display Text Screen
      APPEND wa_fieldcat1 TO gt_fieldcat1.
      CLEAR wa_fieldcat1.
      wa_fieldcat1-col_pos    = '5'.            "Column Postion
      wa_fieldcat1-fieldname  = 'MENGE'.        "Field Name
      wa_fieldcat1-tabname    = 'GT_ITEM'.    "Internal TAble
      wa_fieldcat1-seltext_l  = 'PO QUANTITY'.  "Display Text Screen
      APPEND wa_fieldcat1 TO gt_fieldcat1.
      CLEAR wa_fieldcat1.
      wa_fieldcat1-col_pos    = '6'.            "Column Pos tion
      wa_fieldcat1-fieldname  = 'MEINS'.        "Field Name
      wa_fieldcat1-tabname    = 'GT_ITEM'.    "Internal TAble
      wa_fieldcat1-seltext_l  = 'BASE UNIT MEASURE'."Display Text Screen
      APPEND wa_fieldcat1 TO gt_fieldcat1.
      CLEAR wa_fieldcat1.
      wa_fieldcat1-col_pos    = '7'.            "Column Postion
      wa_fieldcat1-fieldname  = 'NETPR'.        "Field Name
      wa_fieldcat1-tabname    = 'GT_ITEM'.    "Internal Table
      wa_fieldcat1-seltext_l  = 'NET PRICE'.    "Display Text Screen
      APPEND wa_fieldcat1 TO gt_fieldcat1.
      CLEAR wa_fieldcat1.
      wa_fieldcat1-col_pos    = '8'.            "Column Postion
      wa_fieldcat1-fieldname  = 'KUNNR'.        "Field Name
      wa_fieldcat1-tabname    = 'GT_ITEM'.    "Internal Table
      wa_fieldcat1-seltext_l  = 'CUSTOMER NO'.  "Display Text Screen
      APPEND wa_fieldcat1 TO gt_fieldcat1.
      CLEAR wa_fieldcat1.
    ENDFORM.                                                    " fieldcat1
    *&      Form  heading1
          text
    -->  p1        text
    <--  p2        text
    FORM heading1 .
      REFRESH : gt_header.
      CLEAR   : wa_header.
      wa_header-typ  = 'H'.
      wa_header-info = 'THIS IS AN INTERACTIVE LIST'.
      APPEND wa_header TO gt_header.
    ENDFORM.                                                    " heading1
    *&      Form  top
          text
    FORM top.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
        it_list_commentary       = gt_header
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    ENDFORM.                    "top
    *&      Form  display_data1
          text
    -->  p1        text
    <--  p2        text
    FORM display_data1 .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
        i_callback_program                = SY-CPROG
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
        i_callback_top_of_page            = 'TOP'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
        it_fieldcat                       = gt_fieldcat1
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
        t_outtab                          = gt_item
       EXCEPTIONS
        program_error                     = 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.
    ENDFORM.                    " display_data1
    Reward points if helpful.
    Kiran Kumar.G.A
            Have a Nice Day..

  • Interactive Form with ABAP DDIC Interface

    Hi,
    I'm new on adobe interactive forms and  I have some problems. I have a form with a abap dictionary based interface.
    When I test my web dynpro application with the interactive form, it is not interactive. :-P
    And yes the property "enabled" of the UI-Element is marked.
    First I watched an e-Learning an build a web dynpro application with a from which has a interface based on xml.
    I generated the inteface of the form from my context. It works fine.
    But with a interface based on xml I dont't know how I can get a table on my PDF in the Adobe Lifecycle Designer.
    So I searched snd n the forum and found a tutorial (InteractiveForm_and_Dynamic_Tables). Like in this tutorial I created a interface based on ABAP Dictionary and a form with a table. Then I choose this form on my UI-Element as templateSource and generate the context from the interface. But as i mentioned above, now the PDF isn't interactive.
    Any idea?
    Thx Florian
    PS: when someone can tell/help me in german it would be much easier for me to understand...

    You can create Interactive form with ABAP dictionay based interface.  You need to add following code in method "WDDOMODIFYVIEW" of your view.
       DATA: LR_INTERACTIVE_FORM  TYPE REF TO CL_WD_INTERACTIVE_FORM,
          LR_METHOD_HANDLER    TYPE REF TO IF_WD_IACTIVE_FORM_METHOD_HNDL.
      CHECK FIRST_TIME = ABAP_TRUE.
      LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'TEST' ).
      LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
      LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).
    Refer:: http://help.sap.com/saphelp_nw70/helpdata/en/42/c247dc6227311ce10000000a1553f7/content.htm

  • Is it possible to pass the Interactive Form on dynamic?

    Hi,
    Is it possible to pass the Interactive Form on dynamic?
    In webdynpro I am handling the header part that will be common for the entire input screen, based on the application name I want to call the different interactive forms. I have seen in template source there is no option to provide binding with context.
    Regards,
    Mahesh.Gattu

    Hi Mahesh,
    You can create different views with different PDF forms in their template source and dynamically navigate to the required view/ make the required view visible.
    say on your main view, create the header part with the necesaary UI elements and insert multiple view containers below it. Embed a pdf view in the respectve view containers.
    Create a context node UI_RENDER .. cardinality 1..1
    Create attributes pdf1_visible type wdui_visibility
    pdf2_visible and so on. Bind these to the visible property of the respective view container.
    based on the application name, set them to either visible or invisible.
    Hope this helps.
    Regards,
    Reema.

  • F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP

    Hello,
    I have created an Interactive Form with ZCI type.
    I placed a text field MATNR on the form.
    Then I placed a Native WD UI element 'Value Help' as mentioned in the below link: http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm
    This form was then embeded into Web Dynpro ABAP view.
    The problem is that when I click on the F4 button, nothing happens.
    Is anything else needs to be done?
    Thanks
    Sagar

    Hi Amol,
    After binding the Context variable in the view, and in the Adobe Layout Designer from the Library go to WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
    Var fieldname = "yourfieldname";
    Note: Don't forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
    And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
    Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
    Ragards,
    Amol Patil.

Maybe you are looking for

  • Upgrade to mac os x Lion??

    Hey I just purchased a new mac but it has os x 10.6.7. ie "Snow Leopard" preinstalled. As I have come from using a Windows computer, I'm still unsure whether it is better to return the macbook and purchase one that has Lion preinstalled, or just keep

  • Colouring up bitmap images

    Hi I have a 98 page document with the same bitmap image on every spread. The image has been coloured up with a special colour in Indesign but unfortunately hasn't been set to overprint. I've tried various combinations in find/replace to find the imag

  • Mail[355]*** Assertion failure

    Have just noticed a bunch of these in my console and not sure what (if anything) I can do ? Thoughts ? 19/05/2010 20:39:26 Mail[355] * Assertion failure in -[IMAPToDoStoreReconciliationAgent prepareToReconcileForMailboxID:], /SourceCache/Message/Mess

  • Finding All Channel Objects?

    I am working on an audio player that will take a parameter from a web page and play the appropriate MP3 file. Each page in a series of pages calles the same movie. It works but I have a seriouis problem with the code. If the user navigates to the nex

  • Safari keeps crashing, beach ball just spins continuously and I have to keep using force quit

    Can anyone help? I have tried a few solutions from the forums and got nowhere. I have v 6.0.5 of safari, all software updates are done. Date/Time:       2013-07-09 11:59:12 +0100 OS Version:      10.7.5 (Build 11G63b) Architecture:    x86_64 Report V