How to Re-query a standard form.

Hi there,
There is a need to Requery a standard Service Request Form.
When "Launch Workflow" button is pressed, it updates a DFF at the database.
After this if we wish to add description in Task Description Field, it throws error "Record updated by another user"
As Attribute value has been changed at the database but this value is not reflected on the Standard Form.
we have to hit CNTRL+F11 manually before we can update any field again..
Is there any way to Re-query the form?
Is it possible through Form Personalization on some event?
I have tried DO_KEY(EXECUTE_QUERY) but its not working.
Please help.

can the field on form be updated without gettin "Record updated by another user" error?I already suggested a way to do so in my former post
In general, its more easy to re-read the updated value in the POST-UPDATE (or POST-INSERT) trigger instead of doing a full re-query.But i'm not quiet sure if you're talking abount an eBusiness-form and if its possible to intercept that trigger there.
I did try GO_BLOCK before DO_KEY('EXECUTE_QUERY')So, is the execute-query executed or not? Did the GO_BLOCK succeed? If not, any errors?
You could also issue an EXECUTE_QUERY; instead of a DO_KEY('EXECUTE_QUERY');

Similar Messages

  • How to: disable buttons in standard forms

    Hi all,
    does anybody know how to disable session date button from standard forms?
    I cannot find in forms (through Form Builder) the right data block / canvas where this button is.
    Thanks all.
    Jacopo

    I'm not aware of any "session date button". A button on a form can be disabled using the set_item_property.
    Use the layout editor and double-click the button. It will tell you what button it is. The button will also be highlighted in the Object Navigator window.
    Message was edited by:
    Mark Roberts

  • How to find the SAP Standard form given the variant name.

    I am working on forms, How to find the standard form given
    print program name or the variant name .
    for eg:
    given
    print program is RKFORD10
    varinat is SAP06
    The SAP standard Form is F140_ACC_STAT_01.
    I need to find the standard form given the variant as SAP13.

    In SPRO,
    SAP Customizing Imp guide->Financial Accounting->Fin Account Global Settings->Correspondence
    Under this-
    'Assign Programs for Correspondence Types'(Tcode OB78) &
    'Define Form names for correspondence print'
    should be useful to you
    Message was edited by: Sravanthi

  • How to modify query  statement in record grp of LOV in standard form

    Hi,
    We are using Service contracts in Production environment.
    Duplicate rows selected for LOV query.
    By adding a line userenv('language') we solve the problem.
    But the coding was written inside the standard "OKSITMSL.pll". Here For the Field "NAME", LOV
    record group "CUST_SYSTEM" assigned dynamically based on
    other fields "ITEMSEL.FILTER = SYSTEM" and "ITEMSEL.CUSTOMER_FILTER = CUSTOMER".
    I have added piece of the details below.
    Form is Standard form "OKSITMSL", Which is calling om parent form "OKSAUDET".
    Form : OKSITMSL
    Block : ITEMSEL
    field : NAME
    pll : OKSITMSL.pll
    oksitmsl.pll coding-------------
    ELSIF NAME_IN('ITEMSEL.FILTER') = 'System' THEN
    If UPPER(Name_In('ITEMSEL.CUSTOMER_FILTER')) = 'CUSTOMER' then
    l_group_name := 'CUST_SYSTEM';
    Elsif UPPER(Name_In('ITEMSEL.CUSTOMER_FILTER')) = 'RELATED' then
    l_group_name := 'REL_CUST_SYSTEM';
    Elsif UPPER(Name_In('ITEMSEL.CUSTOMER_FILTER')) = 'BOTH' then
    l_group_name := 'BOTH_SYSTEM';
    Elsif UPPER(Name_In('ITEMSEL.CUSTOMER_FILTER')) = 'ALL' then
    l_group_name := 'OKS_SYSTEM';
    End If;
    Set_Lov_Property('ITEMSEL_LEVEL', GROUP_NAME, l_group_name);
    “CUST_SYSTEM” Record group present in “OKSITMSL” form.
    I need the advice how to solve my problem by adding a line in query of "CUST_SYSTEM" record group without touching/alter standard form.
    Thanks in advance.
    Navas

    thank you shadow,
    I think you mean like below:
    and trim(leading 0 from a.DD_DRX_BSID_NID) = nvl(trim(to_char(SUBSTR('00042',6,5),'XXXXXXXXX')),0)
    and trim(leading 0 from a.DD_DRX_BSID_BSC) = nvl(trim(to_char(SUBSTR('00042',11,5),'XXXXXXXXX')),0) ))But i think it compares with all 0's record ... but that's not correct
    Edited by: josh1612 on Dec 22, 2008 2:50 AM

  • How to Copy Standard form in Smartforms?

    Hi Experts,
    can anyone tell how to copy a standard form in Smartforms.
    Thanks in advance

    Hi Abdul,
    We have to copy them to '800'. (this is your own company define client no)
    All Standard Scripts and their respective print programs are listed in table 'TNAPR'.
    Ex: FORM MEDRUCK has the Driver Program SAPFM06P.
    NOTE: Never make any changes to the Standard Driver Programs
    STEP 1.
    Goto Transaction Code <SE71> and 
    select from Menu UTILITIES ->Copy from Client.
    Enter the Standard Form Name, It source Client 000 and the target Form Name that you want it to be saved as on your client.
    Say you are naming it as zmedruck1.
    Click on EXECUTE.
    STEP 2.
    Converting form to English.
    Open zmedruck1 in <SE71> With language DE.
    Then goto  UTILITIES -> Convert Original Language from DE to EN.
    Then you can modify the layout for example, chaging the logo, or changing the headers, or adding any new code to do some calculation etc.,
    SAVE THE CHANGES AND ACTIVATE.
    Then select from the menu  FORM -> CHECK -> TEXT.
    SELECT your driver program name from the list adn click on COPY.
    If you don't see the program name in the list then click on 
    'APPEND PRINT PROGRAM' and add your program name and then select it from the list and click on COPY.
    STEP 3: Assigning our form to the standard print program.
    Start Tr.Code <NACE>.
    In our present case since we are working on 'Purchase order' we have to select EF and click on the button Output Types.
    Then on Right hand side, scroll down and select  NEU - New P O Printout. 
    (This may change for different programs).
    Then Double click on  Processing Routines on Left hand side.
    Change from Display -> Change Mode. 
    Give your form name (zmedruck1) for printoutput and SAVE.
    STEP 4:
    Start Tr.Code <ME22N> since you are working on Purchase order and click on print Preview to make sure your layout etc., changes are OK. If not again you have to make the changes accordingly.
    If every thing looks ok then you can print your form.
    Regards,
    Sathish:)

  • How to fix Acrobat 9 Standard freezing when I try to open a PDF form I created?

    How to fix Acrobat 9 Standard freezing when I try to open a PDF form I created?

    Hi jamesh,
    Considering the error 'licensing has stopped working', I would refer you to visit this KB doc link and try troubleshooting:
    Error "Licensing has stopped working" | Windows
    Regards,
    Anubha

  • How to call standard form from your custom forms

    Hi,
    I submits concurrent program(SRS) from custom form and then i would like to call view requests standard form rather navigating manually?
    Please can anyone tell me how to do above?
    Thanks
    ESL

    Hi Esl ;
    Please check [this search|http://forums.oracle.com/forums/search.jspa?forumID=475&threadID=&q=call+standard+form+from+custom+forms&objID=c84&dateRange=all&userID=&numResults=15&rankBy=10001]
    Please also check those and see helpful:
    Forms Customization
    Re: Enable Submit Button at User Level and Disable at Block Level
    Forms Personalization Document
    Re: Forms Personalization Document
    Regard
    Helios

  • In the smartform how to change the company adress in the standard form

    Dear experts,
    In the smartform how to change the company adress in the standard form.
    Regards,
    Balakrishna R.V

    Hi,
    Go through this link below:
    change in SAP Standard Address
    Hope it helps
    Regards
    Mansi

  • How to display LOV on web in ENTER-QUERY mode with form or block query only.

    Hello all
    How can I display lov automatic on the web in from enter-query
    mode in form or block query only mode.
    thankx

    If I understand correctly your explanation, your called form
    fails to activate the LOV in enter-query mode when it is deployed
    and test on the browser.
    So lets proceeed like this, to make it work in all environments,
    let us programetically activate the LOV.
    HOW?
    In the called form, write in the WHEN-NEW-ITEM-INSTANCE TRIGGER
    at block level (if have more than one LOV)
    IF :SYSTEM.MODE = 'ENTER-QUERY' THEN
    IF get_item_property(:system.cursor_item,lov_name) IN ('YOUR
    LOV1', 'LOV2' etc) THEN
    IF SHOW_LOV(get_item_property(:system.cursor_item,lov_name))
    THEN
    NULL;
    END IF;
    END IF;
    END IF;
    The above code maybe tweak to suite your need and condition.
    This way, we explicitly make the LOV appear in ENTER-QUERY mode
    whenever the user clicks on an item with an attached LOV.
    Hope this helps.
    Mohammed R.Qurashi

  • How to implement enter-query , execute-query in Apex Forms

    Hi,
    I am new to Oracle Application Express. I want to know what is the equivalent of ENTER-QUERY and EXECUTE-QUERY features of Oracle Forms in Oracle APEX? I saw a lot of documentation, but everywhere I found that APEX forms only have 3 database actions, (1) INSERT (2) UPDATE & (3) DELETE.
    Does anybody know how we can do QUERY in APEX Forms? (like we do in Oracle Developer Forms).
    Thanks in advance.

    Oracle APEX is a web/ stateless environment. So you do not have the same functionality/ features as in a Oracle Forms environment which is session/state oriented.
    You can however achieve functionality similar to Enter Query / Execute Query through other means.
    The easiest is to use the Forms with Report wizard. It creates 2 pages, the first one is a report and the other a Form. Clicking on the Report rows takes you to the Form page in Edit mode where as the the Create button takes you to the Form in Insert mode.
    If you want to have the enter-query / execute query on a single page it will require significant effort and skills. Try it when you have acquired some more skills in Apex.
    In APEX , like any other web application, you have to think in the web paradigm and not client-server. Even Forms 11g is essentially client-server like and is session oriented through the forms applet.
    Regards,

  • How to execute immediately a query in a form

    Hi,
    I've got a form which opens another form on which I have created a data block based on a FROM clause query where the where clause has a column joined a GLOBAL variable initialized in the first form.
    How can I get the second form execute immediately the FROM clause query when called from the first form?
    I've tried to insert in the second form called a trigger WHEN-NEW-FORM-INSTANCE where I have the following code.
    BEGIN
    GO_BLOCK('my_block');
    EXECUTE_QUERY;
    END;
    I thougth that the EXECUTE_QUERY executed by default the FROM clause query I've inserted in the Query Data Source Name of the Data Block but I don't see anything when the second form is called by the first form, just the message "FRM-50505 unable to perform query" I've tried to perform the query inserted in the Query Data Source Name executing it directly on the DB and it works
    Thanks!
    Edited by: Mark1970 on 30-mar-2012 3.07

    check from menu or display error to see why do you obtain an error

  • Query regarding  differences in R11 & R12 standard form of ASTRCALL.fmb

    Hi All,
    I am currently working on ASTRCALL.fmb , I am currently facing issue that some common elements found in the standard form ASTRCALL.fmb given with R11 are not to be found withR12 (i.e. like data block ASOOTHIS_CONTROL). Can you please tell how to fix this issue as , i need to reterofit form based on this .
    Thanks & Regards
    Kishan.M.G

    Could you please elaborate more on the issue you have?
    Have you reviewed Oracle TeleSales (User/Implementation) Guides? -- http://download.oracle.com/docs/cd/B53825_08/current/html/docset.html
    Thanks,
    Hussein

  • How can i copy standard forms? et.al.

    good day experts.
    i would like to ask the following:
    A. About FORMS...
    1. How can I copy the whole standard program of a form written/designed in SapScript to make a "z_xxxxxxxxx program"?
    2. How can i check the print program of a certain form?
    3. How can I convert sapscripts form into smartforms?
    B.About REPORTS...
    4. How can i set the page length and width of a report?
    5. How can i set the margins(left, right, top, bottom) of a report?
    Please give me details/steps to do on each questions.
    Thanks a lot. Rewards will be given.

    A. About FORMS...
    1. How can I copy the whole standard program of a form written/designed in SapScript to make a "z_xxxxxxxxx program"?
    use tcode SE37 to create a NEW form with the name z_xxxxxxx, and in any of edit screen, you can follow the menu path "Form -> Copy From ...", choose the standard form.
    2. How can i check the print program of a certain form?
    There are some database table for store the information, such as, TNAPR ... and so on.
    3. How can I convert sapscripts form into smartforms?
    It's something difficult to covert sapscripts into smartforms, for more details, you can read the SAP COURSE BC470.
    B.About REPORTS...
    4. How can i set the page length and width of a report?
    In the ABAP editor, put the cursor on the keyword REPORT, and press F1, you will get what you want.
    5. How can i set the margins(left, right, top, bottom) of a report?
    Use WRITE and SKIP.

  • How  to do standard form modification using NACE

    hi gurus
    can any one suggest me
    how to modify standard form layout using NAce
    please send any examples if possible.
    thank you
    regards
    kals.

    Hi,
    goto NACE
    there depending on the functionality  select the  application.
    for Sales u have Application V1
    for purchase order u have application EF
    select one application and click on output types pushbutton
    for an example select EF application and click on output types
    now u get different output types select NEU new PO printout
    and double click on the processing routine folder on the left hand side of the screen
    Now u get the different processing routines .
    in that u have print output there u can see form routine and FORM .
    HERE U CAN GIVE UR OWN FORM WHICH IS CREATED IN SE71 BY DELETING THE STANDARD FORM.
    reward if helpful
    raam

  • How to make custom data validation on standard form.

    Hi,
    I have some little OAF experience. I have extended VO so far but I am still newbie.
    I need to make custom data validation on standard form.
    I Oracle Credit Management module on "Create Credit Application: Applicant" form I need
    to validate chosen currency against customer setup (whether there is customer profile amount for the currency).
    The page is /oracle/apps/ar/creditmgt/application/webui/ARCMCREDITAPPPAGE
    There are controllers on the page:
    oracle.apps.ar.creditmgt.application.webui.creditAppContentFooterCO 115.14.15104.2
    oracle.apps.ar.creditmgt.application.webui.creditApplicationPageCO 115.6
    oracle.apps.ar.creditmgt.application.webui.creditAppRegion2CO 115.13.15104.2
    oracle.apps.ar.creditmgt.application.webui.creditApplicationCO 115.8.15104.3
    oracle.apps.ar.creditmgt.application.webui.creditAppRegion1CO 115.28.15104.4
    oracle.apps.ar.creditmgt.application.webui.creditAppBusBackCO 115.6
    oracle.apps.ar.creditmgt.application.webui.OCMApplicantInfoRNCO 115.4
    creditApplicationPageCO is pageLayout controller.
    Please direct me how to achieve it.
    Which controller should I extend (if any)?
    How to get values from the page (customer site id, currency) and how to run custom sql in my CO class ?
    Regards,
    Marcin

    Hi Marcin,
    You have to find your GO button is handled in which standard controller, (if you click on the about this page, you should be able to identify the controller,
    or you can download all the controller .class files and decompile and check the logic).
    Then extend that controller(which has the Go button logic, you can see how it has been handled.),
    The usual way to check is
    if(pageContext.getParameter('<Go button name>') !=null)
    Since you want to validate first your custom validation, in the extended controller ProcessFormRequest
    dont call the super.processFormRequest unless your validation is success.
    Call the super at the end.
    Inside your extended controller you have to find your AM and then your required ViewObject to get the user entered values.
    Thanks,
    With regards,
    Kali.
    OSSi.

Maybe you are looking for

  • Unable to get the report source - ReportViewerBean getReportSource()

    Hi Folks, i'm developping an applet which show reports. All reports are generated on the server side (servlet)... and then sent to the applet. On the server-side, i used ReportJavaBean.writeExternal() method to write (serialize) on the stream and on

  • Why am I being charged for data when connected to wifi AND not using my phone?!

    WHY am I being charged for data that I'm not using? At times when I'm asleep AND my phone is connected to wifi?!  This happens at really specific, alternating times like 9:54 pm every day, or 12:01 am, 6:01 am and then 12:01pm and 6:01pm. When I call

  • Video Lagging/Choppy videos on Macbook Pro

    Hello, I am having a problem while watching videos online: video lagging/choppy videos. Sometimes the video is stuck in a certain frame although I still have the sound on the background; sometimes the video slows down completely (frame+sound). It sta

  • SWF not loading on new page

    Hi there I have managed to insert swf files in my homepage before and those still work but a new page I have created with a new swf file is not working for me. I have read a few posts on this sort of issue on here and tried the fixes there but I am s

  • Can I change OS language / language settings?

    Am vacationing in Spain, and I am considering picking up an iPad from the local Apple Store. The question is, will this be hard-fixed to run in Spanish, or will I be able to switch it to English language settings when I initialize it, or when I sync