Help: How to call go_block from an item level trigger?

I am working on a form it needs to call go_block('blk_name') after a text item filled in data.
I tried post_item and when_validate trigger, it gave me error:
Illegal restricted procedure GO_BLOCK in POST_ITEM trigger, etc.
Any suggestions?
Thank you in advance.
Jimmy

Thanks Francois.
I read Re: problems with GO_BLOCK from  post-text, when-validate-  triggers
The form that I am working on requires that user put in an ID through a control item. Once the form see the ID changes, it conducts a query through a stored procedure to get the customer information need. User can make as many changes as s/he wants. Will timer_expires work?
Thank you again.
Jimmy

Similar Messages

  • Can anyone help how to call JavaBeans from Forms 6i (Urgent !!!!)

    Hi,
    I'm working on Forms 6i and oracle 8.1.6 database in Client-Server Environment. In forms 6i how to use bean area button. I could able to write a bean program and save it in jar file. But when I attach that to 'bean area', it's not reflecting. Could any one help in this.
    Thanks in advance.
    Murali.

    Hi,
    I'm working on Forms 6i and oracle 8.1.6 database in Client-Server Environment. In forms 6i how to use bean area button. I could able to write a bean program and save it in jar file. But when I attach that to 'bean area', it's not reflecting. Could any one help in this.
    Thanks in advance.
    Murali.

  • How to call portlet from image item

    Hello,
    Here is the use case:
    I have a feedback form portlet. I want users to click on an image and open a popup window with feedback form portlet in it.
    How can I do this? Is this possible?
    Thanks,
    -Dong Chen

    Hi Dong Chen,
    As mentioned in the other post, you could just use a simple jsp page to do the job. But if you would like to use a portlet instead, then you will have to construct a link to the portlet's details mode <refer to the documentation for details on this> and use that link for invoking the portlet in the pop-up. The only issue here is that the styles dont get rendered, so you might want to include a reference to the style sheet in your portlet code.
    thanks,
    Harsha

  • Related documents or links on how to call webservices from WDJ

    Hi all
    i need documents & links on how to call webservices from Webdynpro for Java.
    if anybody send the documents on sample scenarios on the same then it is the great help to me...
    Thanks
    Sunil

    Hi Sunil,
    May these links help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/f7/f289c67c759a41b570890c62a03519/frameset.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/64/0e0ffd314e44a593ec8b885a753d30/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/d2/0357425e060d53e10000000a155106/frameset.htm
    and  the below thread to call weservices in java.
    Re: How to call a web service from Java
    Regards,
    Supraja

  • How to hide ribbon from all item view for particular user group

    hi friends
    how to hide ribbon from all item view of particular list for specific user group.
    using OOB functionality or javascript. 

    Hello,
    Use this codeplex tool to hide ribbon to user group:
    http://spribbonvisibility.codeplex.com/
    If you don't want to use above tool then you have to add SPSecuritytrimming in "Rajiv Kumar" code for filtering based on user group permission.
    http://www.topsharepoint.com/hide-the-ribbon-from-anonymous-users
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to get value from list item

    Hi all,
    How to get value from list item?
    I have a problem with the List Item object
    in the Oracle forms.
    How can I retrieve the selected item from
    a list ?
    I didn't find any function like 'list.GET_
    SELECTED_ITEM()'...
    thanks
    Bala

    Hello,
    You get the value as for any other Forms item:
    :value := :block.list_tem ;Francois

  • How to find out particular work item is trigger by particular transaction

    Hi,
    can any one tell how to find out particular work item is trigger by particular transaction. in swfrevtlog we ill get custom obj type and also super business obj type,but i need to identify this work item id is triggered by this transaction. can any one help,
    Thanks in advance

    Hi,
    Sorry, but I don't believe that's possible. Even if you can identify the program, there could be multiple transactions that executed it.
    The only possible way, I think, would be to add an enhancement / badi which uses the callstack to determine the calling transaction at the time he event is raised (and then stores it somewhere).
    But that's not very elegant.
    Why do you need to know the triggering transaction? To influence the workflow? If so, another approach might be this:  pass the transaction code as an additional parameter to the workflow event & then pass that to the workflow.
    cheers
    Paul

  • How to find the header and item level status of a CRM contract ?

    Hi,
    Few questions
    A. How to find the header and item level status of a CRM contract ? My req is to select all the contract line items which are in CLOSED status.
    B. How to get the BPs associated with a contract ?
    Anyone have the list of CRM tables and the relation amongst them. Please mail me in [email protected]

    CRMD_ORDERADM_H     Contains the Header Information for a Business Transaction.
    Note:
    1.     It doesn’t store the Business Partner
           responsible for the transaction. To 
           get the Partner No, link it with
           CRM_ORDER_INDEX.
    2.     This table can be used for search
           based on the Object Id(Business
           Transaction No). 
    CRMD_CUSTOMER_H     Additional Site Details at the Header Level of a Business Transaction
    CRMD_LINK     Transaction GUID set for all the Business Transactions
    CRMD_ORDER_INDEX     Contains Header as well as Item details for a Business Transaction.
    Note:
    1.     It doesn’t store the Business 
          Transaction No (Object ID).
          To get the Business Transaction No  
          link the table with
          CRMD_ORDERADM_H
    2.   This table can be used for search
          based on the Partner No
    CRMD_ORDERADM_I     Stores the Item information for a Business Transaction. The scenarios where we have a Contract Header and within contract we have Line Items for the contract, this table can be useful.
    E.g. Service Contracts
    CRMD_CUSTOMER_I     Additional Site Details at the Item Level of a Service Contract
    Pl.reward points.......

  • Form level v/s item level trigger in oracle forms

    Hello Experts,
                  I am new in oracle forms.I am using forms 11g with weblogic server 10.3.5 at windows 7.I am very confused between Form level and item level triggers.What is the sense of use of when-button-pressed trigger at item level & form level.If I have this trigger form level then how could I check that is fired.
    Thank  You
    regards
    aaditya

    979801 wrote:
    Hello Experts,
                  I am new in oracle forms.I am using forms 11g with weblogic server 10.3.5 at windows 7.I am very confused between Form level and item level triggers.What is the sense of use of when-button-pressed trigger at item level & form level.If I have this trigger form level then how could I check that is fired.
    Thank  You
    regards
    aaditya
    You need to clear you concept first..
    Form level Trigger: code applied all respective item within the form
    Item level Trigger: code applies for only the item that has the code.
    try in a form and you will see the difference.
    Hamid

  • How to call UDO from a CFL

    Guys need help on how to call a UDO from a CFL. I already successfully registered my UDO. Thanks

    Hi,
    I'm having an iternal error after I assigned the Unique ID of my UDO to the ObjectType of the CFL.
    Below is my code:
    Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
    Dim oCFL As SAPbouiCOM.ChooseFromList
    Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
    oCFLs = oForm.ChooseFromLists
    oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
    oCFLCreationParams.MultiSelection = False
    oCFLCreationParams.ObjectType = "BIN"
    oCFLCreationParams.UniqueID = "CFL1"
    oCFL = oCFLs.Add(oCFLCreationParams)
    Dim oColumns As SAPbouiCOM.GridColumns = dgItems.Columns
    oColumns.Item(0).Width = 100
    oColumns.Item(0).Type = SAPbouiCOM.BoGridColumnType.gct_EditText
    Dim oText As SAPbouiCOM.EditTextColumn = oColumns.Item(0)
    oText.ChooseFromListUID = "CFL1"
    Thanks!

  • How to call webhelp from C#

    I don't want to seem too simplistic, but I've spent at least
    2 hours trying to call webelp files from c#, without any luck at
    all. All I ever get is three little beeps from my computer, and the
    IE browser never shows up at all. Here is some background
    information:
    I read all the documentation, beginning to end.
    (On WinHelp_4) I compiled up the CSH_CS (csharp version)
    project, and am able to call my simple RH WinHelp file (Dummy.chm)
    just fine, using a primary url of "c:\\Docs and
    Settings\\etc\\RoboHelp 6.0\\Dummy\\!SSL!\\WinHelp_4\\Dummy.hlp". A
    MapID = 1 is required in the CSH test dialog in order for my help
    file to load. This loads my help from the little CSH test dialog
    fine.
    (On WebHelp) After getting the WinHelp_4 version to work, I
    switched the primary output to WebHelp in the SingleSource Layout
    section, and specified that RH should create a subdirectory
    (HTMLHelp) to store the WebHelp files. I regenerated the project,
    and successfully viewed the resulting web output using the View
    Results or the View Primary Layout on the RH toolbar. So I'm
    thinking my help files are ok. But..... I can't get the WebHelp to
    display from the CSH test dialog, no matter what I try.
    Currently I am using roughly the same primary URL in the CSH
    c# project: "c:\\Docs and Settings\\etc\\RoboHelp
    6.0\\Dummy\\HTMLHelp\\!SSL!\\WebHelp\\Dummy.htm". I do not append a
    window >main to end of the primary URL. It doesn't matter if I
    use a MapID of 1 or blank. It doesn't matter if I choose Context,
    Index, Search, etc. No matter what combination of things, the help
    file will not show. The file exists---if I double click the
    Dummy.htm file, the help file loads immediately in IE.
    So my help files seem ok, and the CSH_CS code seems ok (at
    least it works with WinHelp_4). All I have changed is the path to
    my help file. (Oh, and I tried to point at an existing example
    *.htm in the RH Samples directory, with the same results---just a
    couple of little clicks from IE (presumably to say "There's an
    error somewhere").
    Could anyone give me specific instructions on what I might
    try to solve the problem? I'd like to know the specific syntaxes
    for using windows, and MapIDs in my URL string too, if you know
    that. Here is what I think they are:
    url = "Startpage.htm" - to load the whole help system
    url = "Startpage.htm>main" - to display in a particular
    window
    url = "Startpage.htm<id=2" - to display mapid 2
    Thanks for your help

    Well, another hour and a little more progress. Now I can
    display WebHelp from C# through the RoboHelpAPI (although it seems
    pointless, because of the bugs and problems in the CSH_CS example
    program and IE web browser popup window problems). First, here is
    the code that displays the WebHelp system (from the top level, in a
    standalone IE browser instance)
    // try 2
    int cmd = CRoboHelpAPI.CSH_DISPLAY_CONTEXT;
    CRoboHelpAPI cHelp = new CRoboHelpAPI ();
    int ID = 1; // context id; the number doesn't matter at all
    string foobar;
    foobar = "C:\\my pathname\\RoboHelp 6.0";
    foobar += "\\Dummy\\HTMLHelp\\!SSL!\\WebHelp\\Dummy.htm";
    string second = foobar;
    cHelp.RH_AssociateOfflineHelp (foobar, second);
    cHelp.RH_ShowHelp ((int) this.Handle, foobar, cmd, ID);
    return;
    From RoboHelp_CSH_CS.cs:
    // reset the command
    switch (nCommand) {
    case CSH_DISPLAY_CONTEXT:
    // notice that I commented this line out -- this is what
    allows it to "work"
    // This is also why the ContextID number above doesn't
    matter--we ignore it.
    //strHelpURL += "#<id=" + nData.ToString();
    break;
    From RoboHelp_CSH_CS.cs:
    public static IWebBrowserApp
    GetBrowser () {
    for (int nIdx = 0; nIdx < 2; nIdx++) {
    try {
    if (m_cExplorer == null)
    m_cExplorer = new InternetExplorer ();
    if (m_cBrowser == null)
    m_cBrowser = (IWebBrowserApp)m_cExplorer;
    // I had to add this code myself, because the browser is not
    made
    // visible by the Adobe CSH_CS.cs example program. A defect,
    // in the example program, for sure.
    ==> m_cBrowser.Visible = true;
    So to summarize, if you fix the CSH_CS example code (1) to
    make the browser visible, and (2) to ignore the contextID number,
    the code in this posting will show your WebHelp system in a new IE
    window, with the usual TOC frame on the left, and the topic window
    on the right, in a main window. But wait... there's more...
    IE POPUP WINDOWS
    The example above commented out some code under the case
    branch for CSH_DISPLAY_CONTEXT. The code appended some extra
    characters to the URL to tell the browser to display a specific
    page, rather than just the start page. Similarly, the code for
    CSH_DISPLAY_TOC/INDEX/SEARCH branches also appends characters to
    the URL, to tell the browser to display a specific page in the help
    system.
    The problem with all of this is that IE treats all these
    single page displays as pop-up windows, and blocks them. So that's
    why in my original case at the top of this posting I only heard a
    couple of clicks (and saw nothing) when I tried to display my
    WebHelp. I saw nothing because the browser was not made visible by
    the code. I heard the two double clicks (click-click, click-click)
    because IE "plays a sound when a pop-up window is blocked".
    So there will probably be a big policy collision on user
    desktops if your C# app tries to display specific web pages in
    WebHelp. If users want to block popups for general web surfing,
    they can't see specific WebHelp pages, and vice versa. Ugh.
    One possible workaround is to tell IE to "Always display
    popups in separate tabs" (in Options/General/Tabs/Settings). I
    tried this setting, and then uncommented my CSH_DISPLAY_CONTEXT/etc
    code blocks. As expected, all the appended characters on the URLs
    forced the display of specific pages, which meant that IE treated
    them as popups, and forced them into new tabs.
    So what you actually see is
    (1) a new instance of IE becomes visible,
    (2) the pathname to the help system (plus appended control
    characters) is shown on the first tab (in my case,
    file:///C:/Documents%20and%20Settings/kkkwj/My%20Documents/RoboHelp%206.0/Dummy/HTMLHelp/ !SSL!/WebHelp/whcsh_home.htm#id=2).
    This is odd, because the primary URL I fed in to the API in the
    code above was "C:\\...path\\Dummy.htm" (with a ContextID = 2
    parameter). I have no idea how my Dummy.htm was changed to
    whcsh_home.htm by the API. Go figure. I suppose the switch takes
    place if appended characters are found on the end of the URL, and
    the switch is done to support context IDs somehow.
    (3) the desired page is displayed in a separate tab in IE.
    My conclusions are that:
    (1) Adobe should fix their examples to save people all this
    headache. They should fix the code, make the browser visible, and
    provide some nice documentation on what the secret syntaxes are for
    the appended characters (<id=, cmd=idx, cmd=fts, cmd=toc,
    <windowname), how and when you should use the secret syntaxes in
    the URLs you feed into the RH API, how the whcsh_home.htm switch
    works to support appended characters, what will happen on the user
    end with popups if you use appended characters, and the policy
    collisions that will result, and a recommended course of action for
    developers.
    (2) The hassle with the popups just isn't worth it. So I will
    be calling my help system from the top level all the time, and will
    forego the utility of context sensitive help. It's WAY too much of
    a problem with WebHelp. (Of course, context sensitive help works
    great with the old WinHelp_4, but WinHelp_4 has other limitations.)
    What a long process to debug all this stuff. Adobe fell way
    short on this one. But hopefully others can use my postings here in
    a time of need. (Thanks to Adobe for the forums, and for Peter's
    fast response.)

  • How to call LSMW from a Report program

    Hi,
    I have a requirment of extending vendor master data (Companycode data and Purchasing Organization data ) through Tcode XK02 using LSMW.Also I need to generate an error log file for validating the data from flat file and  must have an export option of the error log file.
    Can you help me how to proceed on this in steps.
    Also pls let me know how to call LSMW transaction through a Report.
    Based on the selection criteria I need to maintain two source structues,one for companycode data and the other for Purchasing Orgnization data for uploading  data thru LSMW.How to do this?
    pls respond ASAP,
    Thanks,
    Nagendra

    Hi,
    create 2 LSMW object (under same project and subproject)..
    one for extended vendor master data for company code data and other for  extended purchase organization data for company code data.
    Now check the radio buttons and based on that populate ur LSMW object.
    Store project
      project = < >.
    Store subproject
      subproj = < >.
    Store object
      object  = '6GSC022_TS3'.
    if r_ccode = 'X'.
    Store object
      object  = < >.
    else.
    Store object
      object  = < >.
    endif.
    Call the function module to display object (LSMW) maintenance screen
      CALL FUNCTION '/SAPDMC/LSM_OBJ_STARTER'
        EXPORTING
          project        = project
          subproj        = subproj
          object         = object
        EXCEPTIONS
          no_such_object = 1
          OTHERS         = 2.
    Generating error log:
    After the checking the field if u think for this u need to generate error message then In the Maintain Field Mapping and Conversion Rules option under the required field write the following code:
    data: v_msgtxt(100) type c.
    message  <msg ID>    <message type>   <message no>
                     with   <var1>  <var2>
                     into v_msgtxt.
    write v_msgtxt.
    Follow the next step in LSMW object till you reach the option  Convert Data.
    After you execute this option you will get the desired message here.
    Regards,
    Joy.

  • How to call webservices from ADF page

    Hi,
    I am using ADFBC.
    I want to call webservices from ADF page.please give examples of sample program on how to call a web service from the ADF pages.please give examples.
    please help me.
    Thanks,

    http://marianne-horsch-adf.blogspot.com/2011/03/how-to-create-web-service-based-adf.html
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/70-dependent-listboxes-using-ws-286107.pdf
    http://www.oracleimg.com/technetwork/developer-tools/jdev/adfcomplexwstypes-101013.html
    http://technology.amis.nl/blog/9726/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components
    http://oracamp.com/passing-parameters-between-web-services-and-jsf-pages

  • How to call Servlet from jsp page and how to run this app using tomcat..?

    Hi ,
    I wanted to call servlet from jsp action i.e. on submit button of JSP call LoginServlet.Java file.
    Please tell me how to do this into jsp page..?
    Also i wanted to execute this application using tomcat.
    Please tell me how to do this...? what setting are required for this...? what will be url ..??
    Thanks.

    well....my problem is as follows:
    whenever i type...... http://localhost:8080/appName/
    i am getting 404 error.....it is not calling to login.jsp (default jsp)
    but when i type......http://localhost:8080/appName/login.do........it executes servlet properly.
    Basically this 'login.do' is form action (form action='/login.do').....and i wanted to execute this from login jsp only.(from submit button)
    In short can anyone please tell me how to diaplay jsp page using tomcat 5.5
    plz help me.

  • How to call xml from java

    Hi
    I want to use xml for updating files in an existing jar . so i want to call xml from java code and then come back to java code and do the remaining work in java code, pl guide me how to do this . what APIs are helpful for this regard
    Thanks

    You can't update files in a jar. Even if you could, you wouldn't use XML for that. You don't call XML. XML is not a programming language. So, basically your entire question is misguided.

Maybe you are looking for