Smart Form: Which Action triggered the form?

Hi all,
we are using a Smart Form that should show information depending on which action triggered it. The Smart From is called by one class that does some preparation logic (Parent CL_SF_PROCESSING_PPF, Method EXEC_SMART_FORM). This class is started by several actions.
I know I could have several classes, one per action. But in case of changes, I would have to change all classes.
Is there a way to determine in the class which action was used to call it?
Thanks for your help,
Timo
Message was edited by:
        Timo Koch (rephrased question)

Hi,
I'm facing the same issue, for the moment the best answer is to read the value of the GUID from PARAMETER values.
DATA: para TYPE tpara-paramid VALUE 'TRIGGERGUID'.
GET PARAMETER ID para FIELD wv_ppf_guid.
IF sy-subrc <> 0.
  MESSAGE 'Parameter not found' TYPE 'I'.
ENDIF.
SELECT SINGLE * FROM ppfttrigg INTO ws_ppfttrigg
WHERE os_guid = wv_ppf_guid.
The problem is on creation mode, the guid is filled but the table is not, I'm trying to get info through class cl_manager_ppf but I haven't found yet ...
Regards,
Guillaume Mackowiak.

Similar Messages

  • How to call servlet in action of the Form in jsr 286 portlet

    HI,
    We are using Portlet producer application to create JSR 286 Portle. In the View.jsp of a portlet we need to call a servlet by mention it in the action of the form. WHen I run the only view.jsp page , on form submission the servlet gets called.
    But when i consume the portlet in the portal application and click on submit of the portlet  , the doDispatch method of the portlet class gets called again and not the servlet doPost.
    PLease let me know what can be done in this case.

    hi all,
    can anyone please answer the Query ???

  • Which version of the Forms Central subscription will allow me to export data to excel (CSV file)?

    Which version of the Forms Central subscription will allow me to export data to excel (CSV file)?

    Hi Heather 349
    I believe you can do it with both FormsCentral Basic and FormsCentral PLUS
    Also Refer : Tutorial: Exporting Responses to Excel, CSV or PDF

  • Is it possible to have copy to clipboard take entries in text boxes on a fillable form as well as the form fields Windows?

    Is it possible to have copy to clipboard take entries in text boxes on a fillable form as well as the form fields in Adobe Reader Windows? When I create the forms is there some javascript or possibly a setting that would allow the end user to copy to clipboard the form fields and their entered text. Or another option that would work is to have only the entries in the text boxes copy to clipboard. Is that even possible?

    Copying fields is not possible in Reader.

  • Fill data into a form programmatically and print the form afterwards

    Folks,
    until recently a lab assistant took measurements and filled the data into a paper form (see attached pdf). Now we are building a test stand that does the measurement semiautomatically. The software of the test stand will be programmed in LabVIEW, of course. The test stand shall generate a printed protocol very similar to the attached pdf in future as well.
    What's the best way to fill the acquired data into the form and to print the form afterwards? The form can be read by our code in either pdf or html. There is no Microsoft Office installed on the computer.
    Modifying the html code? Converting the pdf to a picture and fill the data into the picture? Any hint will be highly appreciated.
    Thanks,
    Peter
    Attachments:
    Form.pdf ‏121 KB

    Hmmm... must have misunderstood what you were saying.
    XSL is a language that allows you to generate an HTML document. The XSL basically defines the style, and the XML specifies the data. HTML is the combination. You can find out more here.
    Unfortunately, since you don't have Office, you won't be able to use the ActiveX interface to control Word, so that's out.
    With the template in HTML format you could use the DOM for an HTML file to set the value of the HTML elements. The easiest way to do this is to use IE (I'm assuming you're on Windows here) to open the HTML template and then you can use the DOM from there. As for how feasible this is, it would depend on your HTML format. Can you post the template in HTML format?
    With the template in PDF format I know that some PDF files that are forms can be generated in such a way that they still act like forms when you open them in, say, Acrobat Reader. Acrobat has an ActiveX interface so you should be able to programmatically do this, but I can't say for sure. You can check the Adobe site for more info. You just need to make sure it doesn't require the full version of Acrobat.

  • FM which determines which job triggered the program

    Hi all,
    I have a programmed triggerred by several jobs.
    when the program is trigerred i want to know which job triggerred the program because i have different conditions for different jobs.
    Is there any FM which determines which job triggered the program
    Thanks

    Hi,
    I passed the dialog type as N for BP_FIND_JOBS_WITH_PROGRAM
    What does N means.
    Also the above FM brings the entries from  TBTCP.
    Iam not sure whether TBTCP gets an entry after the job is completed or once the job is created in SM36.
    Let me know
    Thanks

  • When submitting form, form elements like text box are not available in my action page. This occurs only for several times. if i resubmit the form, i can get the form elements in my action page. May be form get submitted twice in firefox 3.6.13

    I have a simple web page with two form elements say, two text box and submit button. when submitting my form, i didn't get the form data in my action page. This occurs only in Firefox 3.6.13 several times. Not always.
    May be form get submitted twice?
    Note: Remember, i am not facing this issue. However my friend is facing this issue.

    I have a simple web page with two form elements say, two text box and submit button. when submitting my form, i didn't get the form data in my action page. This occurs only in Firefox 3.6.13 several times. Not always.
    May be form get submitted twice?
    Note: Remember, i am not facing this issue. However my friend is facing this issue.

  • How to allow the form completor to PRINT the form?

    I'm designing a capital campaign form that requires the person to sign it and mail it in. Frankly, it doesn't need to be a FormsCentral form but it's far more convenient for me (can't get any better reason than that!) AND it creates the database even though that's not the prime interest. What I'd like to do is use FormsCentral, have the form completed online so that we capture the data, but when the person his submit (if possible) it also prints at their end.
    Please say it's possible.

    You can set up "Email Reciepts" on the Options tab which would send an email to the submitter when they submit the form (assuming they enter their email address which you can make a required field).  The format is a list in the email and you can select for empty fields to not be included.  This email can be printed for a confirmation reciept. 
    There is also a place for feature ideas, you could add or vote on an idea to have a PDF of the responses sent in the email receipt so the submitter could print out the PDF and would have the form as they had submitted it.
    http://forums.adobe.com/community/formscentral?view=idea
    If you need to add a new idea click "Create an idea" under "Actions" in the top right.
    Thanks,
    Josh

  • How to Save State on an Entry Form prior to Submitting the Form?

    I want to be able to save the values the user enters to fields on the entry form if they navigate away from the page and come back (without the user clicking the submit button for the form.) For example, one of the input fields has a goLink to go to another page to lookup a field value - when the user returns from the page, all other form field values are cleared. If the user does submit the form by clicking the command button, then all form field values are saved (if the user navigates from the page and comes back, all values are retained.) What I'm trying to do then is somehow save the values (passivate the state) for the field the user has filled in when the user navigates from the page without submitting the form. Any suggestions?
    I am using a read-only View Object with all transient values. The VO is configured to passivate state including all transient values. The initial row is created programmatically; there will only be one row for the VO used as an entry form. I am not using a backing bean for the values and would prefer not to use one, but would rather use the VO's capability to passivate state to save the data values. The question then seems to be how to force the VO to passivate state prior to the form being submitted.
    thanks
    Message was edited by:
    javaX

    "My hunch is that the real problem is that the fields are not being set into the bindings due to the use of immediate="true"."
    Yes. Now I see that is the real problem. Is there anyway to force setting the bindings from the input form field values if the user navigates from the page using a goLink, or commandButton with immediate="true" other than overriding the default FacesPageLifecycle classes?
    I'd prefer not to have to do that unless necessary, and, if I over-ride that method, then how could I get it to work normally when the user presses the commandButton at the end of the form and I do want all validation checks to be performed (immediate=false for the form's submit button; immediate=true only for lookup commandButtons used for certain fields)?
    Here's an overview of how I set the page up:
    1. create transient view object; all attributes marked as always updateable; passivate state=true for VO and all transient values; no key id field selected (will only ever be one row - just using VO to save values that will eventually be used to do an insert to the database);
    2. transient VO added to Application Module
    3. Add data control to .jspx page as an ADF Form (not an ADF Creation Form)
    4. Add code to AM to create the initial row for the input form
    protected void prepareSession(Session session) {
    super.prepareSession(session);
    insertTransientViewObjRows();
    private void insertTransientViewObjRows() {
    ViewObject transientvo = getViewObj1();
    transientvo.clearCache();
    transientvo.insertRow(transientvo.createRow());
    --- Entry Form .jspx pagedef.xml snippet ---
    <executables>
    <iterator id="MyIterator" RangeSize="10" Binds="MyView"
    DataControl="AMDataControl"/>
    </executables>
    <bindings>
    <attributeValues id="sponsorid" IterBinding="MyIterator">
    <AttrNames>
    <Item Value="sponsorid"/>
    </AttrNames>
    </attributeValues>
    --- Entry Form .jspx page snippet ---
    <h:form>
    <af:panelForm>
    <af:panelLabelAndMessage label="#{bindings.sponsorid.label}">
    <af:panelGroup layout="horizontal">
    <af:inputText value="#{bindings.sponsorid.inputValue}"/>
    // state will not be saved for other form field values if use immediate="true" when temporarily navigate away from page and return; don't want to validate other form fields here
    <af:commandButton text="Lookup Details"
    action="lookup-page" immediate="true"/>
    </af:panelGroup>
    </af:panelLabelAndMessage>....
    // state will be saved with immediate="false" when user submit forms at end of entry (need to perform validation of form's required fields here)
    <af:commandButton text="Continue to Next Step" immediate="false"
    action="nextpage"/>
    Message was edited by:
    javaX

  • Webutil - works in the form but not in the forms menu

    Hi
    Forms: 11.1.1.3
    Dbs: 11.2.0.2
    I have some code which calls webutil to do an AS to client file transfer.
    This works fine when called from a button in the form.
    If I have a menu on this form, and perform the same code to call webutil I get an error:
    oracle.forms.webutil.fileTransfer.FileTransfer bean not found WEBUTIL_FILE_TRANSFER.getMaxTransfer will not work
    So the same code will work when in the body of the form but not when in the menu.
    The forms has opened up and instantiated all of its objects at both times I try to run it. But it fails from the menu code call.
    Any thoughts on why one works and the other doesn't gratefull received.
    cheers
    Tony

    Hi Tony
    We also had the problem.
    solution:
    We have created a wrapper-form with in the webutil functionality has been implemented (with a dummy-Item).
    In the form we have created a When-Timer-Expired trigger and implemented the Filetransfer functionality. Then Exit_Form.
    This wrapper-form was then called from the menu.
    Alfred

  • Submitting information on Form and then forwarding the form

    I am attempting to automate a process which requires filling out a form and then submitting to a team lead for approval.
    Currently a configurator submits a hare copy of a request to enhance code or table.
    I want to automate so that configurator loga into portal fills out form and then submits. The request is filled out and submitted via portal to approval authority.
    Do I use ADS with portal via Visual composer or some other tool.
    Thanks
    Weyland Yutani

    Hi,
      I am also trying to to do something similar . As from Ottos's reply I understand that the second WDA (Approvers screen) will also have a Interactive Form which is created based on data that was stored on the first screen.
    Apart from the data, is there a way to make all attrributes of a form persistent so that we can use this to generate the PDF form when ever needed ?
    Reason I am asking is because, apart from the data I may have to capcture signature etc., on the form.
    Thanks,
    Arpitha.

  • ORACLE DEVELOPER 10G FORMS, LOV AND QUERYING THE FORM

    I have a form and I built an LOV on a particular field. The LOV returns the values, I select a value, it goes into the field, but what I want is to have the form retrieve all the information from the database and display (only) all the data. But when I put a value in the field from the LOV, nothing happens. i have tried to have the form go into "enter_query" mode, then select from the LOV, then end the "when button pressed" with "excute_query". But it will ask if i want to save, i say no, then it just displays the first record in the database. what am i doing wrong?
    thank you,
    Steven

    here is my complete code on this button: when i press the button, it keeps asking me if i want to save it (if i say yes, it adds it to the table in the database, which i do not want). however, if i first select "enter query" from the menu bar, and then click on my button, everything works as expected.
    set_item_property('SL_3_ITEMS_HEADER.SL_3_SHORT_TITLE',queryable,property_true);
    --Set_Block_Property( 'SL_3_ITEMS_HEADER', DEFAULT_WHERE, 'parker.SL_3_SHORT_TITLE=:sl_3_short_title');
    declare
         SL3 varchar2(12);
    BEGIN
         go_item('SL_3_SHORT_TITLE');
    list_values;
    SL3 := :SL_3_ITEMS_HEADER.SL_3_SHORT_TITLE;
         if SL3 is not null then
              select SL_3_SHORT_TITLE into :SL_3_ITEMS_HEADER.SL_3_SHORT_TITLE
              FROM parker.SL_3_ITEMS_HEADER WHERE SL_3_short_title = SL3;
         ELSE
              message ('You need to specify an SL-3 to be able to search');
         end if;
         exception
              when no_data_found then
              message('An SL-3 with that name does not exist.');
              clear_form;
         end;
         execute_query;

  • How to populate values of some controls in a form which is associated another form in realtime?

    My aim each time when I click on button1 then only one instance of Form2 exist with updated string or else if I design with other controls in Form1 and Form2.
    Below example success for the first time by clicking button1, any other times it does not work (updated) that textBox1.Text to Form2's label.text.
    How can I handle this?
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private bool CheckOpened(string name)
    FormCollection fc = Application.OpenForms;
    foreach (Form frm in fc)
    if (frm.Text == name)
    return true;
    return false;
    private void button1_Click(object sender, EventArgs e)
    Form2 frm2 = new Form2(textBox1.Text);
    if (!CheckOpened("Form2"))
    frm2.Show();
    else
    frm2.label1.Text = textBox1.Text;
    public partial class Form2 : Form
    public Form2(string str)
    InitializeComponent();
    label1.Text = str;

    You should first check if the Form is open, then only create a new instance if it's not open. Based on your code, I'd redesign CheckOpened so that it returns the opened instance, or null if it's not open. In button1_click, check the return value. If it's
    null, create a new instance, otherwise use the returned refernce to make the modification, either by directly accessing label1, or indirectly by adding a property to Form2 that changes label1.text in the property-set method.
    However, instead of searching for an open form, I'd just store a reference to it in a class level variable when it's created. So you just check for null if it's open. Additionally you must set it to null when handling Form2's FormClosed event.
    Armin

  • I have developed a fillable form using Adobe Acrobat Pro. The form has several fields and some of the information is captured in a bar code. What programs must be used to open the form to properly fill the form out?  Adobe Reader, Adobe Xi, Ibook, etc.. I

    I have created a fillable form using Adobe Acrobat Pro that contains several data fields with some feeding data to a barcode in the document.  I have a "button" set up to save and send the completed form one it is completed.  Some of the user are having troubles filling out the form as they are using various programs to do such as iBook, Adobe Reader, etc....  Sometimes the information is not transferred to the barcode and sometimes the "submittal button" doesn't function properly.
    Please provide a solution or give me a list of the programs that must be used to properly open and fill out the form.
    Greatly appreciated.

    Best option is to use Adobe Reader (or Acrobat, of course) on a desktop computer (ie, not on a mobile device). Any other configuration is likely to be problematic.

  • Travel Display Form: Error while determining the form function module

    Hi,
    In Travel Reqeust (ECC6/ESS) when i click the Display Form after raising the Travel Request it shows the error
    "Error while determining the form function module"
    Can anyone have idea on this?
    Regards,
    Boobalan

    Hi,
    This error was due to Not supported platforms of ADS (Adobe Document services)
    It was not supported on itanium64 bit processors.
    Please check where the ADS is supported in service.sap.com/pam
    You can use the ADS in the Non-Supported Server by linking it to Supported Platform Server using the SM59 link. This will make the ADS files to work.
    Please refer the ADS Config Doc for details.
    Hope you also solve this problem.
    Regards,
    Boobalan

Maybe you are looking for

  • Garageband '08 stopped working for one user account

    I'm running Garageband '08 (4.1.1) on an early 2008 iMac (8,1) running Snow Leopard (10.6.8) I recently tried to open a project I started a couple of months ago and Garageband has become unusable.  It will open the project and all of the tracks are v

  • Joining to the Active Diresctory

    Dear Guys,  I am facing problem in joining to the domain, one of university here in Oman, they order 24 pieces to our company, the OS x Mountain Lion, and they want to join to active directory all of imac. but when i try to bind to AD Windows Server

  • CS5 how do I disable slippery window?

    When I hold spacebar to grab my picture and move it around, it slides around when I let it go. It's really annoying, how do I disable this "feature"?

  • Blackberry 8220 Flip phone gives red light, then shows clock and repeats...... forever....!

    Hi I have a blackberry pearl 8220 flip that's bricked. It goes from a long red light to the clock loading screen and continues until by battery is dead. I have tried reloading the current OS available (v4.6.0.174) through the latest blackberry deskto

  • Video in through USB or Firewire ?

    Hi everyone, I'm a newby in VJing, and I'm looking for a simple and cheap solution to do the following. I would like to get the video coming out from another computer into my iMac (Intel Core Duo) to use it in a VJ software (Arkaos VJ) as I would wit