Login problem in ISA b2b Shop

Hi there!
We have a problem with our b2b Shop on ISA 4.0 / Support package 11.
With the SU01 User configured in the xcm, we cannot login: "Error in user administration, call our hotline"
But it seems that the Systems "knows" that the user and the passwort with which we try to login exists and is right because otherwise it says "Name or password is incorrect (Please repeat logon)".
The weird thing is that we have another b2b shop (ISA 4.0, SP 11) running on the same system, which works fine (this shop was provided from another company). We have installed our new shop with the same xcm configurations as the old one.
When we change the configuration in our new shop to SU05_noCustomerLogin it works(!), but we want to logon via SU01. So it's really strange why the old shop works with the SU01 and our new one not.
Does anyone here have an idea what we should change / configure / patch / ....
In the logfile (session trace) we found an entry which could be the key:
Debug bbcom.sapmarkets.isa.use.backend.r3.UserBaseR3
no customer found for user
Any help is appreciated, thanks

Hello Thomas,
You didn't give a clue about if it is a R/3 or CRM backend. I am assuming it is ISA CRM 4.0, B2B scenario. I also assuming that you are not testing through Portal. Also, how did you create the user? Did you use user admin application?
Few things you can check in your (customer) application configuration..
1 b2b XCM setting:
Click and set the checkbox "Display Advanced Settings" and see what you have set in the following for YOUR shop and compare it with the shop that works. Note: The advanced section runs more than one page. So you have to click that next page icon
<li>shopdata
<li>userdata
<li>usertype
Also check the "Base Configuration" you have used in the custom configuration is what you wanted. (b2bcrmstandard, b2bWithUME etc).
Also, when you said:
With the SU01 User configured in the xcm, we cannot login: "Error in user administration, call our hotline"
  are you referring to the jco component in XCM or the usertype parameter in the application config? The user ID in jco should normally use a service type user.
2. shopadmin XCM setting:
<li>usertype
If you are using CRM scenario, check if the logged on user (SU01) user has an associated Business Partner with a Contact Person role and that Contact Person has at least one Sold-To (maintained through BP releationship).
If you are using R/3 scenario, check the reference user setup in the XCM as well as the backend system.
Easwar Ram
http://www.parxlns.com

Similar Messages

  • Relogin Error connecting to ISA B2B Shop iView for SAP CRM 4.0

    Hi
    I am trying to access ISA B2B Shop iView (for SAP CRM 4.0) from EP 6.0 SP14. I am getting the below mentioned error
    ERROR : "The session is invalid." "Please re-login."
    Please find the portal version details:
    Area                   Version
    J2EE Engine            6.40 PatchLevel 98256.313
    Portal                 6.0.14.0.0
    Please help me in solving this issue
    Regards
    Sudhir

    Hi,
    I have the same error, could you help me ?
    Thanks and regards.
    Manuel .-

  • User values available in ISA B2B shop

    Hi!
    I'm playing around in our ISA B2B enviroment and I want to show some other data then what is visible.
    For exemple
    <%= JspUtil.encodeHtml(user.getAddress().getTitle()) %>
    <%= JspUtil.encodeHtml(user.getAddress().getName()) %>
    This show the users sirname, is it possible to see what user object contains?
    I want to show the Companys name instead of the sirname of the user.
    regards
    rollo

    Hi Rollo
    you might need to get the Business Partner and from there you can get the required information. You can probably download the official API and check the available methods.
    You might need to take under consideration the Backend that you use - CRM or ERP. Depending on that some objects are named as UserBaseCRM and UserBaseR3.
    Hope to be of help
    Borislav

  • Login page error in the ISA b2b 5.0 application.

    Hi all
    i deployed the CRM ISA b2b 5.0 application successfully in the j2ee engine and after that i have done the XCM configuration also successfully and i tested thru run test for both JCO and IPC components all are successful.
    now when i tried with the b2b application with the following URL it is giving some different error.it is not related to application it seems the different error related to some browser or i am not sure.
    URL : http://hsdnt24s15:50400/b2b/b2b/init.do when i press enter here
    then it showing the following error but the error it seems not related to application side, it is different error.after pressing the enter with the above URL then URL itself is changing in the browser as like the following URL
    browser URL : https://hsdnt24s15:${https.port.core.isa.sap.com}/b2b/user/secureSwitch.do
    Error Details:
    The page cannot be displayed
    The page you are looking for might have been removed or had its name changed.
    Please try the following:
    Open the hsdnt24s15:${https.port.core.isa.sap.com} home page, and then look for links to the information you want.
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    If you still cannot open the page, click the Internet Explorer
    Search button to look for similar sites.
    Internet Explorer 
    Please can you help me what is the solution to my problem.
    i will reward the maximun points.
    Regards
    Sunil

    Hi Mike
    i have some other problem now , can i you help me on this.
    i have the logon problem in the CRM ISA b2b 5.0 application when i have accessed thru the following URL.
    <b>http://hsdnt24s15.hclt.corp.hcl.in:50400/b2b/b2b/init.do</b>
    <u>it is giving the error as follows.</u>
    <b>Error while executing SAP E-Commerce Application with UME system; try again to log on. If the problem persists, call our hotline</b>.
    before that we have made the XCM configuration for CRM ISA b2b 5.0
    Can you guide was there any problem in the XCM configuration?
    Please help how to resolve this issue for logon problem in ISA b2b 5.0?
    Regards
    Sunil

  • How to remove frames in ISA B2B

    Hi Everyone,
    Our requirement is to change the looks and feels of the standard ISA B2B application drastically. To achieve the requested looks and feel, we may have to remove the frames, but at this point we are not sure if this is possible.
    I would like to know if frames in B2B app can be removed? If Yes then, how easy or difficult it is to do that? What are the disadvantages of doing that?
    Many thanks in advance,
    Yoshi.

    Hi Yoshi,
    Remove frame/frames in ISA B2B is a standard requirement.
    There are 2 main files from where you can control ISA Frames.
    1.  fs_start_inner.jsp
    2.  fs_startworkarea.jsp
    You cannot remove frame from ISA B2B frame structure but you can hide frame.
    Below is the example to hide "History Frame"
    Open file fs_startworkarea.jsp.
    Try to find below line.
    <frameset cols="*,15,80" id="fourthFS" border="0" frameborder="0" framespacing="0">
    Here 15 and 80 represent closer_history and _history frames. Suppose you want to hide these 2 frames from ISA B2B frame structur then change as below.
    <frameset cols="*,0,0" id="fourthFS" border="0" frameborder="0" framespacing="0">
    Now save "fa_startworkarea.jsp" and run ISA B2B you will not see closer History and History frames on right side.
    Actually in ISA B2B we are not removing frames but we are hiding frames which is as good as removing frames.
    Hiding frame will not create any problem in ISA B2B as you are not bracking any logic or process flow so do not worry.
    Again remember we are not removing any frame from standard structure but we are just hiding it by making it "0"
    I hope it will help you to achieve  your goal.
    eCommerce Developer.
    Edited by: Ecommerce Developer on Jul 29, 2009 7:27 PM

  • Login B2B Shop and Replicate Catalog

    Hi Forum,
    I try to login in the b2b shop, url: http:///b2b/b2b/login.do and i get this message:
    +
    Error in user administration, call our hotline +
    I use the user with this roles: sap_all and sap_new. Also it is type service. I dont know where is the problem and also i have a doubt: Do i have to reproduce the catalog i have created in transaction WWM1¿? If yes, How i do?
    Any suggestion?
    Thanks in advance and regards,
    Mon
    Message was edited by:
            Mon
    null

    Hello Mon,
    The catalog replication tool is used for catalog search enhancement, from R/3 to a TREX server, so the transactions and function modules could be found on R/3 only.  Take into account the prerequisites regarding the use of TREX with ISA R/3, given in the following link: http://help.sap.com/SCENARIOS_BUS2005/helpdata/EN/e0/ce976c29ff495398cc15d370101c94/frameset.htm.  There you will find the R/3 transactions needed to do it on R/3.
    Regards and good luck!,
    Carlos

  • Problem in deployment of ISA B2B after building the app using ant buildtool

    Hi
    I've a problem with building ISA B2B App after modification.
    I've ISAWAC640SP11 and ant buildtool to build the application.
    I've setup a customer project in NWDS.
    I've build the application using build tool but when i try to deploy it
    on SAP J2EE 6.4 using SDM i get a weird message stating
    <b>"com.sap.sdm.util.sduread.IllFormattedSduFileException: The archive must be deployed with a 6.20 SDM, which has a SDM-SDA compatible version 1 or greater."</b>
    Does anyone know what is the exact proecess to build the application in
    SAP J2EE 6.4.
    Do we have to use the ant build tool or we can directly build the app using NWDS
    default build process ?
    Also can some one suggest me to setup a customer project for extension and
    modification of ISA B2B 640 on NWDS and SAP J2EE 6.4....
    Thanks & Regards
    Sandeep Solanki

    Guys please help  !!!
    atleast gimme some idea or suggestions.. !!!
    Regards
    Sandeep

  • Problem while extending and modifying the ISA B2B app on SAP J2EE 6.4

    We are facing some problem with extending and modifying the ISA B2B 4.0 application.
    First Let me clarify you the whole scenario.
    Previously we had ISA B2B 4.0 SP03 deployed on SAP J2EE 6.20 Engine.
    We had used eclipse 3.0 to extend and modify the application as NWDS does not support SAP J2EE 6.20.
    We had used ant buildtool to build the modified application which comes along with the ISA Software Archive.
    We had successfully done all the modifications and application was running fine...
    Now we have upgraded the overall J2EE infrastructure and using J2EE 6.4 Engine which supports NWDS.
    We have successfully deployed the ISA B2B  application which comes along with the Support Package.
    We are using Support Package ISAWAC40SP11P_7-20000529.SAR E-Selling 640. The application is working fine after all
    the configuration done in XCM and SAP CRM 4.0 system.
    Now for modification and extension i have created another b2b enterprise archive with name "b2b_client.ear" using ant buildtool.
    I've done the modification and extension .. added some Z classes and JSP pages. Now when i try to deploy the application using
    SDM 6.40, I got an error message stating
    <b>"com.sap.sdm.util.sduread.IllFormattedSduFileException: The archive must be deployed with a 6.20 SDM, which has a SDM-SDA compatible version 1 or greater."</b>
    I think this error is due to the incompatible sda_build.xml used in the build process but we have used the same xml file bundled with the above mentioned ".sar" file..
    Please help or suggest someone who can help me out from this...
    Thanks & Regards.
    Sandeep Solanki

    Hi Alkis.
    First, you need to specify the fully qualified class name of your based-RequestProcessor class in the config.xml file like
    <controller  contentType="text/html;charset=UTF-8"  locale="true"  nocache="true"
      processorClass="com.mycompany.struts.framework.MyRequestProcessor"/>
    If you review the source code of the ActionServlet and RequestProcessor classes, you can see that overwritten methods (by you) are executed every time the client makes a request to the struts based application.
    I hope you can run your approach. And it will be excellent you can shared how you will do it.
    Kindest regards.

  • ISA Login Problem

    I have installed b2b on EP6 and J2EE 6.40,
    By using the url "http://cfsapep:50000/b2b/b2b/init.do"
    I go the Logon screen and I enter the user id and password and I don't see anything, I have following Question
    1. Do I need to use SAP User or Portal User
    2. Do I need to do any config in R/3, If you have documentation for the config.
    Thanks
    Jagraj Dhillon

    Hi Jagraj
    First of all try to run seperate (not in portal) ISA B2B Application in the
    web browser.
    Give the ISA Userid and Password in capital letters which you have created
    from the web application
    <b>http://<hostname>:<port>/isauseradmin/useradm/init.do</b>
    and check whether
    you can login into ISA B2B or not ..
    If you cant then check the JCO parameters you have given in the admin
    and then try again....
    If you succeeded then proceed further...
    Goto the SAP R/3 System and run SU01.
    Type the ISA Username created from the web app <b>isauseradmin</b>
    in the field User Alias and press enter...
    You will get an Alphanumeric UserID in the UserID field.....
    Create a User in the portal with the same UserID not the UserAlias.
    Login into the portal with that UserID and then check your URL IView...
    If you find any prob, let me know ....
    <b>Allot points if this post helps !!</b>
    Regards
    Sandeep Solanki

  • 2 netweaver and b2b shops block each other.

    hi,
    We have a CRM4 Environment in our company and want to change from 32-bit Windows 2000 to 64-bit Windows 2003. So we set up a new server and installed netweaver, trex and deployed our b2b shop.
    The Windows 2000 Server runs productive. After deploying the b2b shop neither the old not the new b2b shop worked. I just got a white screen in the browser after accepting the ssl connection in both shops.
    So i stopped the new J2EE Server (which is Netweaver 640) and the old one ran perfectly.
    Both servers are connected to the CRM system.
    I checked the default traced from both servers and this is what i got:
    Old Server (Windows 2000):
    com.sap.engine.frame.cluster.ClusterException: Invalid wait on message server connect.
    Cannot update HTTP load balancing information in the Message service
    com.sap.engine.frame.cluster.ClusterException: Socket closed
         at com.sap.engine.core.cluster.impl6.ms.MSEventListener.putLogonInfo(MSEventListener.java:1396)
         at com.sap.engine.core.cluster.impl6.ms.MSConnectionImpl.putLogonInfo(MSConnectionImpl.java:605)
         at com.sap.engine.core.cluster.impl6.ClusterManagerImpl.putLogonInfo(ClusterManagerImpl.java:3144)
         at com.sap.engine.core.service630.context.cluster.session.CommunicationSessionContextImpl.putLogonInfo(CommunicationSessionContextImpl.java:143)
         at com.sap.engine.services.httpserver.dispatcher.HttpDispatcherFrame.putLogonInfo(HttpDispatcherFrame.java:860)
         at com.sap.engine.services.httpserver.dispatcher.HttpDispatcherFrame.closeSocket(HttpDispatcherFrame.java:806)
         at com.sap.engine.services.httpserver.dispatcher.HttpDispatcherFrame.stop(HttpDispatcherFrame.java:407)
         at com.sap.engine.core.service630.container.ServiceStopper.run(ServiceStopper.java:31)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl6.SingleThread.execute(SingleThread.java:78)
         at com.sap.engine.core.thread.impl6.SingleThread.run(SingleThread.java:148)
    Caused by: java.net.SocketException: Socket closed
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
         at com.sap.engine.core.cluster.impl6.ms.MSMessageHeader.write(MSMessageHeader.java:401)
         at com.sap.engine.core.cluster.impl6.ms.MSRawConnection.sendRawMessage(MSRawConnection.java:1017)
         at com.sap.engine.core.cluster.impl6.ms.MSRawConnection.sendRawMessage(MSRawConnection.java:971)
         at com.sap.engine.core.cluster.impl6.ms.MSEventListener.putLogonInfo(MSEventListener.java:1393)
         ... 10 more
    So there are many lines that say about cluster problems. This isn´t a cluster and is not configurated as cluster. I don´t even know if this log entrys refer to the current problems we had.
    Where could the problem be? We did the same procedure with our Consolidation environment and it was no problem to run two b2b shops simultaneously. The imsdefault connection is set to the productive b2b shop. So i don´t understand why the one b2b shop takes down another b2b shop. They refer to the same IPC server and the same TREX.
    Hope someone can help me with this exceptional problem.

    There are more log entrys in the deafult server log:
    [(J2EE202579200)ID1188634150DB11100164230860607311End|isacore.backend.error] ???en.isacore.backend.error???
    [(J2EE202579200)ID1738918850DB11110695501596486387End|isacore.backend.error] ???en.isacore.backend.error???
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
         at com.sapmarkets.isa.core.ActionServlet.process(ActionServlet.java:430)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
         at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
         at com.sapmarkets.isa.core.BaseAction.perform(BaseAction.java:197)
         at com.eh.isa.action.login.ShowWelcomePageAction.doPerform(ShowWelcomePageAction.java:258)
         at com.eh.pl.shared.ProductListManagerSoapBindingStub.getProductLists(ProductListManagerSoapBindingStub.java:405)
         at com.eh.org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.eh.org.apache.axis.client.Call.invoke(Call.java:2366)
         at com.eh.org.apache.axis.client.Call.invoke(Call.java:2443)
         at com.eh.org.apache.axis.client.Call.invoke(Call.java:2767)
         at com.eh.org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at com.eh.org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at com.eh.org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at com.eh.org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at com.eh.org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at com.eh.org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
         at com.eh.org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
         at com.eh.org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at com.eh.org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at com.eh.org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at com.eh.javax.xml.parsers.SAXParser.parse(Unknown Source)
         at com.eh.org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at com.eh.org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at com.eh.org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at com.eh.org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at com.eh.org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.eh.org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at com.eh.org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
         at com.eh.org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at com.eh.org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.eh.org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at com.eh.org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)

  • R/3 ISA B2B:  Catalog Views

    Hello experts in the group,
    I need to create catalog views for R/3 ISA B2B application. I have to use cross division 00 to handle multiple sales areas and I want to address these divisions using catalog views. I already have one of the four product catalogs that we would need, in place.
    I have tried to use followed SAP Notes:
    696095: ISA R/3 4.0: Collective note on Catalog Views
    695978: How to create function modules for ISA R/3
    677319: Coding sample assignment of customers to views
    677320: Coding sample catalog item assignments to views
    610393: Example for using catalog exit after read
    and
    Note 837119, that was referenced by SAP Help but I could not find.
    Problem is, despite spending all that time and effort, I am not able to make much headway here. I would really appreciate if someone could help me out here and tell me how to create a catalog view. I needs to reference this catalog view to a few layout areas and items in the product catalog, and then assign it to a webshop where a customer (who has access to the web shop) can see only these products that are contained in the view.
    Thanks in Advance,
    Biren Bugati

    Hi Biren,
    I simply went to t.code SRMO (Search Server Relation Monitor) and went to <i>Index Category (index)</i> tab. There I searched for all indexes and painstakingly deleted each one, one by one by clicking "Delete Category." I'm not sure if this is the right way to do it, but it worked in the end. After deleting all indexes when I executed ISA_CAT_REPLICATION tcode, instead of error code 2007, I saw a green indicator light, and "No documents in deletion pending status" text.
    The TrexAdmin tool that I am using is Python based and delivered with TREX itself. Its in /sap/usr/trex<instance_number>/python_support/TrexAdmin.py
    You can find more info about how to launch and use this tool here:
    http://help.sap.com/saphelp_erp2004/helpdata/en/3f/d4ae0fc46e1d1ee10000000a114cbd/frameset.htm
    Hope this helps.
    By the way, I didn't know about ISA_CAT_REPL_DELETE and TREXADMIN tcodes. Do you have a list of all ISA-relevant tcodes?

  • Error in b2b shop url.

    Hi all
    I am new to sap crm ,i am woring  on E-COMMERCE  when i try to log on  into b2b shop
    by using   url:http://saperp.sap.com:50000/b2b/b2b/init.do  system seeking  the following error
    "ISA Frame work: com.sap.engineservice.servlet_jsp.server,exceptions. webllegalargument exception: [ http://saperp,:${http.port.core.isa.sap.com}/b2b/user/secure switch.do] cannot  be
    converted into a valid URL." even for WEB SHOP also. prior  to that i have done all xcm setting correctly. hence i request  you all expert ,please help me in this regards
    thanking you
    Regards
    teja

    HI RAM
    Thanks very much for your quick respond, i did know that there is a another  forum for ECOMMERCE
    by miskenly i had posted in this forum.I had done the same as you and srinivas said.but i am confused
    whether i have to use  port number or i have to use drollerAUTO.i have mentioned like  this
    https.port.core= 50001
    http.port.core=50000
    does is this correct,when i mentioned like this and try to  logged on by using the fallowing URL:
    http://saperp.sap.com:50000/b2b/b2b/init.do. system converting into ssl url. And netwear page gets opened up and i logged on by using j2ee_admin user name and password system throughs the fallowing error:" log on problem error while executing,SAP E-COMMERCE application with ume system; try again to logon .if the problem persist, call our hotline".so whether i need to mantain all internet roles to user
    or is there any solution for this. please help me .
    thanking you
    regards
    Teja

  • Error Message in ISA B2B.

    Hi Gurus,
    I need a help to make the following. I have changed the message type "Product is not in the entered catalog/variant " from Warning to Error. But now I need for this message to have the same behaviour as message "The Product is blocked for ordering" (when the status of the product is set to blocked), because I need - in the shopping basket - not to display the pricing whenever the message comes out.
    I have realized that the Blocked error message doesn't calculate the pricing, therfore I want to have the same behaviour for both the Messages.
    can you help?
    thanks a ton

    Hi Lakshman,
    I mean some data check before order save - for example, I need to display an error message if for given delivery type total quantity of products exceed maximum possible value for this product & this delivery type.
    But what is really important - it is how to check ISA B2B Webshop Order data only after I press "Save" button (only once - before save), not every time when I'm pressing ENTER, for example.
    Could you give me some advice what ISA* Badi method do I need to use?
    Thanks.

  • ISA B2B Generic SAP R/3 Extensions

    Hi All,
    I am just going through the ISA tutorials as described in the ISA Extension Guide.
    Unfortunately there seems to be many problems with the Extensions Demo 5 which
    could have partly been solved but right now it stucks at Extension Demo5 Approach 3.
    I think this is more a general issue realted to how to use the generic SAP R/3
    extensions.
    The idea of this tutorial is to set the deliver block in R/3 for an order, so that the users
    chose a delivery block ID depending on which the corresponding delivery block is then set on R/3 site.
    Inside backendobject-config.xml is the following entry:
    <config isa:extends="../config[@id='r3pidefault']">
          <businessObject type="EXTENSION_DOCUMENT_CREATE" name="EXTENSION_DOCUMENT_CREATE">
                                    <params>
                                            <param name="fields" value="LIFSK,2"/>
                                    </params>
          </businessObject>
          <businessObject type="EXTENSION_DOCUMENT_READ" name="EXTENSION_DOCUMENT_READ" >
                                    <params>
                                            <param name="fields" value="LIFSK,2"/>
                                    </params>
          </businessObject>
    </config>
    The structure VBAK contains the field LIFSK with the data element LIFSK which is
    linked to the DLV_BLOCK field containing the actual delivery value of the sales
    document (order).
    I followed the instructions and created the append structure BAPE_VBAK that contains
    component LIFSK of component type LIFSK.
    Class Z_OrderR3 extends OrderR3 overwrites updateInBackend(SalesDocumentData posd, ...) method like:
    //fetch the delivery id from the R/3 version of the document
    if (isExistsInR3()){
        // DeliveryBlock.EXT_KEY_DELIVBLOCK_HEADER == LIFSK
        posd.getHeaderData().addExtensionData(DeliveryBlock.EXT_KEY_DELIVBLOCK_HEADER,
        getDocumentR3Status().getHeader().getExtensionData(DeliveryBlock.EXT_KEY_DELIVBLOCK_HEADER));
    this code is never executed because isExistsInR3() returns false. If the if-statement is
    deleted a null pointer exception is thrown by getDocumentR3Status(). I also tried this
    code snipset in saveInBackend() which behaves alike.
    So why does isExistsInR3() return fales? It should exist at that point of time. Shouldn't
    it?
    And what does "LIFSK,2" in backendobject-config.xml mean? Why is there ",2"?
    Another thing is that reading the delivery block out of the R/3 also does not work.
    If the user clicks on an order number within the ISA web-shop the method
    Z_OrderR3.setDeliveryBlockText(SalesDocumentData ordr, ...) is called. There is this
    code:
        HeaderData header = ordr.getHeaderData();
        //DeliveryBlock.EXT_KEY_DELIVBLOCK_HEADER == LIFSK
        (String) header.getExtensionData(DeliveryBlock.EXT_KEY_DELIVBLOCK_HEADER);
    which returns null.
    Any clue what is going wrong here? Could this be a bug or did I lose sight on sth?
    We are using Web-As 6.20 and ISA 4.0 SP11.
    Help is highly appreciated.
    Best Regards and Thanks in Advance,
    Martin Muellenberg

    Hi Martin,
    although I cannot determine the exact reason for your problems I can give some coding help on the items below, because from what I have seen the below code will never work...
    First I see that you are extending the r3pidefault configuration, is this the configuration you are using, if not adjust to the appropriate one. If this is ok, then good work, I had a lot of problems one searching for this one...
    in backend-object-config.xml you should have structures like:
    <businessObject type="EXTENSION_DOCUMENT_CREATE" name="EXTENSION_DOCUMENT_CREATE">
             <params>
                    <param name="structure" value="BAPE_VBAK"/>
                    <param name="fields" value="LIFSK,2"/>
             </params>
    </businessObject>
    where bape_vbak is the name of the structure in R/3 or CRM you wish to extend
    you could also make a BAPE_VBAP for extensions at item level but I guess you will not be needing it here.
    The LFISK ,2 means that an extensionfield exists in your R/3 structure BAPE_VBAK at that it has length 2. The fields of the extension structures always get passed on as strings and the same order and length should be maintained on the java and R/3 side. (in your case only 1 field so no problem).
    Normally now for both your extended methods (there are 4 in total you extend only create and read) this field should be available and you can just access them on the appropriate header by :
    String LFISK = (String)  <some header>.getExtensionData("LFISK");
    <some header>.addExtensionData("LFISK", some string);
    I hope this helps a little bit, I know the application is a little hard at first to get into,
    if you keep having problems, post a copy of your extension structure as well so we can make a comparison.
    Regards,
    Allan

  • How to display total "items" and "amount " in header.jsp in CRM ISA B2B

    Hi,
    I am modifying “header.jsp” in standard CRM ISA B2B application.  Here we have summary of total number of items and total amount but it is coming in to button and for that below code is there in “header.jsp” and it display it as button text.
    if (!ui.homActivated) { %>
    !!" alt="" border="0" height="16" width="20">
    </td>
    <td class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.minibasket.default"/>" >
            <form name="basketForm" action="javascript:show_basket();">
         <input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.minibasket.default"/>"/>   
        </form>
    </td>   
    <% } else { %>
    <!-- HOM scenario - minibasket displays collective order -->
    <td  class="vertical-align-middle" align="right">
    !!" alt="" border="0" height="16" width="20">
    </td>
    <td  class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.collorder.default"/>">
    <form name="basketForm" action="javascript:show_collective_order();">
        <input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.collorder.default"/>"/>   
    </form>
    </td>
    <% } %>
    Now I want to display total number of items and total amount separately in two different <td> element.
    How I can get total number of items and total amount in “header.jsp” I tried below code but did not get any success.
    Insert below line in “header.jsp” with respective page import statement for class or let me know which class I have to import.
    <%
         HeaderSalesDocument  hdr =
                (HeaderSalesDocument) request.getAttribute(MaintainBasketBaseAction.RK_HEADER);
        ItemList items =
                (ItemList) request.getAttribute(MaintainBasketBaseAction.RK_ITEMS);
    %>
    And then I use
    <td><%= hdr.getNetValue() %></td>
    <td><%= items.size() %></td>
    But it is not printing any thing and header page not display at all.
    Pl. tell me how to get total amount and number of items in header area. Which class or object I have to use here.
    I really appreciated any help from any one.
    Thanks and regards.
    Ashish Patel.

    Hi, I tried another logic. I took value from  Standard button, in which B2B application display total items and amount and I hide this field, to another text element.
    Now I Am breaking that value in words and stored them in array  and then trying to display that array with particular number which contains total item and amount through Java Script on Focus.
    But problem here is, It is not getting updated automatically I have to click on new text files to trigger Onfocus event. How I can achieve effect like as soon as Standard button changes it's value which is now hidden filed my new text box should update automatically.
    Thanks.
    Ashish

Maybe you are looking for