Triggering of the form FORM USEREXIT_FIELD_MODIFICATION

Hi All,
When will this form FORM USEREXIT_FIELD_MODIFICATION will trigger in the user exit 'MV45AFZZ' My requirement is I need to make one field on the screen additional data A Disable based on some condition  for the change transctions VA02, I am writing the code in the form 'FORM USEREXIT_FIELD_MODIFICATION ' but this form is not triggering when I am changing and saving the line items it's triggering at the begining when we are trying to enter into the Ist screen of va02. Can some body will give idea where I have to write my code and what's the exact purpose of the user exit 'USEREXIT_FIELD_MODIFICATION '.
Thanks&Regards
Mahesh

Hi,
I still do not have my desired solution.
I can not work with userexit_move_field_to_vbap because this userexit is called at the begin of creating a sales document.
With Userexit_field_modification I still have the problem that I loose the value in VBAP-KTGRM when I leave the dynpro.
My coding Inside Userexit_field_modification:
CASE screen-name.
    WHEN 'VBAP-KTGRM'.
Set to INPUT on when in Create or Change mode
      IF ( t180-trtyp = charh OR t180-trtyp = charv ).
         screen-input = 1.
      ENDIF.
  ENDCASE.
These code lines make the field editable but I see no chance to save the entered value of VBAP-KTGRM.
Thanks again,
Tobi

Similar Messages

  • Implementing the BADi QISR1 into the Adobe Form ISR_FORM_SPSP

    Hello experts,
    I need to trigger the BADi QISR1 when an adobe form is saved. This adobe form belongs to the scenario SPSP and it's called IRS_FORM_SPSP
    Does anybody knows how to Implement this BADi and insert my code so it can be triggered by the adobe form?
    Thank you very much in advance,
    ArepaKing

    This was answered by using the FM accessible through the transaction QISRSCENARIO

  • "Presave" Event triggered when the form is loaded.

    Dear all,
    I created an interactive form with an XML interface and I use it into a Web Dynpro ABAP.
    The version of my Adobe LiveCycle Designer is 8.0.
    My problem is that the "presave" event is triggered when the form is loaded.
    For example, if I place a field in the form and add the script " this.rawValue = "123"; " to the "presave" event of this field, the field will have the value "123" when I launch the Web Dynpro application.
    Then, if the user does not make any input and directly save the form, the "presave" event is not triggered.
    Does anyone know why I get such a behavior?

    Steeven, I was unable to test this scenario as Adobe Credentials are not installed in my system. But something similar from Java Script is referenced here in the below mentioned link.
    Please look if you find it useful:
    http://careerabap.blogspot.ca/2011/02/custom-dialog-box-message-while-saving.html
    Please reward if you find it useful.
    Regards,
    Nitin.

  • Prevent multiple users from editing/approving the same form SPD 2013,SP 2013

    Hello all, I have a workflow with a to do task, the task is assigned to a group so any of the users in that group can go in and do a quality check on form data and approve it.  How do I prevent multiple users from working on the
    same form? do I just require check out? or is there a way to notify the rest of the group that a user has already started the quality check.

    The "Require Checkout" option is your best bet.  You can also enable the auto checkout on edit option to allow minimal effort on the side of the user.  Other users will then get the error message stating the item is checked out, if they try to
    edit it.
    If you'd like, you could add a workflow to the task list that triggers when something is changed.  That workflow can check if the item is checked out and if so, email the other users assigned to the task.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Calling the Adobe form in a workflow step for Approval

    Hi All,
    We are creating a PCR scenario using Adobe forms for "Employee seperation". This form will require 7 subsequent approvals from various agents which is to be handled using a workflow.
    I had gone through the ISR cookbook and managed to create a scenario. I have also assigned it to a PDF form and a dummy workflow. Now from my PCR iview i am able to submit the form for my scenario which also triggers the dummy workflow(through the BUS7051-CREATED event).
    Right now this dummy workflow just sends a mail(by sendmail step) to the first approver. Now i want this workflow to send a workitem to the first approver for approval of this form which will have to appear in his UWL. When the approver double clicks on the workitem in UWL he should be able to view the form along with Approve/Reject/Cancel buttons. I am not aware how to do this. My questions are,
    <b>Is this handled by a decision step or an activity?
    If it is an activity step which Task/Business object method is used to handle this?
    If it is a decision step how do we make the Adobe form also to be displayed along with approve/Reject buttons?</b>
    We are using ECC5.0 and EP6.0.
    Thanks in advance for any help.
    Prasath N

    Hi Rajasekhar,
    The UWL issue has been resolved now and i am receiving the workitems in my UWL. But i am getting the following error when i am trying to execute the workitem from my UWL.
    <b>Service cannot be reached
    What has happened?
    URL http://xxxxxxxx.xxxx.xxx.xxx:8000/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrFormApprove call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system xxx with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:DALSPHSB_HSB_37-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    </b>
    I have done the following configuration settings in SWFVISU transaction :
    Task : TS500000075
    Visualization Type : WebDynpro Java
    visualization parameter: Application
    visualization Value: IsrFormApprove
    visualization parameter: Package
    visualization Value: sap.com/pcui_gp~isr
    Is there anything else that i have missed out in the configuration?
    Message was edited by:
            prasath natesan
    Message was edited by:
            prasath natesan

  • Place the Adobe Form as PDF file in a URL

    Hi Experts,
    I have created an Adobe form and got the PDF data in the form of XSTRING now I need to place this as PDF file in the URL which I have generated programmatically. Not sure on how to do it. Any function modules or classes to place this as PDF file at a URL will be really helpful for me.
    Tried with HTTP* function modules and seems they are not working.
    Thanks for you help.
    Regards,
    Srinivas

    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.

  • Hi how to debug the stand form and standard program of credit demo......

    hi , i could find find the credit memo in FI standard form and standard program at the given path
    SPRO->IMG->Financial Accounting->Accounts Receivable & Accounts Payable->Customer Accounts->Line Items->Correspondence->Carry out and check settings for correspondence->define Form Names for corresponding print> here u can c ur program along with the Form assigned to it...
    I copied the standard form to z form and assigned to standard program, now to know the elements in a write form which are triggered , i need to apply breakpoint in standard program and run the application to view the elements.. But , to apply breakpoints in the standard program, no form routine is given...Then how to identify where to apply breakpoints to identify the elements....
    i will be very thankfull for the reply..
    thanks..

    Hi,
        Activate debugger as above for FORM, or copy the Standard print program name and open it in SE38 in display mode, Look for OPEN_FORM or WRITE_FORM fm in the Main print program and put break point. when you run the application it will stop at the break point.
    Regards
    Bala Krishna

  • In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

    In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

    Thank you so much for your reply . . . but . . . I should have shared my original script with you -- it was a little more complicated than I led you to believer. I was triggering a group of text fields to become disabled as well as gray. Below is the original script so that when the checkbox is checked, it causes several "Co" fields to be disabled and gray.
    // Mouse Up script for check box 
    // If checked, certain fields should be disabled 
    var f_prefix = "Co"; 
    // Get a reference to all of the "Co" fields 
    var f = getField(f_prefix); 
    // Reset the Co fields 
    resetForm([f_prefix]); 
    if (event.target.value === "Off") { 
        // Enable the Co fields 
        f.readonly = false; 
        f.fillColor = color.transparent; 
    } else { 
        // Disable the Co fields 
        f.readonly = true; 
        f.fillColor = color.gray; 
    To recap -- my goal is to get those gray fields to revert to transparent if the form is reset. I'm willing to create my own custom "Reset Form" button but I'm not sure I understand how that would look. Wouldn't it be quite lengthy? I think I'm having a brain freeze -- can't figure it out!

  • OIM API - How to get the values in the process form (both parent and child)

    Hi,
    I created an RO with a Process form (both Parent and Child).I created a unconditional process task which takes in the processinstance key and tried to retrieve the process form datas.When i tried to provison the resource,the process task is getting triggered and I could able to get the parent form data but not the child form data.
    Any idea why is this happening?.Is it mandatory to have the "Triggers" ON to get the Child Form data.?
    Thanks,

    try this
    tcResultSet childResults = formOper.getChildFormDefinition(
                             formOper.getProcessFormDefinitionKey(procInstanceKey),
                             formOper.getProcessFormVersion(procInstanceKey));
    This should work,
    Regards,
    Raghav

  • How to debug the smart forms

    Hi All,
    Can any body guide me how to debug the smart forms.
    Thanks & Regards,
    Satish.

    Hi,
    The the best way to debug the form is to put a breakpoint in the function module generated by the smartform.
    Procedure:
    Open the smartform we want to debug.
    Goto Environment -> Function module name.
    Open the function module in SE37. From the menu GOTO -> main program. Open the last include.
    This incude contains the entire code ie the code we have written in initalization + form routines + program lines + sap generated code.
    Even we can search for the text nodes, folders, templates, tables, graphics, address nodes etc with their names.
    Put a breakpoint at any point you want.
    If we issue any doc which triggers this form, when the control reaches the break point it will stop.
    Please note that hard-coding the break points in the code ( Program lines ) is not recommended and it can´t be done unless if it is development server.
    So, always put a session break point in the related function module.
    We can use SFTRACE transaction to know the sequence of the control flow.
    If you want to break at each and every text that is printed on the output form put the break points in the forms.
    1. %write_text  to break at text element.
    2. %WRITE_TEXT_MODULE  to break at text module.
    3. %WRITE_INCLUDE_TEXT  to break at include text.
    Please put a break point at the first sy-subrc check.
    If the control reaches this point, you can find the name of the element in the varible NAME and the content in the text node in %TEXT.
    Its easy to understand the sequence of the printing if we put a breakpoint as stated above.
    Regards,
    Satish.

  • Triggers Firing Sequence Of Forms 10g after commit_form trigger.

    hi all,
    please tell me Triggers Firing Sequence Of Forms 10g after commit_form trigger.
    thanks,
    Regards,
    Ambarish

    Hi,
    I have a doubt regarding the sequence of events when COMMIT_FORM is fired.
    Using the following to trigger the event.
    DO_KEY('COMMIT'_FORM');
    Added debug messages in my form triggers and found that after the ON-INSERT trigger is fired, the WHEN-VALIDATE-RECORD is fired and then the PRE-RECORD.
    However this sequence is not specified in the lists of firing sequences mentioned here.
    Is it possible to change the sequence programmatically.
    In my ON-INSERT trigger, calling a DB procedure to insert row in the table.
    Thanks
    Asfa

  • About the object form in OIM

    At first, I have added a object form of RO1,The permissions for the object form has been set.
    Then,when I login to the Administrative Console as UserA and click Request New Resources to request RO1, the step2(Provide Resource Data) is skipped, it is jump to the step3 from step1 directly, that is the object form does not display. Why? Please give me some advice. I do not konw what's wrong.
    Thanks!

    Hi
    You cant achieve the above ootb. You can either have the prepops that will work great for both the request and direct provisioning (but the data from the object form will not flow to the process form even though the dataflow mappings have been done(for a request) if prepops are attached to the process form.
    I would suggest that if you do want to achieve the requirement that you've specified, you should do the following:
    1) Have the data flow mappings done and no prepops on the process form.
    1) Make all fields in your process form optional (oim will not allow you to save a process form with blank values for mandatory fields, hence you need to do this)
    2) Have a first process task (reqd for completion) in your prov process that checks if certain attributes like userid, password, etc which are required in order to create an account etc are blank or not
    3) If they are blank it indicates that provisioning was triggered off through direct provisioning and then in such a circumstance you will get the values for the fields on the process form from the User def for that user using findUsers() and populate the process form using api's and on the success of this task then trigger off the CreateUser (conditional task)
    This will work for both request based and direct prov without pre pops.

  • What Should the template form have ?

    What Should the template form have ?
    Object Library ; which has the most common used inherited triggers ?
    and ???
    Regards,
    Abdetu...

    If you look at the form of the standard object library (OFGWEBOL.fmb) you will see that there is no code (except for a few program units). The OL is really meant for look and feel kind of stuff.
    Also, it is far easier to maintain code in a pll library.

  • How can multiple users manage the same forms?

    We are looking to purchase FormsCenral however after read this FAQ on teams we are confused:
    http://forums.adobe.com/docs/DOC-2903#Q3
    How do we manage forms if more than one user needs to make changes to the same forms?

    You would have a primary user/e-mail address attached to your FormsCentral account, and you can assign multiple co-authors to any of your forms. They would need to each have a free Adobe ID.
    I work in a Higher Education setting, and have co-workers and Graduate Assistants who are co-authors on forms I've produced, so they can each edit and/or view the submitted response tables.
    I hope that helps,
    Brian

  • Prevent multiple users accessing the same form

    hi,
    i am working in forms
    i have a requirement like this
    if more than one user are using the same form and try to access the same record then the second user should not be able to do transaction
    he should be popped up with a msg saying that other user is working on it
    can any one suggest how to do this in my form
    thanks in advance
    selvaraj s

    That is pretty much exactly the way Forms works automatically.
    Two users can use the same form, and can even display the same data record. One of the users can make changes to the record -- Forms locks the row upon the FIRST keystroke in the first field the user begins to change.
    Once the row is locked, the second user is free to look at the record, and won't even know if another user has begun making changes. However, if second user tries to change even one field in the record, Forms pops up the message, "Could not reserve record (2 tries). Keep trying? Yes / No"
    There are also protections so if the first user actually changes the row and commits, then the second user tries to make a change. Forms will automatically detect whether changes were made, and if so, will undo the change and issue the message, "FRM-40654: Record has been updated by another user. Re-query to see change."
    The above automatic processing works very nicely. If it will not work for you, then what is it you need?

Maybe you are looking for

  • Sending messages thru email and SMS without using XMS APIs

    Hi, I already have some working code that sends messages thru email and SMS. But currently it uses XMS APIs therefore I have a dependency on files like wdk.jar. I want to try and eliminate using the XMS APIs and only use soap to send these messages.

  • Configuration in Integration Builder

    Hi! When I have got configuration of connection XI to MSSQL and RFC connection XI - ERP on XI Development system I have to do this all configuration once again on XI QUA and XI Production system or is any other way to transport this configuration to

  • Date conversion from mm/dd/yyyy to 'yyyymmdd'

    Hi, I want to convert the 'mm/dd/yyyy' to 'YYYYMMDD'. l_endlate = '12/17/2006' gw_flatfile-zzenddate format is 'YYYYMMDD' The following function module has error.  I think the dype is not right.  What should I put there?   Or do you have better sugge

  • Why 2 comments check boxes in inspector?

    Hello Does anybody know why are there two comment check boxes in inspector? I can't figure it out. The reason I'd like to know is because I'd like people to comment on My homepage, and not on each individual blog (because I'm not getting many comment

  • Roadmap - broadcaster & BI content

    Hi, Does any body know what is the future for Broadcaster in the context of BO acquistion? Do we have any functional replacement for it in BO world? and second topic: What about Business Content: I assume that up to the query level already available