E-Commerce create order runtime error because of user-exit

Hi all,
we face the following problem in our e-Commerce 5.0 R3 B2B application:
In our R3 system, we have implemented the userexit_save_document_prepare when creating sales order (VA01) because we do not want an order to be created (saving is cancelled) if some conditions are not met. If this happens, the systems throws an error message that users can see at the status bar and the order creation is cancelled (but the user still is on the VA01 transaction).
Now, we are implementing SAP e-Commerce solution and we can create orders when these messages are not thrown (the order is saved without any message because all conditions are met). If one of these error messages (in user-exit) are thrown (the user has exceeded some limit, for instance), then e-Commerce application does not show the message but shows a runtime error and crashes (user has to log in again and so on...). I include the error trace below.
Is it not possible to show these error messages (which have information for user) on our B2B application?
com.sap.isa.businessobject.BORuntimeException: order create not possible
     at com.sap.isa.businessobject.BusinessObjectHelper.splitException(BusinessObjectHelper.java:78)
     at com.sap.isa.businessobject.order.Order.saveAndCommit(Order.java:393)
     at com.sap.isa.isacore.action.order.MaintainBasketSimulationSendAction.basketPerform(MaintainBasketSimulationSendAction.java:122)
     at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.isaPerform(MaintainBasketBaseAction.java:998)
     at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:343)
     at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
     at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
     at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
     at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
     at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
     at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
     at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Thanks in advance.

Hi Jolly,
thanks for your quick response. The user-exist is not java-based but ABAP-based. User-exit is included in program: MV45AFZZ. Routine: USEREXIT_SAVE_DOCUMENT_PREPARE.
If we do not want to let the user save the order we use:
MESSAGE eXXX....
Thanks.

Similar Messages

  • Client Copy Error - ERROR: Type 'F' user exit with SYS_ERROR:

    Hello,
    We want to create a client copy from client 001 to clien 715.
    The client copy test runs successfully.
    The following error occurs in normal mode of client copy.
    1 ETA028XClient copy from "03.11.2010" "17:12:43"
    1 ETA029 System ID............................ "IS3"
    1 ETA043 Target client........................ "715"
    1 ETA030 R/3 Release.......................... "701"
    1 ETA354   Basis Support Package..............."SAPKB70107"
    1 ETA031 Host................................. "xxx"
    1 ETA000 Start in background............. ....." "
    1 ETA032 User................................. "SAP*"
    1 ETA033 Parameter
    1 ETA034 Source client........................ "001"
    1 ETA188 Source client user masters............"001"
    1 ETA185 Copier profile:......................."SAP_ALL"
    1 ETA036 Table selection
    1 ETA177 Customizing data ....................."X"
    1 ETA037 With application data................ "X"
    1 ETA155 Initialize and recreate......... "X"
    1 ETA294 Change documents are not copied
    2 ETA367XStart analysis of system "17:12:43"
    3 ETA108 "/GC1/CC_EXIT_CLIENT_DELETION" executed "        0"("        0") entries copied
    4 ETA114 Runtime "             0" seconds
    3 ETA072 Exit program "/GC1/CC_EXIT_CLIENT_DELETION" successfully executed "17:12:53"
    A2EE/SAPAPO/OM 012 "Mandant 715:" "Verbindung nicht oder fehlerhaft gepflegt:" "IS3CLNT001" " "
    2 ETA102 ERROR: Type 'F' user exit with SYS_ERROR: "/SAPAPO/OM_CLNT_COPY_DOWNLOAD"
    2 ETA534 "RCOD:" " 8" "SY-SUBRC:" " 0"
    2 ETA191 Program ended abnormally
    Can you help me?
    thx
    Torsten

    Torsten,
    Are you doing a local client copy in a SCM System. I can see it fails & is looking for SCM specific fn modules & user exits.
    If yes, has a look at this notes there are some steps that needs to be done for the transactional date:
    894490 - Client copy: Transactional data
    And re-post it in the SCM forum: SAP Advanced Planning & Optimization (SAP APO)
    - Regards, Dibya

  • Error handling in user exit

    Hello every one,
    How to do error handling in user exit plz gimme some example for this..
    Regards
    Martin

    Hi Jen,
    the problem is that I want to use a transaction that needs data (TO number) that I created already but I don't called a COMMIT, see following structure (simplified):
    * Creating TO
    PERFORM create_new_transport_order CHANGING lv_generated_to_num.
    CALL TRANSACTION LT31 WITH lv_generated_to_num.
    <....>
    COMMIT WORK.
    Is it possible to call a transaction with data that is not really in the database yet? That's my question/problem.
    Thanks

  • SAP ERP E-commerce E-selling Runtime error creating a order

    Hi Gurus,
    I am working on setting up the E-commerce with SAP ERP as back end. I did the XCM configuration. I was able to log on to the applications both B2B and B2C -- navigate through Product catalog and other areas.But when I try creating a order (shopping basket)  I get the following error
    +*!    Runtime Errors
    i   Contact the administrator*+
    I have the same issue for both the applications B2B and B2C. for some reason it is not able to access the r/3 order (if I am not worng).
    Point will be rewarded for helpful suggestion
    Thank you

    Hi sumit,
    sorry for the delay . here is part of the session log. Hope you will be able to figure out some thing.
    Thank you
    2002   Jul 8, 2008 3:33:37 PM SAPEngine_Application_Thread[impl:3]_13 Path com.sap.isa.ui.uiclass.MessageUI Exiting method
    2003   Jul 8, 2008 3:33:37 PM SAPEngine_Application_Thread[impl:3]_13 Debug com.sap.isa.core.util.HttpServletRequestFacade HttpServletRequestFacade created
    2004   Jul 8, 2008 3:33:37 PM SAPEngine_Application_Thread[impl:3]_13 Error com.sap.isa.core.util.MessageListDisplayer An exception has occurred: java.lang.ClassCastException
    2005   at com.sap.isa.catalog.webcatalog.WebCatItemList.aggregateUnits(WebCatItemList.java:639)
    2006   at com.sap.isa.catalog.webcatalog.WebCatItemList.populate(WebCatItemList.java:346)
    2007   at com.sap.isa.catalog.webcatalog.WebCatItemList.populate(WebCatItemList.java:218)
    2008   at com.sap.isa.catalog.webcatalog.WebCatItemList.setQuery(WebCatItemList.java:190)
    2009   at com.sap.isa.catalog.webcatalog.WebCatItemList.<init>(WebCatItemList.java:105)
    2010   at com.sap.isa.businessobject.SalesDocument.searchItemInCatalog(SalesDocument.java:699)
    2011   at com.sap.isa.businessobject.SalesDocument.populateItemsFromCatalog(SalesDocument.java:509)
    2012   at com.sap.isa.backend.db.SalesDocumentDB.updateInBackend(SalesDocumentDB.java:3890)
    2013   at com.sap.isa.businessobject.SalesDocument.update(SalesDocument.java:1269)
    2014   at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.updateSalesDocument(MaintainBasketBaseAction.java:683)
    2015   at com.sap.isa.isacore.action.order.MaintainBasketRefreshAction.basketPerform(MaintainBasketRefreshAction.java:80)
    2016   at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.isaPerform(MaintainBasketBaseAction.java:998)
    2017   at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:343)
    2018   at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
    2019   at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
    2020   at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    2021   at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
    2022   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    2023   at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
    2024   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    2025   at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
    2026   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    2027   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    2028   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    2029   at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    2030   at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    2031   at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    2032   at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
    2033   at com.sap.isa.core.RequestProcessor.processForwardConfig(RequestProcessor.java:267)
    2034   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    2035   at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
    2036   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    2037   at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
    2038   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    2039   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    2040   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    2041   at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
    2042   at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
    2043   at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
    2044   at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
    2045   at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
    2046   at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
    2047   at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    2048   at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    2049   at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    2050   at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    2051   at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    2052   at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    2053   at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    2054   at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    2055   at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    2056   at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    2057   at java.security.AccessController.doPrivileged(Native Method)
    2058   at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    2059   at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    2060   
    2061   . 
    2062   [EXCEPTION]
    2063   java.lang.ClassCastException
    2064   at com.sap.isa.catalog.webcatalog.WebCatItemList.aggregateUnits(WebCatItemList.java:639)
    2065   at com.sap.isa.catalog.webcatalog.WebCatItemList.populate(WebCatItemList.java:346)
    2066   at com.sap.isa.catalog.webcatalog.WebCatItemList.populate(WebCatItemList.java:218)
    2067   at com.sap.isa.catalog.webcatalog.WebCatItemList.setQuery(WebCatItemList.java:190)
    2068   at com.sap.isa.catalog.webcatalog.WebCatItemList.<init>(WebCatItemList.java:105)
    2069   at com.sap.isa.businessobject.SalesDocument.searchItemInCatalog(SalesDocument.java:699)
    2070   at com.sap.isa.businessobject.SalesDocument.populateItemsFromCatalog(SalesDocument.java:509)
    2071   at com.sap.isa.backend.db.SalesDocumentDB.updateInBackend(SalesDocumentDB.java:3890)
    2072   at com.sap.isa.businessobject.SalesDocument.update(SalesDocument.java:1269)
    2073   at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.updateSalesDocument(MaintainBasketBaseAction.java:683)
    2074   at com.sap.isa.isacore.action.order.MaintainBasketRefreshAction.basketPerform(MaintainBasketRefreshAction.java:80)
    2075   at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.isaPerform(MaintainBasketBaseAction.java:998)
    2076   at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:343)
    2077   at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
    2078   at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
    2079   at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    2080   at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
    2081   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    2082   at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
    2083   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    2084   at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
    2085   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    2086   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    2087   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    2088   at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    2089   at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    2090   at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    2091   at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
    2092   at com.sap.isa.core.RequestProcessor.processForwardConfig(RequestProcessor.java:267)
    2093   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    2094   at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
    2095   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    2096   at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
    2097   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    2098   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    2099   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    2100   at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
    2101   at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
    2102   at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
    2103   at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
    2104   at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
    2105   at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
    2106   at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    2107   at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    2108   at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    2109   at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    2110   at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    2111   at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    2112   at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    2113   at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    2114   at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    2115   at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    2116   at java.security.AccessController.doPrivileged(Native Method)
    2117   at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    2118   at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    2119   
    2120   
    2121   Jul 8, 2008 3:33:37 PM SAPEngine_Application_Thread[impl:3]_13 Debug com.sap.isa.businessobject.ipc.imp.DefaultIPCBOManager BO Catalog released

  • Purchase order runtime error

    Hi ,
    while creating purchase order iam getting an error of the following.can any body resolve this issue.
    Runtime Errors         SYNTAX_ERROR
    Date and Time          08.07.2008 10:26:23
    Short dump has not been completely stored (too big)
    Short text
    Syntax error in program "SAPLV61A ".
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLMEVA" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "SAPLV61A " in include "RV63A992
    " in
    line 17:
    "The Dictionary structure or table "ZRC_MKT_PRICE" is either not active"
    " or does not exist."
    The include has been created and last changed by:
    Created by: "DAVIS "
    Last changed by: "DAVIS "
    Error in the ABAP Application Program
    The current ABAP program "SAPLMEVA" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
    The following syntax error was found in the program SAPLV61A :
    "The Dictionary structure or table "ZRC_MKT_PRICE" is either not active"
    " or does not exist."
    Trigger Location of Runtime Error
    Program                                 SAPLMEVA
    Include                                 LMEVAU08
    Row                                     55
    Module type                             (FUNCTION)
    Module Name                             ME_LOAD_VARIANTS_PRICING
    Source Code Extract
    Line
    SourceCde
    25
    ENDIF.
    26
    *--> Initialisieren
    27
    *--> not necessary anymore (Raimond Buchholz)
    28
      CALL FUNCTION 'CUD0_CONFIGURATION_INITIALIZER'.
    29
    *--> Preisteile der Varianten besorgen
    30
    CALL FUNCTION 'CEI0_GET_CONDITIONS'
    31
    EXPORTING
    32
    INSTANCE    = I_CUOBJ
    33
    APPLICATION = 'MM'
    34
    TABLES
    35
                 CONDITIONS  = T_VCKEY.                 "del 194053
    36
    CONDITIONS  = T_VCKEY                   "ins 194053
    37
    exceptions                                   "ins 194053
    38
    error_message  = 01                     "ins 194053
    39
    others         = 02.                    "ins 194053
    40
    *--> Preisteile der Varianten mit Belegnummer versorgen
    41
    LOOP AT T_VCKEY.
    42
    T_VCKEY-KAPPL = 'M '.
    43
    T_VCKEY-VBELN = I_EBELN.
    44
    T_VCKEY-POSNR = I_EBELP.
    45
    MODIFY T_VCKEY.
    46
    ENDLOOP.
    47
    ENDIF.
    48
    49
    *--> Preisteile der Varianten an Preisfindung übergeben
    50
    *- pricing_load_variant_key muß auch bei Positionen ohne Konfiguration
    51
    *- laufen, da die Logik im PRICING zu 4.0 umgestellt wurde
    52
    IF I_NO_LOAD IS INITIAL.
    53
    DATA: I_POSNR LIKE VBAP-POSNR.
    54
    I_POSNR = I_EBELP.
    >>>>>
    CALL FUNCTION 'PRICING_LOAD_VARIANT_KEYS'
    56
    EXPORTING
    57
    APPLICATION = 'M '
    58
    VBELN       = I_EBELN
    59
    POSNR       = I_POSNR
    60
    TABLES
    61
    TVCKEY      = T_VCKEY
    62
    EXCEPTIONS
    63
    OTHERS      = 1.
    64
    ENDIF.
    65
    66
    ENDFUNCTION.

    Hi Friend,
    I thnik the table is created in another server and it is not still transported to the current server, where u are executing PO.
    Please check in SE16N, the table is exist or not.
    Regards
    Krishnendu

  • Portal Runtime Error while performing User Mapping  to SAP SRM

    Please find below the error I received while User Mapping from  Enterprise Portal to SAP SRM :
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_mapping/com.sap.portal.userMappingAdmin/com.sap.portal.userMappingAdmin
    Component Name : com.sap.portal.usermanagement.admin.UserMappingAdmin
    User Mapping not fully available..
    Exception id: 04:21_23/06/05_0073_8097650
    See the details for the exception ID in the log file

    Hi,
    yes, Karsten is correct. Just some background:
    "User Mapping not fully available.." finally means that user mapping is configured to use strong encryption, but the main crypto key for user mapping is missing. Usually, that's because "SAP Java Cryptographic Toolkit" and/or "JCE policy files for unlimited strength encryption" are not installed (or the server hasn't be restarted afterwards). The note will most likely help
    Best regards
    Heiko

  • Portal Runtime Error for WPC user

    Hi experts,
    I assign wpc_editor_role for my user. But he is getting Portal Runtime error everytime he try to create link list/teaser/paragraph, publish webpage, finish webpage. The error is as follows:
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 10:55_27/05/09_0002_21582350
    Refer to the log file for details about this exception.
    For your information, the WPC is working fine for administrator ID. Please help me to solve this problem.
    Rgds,
    Nanie Arianie

    Nanie,
    Please ensure that you have the permissions set as per this help.
    [Defining Permissions in the Portal Content Studio|http://help.sap.com/saphelp_nw70/helpdata/EN/45/f91dd13c7a04aae10000000a114a6b/content.htm]
    [Setting Initial Permissions for Folders|http://help.sap.com/saphelp_nw70/helpdata/EN/a6/78aa5c2ab64c1d83db59a25793e9eb/content.htm]
    This should ensure that your issue is taken care of.
    Good Luck.
    Cheers!
    Sandeep Tudumu

  • PO getting terminated(runtime error) for particular user

    Dear all,
                    i have a PO and its driver program,it has a functionality ,that when i execute it thru ME9F,i get a pop-up to save the PO in 1. SAP script format
        2. PDF format
        3. HTML format
    when the user selects PDF format RB,it gets saved on th Desktop directly,now in production server i have two users using the ME9F,one user executes the PO and gets saved on Desktop without any error  and when the other user executes  he gets  save as option and when clicks save, it throws a pop up,file path not found .click search.when click OK it leads to runtime error.'FILE NOT Found'.
    i have checked these possibilities.
    1. memory of the user
    2. whether acrobat reader is available
    3. proper authourisation given to user
    what exactly might be the problem ,can anyone help me in this issue,any help wud be greatfull.

    Hi,
    The desktop folder location changes with regard to the windows(or Operating system in general) username and it will not be same for all computers.
    To clear this doubt, ask the both users to perform the operation in the system which is not throwing error.
    If it was the problem, it may be because of the hardcoded filepath of the desktop folder, check that. To solve change file path to something like "C:\temp".
    And its always a good practice to check whether the folder exists before downloading a file. Use method Directory_exist of class CL_GUI_FRONTEND_SERVICES for this process.
    If possible post the download code segment.
    Regards
    Karthik D

  • Identify Orders created manually in the planning book (user exit macro?)

    Hello All,
    I am trying to capture the orders created manually in planning book using a user exit macro!!.
    Does anyone have any Idea of how to acheive this. Main aim is to identinfy orders created manually.
    Thanks in advance,
    Regards,
    -Srini

    Hi,
              There are no change pointers like R/3 in APO due to the live cache technology. You can how ever findout if an order is created by system or manually created. Check this [thread|Re: How to identify an order generated by heuristics run or entered manuall]
    Check if you can use the BAPIs to read orders and see if they have "output-firmed".

  • Error message from user exit - current screen becomes grayed(non-editable)

    I am working on a Sales Order (VA01/VA02) user exit(USEREXIT_SAVE_DOCUMENT_PREPARE) in MV45AFZZ program. I am validating certain values entered by user in this exit. Based on a condition, I issue a error message e.g. "message e001(ZV) with .....". I expect the processing to interrupt and the system control  returns to the current screen. When there is an error, error message shows up on the status bar, but the current screen is completely grayed out(non-editable), not able to modify the incorrect entries. I keep hitting ENTER but no change to the grayed screen. Is there anything wrong in the way I issue error message?
    I am on ECC6.
    Thanks.

    could you please help me if possible in my senario :-
    I am validating a field(serial number while creating delivery) in standard exit ZXQSMU04 and written a code to display an error message. The functionality is working correctly on validation and displaying the error message. But once the error is getting trigger the serial number field is becoming in gray mode i.e non editable.
    I tried a lot to overcome this issue but not getting success could anyone help me to make the field editable while triggering the error message.
    Please note : Its an exit and not having any message field in export or return table. Also tried with warning and information message.
    Thanks in advance.
    Regards,
    Gautam Kumar

  • Stoping process of saving purchase order(ME21/ME21N) in the user exit.

    Hi,
    I am using user exit "EXIT_SAPMM06E_016" of purchase order. While creating PO and after user enters 1st line item or more items and presses save button, then this user exit will be called.
    Now my requirement is I have to check "item delivery date" , if it is more than 300 days from creation date then I have to show popup for warning the user for the same and if user want to make the changes then this user exit should stops the process of saving the PO and returns and allows to change the PO.
    Please help me in this.
    how I can stop the saving process.
    Thanks,
    Deepak

    Hi Deepak,
    You can do it in IM_ITEM method
    DATA: ls_mepoitem TYPE mepoitem.
    ls_mepoitem = im_item->get_data( ).
    if you check ls_mepoitem-quantity field it will give your required value....pls Go through the documentation below for the method
    Documentation for the method
    Processing of Item Data
    Functionality
    The PROCESS_ITEM method enables you to change the item data and check it
    for correctness.
    Parameters
    The following parameters are available:
    o IM_ITEM - Document item
    The interface reference is of the category
    IF_PURCHASE_ORDER_ITEM_MM. You can use all methods defined there.
    Note
    Please note the general hints on Error Handling.
    If you wish to mark the document item as invalid, use the
    INVALIDATE() method of the IF_PURCHASE_ORDER_ITEM_MM interface.
    Regards
    Byju

  • Internal error in SAP user exit

    Hi,
      i am working on the SAP user exits in SD module for Free goods enhancement, if customer buys 100 goods in 'X' material we have to provide 'Y' quantity of goods as free. i did coding part under the standard program "MV45AFZZ " in the form" user exit_save_document_prepare", its working fine in creation of sales order in VA01 transaction the free goods are getting added correctly.
    But, while changing the sales order in VA02 transaction the free goods are not getting updated after changing the order quantity. its just displaying the following error "An internal system error occurred. See note 442831."
    kindly help me to solve this issue.

    Dear vinod,
    No, this can't be done because with the help of configuration we can able to do only for 1:1 relationship.
    but this includes n :1 relationship free goods.so we need to develop code.in that only during execution only am getting this internal error.

  • Custom error message in user exit is giving Short dump

    Hi All,
    We have a scenario where in if any user try to create/Change/Delete particular types of contract in SAP system we have to issue error message
    saying ZIN/ZIR contract creation/Change/Deletion is blocked in SAP. This has to be done from the web application. So we are putting below code
    in user exit MV45AFZZ in the form USEREXIT_SAVE_DOCUMENT_PREPARE.
    CONSTANTS: lc_vbcpic01 TYPE sy-uname VALUE u2018VBCPIC01u2019, u201CWeb application user ID
             lc_zin           TYPE vbak-auart VALUE u2018ZINu2019,
                         lc_zir            TYPE vbak-auart VALUE u2018ZIRu2019,
                         lc_text(32)    TYPE c VALUE u2018Check long text for more detailsu2019.
    DATA: l_uname TYPE sy-uname.
    CLEAR: l_uname.
    MOVE sy-uname TO l_uname.
    *If user ID is not the Web application ID then block the creation/Change/Deletion
    IF   l_uname NE lc_vbcpic01
    AND ( vbak-auart EQ lc_zin
    OR    vbak-auart EQ lc_zir ).
    MESSAGE e830(zv) WITH lc_text.
    ENDIF.
    This code is working fine while creating/Changing the contract i.e. Giving us error message so that user wonu2019t be able to create/change the contract.
    But when we delete the contract from VA42, Control is coming to this message statement and is giving Short dump. Below is the error analysis of the dump.
    Error Analysis:
    During "Exit Command" processing, the program tried to send a " " message.
    This is not allowed at this point in processing.
    The program had to be terminated.
    Screen name.............. "SAPMV45A"
    Screen number............ 4001
    If any one has come across such scenario/any work around for this problem please let me know your inputs. Your inputs are highly appreciated.
    I am working on 4.6C version of SAP.
    Note: When i issue information/Warning message contract is getting deleted after displaying the message.
    Thanks,
    Vinod.

    I exactly replicated the same in DELETE_DOCUMENT also
    I am getting the Dump. I tried with exit also , but it continued and deleted. To avoid deletion we have to use Leave program or LEAVE TO CURRENT TRANSACTION.
    Delete Function is Defined as EXIT command. so it is not possible to give error message. To convice you i just copied demo program and raised the error message.
    it is also giving the dump.
    copy the demo program DEMO_DYNPRO_AT_EXIT_COMMAND and make this change , information to error .
    MODULE cancel INPUT.
      MESSAGE e888(sabapdocu) WITH text-001 ok_code input1 input2.
      IF ok_code = 'CANCEL'.
        CLEAR ok_code.
        LEAVE PROGRAM.
      ENDIF.
    ENDMODULE.
    and see...

  • Display error message in user-exit EXIT_SAPMP56T_002

    Hi,
    I'm doing a validation in user-exit EXIT_SAPMP56T_002 (include ZXTRVU03), and I want to display a error message. So, I'm using the instructions:
    continue_with_update = 'N'.
    MESSAGE ID xxx TYPE 'E' NUMBER yyy.
    What happens is that in SAP GUI it works fine, but in SAP Portal it gives a lot of java exceptions.
    Is there other way to display the error message that it works fine in the portal?
    Thanks.
    Sónia

    Hi,
    I tried with that but it doesn't work.
    With the instruction "Message ID..." the portal shows an RFC ERROR SYSTEM FAILURE with all that java exceptions.
    With your suggestion it does not retrieve my message, and instead it retrieves a customized message "Trip cannot be saved in this status, check mileage start and end location", that refers to the expense report and does not make any sense when I'm only creating the trip.
    Any idea for this?
    Thanks.
    Sónia

  • Throwing error in PR User Exit even after Error is corrected

    Hi all,
    I have created a User Exit in Purchase Requisition in which User Write a Dept Code in PR Header and against that Dept Code only those User ID can create a PR whose ID and Dept code are inserted in Z table.
    When I write a Dept code in PR Header which is not assigned in that Z table against that User ID it is throwing a error and a red error mark is showing in line item but when i correct that ID in header it is still showing the error, my error is not getting refresh. I have written below code, please help where i am getting wrong.
    CALL FUNCTION 'BALW_BAPIRETURN_GET2'
         EXPORTING
           type             = 'E'
           cl               = 'ZVWPRMSG'
           number           = 002
    *     PAR1             = ' '
    *     PAR2             = ' '
    *     PAR3             = ' '
    *     PAR4             = ' '
    *     LOG_NO           = ' '
    *     LOG_MSG_NO       = ' '
    *     PARAMETER        = ' '
    *     ROW              = 0
    *     FIELD            = ' '
        IMPORTING
          RETURN           = MESSAGES.
          append messages to ex_messages.
    exit.

    Hi,
    when you're joining your user exit with corrected Dept code, what is the the context of ex_messages and messages?
    Maybe you forgot to clear some data.
    Regards,
    Klaus

Maybe you are looking for

  • Return order value is not coming properly

    Hi All, In Export Pricing Procedure we manually enter value for Freight and Insurance.For both condition types in V/06 we have maintained Fixed Amount in Calculation Type.So in  the  sales order condition screen Pricing is like Ordered Qty 10  pc Pri

  • Use of field "design documents assigned" in material master

    hi, kindly help me to use the field "design documents assigned" in material master. whenever i creat material master (MM01) in basic data2 view this field comes with grey/black No Link indicator. how to use this and for what . regards roshan s.

  • Port fowarding not working and Max Payne 3

    I have had a proble with this game badly lagging and some things not being applied to my account while playing etc etc etc Now the ports that I've already opened ( or seemingly not ) are :- UDP 6672 UDP 27900 UDP 27901 443 I have put the Hub 3 ( 3A )

  • Peoplesoft portal integration

    Hi, I would like to integrate the peoplesoft portal into SAP Enteprise Portal 6.0 SP2. I tried integrating using the App integrator but all in vain. Perhaps i am not using the correct parameters. Please let me know if anyone has already done it. Than

  • The tutorial for SALES ORDER

    HI i have to work in SALES ORDER GETLIST in WEBDYNPRO can any of SDNers plz mail me the links or material for this . Cheers.