Runtime exception for configurable products

Hi Gurus,
I am getting a runtime exception for configurable products on clicking the link You can select more product options in CRM 7 b2c application . But when i login with a registered user and click the same link , it opens up and takes to the page for configuration of products .
Please find the error from logs :
[EXCEPTION]
79823   java.lang.NullPointerException: It was tried to rebuild the connection because of invalidity. It is not allowed because the connection type is not JCoConnectionStateless. You may also check the user authorizations.
79824   at com.sap.isa.core.eai.sp.jco.BackendBusinessObjectBaseSAP.getDefaultJCoConnection(BackendBusinessObjectBaseSAP.java:55)
79825   at com.sap.isa.maintenanceobject.backend.crm.DynamicUICRM.readData(DynamicUICRM.java:121)
79826   at com.sap.isa.maintenanceobject.businessobject.DynamicUI.read(DynamicUI.java:767)
79827   at com.sap.isa.ipc.ui.jsp.action.InitDynamicUIAction.ecomPerform(InitDynamicUIAction.java:67)
79828   at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:375)
79829   at com.sap.isa.core.BaseAction.execute(BaseAction.java:212)
79830   at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
79831   at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:692)
79832   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
79833   at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:409)
79834   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
79835   at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
79836   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
79837   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
79838   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
79839   at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
79840   at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
79841   at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
79842   at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
Can anybody help me out to find the issue .
Thanks and Regards,
Tony Isaac

Tony,
It looks more like an issue with the loading of the JCO properties before the logon. Can you go to XCM and try reentering the password and save the config. Once done do a test connection and restart the application.
Then set a breakpoint in the BackendBusinessObjectBaseSAP class in the method getDefaultJCoConnection().
Here when the current connection is invalid it tries to read the config properties from XCM. Just check if it is reading the correct values from the config ISA_COMPLETE which is read on the backend object.
In case of mismatch, you need to fix that or you could try to build a new JCO connection with your own parameters.
Pradeep
Edited by: Pradeep Kumar on Mar 11, 2010 6:20 AM

Similar Messages

  • Runtime error with Configurable products in B2c Webshop

    Hi Experts,
    We are on CRM 6.0. On selection of proceed to check out with configurable products we are getting the following runtime error
    URL: http://Host:port/b2c/appbase/layout/genericLayout.jsp
    JCO Exception: COMMAND_EXCEPTION Function: CFG_API_GET_CONFIG_INFO Import Parameters: |--|-| | PARAMETERS 'INPUT' ||-| |CONFIG_ID|G| ||-| | |0| ||-| |I20F13BDE|T| |--|-| I20F13BDE2AF6F105AB85001517539621/20F13BDE2AF6F106AB85001517539621
    We have created configurable product in R/3. Pulled that data to CRM and these products have been added to the catalog.
    Are we missing any additional configuration required for configurable products??
    Thanks in advance,
    Srinivas.

    Hi Ram,
    We just downloaded configurable products from ECC. Added these products to the catalog, replicated to TREX and checked in the web shop.
    What is the procedure for configurable products use in web channel?
    Please provide material or useful links if any?
    Thanks in advance,
    Srinivas

  • Creation of IBase with reference to sales order for Configurable product.

    Hi Experts,
            Can any one tell me How to create Ibase with reference to sales order for Configurable Products. I know we can create this using IB63, but what i need to do in this Transaction code and what settings i need to do in SPRO.
    pls send ur replies to [email protected]
    Thank you..

    Hi
      You can create IBase using T-Code-IB53 and in there you can give Parent and child products.
    A)Define Installed Base Category and Installation Rules-CRM
    B)Define Object Families
    C)Define default settings for equipment replication
    D)Define Serial Number Profiles-ECC
    E)Txn BF31-ECC
    F)Set up attributes for individual objects
    G)Set up set types
    H)Set up category
    I)Set up views
    J)Allow reference product for IO
    I hope it helps
    If you require further help let me know.
    Cheers
    Raj

  • Runtime Exception for Transaction MEREP_MON

    Can you please help me solving this problem?
    For last 3 days I am getting runtime exception for Transaction MEREP_MON. Error description is Time limit Exceeded.
    This is coming only for Direction Outbound ( When I chcking OutBound Checkbox) at the top left corner.
    For Inbound and Distribution it is working fine.
    I tried with MEREP_PURGe and purging all inbound and outbound data.

    Hi Baskar,
    I changed the mapping. I removed the ABS function. It's still throwing the same error. Now when I copy the payload from SXMB_MONI and test in Mapping in ESR, it's working fine. But the same source file throws error in SXMB_MONI. The xml that works in Test tab should certainly work in SXMB_MONI also, shouldn't it?
    So I guess it is a different error.
    Runtime exception occurred during application mapping com/sap/xi/tf/_MM_INFRECMASS_ECC_to_MDM_; com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-fieldmapping /ns0:MT_INFRECMASS_Receiver/INFREC_Receiver
    I must add that the INFREC_Receiver is the root node of the target file and I have kept it 0..unbounded and fields 0...1. But the source has many segements of the Idoc, so should I change them ?
    Harish Babu

  • Runtime exception for other than programming error.

    In a conversation the question arose whether it could be a case of throwing a runtime exception for anything other than a bug. The tutorial on oracle site says "These Usually Indicate programming bugs" leading to think that can be used in situations in which there is no bug.
    Anyone have a practical example of a runtime exception when there is no bug?
    Thanks.

    937643 wrote:
    Ok. But. Do you think that in these cases the use of a runtime exception could be considered a bad practice?That's actually a matter of some debate.
    On the one hand, Java has defined two major kinds of exceptions since the very beginning (unchecked exceptions, which are RuntimeException, Error, and their descendants; and checked exceptions which are everything else). The intended use of those was that checked exceptions should be for things that can normally go wrong in the execution of a program, even without a bug or without a major internal JVM error, such as a failed attempt to persist something or a network connection dropping--stuff that a programmer might normally be expected to deal with; while unchecked exceptions were created for things that a programmer would not normally handle in his code (except possibly at major architectural boundaries), like buggy code or an internal JVM failure.
    With the rule about having to catch or declare checked exceptions, but not unchecked ones, that makes it easy for programmers so say, "Okay, I know exactly what can go wrong here that I might be expected to handle and I can therefore choose what to do with it; there will be no surprises. But I don't have to deal with problems that are outside my normal responsibility, like somebody passing me a null when they shouldn't have." It gives a programmer a nice bit of control, and the ability to know he hasn't missed something, kind of like the type safety provided by a strongly typed language.
    At least that's the theory.
    In practice, most checked exceptions either just get bubbled up to the next layer (via a throws clause), or caught wrapped in a fairly generic layer-appropriate exception and rethrown. There's not a whole lot of use made of what checked exceptions provide, and there's a lot of ugly boilerplate code that doesn't do anything useful for the app but is just there to satisfy the compiler.
    So, some people think that checked exceptions are useless, or mostly useless, and favor unchecked exceptions in most or all cases. I believe that's part of the philosophy of Spring, but I'm not totally sure.
    The idea is that since most of the time you can't do anything about exceptions that might be thrown to you, it's wasteful and pointless to have all that code to catch and rethrow. In this viewpoint, it would be better if, for example, not providing a throws clause at all meant that you could throw any exception. Any given code can still catch specific exceptions that it knows it can handle, but we don't have to write a bunch of code notating something that we're not really doing anything about.
    Personally, I used to be totally in the checked exception camp. However, all the pointless boilerplate is wearing me down. I'm still not completely convinced though, and here's why: If I'm calling a method, I'd like to at least be able to see what might go wrong, so that I can decide how to deal with it. If all exceptions were unchecked, and the throws clause were optional, a conscientious developer could still provide it, and list the unchecked exceptions his method might throw to me, and/or he could document them in the javadoc comments. But a lot of developers won't do that, or even if they start to, as their method evolves, without the compiler to enforce it, they won't keep it up to date.
    So there are advantages to both approaches. I personally would to know that the information will always be available to me, but for the small percentage of the time where I actually use it (like handle one specific exception one way and some other exception differently), I'm not sure if it's worth the overhead.

  • Production order split for configurable products

    Hello
    Is it possible to convert an APO planned order for configurable product to a production order in ECC and then to split this order in ECC?
    What will be the visibility in APO regarding pegging, GATP...
    thanks in advance for your help
    regards
    patrice

    Hi,
    What strategy are you using
    Startegy 25 is used for MTO configurable material.
    Regards,
    Vishal

  • CRM RMA orders for configurable products

    Hi Experts,
    We have configurable products created in ERP. We need the capability to place the configurable products in CRM RMA order. Any guidence on the steps that are needed to bring the configurable products to CRM is greatly appreciated.
    Also Is it possible to place a return order for Configurable product as a whole and individually on a single variant of the product? Serial numbers are associated at both the levels.
    Thank you
    Ram

    Tony,
    It looks more like an issue with the loading of the JCO properties before the logon. Can you go to XCM and try reentering the password and save the config. Once done do a test connection and restart the application.
    Then set a breakpoint in the BackendBusinessObjectBaseSAP class in the method getDefaultJCoConnection().
    Here when the current connection is invalid it tries to read the config properties from XCM. Just check if it is reading the correct values from the config ISA_COMPLETE which is read on the backend object.
    In case of mismatch, you need to fix that or you could try to build a new JCO connection with your own parameters.
    Pradeep
    Edited by: Pradeep Kumar on Mar 11, 2010 6:20 AM

  • Routing data for configurable products (Sales order costing)

    Hi
    I am runnign sales order cost estimate for configurable product. here I want to confirm the activity quantity with cost estimate.
    Pls let me know where can I check the activity quantity information . Pls help
    Thanks
    Sneha

    Hi Sneha
    I am bit confused with the terms you used..
    you cannot confirm activity qty while doing cost estimate... Activity confirmation happens during Production Confirmation
    Are you talking about missing activity qty/cost in sales order cost estimate?? Contact your PP consultant... You should have a routing attached while creating the sales order.. If that is there, then Activity cost would show up in the sales order cost estimate
    Br, Ajay M

  • Runtime exception for Date format

    Hi,
    Scenario : RFC to IDOC
    found the error in my payload :
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZORDERS06/IDOC/E1EDK03/DATUM. The message is: Unparseable date: "2008-05-19" at com.sap.aii.mappingtool.tf3.AMappingProgram.start
    Here i has used DateTransformation from the Date Function.
    How can i give the format for Target side here.
    Regards,
    yeswanth.

    Hello Yeshwanth,
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZORDERS06/IDOC/E1EDK03/DATUM. The message is: Unparseable date: "2008-05-19" at com.sap.aii.mappingtool.tf3.AMappingProgram.start
    Here i has used DateTransformation from the Date Function.
    In Date Trans Properties:
    In Format Source date u select : yyyy-mm-dd
    In Target Format u select: yyyy/mm/dd
    Thanks,
    Satya

  • How to handle runtime exceptions for sync scenario?

    Hi Experts,
       I have a synchronous scenario.
       Request :
       webservice -
    > sends input data -
    > PI -
    > SAP R/3 --BAPI
       Response:
       webservice -<---  PI <sends back any validation error or successfully processed message----- SAP R/3 --BAPI
       Here a webservice uses SOAP adapter to send input data to PI. While PI uses ABAP proxy to send data to SAP R/3.
       The problem is when the BAPI takes too long to process and resulting in timeout exception in PI. Is there some way we can catch this runtime exception in PI and send it to webservice as response?
       Please help!
    Thanks & Regards,
    Gopal

    Hi Gopal,
    as mentioned by otheres: the main issue is here to detect the reason for performance lack...
    >Is there some way we can catch this runtime exception in PI and send it to webservice as response?
    You can invoke a Business Process and open a sync / asyn Bridge. In the process call the FM synchronous and define an exception branch which you access in case of system failure. In the exception branch execute a transformation step to fill the response container with a corresponding error message.
    Regards,
    Udo

  • "Alternate" Sales Order Costing for configurable product

    We are using condition EK02 to record the statistical value of the product cost associated with a make-to-order (configurable) product. Our current accounting system is moving average, so this EK02 value is based on the current moving average of all the components.
    Management has a need to store a second statistical value which would be based on standard cost rather than moving average. This value would be used to assess margins on a fixed rather than moving basis. It would not update accounting in any way.
    I understand that the method used to perform order costing is configured in SD > Basic functions > Accounting & costing > Maintain requirements class for costing and account assignment. But again, I do not want to change the current method, I want to add a second.
    Can anyone suggest a method for doing this?
    Thank you,
    Michele

    Hi
    For getting margin from standard price in material master ,i think u can use VPRS in pricing conditions.
    Use the VPRS and its negative copy  for getting  actaul margin from sales in pricing procedure.
    Regards
    Mandar

  • Maintain KB and RV for configurable product

    Dear Expert,
    i have a few questiones about KBand RV maintain, could you pls kindly help?
    1. Do i need to maintain new or update existing KB if i change the product master, for example, add new plant and sales area infor for the product?
    2.Do i need to maintain new or update existing RV if i change the product master, for example, add new plant and sales area infor for the product?
    3. If i create new KB and RV, do i need to load manually or system will load automatic load to CRM?
    4.if  i change the existing KB and RV, do i need to load manually or system will load automatic load to CRM?
    BR~~
    Hedy

    Hi ,
    You can perform changes to the product master by updating the KB but once KB is updated with new data regenerate the  RTV so as it will carry over the new changes made to this KB.
    Once this is done download the KB with the new RTV date into CRM using middleware.
    Hope this is helpful...
    Regards,
    Krish.

  • Configuration is not replicated from CRM to ECC for configurable product

    Hi,
    We have some materials in the system for which the configuration is not replicated from CRM to ECC.
    We create a quotation in CRM and configure it. In CRM,  the configuration is complete and components are properly exploded but when we check the same quotation in ECC, configuration is incomplete with respect to some characteristics and product references.
    Please find below finding
    1. If the same material is created in another plant/company code, the configuration is replicated properly.
    2. We have also checked that the BOM is completely maintained for plants for which configuration is replicated. But we dont think so it could be an issue since if we create the quotation in ECC instead of creating in CRM, for the plant (for which the configuration is not replicated from CRM to ECC),  it is properly exploded and complete.
    3. variant prices are replicated properly even though components are not replicated.
    We need to know if we can explode the BOM in the configuration even though complete BOM for the particular plant is not maintained. If its not possible to explode, why it is possible for us to explode the BOM in the configuration in quotation.
    Please  advise.
    Thx.

    the configuration (variant configuration and not customization) that is done in CRM contract is not copied to ECC contract. Is it because that item category in CRM is activated for doing the BOM configuration and the same in ECC is not activated for doing the BOM configuration?
    My question is that if item category in ECC is not activated for BOM configuration then is it like that the BOM configuration in CRM will not be copied to ECC?

  • Runtime environment for the production apex instance

    My first goal is to export a full application from a full development environment to a runtime environment.
    The two environments are on dedicated servers.
    From Oracle Application Express documentation and Oracle Application Express Forum, I realized that to install an exported application into a runtime installation, you must:
    1) Export the workspace from the Application Express instance where the application was developed. The export file created contains information about the workspace, all the users in the workspace, and any groups in the workspace (if applicable).
    2) Use SQL*Plus to import your workspace in to the runtime environment.
    3) Export and then import your application (with Supporting Objects) using SQLPlus in to the runtime environment. The related files
    This means that to be able to import an application via SQL*Plus from a development environment to a runtime environment, the workspace must exist (with the identical workspace ID) in the runtime environment. And the best way to ensure that the workspace IDs are the same is to export the workspace from the development apex instance and import it into the runtime apex instance.
    Also, you can't change the application ID through SQL*Plus - so if you're importing the application via SQL*Plus, either a) that application ID can't exist, or b) if it does exist, it will be overwritten by the import (of course, in case b we don't export/import also supporting objects).
    I know that there are some tricks, like editing the application export file just to import into a workspace with a different ID in the production runtime environment. But i wuold like to be official supported ;)
    So in my case i think i could, for the first export/import:
    1) Convert the production apex instance from runtime environment into a full development environment.
    2) Export the workspace from the development instance using the apex administration services (in a text file).
    3) Import the exported workspace into the production instance using the text file created and SQLPlus connect as APEX_030200.
    FOR THE NEXT POINT 4 I ASSUME THAT EXPORTING/IMPORTING A WORKSPACE DOES NOT INCLUDE THE SCHEMAS ASSOCIATED WITH THE WORKSPACE.
    4)
    a1) Create a new schema for the supporting objects of applications in the production instance with a DBA tool.
    a2) Assign the schema created in the production instance to the workspace imported from the development instance, using the apex administration services.
    or, if you want apex creating the schema for the supporting objects of applications:
    4)
    b1) Create a new workspace (with a new schema) in the production instance using the apex administration services.
    b2) Delete the workspace created in the production instance: the schema will not be removed.
    b3) Assign the schema created to the workspace imported from the development instance.
    5) Delete the users and eventually the groups in the imported workspace in the production instance, using the apex administration services.
    6) Change the name of the imported workspace in the production instance, using the apex administration services.
    7) Convert the production apex instance from full development environment to runtime environment.
    8) Export the application (with supporting objects) from development instance, using the export page.
    9) Import the application (with supporting objects) to the production instance using SQLPlus connect as APEX_030200.
    10) Export all associated files (related files) of the application (CSS, Images, Themes, ...) from developmente instance, using the tabs located at the top of the export page.
    11) Import the related files to the production instance using SQLPlus connect as APEX_030200.
    So, for next the next releases of the application i can again export the full application:
    1) Export the application (without supporting objects) from development instance, using the export page.
    2) Import the application (without supporting objects) to the production instance using SQLPlus connect as APEX_030200.
    3) Export all updated associated files (related files) of the application (CSS, Images, Themes, ...) from developmente instance, using the tabs located at the top of the export page.
    4) Import the exported related files to the production instance using SQLPlus connect as APEX_030200.
    or i can export and import single pages of the application.
    Excuse me for the long introduction, but the question is:
    what i have written is correct? Please let me know also your advice.
    Thanks a lot.
    Silvio

    HI,
    Thanks for responding.
    Should the APEX_ADMIN be available in a runtime environment?
    If so, we have missed a step in our installation.
    Keisha

  • How to create multiple schedule lines for configurable products

    Hi -
    We have enabled variant configuration and would like to have multiple scheudule lines created , but it seems that only one line is avaialble, is there any way to configure the use of multiple schedule lines? 
    Note - we are not using KMAT material types, rather triggering a unique kit compoments within Sales BOM.
    We have been able to make the necessary adjustments to allow the creation of the Scheduling agreement and have the BOM explode correctly, but just am not able to trigger multiple sched lines.
    thanks
    Bill

    Your context node shall contain all these fields like country,city,etc as different attributes.so in your view configuration,add all these fields whatever you require from the AVAILABLE FIELDS section to the DISPLAYED FIELDS section.NOw all these attributes would be added in diff rows.What you need to do is,select the first attribute,lets say COUNTRY,click on this attribute and then on the buttn SHOW FIELD PROPERTIES.Thsi will show you the label name etc.Here you change the label name to NATIONALITY.Also ,it will show you the row no,cloumn span of the field and column span of the label.You need to reduce the column span of the field value.Ie if the column span is from D TO H,reduce it from D TO F.Now goto the next attribute eg CITY and in the same way,goto the attribute properties.Here ,There is a check box SHOW LABEL,uncheck this,and now goto the row no and the cloumn span.Make the row no same as that of the COUNTRY FIELD.The column span should howevrbe statring from where the column span of country field ended.Ie Teh column apsn of counrty field ended at F .So for CITY,the column span should start from G to amybe H.Now this is how you need to accomodate the other fields also in the same row,by changing the row no and column span in the field properties.
    Suvidha

Maybe you are looking for

  • Cannot resovle the Symbol error in UDF - Java mapping - RFC Lookup ?

    Hi Friends , We are working on Java mapping  -  UDF for RFC Lookup . It is giving the Cannot resolve Symbol for all imported archive java class files even if we give again all imported files in import section of UDF we are still getting the same cann

  • Screen "SAPMJ1IFN" 1110 could not be generated.

    Hi, I'm creating sub contracting challen tcode J1IF01. Here i'm getting runtime error is Screen "SAPMJ1IFN" 1110 could not be generated. Please guide me where i'm mistake in Sub Contracting. Regards, Balakrishna G

  • JNI_GetCreatedJavaVMs not working

    I was trying to use the JNI_GetCreatedJavaVMs to work and it gives me an error within my C++ program: C:\Examples\Conversation\MSGpumper\MSGpumperDlg.cpp(193) : error C2039: 'JNI_GetCreatedJavaVMs' : is not a member of 'JNIEnv_' c:\jbuilder8\jdk1.4\i

  • Verbose mode after putting old harddisk in new laptop

    Hi, i just got myself a brand new macbook with the nvidia chipsets to replace my defective old one. When i received the new one, i swapped the harddisks in order to work with my old setup and basically everything went fine, but somehow Mac OS is now

  • Mac problems

    i updated my flash player on my MAC OS X 10.6.8  and now no video plays at all. it was fine for a very long time and now it's down.  i have un installed and re installed, rebooted and checked plug ins.  what is up with this thing?