SMARTFORMS - Change an import parameter in form interface

Hello everyone,
I don't know if it's possible, but I put some program lines in my smartform to clear some fields if the last page is not reached. The problem is that these fields are from a table that's stated as an import parameter in form interface, which means that data is taken from the program, right?
Am I able to clear these fields anyway? If so, which way?
In my code I'm comparing the systems fields sfsy-page and sfsy-formpages, if they're different I clear the fields, otherwise I don't, actually I did it because the conditions don't get the result as I wish. If I check "only after the end of main window" the whole table doesn't appear in my form and I don't want that.
PS: I didn't set this condition on table, I set it in the text.
Any ideas?
Thanks in Advance.

Hi,
You can do one thing.....create an internal table in the smartform itself....transport those values in this table and display the fields using this table only.
Now if the last page is reached u can use the main table (that is imported from the program). This way the original data is not cleared.
I hope it helps.
Regards,
Shraddha

Similar Messages

  • Error in the  import tab of form interface with parameter name

    Hi Experts,
                    in the import tab of form interface i have define the following..
              Parameter Name               type assignment                  Associated Type
             t_vbrk                                    type                                         vbrk
    and then in a loop i am using this as follows...
    t_vbrl into fs_vbrk
    after executing check i am getting the error 'T_VBRK" is neither specified under "TABLES" nor defined as an internal table.'
    plz help me out with this.....
    why this error is occuring?
    thnks n reagrds,
    Ashmita

    Hi,
    U cannot loop the import tab i think....Give tat one in tables statement and execute..
    t_vbrk type vbrk in Tables tab...
    I think it will solve ur issue..

  • Using Field-Symbols in a user exit to change the importing parameter

    Please don't ask why but I need to use a user exit, changing the importing parameter.  I decided that I could do this using field-symbols.
    Please excuse my ignorance but I have never used field symbols for something such as this.
    Here is my goal:  Loop through an internal table (im_document-item).  When I find what I need I want to make a change to this line (not so hard if I am looping into a field symbol) and also append a line to the end of the table im_document-item.
    I have the following so far:
      DATA: wa_item TYPE accit,
            wa_item_out type ACCIT_SUB.
    FIELD-SYMBOLS: <document> type acc_document,
                   <accit> TYPE ACCIT.
    LOOP AT im_document-item ASSIGNING <accit> where saknr = '0000211000'.
    * Modify the curent line
    wa_item = <accit>
    * Append a new line into table im_document-item.
    ENDLOOP.
    How can I use field-symbols to append a line to this table?  Please note that the table in question (im_document-item) is an importing only parameter.
    Regards,
    Davis

    that will allow me to append an initial line with <accit> pointing to the line. Therefore I just have to modify <accit> and the new line will then have my changes?
    Yep, that is exactly it.    So after the APPEND statement, simply fill the fields of the <accit>.
    append initial line to im_document-item ASSIGNING <accit>.
    <accit>-field1 = 'Blah'.
    <accit>-field2 = 'Blah'.
    Regards,
    Rich Heilman

  • Changing Import Parameter for GetList

    Hi All,
    i have a getlist bapi which has a import parameter. I have mapped a constant in the BEA (Backend adapter).
    if i want to change the import parameter in the BEA i have to activate the BEAagain.
    is there a way to change the import parameter without activating the BEA again?
    we are using Mobile 7.1 SP08 Server.
    Thanks and Regards,
    Joseph Beevin.

    Hi,
    the default value is called default value because you define it once and then it stays forever. So based on that default value MI7.1 generates some entries in tables, code,... If you change this entry in the SDOE_WB, even it is the Default value and not the mapping - it is obvious that you need to regenerate this Backend adapter - cause you press the save button to save the backend adapter and so it is changed and this change needs to be reflected in the code.
    By the way: cause you only change the backend adapter there is no need to reimport the datamodel into your NDWI.
    And keep in mind: Changing the Default value can happen at development time but should not happen at runtime, cause then you have a design issue and in Production you should not be allowed to change any bit of the Data Model other then by transport!
    So the first question is: why do you really want to change the default value - it seems to be a big issue - and perhaops we need to find another solution for you.
    Regards,
    Oliver

  • Modify import parameter of FM

    I have a FM called during an SAP event. here, under a certain condition, i need to replace the old value of an import parameter.
    Can any one suggest some means to change the import parameter values of the FM.

    Hi Arindam,
    If you are using classes method in function module, yes u can do this. But you must use the field symbols.
    this is a sample..
    it_condition is import param.
    method set_new_values.
       data : ls_diffcond  type ztrm_s_vtbfinko_type,
              ls_condition type vtbefinko.
       data : lv_text type string.
       field-symbols : <fs_text> type any,
                       <fs_text2> type any,
                       <fs_condition> type vtbefinko.
       loop at gt_diffcond into ls_diffcond.
         if ls_diffcond-cond_type eq '+'.
           move-corresponding ls_diffcond to ls_condition.
           append ls_condition to it_condition.
         elseif ls_diffcond-cond_type eq '-'.
           move-corresponding ls_diffcond to ls_condition.
           delete it_condition from ls_condition.
         elseif ls_diffcond-cond_type eq 'C'.
           move-corresponding ls_diffcond to ls_condition.
           loop at it_condition assigning <fs_condition>
             where rkond    eq ls_condition-rkond and
                   dguel_kp eq ls_condition-dguel_kp..
             concatenate '<fs_condition>-' ls_diffcond-field_name into lv_text.
             assign (lv_text) to <fs_text>.
             concatenate 'ls_condition-' ls_diffcond-field_name into lv_text.
             assign (lv_text) to <fs_text2>.
             if <fs_text> is assigned.
               <fs_text> = <fs_text2>.
             endif.
             exit.
           endloop.
         endif.
       endloop.
    endmethod.

  • Form interface import parameter cannot be used in smartform

    Hi,
    When I try to use the standard parameter HEADER in a routine in a smartform, I get the error: "HEADER" expected, not "...".
    I have put the HEADER definition in the Input parameters of the routine and I have tried other form interface import parameters and I do not get any error with those. So I cannot see why HEADER woudl be any differnt?
    Any suggestions? Thanks.

    Hi,
    Thanks for your reply.
    There's a smartform with this definition in the Import tab of the Form Interface:
    HEADER     TYPE     BAPIBUS2000110_HEADER_DIS
    I've created a Program Lines routine. In the Input Parameters under the General Attributes tab, I entered HEADER. This is so I can reference the table in the code. However if I do a syntax check, I get the error described "HEADER" expected, not "...".
    Hope this clarifies the problem.

  • Smartform import parameter

    Hello all, I've created a new smartform with a new import parameter called TOTAL_DATA, which contains several fields. TOTAL_DATA is defined in the smartform global settings>form interface tab as an import parameter. I thought this would make this parameter data available within all smartform nodes. TOTAL_DATA is not a table but a structure.
    I've inserted some TOTAL_DATA field references, e.g. &TOTAL_DATA-1_6&, into text nodes within a template node. The smartform compiles correctly but when I test the smartform I get error 'Reference field TOTAL_DATA-1_1 unknown in form'. I inserted the field using the smartform field list window click and drag.
    Is there something I need to do to make the import paramter data available in the text node.
    Any help much appreciated.
    Thanks, Inde

    Thanks Subramanian, that's solved my problem. My import parameter was referencing a DD structure with currency fields. The DD reference currency field was not passed to the smartform...hence the error.
    I've defined the DD reference currency field as a global parameter for the smartform which fixed my problem. I could pass this in as another import parameter which would also fix my problem.
    Many thanks for your help, Inde

  • Tables in form interface in Smartforms

    Hi
        Generally for creating Tables in Form Interface in smartform , We have to create a Zstructure Or ZTable Type in SE11 and then we refer this structure in form interface. My requirement is how can we create Tables In Form Interface in smartforms
    without creating Zstructure In se11. Can you please tell me is it possible , If possible then how can i do it.
    Thanks & Regards
    Girdhari

    Hi friend,
    If you have a driver program and you need to pass data from the driver program to the smartform then during Form interface declaration you need to specify a global parameter. Which you will be creating using SE11.
    With out creating a global structure or global table type we cannot declare it. If you have all the logic with in the smartform then you can declare the table type or structure with in the form then declare it.
    But once if data comes from outside then we should go for global.
    So i hope you will be clear and got the answer for your question.
    Thanks,
    Sri Hari
    Edited by: srihari.kumar on Feb 8, 2012 12:06 PM

  • I imported an existing form but I do not want to save it to the cloud but save locally. How do I change the imported file that is saved on the Cloud to storing locally?

    I have imported a PDF document and it automatically saves it to the cloud.  I want the imported form to save locally? Is there a way to change an imported document from cloud to local?

    Hi urs.boeschenstein,
    Files are automatically saved to your online account when you use the Acrobat.com online services. However, you can most certainly download the files to your computer, by selecting them at https://cloud.acrobat.com/files, and then clicking the Download icon.
    Are you having additional issues with your subscription?
    Best,
    Sara

  • Adobe form as PDF string in Webservice importing parameter

    Hello Experts,
    Can you please clarify the below issue.
    I have created a webdynpro.
    I have placed an interactive form on one of it's view.
    And kept one Submit button(Execute type) on the form to trigger one webservice.
    This webservice has the importing parameter as the PDFSTRING.
    So my requirement is to pass the entire form with filled values to the webservice importing parameter. I will be storing this PDF string in some tables.
    What scripting i need to use in the form for getting this done.
    Thanks in advance.
    Regards,
    Ram.

    Hi Sai,
    Thanks for ur input.
    My requirement is not exactly the string with XML data, but the string with PDF data.
    I will try to explain my requirement here in detail.
    I have the adobe form triggering from the webdynpro. This form has different objects like, text fields, dropdowns, check boxes, radio buttons...etc and one SUBMIT button for which webservice is attached in the properties.
    User will fill all the fields and clicks on SUBMIT. When he clicks on the SUBMIT, the webservice should attach the filled PDF document at partner level.
    For this purpose, i need the string with PDF data and not the XML.
    WIth this PDF string again i should be able to re generate the PDF document which was filled by the user.
    If string with PDF data is not possible, Please suggest me the possible way of achieving this?
    Regards,
    Ram.

  • Difference between Form Interface and Global definitions in Smartforms.

    Hi guys!
    I'm learning about Smartforms.
    I would like to know which is the difference between Form Interface from the Global Settings and Global Definitions from Global settings as well, because in both of them I have to declare tables, structures, variables, etc. Could you please explain to me when should I use them?
    Thanks!
    Gaby

    Two ways to use Smart Form:
    1.     by using Application Program
    2.     By coding in Smart form itself.
    Now, if the 1st method is used then same interface can be used  for multiple requirements. For eg two different programs Z1 and Z2, may use same interface. Hence a lot of efforts are reduced.
    On the other side in 2nd method, multiple forms have to be created to fulfill different requirements.
    Now, Global Definiton is something that is irrespective of which Program is being used, the form nodes can use the Global definition in all cases.
    Also all tables etc must be declared in the Global setting.
    Regards,
    Sana

  • Importing form data per XML - Using the form interface?

    Hi!
    I'm developing interactive forms by adobe and I want to import my form data per XML file. The xml file and the email are created by my pdf document.
    Now this xml file has to be parsed by a report or something like this.
    Is it possible to use the form interface, I implemented, or do I have to parse it manually?
    I think it has to work with this interface because it makes the pdf and it "knows" what to import/export.
    Am I wrong with my suspicions or can you help me with this problem?
    Thanks & greets,
    Philip Gillißen

    I'm pretty impressed of Adobe and their stuff (I do NOT refer to the community), how helpful they are.
    Perhaps I didn't understand  the meaning on the offical customer support website, stating:
    The best way to contact us...  
    Ask our experts 
    Our community and staff are at your service 24/7
    Even worst, their is a similar question from 25/09/2013 (http://forums.adobe.com/message/5711946#5711946) and no feedback form Adobe stuff at all.
    Great service guys!
    Thanks a lot!

  • How to declare custom structure in form interface in smartforms?

    Hi,
    How to declare custom structure in form interface in smartforms?
    Thanks.

    Create a structure in SE11 and use that in Form Interface - > Tables tab in smartforms.
    Pranav

  • Re: Adobe forms - interface type

    Hi...
        When Iam creating the interface ... it is asking  Description and
                                               interface type as         ABAPDictionary- Based interface
                                                                                XML Scheme- Based Interface
                                                                             Smartforms-Compatible interface...    Have to select one option.. In some Examples I didnt see this interface type Option... what is the use  of this interface type...
    Thanks & Regards,
    Abaper..

    hello again,
    i tried to list all the things u need to know to create your interface:
    1.      Open the required interface in the Repository Browser of the ABAP Workbench.
    2.      The Interface tab is displayed. Under Form Interface, double-click the Import node
    3.      You see a screen for entering import parameters. This screen also shows the standard parameter /1BCDWB/DOCPARAMS. You cannot change this parameter.
    You use this parameter in your application program, to specify the value for the language setting, for example. To display this structure in the ABAP Dictionary, double-click the SFPDOCPARAMS type.
    4.      XML schema-based interface
    ○     The standard parameter /1BCDWB/DOCXML with the type XSTRING is used for sending data from the application program.
    ABAP-based or Smart-Forms-compatible interface
    ○     To insert a new line, choose Insert Line (This graphic is explained in the accompanying text). Enter the parameter names of the data you want to import. These names are valid for the whole form and do not have to match the variable names in the data collection program. All data types are valid. TYPE can be selected under Type Assignment.
    5.      When you double-click Export, you see the standard parameter /1BCDWB/FORMOUTPUT of the generated function module. You cannot change this parameter.
    Note: You use this parameter in your application program, to make the generated form available as a PDF for further processing, for example.
    6.      To display the exceptions used by the generated function module, double-click Exceptions.
    7.      Activate the interface.
    Note: At runtime, the application program must provide the parameters. If a parameter has been defined in the form, but is not defined when the application program is called, then the output of the form ends with the program crashing (hex dump).
    However, it is also possible that the application program provides parameters that the form does not need. You do not need to mention these parameters in the form; they can also be specified in a different order from the code of the application program. This has the advantage that an application program can work with several different forms.
    Hope this helps
    Cheers

  • Creating a Purchase Order Smart Form (Form Interface)

    After reading up on all the posts about making a PO smart form I know this:
    - An SAP script "medruck" is the current output
    - A smartform exists for PO's named "/SMB40/MMPO_L" or "/SMB40/MMPO_A"
    - You need to install an update to get those smartforms if you are using ECC 6.0
    So my dilemma is that the SAP administrator is on vacation for a week, so I can't install the update to our system.  I'm trying to just create it from scratch using the medruck SAP script as a reference, but I am a little confused.
    Basically all I need to know is what form interface parameters do I pass in?  Meaning how do I find out what structures and tables are imported into the function module when print preview is called from t-code ME22N?  Can you please provide proper syntax for form interface solution or instructions on how to determine imported variables into the smartform?

    Hi
    If the smartform purchase order is not available in your system
    means you can download the form IDES and you can upload the form in ur ecc 6.0 system.we faced a similar kind of problem in our system and we did as i said.
    Once you uploaded the things you can easily view the form interface and rest of the things related to smartforms.
    Thanks and Regards
    Arun Joseph

Maybe you are looking for

  • Can't get brushes and swatches to sync, only settings/workspaces.  (Win7 and Win8.1, latest photoshop)

    I have Photoshop CC 2014 installed and updated on a Win7 machine and a Win8.1 machine.  When I go to edit>preferences>sync settings, everything is checked, but it seems that only my workspace settings get uploaded.  It never seems to transfer my swat

  • Transfer software from Mac Pro 1,1 to apple laptop, possible?

    Is it possible to transfer all files and software from a Mac Pro 1,1 to a new apple laptop (I havent decided which model yet)? I do not have all the original CDs for some of the software...will they still work?

  • What does it mean when I turn on my mac there is a file on the screen and it won't turn on?

    What does it mean when I turn on my mac and a picture of a file comes up and it won't turn on? I hold the button and turn it off and try again and sometimes it goes on and other times the file comes back on.... do I have a virus? What should I do?

  • IPhoto to iDVD slideshow

    I have 268 photos that I want to make into a slideshow. I understand how I can make a new slideshow in iDVD and simply add the folder of photos from iPhoto and let iDVD do its thing. However, I've read many posts about quality (or lack thereof) so I

  • HP LP3065 Monitor issue

    I am a proud owner of a HP LP3065 and I have recently incurred some issues.  When I plug it in and boot the PC it starts with a full screen then goes to a situation where it cuts off and then about 30 seconds, it comes back and repeats this for ever.