Error while creating a custom LOV

Hi All,
We have a requirement to open a custom page on the click of an LOV
inside a table(n Number of rows will be there in the table). We need to
populate the base page field after selecting a value from the custom page.
We are using a flow layout with a text box and a torch icon. On the
click of torch icon we are using javascript to open the custom Page.
Everything works fine. When we use the cancel/apply in the custom popup
page, we are using javascript to submit the base page. The popup closes,
but the base page is erroring out saying
"You are trying to access a page that is no longer active.
- The referring page may have come from a previous session. Please
select Home to proceed. "
Can we achive this functionality by any other approach?
We cannot use the standard LOV as the page should have much more
functionality than what the standard LOV offers. The client want the
functionality to be in the same way as LOV works.
We have set the Security property of the custom page to 'SelfSecured'.
The javascript used on the click of the torch icon is given below.
function popupWindow(pageUrl,formName,rowId,retainAM,isModal)
     var Nav4 = ((navigator.appName == "Netscape") &&
(parseInt(navigator.appVersion) >= 4))
     if(rowId != null)
          pageUrl += "&xxbgRowId=" + rowId;
     if(retainAM)
          pageUrl += "&retainAM=Y";
     if(isModal)
          if(navigator.userAgent.indexOf("Firefox")!=-1) // For Mozilla --
added for BUG#2339
               var versionindex = navigator.userAgent.indexOf("Firefox")+8;
               if (parseInt(navigator.userAgent.charAt(versionindex))>=1)
                    openWindow(self, pageUrl,formName ,{width:650, height:450,
resizable:'yes'},'modal','dialog', true);
          else if(Nav4) // For Netscape -- For Mozilla also Nav4 will be true,
but if the browser is mozilla it would be caught in the previous block only
open(pageUrl,'self','width=600,height=400,toolbar=no,menubar=yes,status=1,resizable=yes,scrollbars=yes,modal=yes');
          else // For IE
               openWindow(self, pageUrl, 'modal',{width:650, height:450,
resizable:'yes'}, true);
     else
open(pageUrl,'self','width=600,height=400,toolbar=no,menubar=yes,status=1,resizable=yes,scrollbars=yes');
The javascript used on the click of the cancel button on the custom
popup page is below.
function closeAndSubmitBasePage()
     window.close();
window.opener.submitForm(0,0,{serverValidate:'0',FromPopup:'selectSubmit'});
}

Mukul,
I have tried with the bound value approach also. The popup is coming fine, but when the base page is submitted , it is still erroring out. Also if we close the popup with the browser close (X), and then do some action on the base page, it is erroring out saying
"You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).".
Now our client has agreed to navigate to another page and come back to the originating page instead of bringing the popup. Since we are close to the release point, I am going ahead with this approach., there is lot to do with the page functionality.
I will try to use the popup again , once the functionality of the page is done and will update you on the same.
Thanks a lot Mukul
--Anoop                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Error while creating a customer

    Hi All,
    While creating a customer my client is getting an error message "Specify reference account number-Message no.F2065".
    Thanks in advance.
    Ramesh.

    Hi Dear,
    When ever creating the customer master you must select account Group
    1.Ex: Local, Foreign or One time customer etc. check which group your selecting here.
    2. Specify company code
    3. Specify Sales Area
    4. Also check common Master data for  Distribution channel  and Division
    MENUPATH: SPRO - IMG - SD - MASTER DATA - Define COMMON Dist Chanl & Divsion.
    Regards,
    MH

  • Error while creating new customer(xd01)

    following error ocurred while crating new customer.It wasnt case when i created customer before for the S/Org....
    "Communication error with external tax system(Vertex_MS0018)"
    Msg No TAX_TXJCD864)
    Pls help..
    thanks
    Amol

    Hi Amol,
    One user faced the same issue on IT tool forum, check the link for solution.
    http://sap.ittoolbox.com/groups/technical-functional/sap-crm/communication-error-with-the-external-tax-systemvertex_ms0018-909264
    Hope it helps,
    Regards,
    MT

  • Error while creating the custom controller

    Hi experts,
    I am working on a web dynpro object where i need to create an application configuration.I created a custom controller context.I mapped it to main view.I am using the attribute of custom controller context in main view so that another view view1 is displayed based on this attribute.
    custom controller context
    node1 --> display_view1
    mapped above node to main view.
    view1 is triggered in main view onaction method based on display_view1 value.
    Presently i am getting the dump " node1.1.main doesnot have elements."
    Please help.
    Edited by: ch_ravi_sap on Nov 22, 2011 2:11 PM

    Hi I get rid off the error.
    Changes i have made are cardinality from 0:n to 1:n. selection 0:n
    But presently i am changing the attribute of custom controller in component configuration browser.I am not able to see the changed value in main view ( where i have used this attribute ).
    Any help is appreciated
    Edited by: ch_ravi_sap on Nov 23, 2011 12:17 PM

  • Error while creating a Custom BAPI?

    Hi Guys,
                  I created Custom BAPI thru SWO1 tr code and API method also.AFter API methos creation i went to GOTO->ERRORLIST then i got these errors
    "Field SAPB -SAPFILES is too long to be included in the container
    Field BAPICONTEN -LINE is too large to be included in container"
    so what shall i do to overcome thiese errors
    Thanks,
    Gopi.

    Hi Gopi,
    Check this link
    [http://www.erpgenie.com/sap/abap/bapi/example.htm]

  • Error while creating a custom type

    i'am having the following statement,
    create or replace type myType as object ( x varchar2(20) not null )
    when i try to create, i get the following error,
    PLS-00218: a variable declared NOT NULL must have an initialization assignment
    now how do i create an object whose value(S) should be not null...???...............

    my_type.id here is nonsense. It's NOT a type at all.
    OUT and IN OUT parameters can't be assigned with DEFAULT value:
    SQL> create procedure wrong_params(id in out number default 0)
      2  is
      3  begin
      4   null;
      5  end;
      6  /
    Warning: Procedure created with compilation errors.
    SQL> show error
    Errors for PROCEDURE WRONG_PARAMS:
    LINE/COL ERROR
    1/24     PLS-00230: OUT and IN OUT formal parameters may not have default
             expressionsIf you declare variable as NOT NULL you have to assign default value to prevent
    PL/SQL compiler confusion:
    SQL> declare
      2   id number not null;
      3  begin
      4   null;
      5  end;
      6  /
    id number not null;
    ERROR at line 2:
    ORA-06550: line 2, column 5:
    PLS-00218: a variable declared NOT NULL must have an initialization assignment
    SQL> declare
      2   id number not null default 10;
      3  begin
      4   null;
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    I read out parameters cannot be of type not nullFormal arguments of procedures/functions can not be declared as NOT NULL
    anyway they are OUT or IN.
    But actual parameters (variables you are passing into procedures) can be declared
    as not null. Because of this this call cause the error - procedure passes null value ( [i]default value for OUT formal argument ) out to actual parameter which is not null:
    SQL> create or replace procedure my_proc
      2  (formal_argument out number)
      3  is
      4  begin
      5   null;
      6  end;
      7  /
    Procedure created.
    SQL> declare
      2   actual_argument number not null := 0;
      3  begin
      4    my_proc(actual_argument);
      5  end;
      6  /
    declare
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 4See Tom Kyte's threads for more explanations:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:12505620454267529210::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:325417134618
    Rgds.

  • Error while creating a custom combobox for Spark DataGrid

    I am getting the following run time error:
    Error: Required skin part openButton cannot be found.
        atspark.components.supportClasses::SkinnableComponent/findSkinParts() [E:\dev\hero_private_beta\frameworks\projects\spark\src\spark\componen ts\supportClasses\SkinnableComponent.as:671]
        atspark.components.supportClasses::SkinnableComponent/attachSkin()[E: \dev\hero_private_beta\frameworks\projects\spark\src\spark\components\ supportClasses\SkinnableComponent.as:646]
        atspark.components.supportClasses::SkinnableComponent/validateSkinCha nge()[E:\dev\hero_private_beta\frameworks\projects\spark\src\spark\com ponents\supportClasses\SkinnableComponent.as:406]
        atspark.components.supportClasses::SkinnableComponent/commitPropertie s()[E:\dev\hero_private_beta\frameworks\projects\spark\src\spark\compo nents\supportClasses\SkinnableComponent.as:420]
         atspark.components.supportClasses::ListBase/commitProperties()[E:\dev  \hero_private_beta\frameworks\projects\spark\src\spark\components\supp  ortClasses\ListBase.as:808]
        atspark.components::List/commitProperties()[E:\dev\hero_private_beta\ frameworks\projects\spark\src\spark\components\List.as:954]
        atspark.components.supportClasses::DropDownListBase/commitProperties( )[E:\dev\hero_private_beta\frameworks\projects\spark\src\spark\compone nts\supportClasses\DropDownListBase.as:504]
        atspark.components::ComboBox/commitProperties()[E:\dev\hero_private_b eta\frameworks\projects\spark\src\spark\components\ComboBox.as:644]
        atmx.core::UIComponent/validateProperties()[E:\dev\hero_private_beta\ frameworks\projects\framework\src\mx\core\UIComponent.as:8095]
         atmx.managers::LayoutManager/validateClient()[E:\dev\hero_private_bet  a\frameworks\projects\framework\src\mx\managers\LayoutManager.as:934]
        atmx.core::UIComponent/validateNow()[E:\dev\hero_private_beta\framewo rks\projects\framework\src\mx\core\UIComponent.as:7953]
        atspark.components.supportClasses::GridLayout/layoutItemRenderer()[E: \dev\hero_private_beta\frameworks\projects\spark\src\spark\components\ supportClasses\GridLayout.as:1808]
        atspark.components.supportClasses::GridLayout/createTypicalItemRender er()[E:\dev\hero_private_beta\frameworks\projects\spark\src\spark\comp onents\supportClasses\GridLayout.as:460]
        atspark.components.supportClasses::GridLayout/updateTypicalCellSizes( )[E:\dev\hero_private_beta\frameworks\projects\spark\src\spark\compone nts\supportClasses\GridLayout.as:514]
        atspark.components.supportClasses::GridLayout/layoutColumns()[E:\dev\ hero_private_beta\frameworks\projects\spark\src\spark\components\suppo rtClasses\GridLayout.as:570]
        atspark.components.supportClasses::GridLayout/measure()[E:\dev\hero_p rivate_beta\frameworks\projects\spark\src\spark\components\supportClas ses\GridLayout.as:230]
         atspark.components.supportClasses::GroupBase/measure()[E:\dev\hero_pr  ivate_beta\frameworks\projects\spark\src\spark\components\supportClass  es\GroupBase.as:1109]
        atmx.core::UIComponent/measureSizes()[E:\dev\hero_private_beta\framew orks\projects\framework\src\mx\core\UIComponent.as:8383]
        atmx.core::UIComponent/validateSize()[E:\dev\hero_private_beta\framew orks\projects\framework\src\mx\core\UIComponent.as:8307]
        atspark.components::Group/validateSize()[E:\dev\hero_private_beta\fra meworks\projects\spark\src\spark\components\Group.as:956]
        atmx.managers::LayoutManager/validateSize()[E:\dev\hero_private_beta\ frameworks\projects\framework\src\mx\managers\LayoutManager.as:659]
        atmx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\hero_priv ate_beta\frameworks\projects\framework\src\mx\managers\LayoutManager.a s:793]
        atmx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\h ero_private_beta\frameworks\projects\framework\src\mx\managers\LayoutM anager.as:1157]
    Here is my combobox:
    package
        import mx.controls.listClasses.BaseListData;
        import mx.controls.listClasses.IDropInListItemRenderer;
        import spark.components.ComboBox;
        public class sparkComboRendererDataGrid extends ComboBox implements IDropInListItemRenderer
            public function sparkComboRendererDataGrid()
                super();
            public function get listData():BaseListData
                return null;
            public function set listData(value:BaseListData):void
            override public function set dataProvider(value:Object):void
                super.dataProvider = value;
                // This may get called before dataProvider is set, so make sure not null and has entries
                if (value!=null && value.length)
                    // Got it, set flag
                    bDataProviderSet = true;              
    and here is the implementation:
    var PersonnelPerson:ClassFactory = new ClassFactory(sparkComboRendererDataGrid);
    PersonnelPerson.properties = {labelField : "person", dataProvider :
    new XMLListCollection(dataList.consistcrew)};
    var col:GridColumn = GridColumn(personnel.columns.getItemAt(0));                   
    col.itemRenderer = PersonnelPerson;
    Please help.
    Thanks

    Actually, after adding the following code it started working:
    import spark.skins.spark.DropDownListSkin;
    override public function stylesInitialized():void
          super.stylesInitialized();
          this.setStyle("skinClass", DropDownListSkin);

  • Error while creating the 'LOV' type parameter in Siebel 8.1.1.5

    Hi,
    One of my Customer is facing the below error while creatting the parameter of type 'LOV' in Parameter applet in Siebel 8.1.1.5
    Runtime Error!
    Program: C:\Program Files\Internet Explorer\iexplorer.exe
    This application has requested the Runtime to terminate it in an usual way. Please contact the application’s support team for more information
    Could some please let me know what would be the reason for this issue?
    Thanks in advance for your help.
    Thanks,
    Ravi

    Please close this thread...it appears that the error occurs when the report involves a big set of records. I tried trying to filter only one record and was able to produce the pdf

  • Getting error while creating subsite using custom template in sharepoint2013

    Hi,
    I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
    Please suggest me on this.
    Thanks in advance.

    You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
    on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
    Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Error while creating customer account sites from backend

    I am creating Customer Account Sites using the TCA API from Toad.
    I am getting the following error
    The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
    The Operating unit has been defined.
    I am using the following code:
    DECLARE
    p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_cust_acct_site_id NUMBER;
    BEGIN
    p_cust_acct_site_rec.cust_account_id := 9462;
    p_cust_acct_site_rec.party_site_id := 5473;
    --p_cust_acct_site_rec.language := 'US';
    p_cust_acct_site_rec.org_id := 126;
    p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
    hz_cust_account_site_v2pub.create_cust_acct_site(
    'T',
    p_cust_acct_site_rec,
    x_cust_acct_site_id,
    x_return_status,
    x_msg_count,
    x_msg_data);
    dbms_output.put_line(SubStr('x_return_status =
    '||x_return_status,1,255));
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
    IF x_msg_count >1 THEN
    FOR I IN 1..x_msg_count
    LOOP
    dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
    FND_API.G_FALSE ), 1, 255));
    END LOOP;
    END IF;
    END;
    Thanks and Regards,
    K tanna

    Duplicate post.
    Error while creating customer account sites
    Error while creating customer account sites

  • "An unexpected error occurred while creating a custom installer."

    All;
    I—and I've seen several others in older posts—have been reported received the error "An unexpected error occurred while creating a custom installer" while attampting to build a customer ARD client installer.  My guess is that this is do to a issue related to 10.8.X (10.8.4, in my case) based console Mac but I cannot confirm this. I have verified that there are no outstanding OS, client or application updates or hot fixes, as well.
    Has anyone built an successful installer from Mountain Lion-installed Mac?  Is there any know workarounds?
    Thanks in advance, for any help. 

    Have the exact same problem.
    iMac running 10.8.4
    Got through the steps of creating a custom client installer.
    if I choose not to customize and just save an installer I don't get the error but it creates a file of Zero bytes in size.
    If I chose to configure, when I try to save I get:
    An unexpected error occurred while creating a custom installer. Please try again....
    Console log reports:
    9/1/13 12:32:29.603 AM Remote Desktop[1306]: open on /private/tmp/RemoteDesktopClientInstaller_HEATyAJ5CR/extracted/RemoteDesktopCli ent.pkg/Scripts/RemoteDesktopClient.pkg: No such file or directory
    I have tried to save this in several location, with no effect on the error or the information logged, with the exception of the name of the temp directory that DOES contains the file (zero bytes):
    RemoteDesktopClient.pkg
    Need help with this someone...!
    APPLE...I JUST purchase this Applciation for $80.....it just flat out does not work....

  • Oracle.jbo.RowCreateException: JBO-25017: Error while creating a entity row

    Hi all,
    I'm new to OAF,
    I have created a Page, In that i have an LOV to a Message Text input box and it returns values to another 6 text boxes from my custom table(1). and in the same page i have some radio buttons also check boxes and "save","cancel" buttons.here i have created another custom table(2) for store these values if i click save button it has to store the page values to custom table(2) columns.
    But i tried my level and i got the an error message oracle.jbo.RowCreateException: JBO-25017: Error while creating a entity row
    can anyone help me to resolve it.
    Thanks in advance for your help,
    Saravanakumar

    Hi Saravana,
    you mean to say that
    " to display values on the page you are using table1" and when you click on save button "you want to store the same values into Table2".
    if this is the case, we can do this.
    what you need to do is:
    1) create EO for Table2.
    2) Create VO based on Above VO.
    3) Attach this VO to AM(for which you have attached Table1 VO).
    when you click on "Save" Button,
    programmatically assign values from Table1 VO to Table2 VO.
    and commit the transaction.
    I hope it may help you.
    Regards,
    Naren.

  • Error while creating a recipe in plm..

    Hi every one,
    System throughing below error while creating a recipe.
    "Entries in status management Customizing are incorrect"
    kindly suggest.
    have a good day..
    regards,
    kirran

    Hi Kirran,
    Please see if you have defined a status scheme and assigned it to the recipe type. Before defining a status scheme, you must complete the one time IMG activity 'Collect Object Types and Assigned Attributes' under Recipe Development > Status Management. Then in the next node you define individual statuses and a scheme with transitions. For each status, you must define 'field value' for the field RCP_USAGE which is nothing but a value from Recipe Purposes customizing.
    Hope this helps.
    Regards,
    Rajeev

  • Error while creating a new entity row for LoginPageEO.jbo.RowCreateExceptio

    hi all, i am new to OAF i have created a login page and trying to validate to a custom table which had two columns username and password, i am calling function from controller class which is in AM and from AM in turn i am calling function in VOimpl.java file where i am executing my query with whereClause, i am passing two parametere username and password to this function.
    if ((uname != null) && (!("".equals(uname.trim()))))
    whereClause.append(" UNAME = :");
    whereClause.append(bindCount++);
    parameters.addElement(uname);
    clauseCount++;
    if ((pass!= null) && (!("".equals(pass.trim()))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append(" PASSWORD = :");
    whereClause.append(bindCount++);
    parameters.addElement(pass);
    clauseCount++;
    setWhereClause(whereClause.toString());
    if (bindCount > 0)
    Object[] params = new Object[bindCount];
    // the copyInto() is 1.1.8 compliant which is required by ARU
    parameters.copyInto(params);
    setWhereClauseParams(params);
    //System.out.println(getQuery());
    executeQuery();
    //System.out.println(getRowCount())
    when i call this from login page i am getting
    Error - oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for LoginPageEO.
    Can any one help me out.

    If your requirement is not to update any DB Table then don't use an EO. I would suggest the following for your requirement of validating the username and password.
    - Create a VO that has the following query. Do not select any EO during the VO creation.
              SELECT 'x'
              FROM  <CUSTOM TABLE>
              WHERE <USERNAME COL> = :1
                  AND  <PASSWORD COL> = :2
            - Have the initQuery(..) Method in your VOImpl, that takes the username and password. Binds them to the VO and executes the query.
    - Have a method in your AM to take the username and password as parameters. Make a call to the above VO::initQuery(..)
    - In your controller's processFormRequest(..) call this AM Method upon the submit button action.
    This should work smoothly.
    The following is just for triaging the error that you have. The above steps, should help you achieve your requirement by itself, the below steps would not be required.
    Coming back to your issue. Any custom table should have the standard WHO Columns.
    - Modify the custom table to have these who columns.
    - In the EO Wizard, synchronize the EO to reflect the DB Structure.
    - Make sure the EO Attributes are marked updatable.
    Cause of your issue: Through you are not creating EO rows programatically, whenever a VO is based on an EO, upon execution of the VO query, EO's are automatically created, based on the number of rows returned by the VO Query. So internally its failing to created the EO Rows. On of the common reason would be that it creates the EO row, but cannot set the attributes from the VO, because the EO Attribute is readonly.
    Hope this clarifies.

  • Error while creating subsite from site template

    Hi,
    I am getting below error while creating subsite from existing site template .
    Sachin Bhosale

    There must be a duplicate Email field created in any list/library. The cause can be identified by renaming the site template to sitename.cab > extact the cab file > open the manifest file search for email and see where it is associated. Refer
    to the following blog post for more information
    http://sharepointserved.blogspot.com/2012/11/a-duplicate-name-was-found.html
    http://sharepoint.stackexchange.com/questions/11944/error-when-creating-a-site-from-custom-template-a-duplicate-field-name-name
    Cheers,

Maybe you are looking for

  • Problem with adf table when adding component in table column.

    Hi All, i am using jdev version 11.1.1.5.0. use case: i have created one adf table which is based on DC VO. now i have added one select one radio group component(which contain 4 radio button approved ,reject,back,None) in adf table. table have many r

  • Connecting printer to new wireless router

    How do I switch from letters to numbers when trying to put in security code from new wireless router?

  • "Create Action" button not show in the control issue screen

    Hi All, When I access update issue screen and want to assign person I cannot found "Create Action" button to do this, Why? and how do I show this button? Thank you.

  • Registering servlets in packages

    I have added the following lines to the properties file:           weblogic.httpd.register.ivanejb=test.EJBServlet           weblogic.allow.execute.weblogic.servlet.ivanejb=everyone           I placed the file EJBServlet.class in the directory:      

  • Nokia N95-2 (8GB) Button Problem(Pls Help)

    Hello all. few days ago,my nokia n95 8gb started to making problems. The (*) star button is pushing itself... when i dont touch phone,its just typing (*) by itself... i though it was virus or something,so i first restarted it to factory settings,but