How to change the Field Symbol, so Adobe Forms takes it as a Table?

Hi guys,
I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
I looked at Adobe Form, and found this:
The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
Does someone have any idea?

Hello Taly,
To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
You have done it correct partially. I have replicated your scenario and steps are below -
1) Create a Z structure
2) Create Z Table Type
3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
4) Design Form as -
5) Code driver as -
*& Report  ZR_AF_FS_1
REPORT  zr_af_fs_1.
DATA: fm_name           TYPE rs38l_fnam,
       fp_docparams      TYPE sfpdocparams,
       fp_outputparams   TYPE sfpoutputparams,
       it_kna1           TYPE ztt_fs_1.
* Sets the output parameters and opens the spool job
CALL FUNCTION 'FP_JOB_OPEN'                   "& Form Processing: Call Form
   CHANGING
     ie_outputparams = fp_outputparams
   EXCEPTIONS
     cancel          = 1
     usage_error     = 2
     system_error    = 3
     internal_error  = 4
     OTHERS          = 5.
IF sy-subrc <> 0.
*            <error handling>
ENDIF.
*&---- Get the name of the generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'           "& Form Processing Generation
   EXPORTING
     i_name     = 'ZAF_FS_1'
   IMPORTING
     e_funcname = fm_name.
IF sy-subrc <> 0.
*  <error handling>
ENDIF.
*-- Fetch the Data and store it in the Internal Table
SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
* Language and country setting (here US as an example)
fp_docparams-langu   = 'E'.
fp_docparams-country = 'US'.
*&--- Call the generated function module
CALL FUNCTION fm_name
   EXPORTING
     /1bcdwb/docparams        = fp_docparams
      it_data                   = it_kna1
*    IMPORTING
*     /1BCDWB/FORMOUTPUT       =
   EXCEPTIONS
     usage_error           = 1
     system_error          = 2
     internal_error           = 3.
IF sy-subrc <> 0.
*  <error handling>
ENDIF.
*&---- Close the spool job
CALL FUNCTION 'FP_JOB_CLOSE'
*    IMPORTING
*     E_RESULT             =
   EXCEPTIONS
     usage_error           = 1
     system_error          = 2
     internal_error        = 3
     OTHERS               = 4.
IF sy-subrc <> 0.
*            <error handling>
ENDIF.
6) Output -
BR.

Similar Messages

  • How to change the page break in adobe forms

    Does anyone know how to change the page break on an adobe form?  I'm hoping it will be the same way you change the page view in excel.
    Can anyone help?
    Thank you in advance,
    Priscilla

    HI
          YOU CAN USE THE FOLLOWING SYSTEM FIELDS OF SMARTFORMS FOR THE MENTIONED PURPOSE
    <b>&SFSY-PAGE& </b>
         Inserts the number of the current print page into the text. You determine the  format of the page number (for example, Arabic, numeric) in the page node. 
    <b>&SFSY-FORMPAGES&</b> 
         Displays the total number of pages for the currently processed form. This  allows you to include texts such as'Page x of y' into your output
    <b>&SFSY-JOBPAGES& </b>
         Contains the total page number of all forms in the currently processed print  request.
    REGARDS
    ANOOP

  • How to change the fields in a JSF form based on a URL parameter

    I am trying to build a generic JSF form of parameters which I want to dynamically change (i.e.
    change which field is visible, what the label text should be, etc) based on a URL parameter.
    I can set the fields using logic in the backing bean as an action on a command button pressed.
    But how do I do it based on the URL parameter ? I can retrieve the URL parameter but I
    don't know where to put (or hook) the Java code to do this initialization prior to
    the page being rendered for the first time.
    The fields in the JSF is being configured dynamically using a database table.
    BTW I am using Jdeveloper 10.1.3.5
    Thanks
    CK

    Thanks. I decided to set a Session bean to store the value of the URL parameter (if it is set)
    and then to use the session bean to initialize the attributes of the fields on the JSF Page.
    There also seems to be some caching of the inputText fields (i.e. it reverts back to the first
    initialized value) even though I tried to change it using the URL parameter in the requestScope
    backing bean. So, setting the values into the Session bean and retrieving it back from there
    seems to be more reliable.

  • How to Change the Visible property of Adobe Form Dynamically - URGENT

    Hi,
        I am woking on a scenario where when I click a button in Adobe Form,
    another Adobe Form should be displayed. This is using Web Dynpro Java.
    For this I have made the second form invisible and I want to make this VISIBLE when the button is Clicked. I am unable to get a method where this property of interactive form can be changed.
    Also, If there is any other way this can be done please let me know.
    I am using NWDS 7.0.09 with Adobe Live cycle designer 7.1.
    Thanks in Advance,
    Vasu

    You need to get the handler to the adobe form in your webdynpro program. If you are using webdynpro for java the following code snipped could be useful...
    IWDPDFDocumentInteractiveFormHandler iFormHandler = WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(),"YourAdobeForm");
         // Get appearance setter. 
         IWDPDFDocumentAppearance appearance =
              iFormHandler.getDocumentContext().getAppearance();
         //appearance.
         // Set page layout option
         appearance.setPageLayout(pageLayoutOption);
         // Set show option.
         appearance.setShowOption(showOption);    
         // Hide menu bar.
         appearance.hideMenuBar(true); 
         // Hide tool bars.
         appearance.hideToolBars(true);
         // Hide window controls.
         appearance.hideWindowControl(true); 
         // Show full screen.   
         appearance.showFullScreen(true);
    Reward points if the post is helpful
    Thanks!
    Surya.

  • How to change the field length in standard sap program.

    Hi All,
    How to change the field length in standard sap program.
    Urgent
    Example:
    Text1 type c length 75,
    To change :
    Text1 type c length 150,
    Point will be rewarded..
    Thank you,
    Vikram.C

    If the only solution is to change the sap standard program, simply change the program, it will prompt for an access key. This key can be retrieved in the SAP support portal (service.sap.com) at keys and requests, sccr keys, register object.
    Sometimes these actions are outsourced to a competence center, so maybe youre not entitled to do this, in any case ask a resident senior developer for support.
    regards, Rob

  • How to Change the Fields from Input mode to display mode

    Hi experts,
    Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER  in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
       Now, can anybody tell me how to change the field type from input mode to change mode?

    Hi Karan,
      In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
         Field Can Be Changed
    A     Field Cannot Be Changed
       Assing this values to your fields according with your requirements.
    Regards.
    Manuel

  • How to change the language setting in Adobe Flash CS6, from Chinese to English?

    How to change the language setting in Adobe Flash CS6, from Chinese to English?

    Unless you have a multilanguage serial/ installer,  you are on Creative Cloud or care to run through language swap you can't. Retail serial numbers are language specific and most Adobe apps cannot be coerced or switched on the fly since without the proper language resources installed, this won't work...
    Mylenium

  • How to change the field lenght in stanard structure.

    hai Gurus,
    When I enhanced the standard structure for the 1st time I got warning but I could able to replicate and pull the data from r3 to bw. When I tried to enhance it again it is not allowing me saying i the need to enhance the standard data field length or need to add a custom field for this. Can you tell me how can change the field length for a standard structure?.
    Thanks, VP.

    hi,
    u can add a custom field of the required length to your structure and write the exit to populate it. If its a standard field I dont think you will be able to alter the length of the field.
    Regards.

  • How to change the date format in xml form?

    hi,
    How to change the date format in xml form?
    For example:  11/20/2008 3:00:03 PM    ->   11-20 03:00
    Any opinions greatly appreciated!
    Thanks.
    Edited by: ke wenxing on Dec 2, 2008 8:33 AM

    You could go to System - User Profile - Own Data would take you to the "maintain user profile screen"
    Click the defaults button and change the date format.This changes date format for all the dates in your login.

  • How to change the fields order by pushing the TAB button?

    Hello.
    I have 4 input fields on a screen that i have build.
    When i'm running the screen, I can move from one field to
    another by the TAB button.
    I need to set a different moving order that is performed by the TAB button.
    For example: the fields are 1,2,3,4. if I use the TAB button to move from one field to another- the order is 1->2->3->4.
    I want it to be 1->3->2->4.
    Is it possible??
    Thanks, Barak.

    Hi Barak Sahar,
    a) set the initial cursor at dynpro level
    b) set the cursor positions dynamically using codeSET CURSOR[/code]
    Here are the online help links I found:
    http://help.sap.com/saphelp_470/helpdata/EN/9f/dbac0b35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_470/helpdata/EN/9f/dba47e35c111d1829f0000e829fbfe/frameset.htm
    Go through below thread...
    How to change the sequence of fields accessed with the tab key on a dynpro;&#56907;
    Hope it will solve your problem
    <REMOVED BY MODERATOR>
    Thanks & Regards
    ilesh 24x7
    Edited by: Alvaro Tejada Galindo on Dec 25, 2007 9:13 AM

  • How to change the field name in SUS

    HI,
    In the section view all PO's, I want to change the field name  <b>document number</b> to <b>invoice number</b>.Please do let me know how to go about it.
    Thanks in advance ,
    Manu

    Hi,
    The text ID should be first identified in the BSP (BBP_SUS_UI/DOC_NUMBER?)
    Next execute SOTR_EDIT and use the FInd button. Enter the package of the BSP object (BBP_SUS_U?) and select the language as English. Execute the program and you will a complete list of text used in SUS screen. Locate the text ID as above and double click to change based on what you need.
    Regards.

  • How to modify the field symbol

    Hello Every1,
    I have a internal table and field symbol with the below structure.
    Data : begin of itab occurs 0,
               matnr like mara-matnr,
               ersda like mara-ersda,
           End   of itab.
    FIELD-SYMBOLS: <Matnr>    TYPE STANDARD TABLE.
    I have the field symbol with 10 records similar to the structure of itab. (Only matnr is populated and date as initial). Now I need to transfer the date value from itab to the field symbol for the matching matnr.
    Please let me know how to do it.
    Thanks,
    Siva.

    Sivaprakash,
    To my knowledge, a field-symbol cannot hold values on its own. It refers to a field or a table and work directly with the values.
    Your scenario cannot be achieved unless there is another internal table besides itab.
    Create a field-symbol of type itab2 and compare matnr with itab-matnr.
    If a record is found then move the date field to <fs>.
    Your code may look like this.
    loop at itab2 assigning <fs>.
       read table itab into wa_itab with key matnr = <fs>-matnr.
    if sy-subrc = 0.
      <fs>-date = wa_itab-date.
    endif.
    endloop
    Thanks,

  • How to change the field name

    I want to change the field name in Oracle schema
    Can I do ir?
    If yes, please tell me how to type the SQL
    Thanks

    Use ALTTAB command of my freeware SQLPlusPlus to ALTER a table anyway you like including inserting columns within the middle of the table.
    regards,
    M. Armaghan Saqib
    SQL PlusPlus - Add power to command line of SQL Plus
    SQL Link for XL - Integrate Oracle with XL
    Download free: http://www.geocities.com/armaghan/
    null

  • How to change the field status of "plant" of standard activity ?

    hi,dear all:
    I want to know how to specify the field status of "plant" of standard activity from  "ready for input" to "required entry".
    Can the field of the stand network be changed?
    Thanks.

    Hi,
    Try in T-code OPN6
    Regards,

  • How to change the field 'Current Planning Period' in xRPM portal?

    Hello All,
    In xRPM portal, under portfolio management --> financial planning, we have a field 'Current Planning Period'.
    Can anybody tell how to change the values of this field for all the projects/items at once?
    Also, when I am trying to change for individual projects. its opening the F4 help but not  selecting the date on which I double click.
    Thanks
    Niti.

    No, you cannot add another vPC peer-keepalive configuration.
    Taking down vPC peer-keepalive will not affect your vPC peer-link and vPC operation. It will be a problem if and only if vPC peer-link went down after the peer-keepalive is down first, this will cause dual active.
    Regards,
    jerry

Maybe you are looking for

  • In case of problems with SAP GUI for Java  ...

    Hello all, in case of having problems (errors, ABAP dumps etc.) with SAP GUI for Java, please create an OSS message on component BC-FES-JAV with information described in OSS note 326558 http://www.service.sap.com/~form/sapnet?_FRAME=CONTAINER&_OBJECT

  • My password was disabled how do i get back?

    how do i get my pw back it was disabled?

  • BPM-Queries

    Hi,    I'm working with BPM Scenario can i get some Detailed Description on the Configuration Part used in general.   My Scenario is just to transfer a file->XI->file. Regards, Prashanth

  • Notes missing after mountain lion upgrade

    Just upgraded to Mountain Lion.  I had a number of notes made in the old Mail applicaiton - some of these seem to have been moved over to the new Notes application, but many seem to be lost in the ether somewhere - I can find them if I know what is i

  • Max month and year from table

    Hi, I have requirement to get max month and year from a table. DESC WHR_REPORT REPORTMONTH   NUMBER(2) REPORTYEAR    NUMBER(4) Sample data in table reportmonth    reportyear 01              2009 02              2009 03              2009 04