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.
Similar Messages
-
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
SunilHi 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 -
Catch any error message (dumps) in B2B and show own text
Hi, all
How we can catch any error messages (dumps) in the B2B?
How we can show own text like this 'Site under construction. Please visit later...after 1 hour... '
DenisOption 1(dirty approach): modify your runtimeexception jsp
Option 2(better approach): on your load balancer (like F5 or SAP web dispatcher) configure such that all HTTP500 response codes are redirected to a hub page which has your custom text or images
pradeep -
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
SudhirHi,
I have the same error, could you help me ?
Thanks and regards.
Manuel .- -
Change B2B error message: "Error in R/3 system: document cannot be sent"
Hi experts!!
I had the requirement the B2B user not to be able to change orders from the past days.
I wrote some ABAP code in MV45AFZZ user exit and the functionality works fine! I even receive my custom error message in the B2B but before my message i also get "Error in R/3 system: document cannot be sent. Call our hotline.."
Is there anyway i can change this standard message in JAVA side???
Thank you in advance!!In the ABAP side, set break point in BAPI_SALESORDER_SIMULATE and check the BAPIRETURN table.. Depending upon the stage and action on the order, the other RFCs you might focus on are SD_SALESDOCUMENT_CREATE or SD_SALESDOCUMENT_CHANGE. The return structure is BAPIRET2 for this set of RFC.
You might remove the "unwanted messages here.. or let them flow into the Java layer and tackle them there. That will require you to extend different xxxxStrategyR3 classes and overwrite certain methods in certain classes. The development is NOT streamlined here.
Read the classes CreateStrategyR3 - there is a method performCustExitAfterR3SimulateCall
in ReadStrategyR3 - there is a method called replaceR3MessageTexts and in change..
in ChangeStrategyR3 - there is a method called performCustExitAfterR3Call
In all these places you have to read the appropriate table that contains the message and remove it. See ReadStrategyR3~replaceR3MessageTexts for some idea.. -
Initialization of Extended Configuration Management failied CRM ISA B2B
I am getting the follwoing error in CRM ISA B2B application after deploying the warfile.
http://localhost:50000/b2b_xxx/b2b/init.do
Application error occurred during request processing.
Details: Error [javax.servlet.ServletException: Initialization of Extended Configuration Management failed.].
Exception id: [001A6426E3B000510000079D00000A5000045463A84AD4F6]Hello All
Please review the following notes that has resolved this issues in other cases.
979883 XPath expressions do not work in case of a comment in XML
979884 NW04s SPS9 sapxmltoolkit cumulative patch
If this does not resolve the issue I would advise opening an oss message and
providing all of the information including a session trace specified in the following notes:
1094659 Support for Internet Sales Release 4.0
1091792 Support for Internet Sales Release 5.0
Hope this helps.
Peter -
Getting an error message in B2B and it says Invalid Delimiter Settings.
Hi,
We are in the process of integrating an outbound data flow using BPEL and B2B.. We have the bpel process deployed in the system which is integrated to the B2B via a partner link.
The payload from the Bpel process is coming into the B2B but the output edi file is not getting generated and we
are getting the error message when we run the Business Message Status reports/ Error Status Reports in B2B.
The correct Trading Partner Agreement is being hit and as well as the correct Business process and Document protocol and document revision are getting attached. It is also identifying the correct values for the Sender and Receiver from the Agreement.
But it is erroring out with the error message as Invalid Delimiter Settings... This is for the outbound edi transaction to the outside trading partner..
Could someone please help us with this issue as soon as possible.
Regards
sachin.Yes Ramesh,
The error is very implicitly ...you are right but from the setup perspective in b2b we have defined the below mentioned for the operational capability for the Trading Partner who is going to receive this edi document :
Component Element Separator 0x7d
Segment Delimiter 0x0a
Element Delimiter 0x2a
Subelement Delimiter 0x7d
But we are not able to understand why it is throwing invalid delimiter settings. I have provided the b2b.log as well mentioned below..
2008.11.10 at 17:30:27:858: Thread-14: B2B - (DEBUG) iAudit report :
Error Brief :
5097: Invalid delimiter settings.
iAudit Report :
<?xml version="1.0" encoding="UTF-16"?><AnalyzerResults Guid="{844CC52C-77AF-DD11-A28B-006171130000}" InterchangeReceived="1" InterchangeProcessed="1" InterchangeAccepted="0"> <ExecutionDate>Monday, November 10, 2008</ExecutionDate> <ExecutionTime>05:30:27 PM (EST)</ExecutionTime> <AnalyzerReturn>Failed</AnalyzerReturn> <NumberOfErrors>1</NumberOfErrors> <ErrorByCategory> <Category Name="Rejecting"> <Severity Name="Normal">1</Severity> </Category> </ErrorByCategory> <Status>Finished</Status> <DataFile> <FilePath/> <FileName/> <LastModified/> <FileSize/> <DataURL>file://</DataURL> </DataFile> <Interchange Guid="{2AC4C52C-77AF-DD11-A28B-006171130000}" InterchangeAckCode="R" FunctionalGroupReceived="1" FunctionalGroupProcessed="1" FunctionalGroupAccepted="0" RError="0" NError="0" OtherWI="0"> <DataXPointer> <StartPos>0</StartPos> <Size>5690</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="InterchangeSenderQual">01</Link> <Link Name="InterchangeSenderID">195080304</Link> <Link Name="InterchangeReceiverQual">ZZ</Link> <Link Name="InterchangeReceiverID">RBTWTEST</Link> <Link Name="InterchangeControlVersion">00401</Link> </Links> <Properties> <Property Name="Standard">X12</Property> <Property Name="SegmentDelimiter">0xa</Property> <Property Name="ElementDelimiter">0x2a</Property> <Property Name="SubelementDelimiter">0x7d</Property> <Property Name="RepeatingSeparator"/> <Property Name="ReplacementChar">0x7c</Property> </Properties> </NodeInfo> <FunctionalGroup Guid="{84FBC52C-77AF-DD11-A28B-006171130000}" FunctionalGroupAckCode="R" TransactionSetsIncluded="0" TransactionSetsReceived="1" TransactionSetsProcessed="1" TransactionSetsAccepted="0" RError="0" NError="0" OtherWI="0"> <DataXPointer> <StartPos>0</StartPos> <Size>5690</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="GroupSenderID">195080304</Link> <Link Name="GroupReceiverID">RBTWTEST</Link> <Link Name="GroupVersionNumber">004010</Link> </Links> <Properties> <Property Name="GroupID">SM</Property> </Properties> </NodeInfo> <Transaction Guid="{38333539-3935-3230-3330-343333373930}" TransactionAckCode="R" RError="1" NError="0" OtherWI="0"> <DataXPointer> <StartPos>0</StartPos> <Size>5690</Size> </DataXPointer> <GuidelineInfo> <GuidelineFile> <FilePath>ByteStream</FilePath> <FileName>ByteStream</FileName> <LastModified/> <FileSize/> <GuidelineURL>file://ByteStream</GuidelineURL> </GuidelineFile> <DetailGuidelineInfo> <IID>4</IID> <ID>204</ID> <Name>MOTOR CARRIER LOAD TENDER</Name> <GroupID>SM</GroupID> <Standard>X12</Standard> <StdVersion>V4010</StdVersion> </DetailGuidelineInfo> </GuidelineInfo> <NodeInfo> <Links> <Link Name="TransactionID">204</Link> </Links> <Properties> <Property Name="TransactionControlNumber"/> </Properties> </NodeInfo> <TransactionErrors> <Error ErrorCode="{9795C1E4-8860-4F09-B226-1B153FDDD517}" Severity="Normal" Category="Rejecting" Index="1" ID="50970000"> <ErrorBrief>5097: Invalid delimiter settings.</ErrorBrief> <ErrorMsg>Invalid delimiters settings.</ErrorMsg> <ErrorObjectInfo> <Parameter Name="ErrorLevel">0</Parameter> <Parameter Name="Name">XData2Native</Parameter> <Parameter Name="_ec_dn_guid_">{38333539-3935-3230-3330-343333373930}</Parameter> <Parameter Name="_ec_index">0</Parameter> <Parameter Name="ec_error_scope">Transaction</Parameter> </ErrorObjectInfo> <ErrorDataInfo> <Part1/> <ErrData/> <Part3/> <DataXPointer> <StartPos>0</StartPos> <Size>0</Size> </DataXPointer> </ErrorDataInfo> </Error> </TransactionErrors> </Transaction> </FunctionalGroup> </Interchange></AnalyzerResults>
2008.11.10 at 17:30:27:859: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sErrorGuid = {9795C1E4-8860-4F09-B226-1B153FDDD517}
2008.11.10 at 17:30:27:859: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sDescription = Invalid delimiters settings.
2008.11.10 at 17:30:27:859: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sBrDescription = 5097: Invalid delimiter settings.
2008.11.10 at 17:30:27:859: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ErrorLevel sParameterValue = 0
2008.11.10 at 17:30:27:859: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = Name sParameterValue = XData2Native
2008.11.10 at 17:30:27:859: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ecdn_guid_ sParameterValue = {38333539-3935-3230-3330-343333373930}
2008.11.10 at 17:30:27:859: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ecindex sParameterValue = 0
2008.11.10 at 17:30:27:859: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ec_error_scope sParameterValue = Transaction
2008.11.10 at 17:30:27:859: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument added Hash Key = {38333539-3935-3230-3330-343333373930}
2008.11.10 at 17:30:27:859: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument batch Position = 0
2008.11.10 at 17:30:27:860: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2199)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1570)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:931)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1092)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:698)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:375)
at java.lang.Thread.run(Thread.java:570)
2008.11.10 at 17:30:27:860: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2199)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1570)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:931)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1092)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:698)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:375)
at java.lang.Thread.run(Thread.java:570)
2008.11.10 at 17:30:27:861: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2253)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1570)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:931)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1092)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:698)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:375)
at java.lang.Thread.run(Thread.java:570)
2008.11.10 at 17:30:27:861: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error: Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2253)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1570)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:931)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1092)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:698)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:375)
at java.lang.Thread.run(Thread.java:570)
Caused by: Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2199)
... 6 more
2008.11.10 at 17:30:27:861: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2BDomainException
2008.11.10 at 17:30:27:861: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Error Message: Error -: AIP-51505: General Validation Error
2008.11.10 at 17:30:27:862: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
2008.11.10 at 17:30:27:862: Thread-14: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2008.11.10 at 17:30:27:862: Thread-14: BusinessLogicLayer - (DEBUG) Push Stack: queryBusinessMessage
2008.11.10 at 17:30:27:863: Thread-14: BusinessLogicLayer - (DEBUG) Pop Stack: queryBusinessMessage
2008.11.10 at 17:30:27:863: Thread-14: B2B - (DEBUG) AccessRepo:findBusinessMessageByB2BMessageId Found Successfull message with B2bMessageId : 35303237393132363736323038313233 and ProtocolMessageId 35303237393132363736323038313233
2008.11.10 at 17:30:27:863: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message not found.
2008.11.10 at 17:30:27:863: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
2008.11.10 at 17:30:27:864: Thread-14: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2008.11.10 at 17:30:27:864: Thread-14: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
2008.11.10 at 17:30:27:866: Thread-14: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
2008.11.10 at 17:30:27:866: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
2008.11.10 at 17:30:27:866: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Native Event Tbl Row
2008.11.10 at 17:30:27:866: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
2008.11.10 at 17:30:27:866: Thread-14: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2008.11.10 at 17:30:27:866: Thread-14: BusinessLogicLayer - (DEBUG) Push Stack: queryBusinessMessage
2008.11.10 at 17:30:27:867: Thread-14: BusinessLogicLayer - (DEBUG) Pop Stack: queryBusinessMessage
2008.11.10 at 17:30:27:867: Thread-14: B2B - (DEBUG) AccessRepo:findBusinessMessageByB2BMessageId Found Successfull message with B2bMessageId : 35303237393132363736323038313233 and ProtocolMessageId 35303237393132363736323038313233
2008.11.10 at 17:30:27:867: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
** DbAccess:updateNativeEvtTblRow:tip_wireMsg wiremsg not found
2008.11.10 at 17:30:27:867: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException notifying App
2008.11.10 at 17:30:27:867: Thread-14: B2B - (DEBUG) Engine:notifyApp Enter
2008.11.10 at 17:30:27:868: Thread-14: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = 5B5E3017CBA4D092E043CD91053CD092
2008.11.10 at 17:30:27:869: Thread-14: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>35303237393132363736323038313233</correlationId>
<b2bMessageId>35303237393132363736323038313233</b2bMessageId>
<errorCode>AIP-51505</errorCode>
<errorText>5097: Invalid delimiter settings.</errorText>
<errorDescription>
<![CDATA[Machine Info: (ios5801e)
Invalid delimiters settings. ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
2008.11.10 at 17:30:27:869: Thread-14: B2B - (DEBUG) AQJMSCorrelationID = 5B5E3017CBA4D092E043CD91053CD092
2008.11.10 at 17:30:27:882: Thread-14: B2B - (DEBUG) Engine:notifyApp Exit
2008.11.10 at 17:30:27:882: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updated the Error Message Successfully: Error -: AIP-51505: General Validation Error
2008.11.10 at 17:30:27:882: Thread-14: B2B - (DEBUG) DBContext commit: Enter
2008.11.10 at 17:30:27:895: Thread-14: B2B - (DEBUG) DBContext commit: Transaction.commit()
2008.11.10 at 17:30:27:895: Thread-14: B2B - (DEBUG) DBContext commit: Leave
2008.11.10 at 17:30:27:895: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Exit
2008.11.10 at 17:30:47:300: B2BStarter thread: Deployment - (DEBUG) Query Configurations null Lifecycle status Active exclude design true
2008.11.10 at 17:30:47:300: B2BStarter thread: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2008.11.10 at 17:30:47:300: B2BStarter thread: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
2008.11.10 at 17:30:47:302: B2BStarter thread: BusinessLogicLayer - (DEBUG) Pop Stack: queryConfiguration
2008.11.10 at 17:30:47:302: B2BStarter thread: Deployment - (DEBUG) Query Configurations null Lifecycle status Quiescing exclude design true
2008.11.10 at 17:30:47:302: B2BStarter thread: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2008.11.10 at 17:30:47:302: B2BStarter thread: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
2008.11.10 at 17:30:47:302: B2BStarter thread: BusinessLogicLayer - (DEBUG) Pop Stack: queryConfiguration
2008.11.10 at 17:31:17:303: B2BStarter thread: Deployment - (DEBUG) Query Configurations null Lifecycle status Active exclude design true
2008.11.10 at 17:31:17:303: B2BStarter thread: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2008.11.10 at 17:31:17:303: B2BStarter thread: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
2008.11.10 at 17:31:17:305: B2BStarter thread: BusinessLogicLayer - (DEBUG) Pop Stack: queryConfiguration
2008.11.10 at 17:31:17:305: B2BStarter thread: Deployment - (DEBUG) Query Configurations null Lifecycle status Quiescing exclude design true
2008.11.10 at 17:31:17:305: B2BStarter thread: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2008.11.10 at 17:31:17:305: B2BStarter thread: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
2008.11.10 at 17:31:17:306: B2BStarter thread: BusinessLogicLayer - (DEBUG) Pop Stack: queryConfiguration
2008.11.10 at 17:31:47:307: B2BStarter thread: Deployment - (DEBUG) Query Configurations null Lifecycle status Active exclude design true
2008.11.10 at 17:31:47:307: B2BStarter thread: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2008.11.10 at 17:31:47:308: B2BStarter thread: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
2008.11.10 at 17:31:47:318: B2BStarter thread: BusinessLogicLayer - (DEBUG) Pop Stack: queryConfiguration
2008.11.10 at 17:31:47:318: B2BStarter thread: Deployment - (DEBUG) Query Configurations null Lifecycle status Quiescing exclude design true
2008.11.10 at 17:31:47:318: B2BStarter thread: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2008.11.10 at 17:31:47:318: B2BStarter thread: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
2008.11.10 at 17:31:47:318: B2BStarter thread: BusinessLogicLayer - (DEBUG) Pop Stack: queryConfiguration
Could you please review this once..
thanks
sachin. -
B2B/SOA 11.1.1.6.0
We are setting a new trading partner and when we started document transmissions we are getting errors on the inbound messages: B2B-50037: B2B inbound message processing error.
The attachment shows the relevant lines from the soa log and diagnostic log files. Here is the error detail that shows:
[URI: /b2b/httpreceiver] Error -: B2B-50037: B2B inbound message processing error[[
Error -: B2B-50037: B2B inbound message processing error
at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:3143)
at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1650)
at oracle.tip.b2b.transport.InterfaceListener.onMessageLocal(InterfaceListener.java:403)
at oracle.tip.b2b.transport.InterfaceListener.onMessage(InterfaceListener.java:214)
at oracle.tip.b2b.transport.basic.TransportServlet.doPost(TransportServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
From the b2b_wire_message we get these Protocol_Transport_BINDINGS:
ChannelName=TransportServlet
Reverse-Via=LIN-ISA1
AS2-To=accobra.....
Date=Fri, 26 Sep 2014 05:46:17 +0000
AS2-Version=1.2
AS2-From=K.......
Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1
Disposition-Notification-To=http://<ip&port>/as2in
Message-ID=<[email protected]>
MSG_RECEIVED_TIME=Fri Sep 26 00:46:17 CDT 2014
ECID-Context=1.0050z5j^buc6yGn6wnZf6G0002f60007bt;kXjE1ZDLIPGIj2QCYV8QoKSSmLRO_PQT_IS
Content-Type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m
Proxy-Client-IP=172.17.25.101
MIME-Version=1.0
User-Agent=e-integration AS2 Server V 6.1.8
X-Forwarded-For=172.17.25.101
Content-Length=3602
Host=nalinsoa05.abd.ad.acco.com
x-weblogic-cluster-hash=QoZzGUzdcjBD5fGIE8Uos5abiHI
EDIINT-Features=multiple-attachments, CEM
Connection=Keep-Alive
X-WebLogic-KeepAliveSecs=30
X-WebLogic-Request-ClusterInfo=true
The message creates a wire message, business message, and an application message.
What doesn't happen is no MDN gets sent back to the partner. It should be a synchronous MDN.
We have double checked the certificates on both ends and they are OK.
The document and Agreement get recognized OK:
Refer To Message
Refer To Message
Sender Type
AS2 Identifier
Sender Value
K. . .
Receiver Type
AS2 Identifier
Receiver Value
accobr. . .
Sender
K. . . l
Receiver
ACCO . . .
Agreement Id
K. . .l_EDI_X12_4010_856_856Def_Inbound
Agreement
K. . .l_EDI_X12_4010_856_856Def_Inbound
Document Type
856
Document Protocol
EDI_X12
Document Version
4010
Message Type
REQ
Direction
INBOUND
State
MSG_ERROR
Acknowledgement Mode
SYNC
Response Mode
ASYNC
Send Time Stamp
09/26/2014 12:46:17 AM
Receive Time Stamp
09/26/2014 12:46:17 AM
The error is vague enough to provide little or no help in locating the root cause of the issue.
Any assistance in providing information on how to get this working would be greatly appreciated.
We do have dozens of other AS2 partners working in this instance just foe reference. We are just having issues with this new partner setup.
Thank you.
Regards,
KenKen,
I am observing the Ack Mode is set as "SYNC" . This is selected by default. This option is available in the channel configuration section
If the usecase is not SYNC, please change as ASYNC and test. It should work. -
Dear All,
we use the ISA 4.0 SP10 B2B hosted on the SAP Web-AS 6.20 PatchLevel 103149.20. The web shop was
installed and configured by another company beforehand. Unfortunately I have undeployed all
web-apps via the Deploy Tool by accident. This is the list of the undeployed web-apps:
SAPWASCALLEJB
BTF
ClientInfo
HTML_Business_for_Java
lcrsaprfc
bcbici
Mobile_HTMLB_for_Java
Modeler
b2b
crm.shopadmin
lwc
webcatadmin
cviews
isauseradm
sharedcatalog
partnerregistration
calculator
Shop
Hello
The webshop was previously configured successfully by somebody else and the configuration
stored in:
I:\usr\sap\SAPC17DB\java\XCM\B2B
I:\usr\sap\SAPC17DB\java\XCM\isauseradm
I:\usr\sap\SAPC17DB\java\XCM\lwc
I:\usr\sap\SAPC17DB\java\XCM\partnerregistration
I:\usr\sap\SAPC17DB\java\XCM\sharedcatalog
I:\usr\sap\SAPC17DB\java\XCM\shopadmn
The following packages have been redeployed by myself successfully and without errors as described
in "CRM 4.0 SP60 - 6.20 Java Components of E-Selling and Channel Management on a SAP J2EE
Engine 6.20" using the Deploy Tool just a while ago:
b2b.ear
shopadmin.ear
isauseradm.ear
cviewsear
lwc.ear
webcatadmin.ear
partnerregistration.ear
sharedcatalog.ear
trex3.ear
After restarting the J2EE-Engine and calling http://<host_of_j2ee_engine>:50000/b2b/b2b/init.do
this messages is displayed on the browser:
Application cannot be startetContext parameter 'customer.config.path.xcm.config.isa.sapmarkets.com' is not maintained in web.xml.
The logs inside b2b\root\WEB-INF\logs contains the message:
Oct 26, 2006 12:38:07 PM,757 Client_Thread_26 Error bbcom.sapmarkets.isa.core.util.MiscUtil [undefined|system.xcm.init.exception] An exception occurred when initializing extended configuration management: ERROR: System variable 'sys.global.dir' missing!!!
Oct 26, 2006 12:38:07 PM,757 Client_Thread_26 Error bbcom.sapmarkets.isa.core.util.MiscUtil [undefined|system.xcm.init.exception] An exception occurred when initializing extended configuration management: ERROR: System variable 'sys.global.dir' missing!!!
Oct 26, 2006 12:38:08 PM,179 Client_Thread_26 Error bbcom.sapmarkets.isa.core.util.MiscUtil [undefined|system.xcm.init.exception] An exception occurred when initializing extended configuration management: ERROR: System variable 'sys.global.dir' missing!!!
Oct 26, 2006 12:38:08 PM,179 Client_Thread_26 Error bbcom.sapmarkets.isa.core.util.MiscUtil [undefined|system.xcm.init.exception] An exception occurred when initializing extended configuration management: ERROR: System variable 'sys.global.dir' missing!!!
Oct 26, 2006 12:38:14 PM,272 Client_Thread_26 Error bbcom.sapmarkets.isa.core.xcm.init.ConfigLoader [undefined|system.xcm.exception] An exception occurred in extended configuration management Error parsing resource for URL = ''file:/%sys.global.dir%/xcm/${com.sap.dc_name}/config-data.xml'
java.lang.IllegalArgumentException
Error parsing resource for URL = ''file:/%sys.global.dir%/xcm/${com.sap.dc_name}/config-data.xml'
java.lang.IllegalArgumentException
at com.sapmarkets.isa.core.xcm.xml.XIncludeProcessor.getDoc(XIncludeProcessor.java:209)
Inside b2b\root\WEB-INF\web.xml is the variable customer.config.path.xcm.config.isa.sapmarkets.com.
It's value was %sys.global.dir%/xcm/${com.sap.dc_name} which I changed to I:/usr/sap/SAPC17DB/java/XCM/B2B
as pointed out by note 655949. I also changed this analogously for isauseradm, lwc, partnerregistration, sharedcatalog, shopadmin and trex3.
When the J2EE-Engine is now restarted the parsing exception as well as three of the four sys.global.dir missings are gone, but still one there:
Oct 26, 2006 3:55:29 PM,122 System_Thread_74 Error bbcom.sapmarkets.isa.core.util.MiscUtil [undefined|system.xcm.init.exception] An exception occurred when initializing extended configuration management: ERROR: System variable 'sys.global.dir' missing!!!
which I cannot figure out where it is from.
When I try to hit When http://<host_of_j2ee_engine>:50000/b2b/b2b/init.do is called via the browser there is still the same error as before:
Application cannot be startetContext parameter 'customer.config.path.xcm.config.isa.sapmarkets.com' is not maintained in web.xml.
It is possible to call http://<host_of_j2ee_engine>:50000/b2b/admin/index.jsp but the XCM Administration link
links to http://<host_of_j2ee_engine>:50000/b2b/admin/xcm/init.do which also results in:
Application cannot be startetContext parameter 'customer.config.path.xcm.config.isa.sapmarkets.com' is not maintained in web.xml
Any idea of what I missed in order to recover the original web application?
Any help is highly appreciated and needed
Best Regards and Thanks in Advance,
Martin MuellenbergHi Vivek,
thanks for your reply. Unfortunatelly this is exactly the problem, that I cannot access the XCM configuration. Both:
http://<host_of_j2ee_engine>:50000/b2b/admin/xcm/init.do
and
http://<host_of_j2ee_engine>:50000/shopadmin/admin/xcm/init.do
prints:
Application cannot be startetContext parameter 'customer.config.path.xcm.config.isa.sapmarkets.com' is not maintained in web.xml
But it is maintained in web.xml and set correctly as described in my first post.
Any idea how I could get access to the XCM anyway?
Best Regards and Thanks,
Martin Muellenberg -
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 SolankiHi 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. -
Hi,
how can I modify the "Documents" and "Texts" flags from BAPI?
I need add a picture document to material automaticaly.
thanks in advance,
davidHi 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. -
Enter a vendor error message for catalog shopping carts
Hi Viewers,
I am facing problem while creating PO in backend R/3 system by using catalog shopping carts.
Procedure:
I have created catalog shopping cart with vendor.
when i click on order button shopping cart has been created successfully.
But when i see the history in BBP_PD transaction it went to error.
I can see the error message in RZ20 transaction under SAP B2B Procurement - Monitors -->Shopping Basket as follows:
"Shopping cart 3000841126 (PO 2000251272): 06 049 Enter a vendor"
Is there any config settings missed out or anything else need to do for the same.
while transferring data from shopping cart to banckend system vendor is initialising.
Please help me how to fix the issue.
Thanks in Advance,
Prashanth P.Hi Prashanth,
This is very strange, please check if any of the following BADI's
are active, if so please temporarily deactivate them and retest. These would be the most likely cause of this as there are no notes about this. Also very few other customers with similar issue.
BBP_CREATE_BE_RQ_NEW
BBP_CREATE_BE_PO_NEW
BBP_CREATE_REQ_BACK
BBP_CREATE_PO_BACK
BBP_DOC_CHANGE_BADI
Hope this helps,
Kind Regards,
Matthew -
Calling New Function Module from JAVA ISA b2b
I need to call a new function module which accepts some parameters as input and
returns some result parameters back as output.
These returned value needs to be displayed on the JSP pages of ISA B2B applications.
Can someone please guide me and provide code snippet on how to do this?
Thanks in advance.
Points will be awarded for all relevant and helpful answers.Stride,
I did this on CRM ISA 4.0... I used the dev and extension guide as a basis - I think the ISA 5.0 guide has the examples and tutorials in a separate document that can also be downloaded from service.sap.com.
Heres some info on how to do it although I can't guarantee this is the full solution or that it will work the same for ISA 5.0, and I will probably forget a lot of stuff as its been a few years since I did it! I also cant guarantee it is the correct way to do it but it worked! Basically, we built a link into the order overview page to display urls to order tracking websites using an RFC on the backend CRM system. Hope it helps anyway.
1. Create RFC enabled function module in backend.
2. Edit file backendobject-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification:-
[code] <backendobject
xmlns:isa="com.sapmarkets.isa.core.config"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xml="http://www.w3.org/XML/1998/namespace">
<configs>
<!-- customer changes in backendobject-config should be done here by extending/overwriting the base configuration-->
<xi:include
href="$
Template for backend object in customer projects
Concrete implementation of a backend object
This implemenation demonstrates how a backend object
is used to communicate with the CRM system
@see com.ao.isa.backend.boi.Z_AOFuncBackend#getOrderDeliveryTrackingData(java.lang.String)
Interface used to communicate with a backend object
The purpose of this interface is to hide backend implementation details
from the business objects
Returns a vector of Z_OrderDeliverTracking objects containing data to link
to external delivery tracking websites
@param orderNo The sales order document number
@return A vector of order tracking objects
@return
@return
@return
@return
@return
@param string
@param string
@param string
@param string
@param string
/modification/backendobject-config.xml#xpointer(backendobject/configs/*)"/>
<!-- This is an example customer extension. A new Backend Object is registered in the framework using XCM extension mechanism. -->
<!-- If you write customer extensions you should register your backend objects in the same way. -->
<!-- Please make sure that you use the correct base configuration (e.g. crmdefault for CRM or r3default, r3pidefault for R/3) -->
<config
isa:extends="../config[@id='crmdefault']">
<businessObject
type="Z_AO_Custom"
name="Z_AO_Custom"
className="com.ao.isa.backend.crm.Z_AOFuncCRM"
connectionFactoryName="JCO"
defaultConnectionName="ISAStateless"/>
</config>
</configs>
</backendobject>
[/code]
File com.ao.isa.backend.crm.Z_AOFuncCRM.java looks like this :-
[code] package com.ao.isa.backend.crm;
//jco imports
import java.util.Vector;
import com.ao.isa.backend.boi.Z_AOFuncBackend;
import com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem;
import com.sap.mw.jco.JCO;
import com.sap.mw.jco.JCO.ParameterList;
import com.sapmarkets.isa.core.eai.BackendException;
import com.sapmarkets.isa.core.eai.sp.jco.BackendBusinessObjectBaseSAP;
import com.sapmarkets.isa.core.logging.IsaLocation;
public class Z_AOFuncCRM
extends BackendBusinessObjectBaseSAP
implements Z_AOFuncBackend
// initialize logging
private static IsaLocation log =
IsaLocation.getInstance(Z_AOFuncCRM.class.getName());
/* (non-Javadoc)
public Vector getOrderDeliveryTrackingData(String orderNo)
Vector urlData = new Vector();
try
// get Java representation of function module
JCO.Function func =
getDefaultJCoConnection().getJCoFunction(
"Z_BAPI_CRM_ORDER_TRACKING_URLS");
// provide export parameters
ParameterList params = func.getImportParameterList();
params.setValue(orderNo, "ORDER_NO");
func.setExportParameterList(params);
// execute function
getDefaultJCoConnection().execute(func);
// get result table
JCO.Table table =
func.getTableParameterList().getTable("TRACKING_DATA");
int numRows = table.getNumRows();
for (int i = 0; i < numRows; i++)
// get row
table.setRow(i);
// create a new Z_orderdeliverytracking object
Z_OrderDeliveryTrackingItem trackItem =
new Z_OrderDeliveryTrackingItem(
table.getString(0),
table.getString(1),
table.getString(2),
table.getString(3),
table.getString(4));
urlData.addElement(trackItem);
trackItem = new Z_OrderDeliveryTrackingItem();
return urlData;
catch (BackendException bex)
// The following key has to be added to WEB-INF/classes/ISAResources.properties
// in order to see the exception correctly
log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
return null;
[/code]
And file com.ao.isa.backend.boi.Z_AOFuncBackend.java looks like this:-
[code] package com.ao.isa.backend.boi;
//package java.ao.com.ao.isa.backend.boi;
import java.util.Vector;
import com.sapmarkets.isa.core.eai.sp.jco.JCoConnectionEventListener;
public interface Z_AOFuncBackend
public Vector getOrderDeliveryTrackingData(String orderNo);
[/code]
Whilst file com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem.java looks like this:-
[code]
package com.ao.isa.businessobject.order;
// Referenced classes of package com.sapmarkets.isa.businessobject.order:
// PaymentType
public class Z_OrderDeliveryTrackingItem // extends SalesDocument implements OrderData
private String deliveryDocNo;
private String goodsIssuedDate;
private String consignmentNo;
private String status;
private String url;
public Z_OrderDeliveryTrackingItem()
public Z_OrderDeliveryTrackingItem(
String delDocNo,
String GIDate,
String consNo,
String status,
String url)
this.setDeliveryDocNo(delDocNo);
this.setGoodsIssuedDate(GIDate);
this.setConsignmentNo(consNo);
this.setStatus(status);
this.setUrl(url);
public String getConsignmentNo()
return consignmentNo;
public String getDeliveryDocNo()
return deliveryDocNo;
public String getGoodsIssuedDate()
return goodsIssuedDate;
public String getStatus()
return status;
public String getUrl()
return url;
public void setConsignmentNo(String string)
consignmentNo = string;
public void setDeliveryDocNo(String string)
deliveryDocNo = string;
public void setGoodsIssuedDate(String string)
goodsIssuedDate = string;
public void setStatus(String string)
status = string;
public void setUrl(String string)
url = string;
[/code]
3. Edit file bom-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification :-
[code] <BusinessObjectManagers
xmlns:isa="com.sapmarkets.isa.core.config"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xml="http://www.w3.org/XML/1998/namespace">
<!-- customer changes in bom-config should be done here by extending/overwriting the base configuration-->
<xi:include
href="$/modification/bom-config.xml#xpointer(BusinessObjectManagers/*)"/>
<!-- This is an example Business Object Manager. It can act as template for customer written Business Object Managers -->
<BusinessObjectManager
name="Z_AO-BOM"
className="com.ao.isa.businessobject.Z_AOBusinessObjectManager"
/>
</BusinessObjectManagers>
[/code]
File com.ao.isa.businessobject.Z_AOBusinessObjectManager.java looks like this:-
[code] package com.ao.isa.businessobject;
// Internet Sales imports
import com.sapmarkets.isa.core.businessobject.management.BOManager;
import com.sapmarkets.isa.core.businessobject.management.DefaultBusinessObjectManager;
import com.sapmarkets.isa.core.businessobject.BackendAware;
Template for a custom BusinessObjectManager in customer projects
public class Z_AOBusinessObjectManager
extends DefaultBusinessObjectManager
implements BOManager, BackendAware {
// key used for the backend object in customer version of backendobject-config.xml
public static final String CUSTOM_BOM = "Z_AO-BOM";
// reference to backend object
private Z_AOFunc mCustomBasket;
constructor
public Z_AOBusinessObjectManager() {
Method is called by the framework before the session is invalidated.
The implemenation of this method should free any allocated resources
public void release() {
Returns custom business object
public Z_AOFunc getCustomBasket() {
if (mCustomBasket == null) {
mCustomBasket = new Z_AOFunc();
assignBackendObjectManager(mCustomBasket);
return mCustomBasket;
[/code]
And uses file com.ao.isa.businessobject.Z_AOFunc.java which looks like this:-
[code]
package com.ao.isa.businessobject;
// Internet Sales imports
import com.sapmarkets.isa.core.businessobject.BOBase;
import com.sapmarkets.isa.core.businessobject.BackendAware;
import com.sapmarkets.isa.core.eai.BackendObjectManager;
import com.sapmarkets.isa.core.eai.BackendException;
import com.sapmarkets.isa.core.logging.IsaLocation;
// custom imports
import com.ao.isa.backend.boi.Z_AOFuncBackend;
import java.util.Vector;
Template for business object in customer projects
public class Z_AOFunc extends BOBase implements BackendAware
// initialize logging
private static IsaLocation log =
IsaLocation.getInstance(Z_AOFunc.class.getName());
private BackendObjectManager bem;
private Z_AOFuncBackend backendAOBasket;
Returns a reference to the backend object. The backend object
is instantiated by the framework.
@return a reference to the backend object
private Z_AOFuncBackend getCustomBasketBackend()
if (backendAOBasket == null)
//create new backend object
try
backendAOBasket =
(Z_AOFuncBackend) bem.createBackendBusinessObject(
"Z_AO_Custom");
// the backend object is registered in customer version
// of backendobject-config.xml using the 'Z_AO_Custom' type
catch (BackendException bex)
// The following key has to be added to WEB-INF/classes/ISAResources.properties
// in order to see the exception correctly
log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
return backendAOBasket;
This method is needed when a business object has a corresponding
backend object.
public void setBackendObjectManager(BackendObjectManager bem)
this.bem = bem;
Returns a vector of url links for tracking
@return vector of urls
public Vector getOrderDeliveryTrackingData(String orderNo)
// the call is delegated to the CRM aware backend object
return getCustomBasketBackend().getOrderDeliveryTrackingData(orderNo);
[/code]
4. Edit file config.xml in folder project_root\b2b_z\WEB-INF to add custom actions (the section below is just the custom stuff added at the end of the file the Z_orderTracking is the relevant one) :-
[code] <!-- Begin of custom AO action definitions -->
<action path="/b2b/Z_orderTracking" type="com.ao.isa.order.actions.Z_OrderTrackingAction">
<forward name="success" path="/b2b/order/Z_orderTracking.jsp"/>
</action>
<action path="/catalog/Z_displaySVGPage" type="com.ao.isa.catalog.actions.Z_SVGPageAction">
<forward name="success" path="/catalog/Z_SVG_fs.jsp"/>
</action> [/code]
Which points at Java file com.ao.isa.order.actions.Z_OrderTrackingAction.java which looks like this :-
[code] package com.ao.isa.order.actions;
// internet sales imports
import com.sapmarkets.isa.core.BaseAction;
import com.sapmarkets.isa.core.UserSessionData;
// struts imports
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;
// servlet imports
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
// Internet Sales imports
import com.ao.isa.businessobject.Z_AOBusinessObjectManager;
import java.util.Vector;
This action acts as a template for customer extensions
public class Z_OrderTrackingAction extends BaseAction
This method is called by the ISA Framework when the
action is executed
public ActionForward doPerform(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException
// get user session data object
UserSessionData userSessionData =
UserSessionData.getUserSessionData(request.getSession());
// gettting custom BOM
Z_AOBusinessObjectManager myBOM =
(Z_AOBusinessObjectManager) userSessionData.getBOM(
Z_AOBusinessObjectManager.CUSTOM_BOM);
// get the order number being processed
String orderDocNumber = request.getParameter("orderNo");
// pass the order number back to the page
request.setAttribute("orderNo", orderDocNumber);
if (orderDocNumber != null)
// Get a vector of delivery tracking objects from lower layers (Business Object layer =>
// Business Logic Service Layer)
Vector trackingTable =
myBOM.getCustomBasket().getOrderDeliveryTrackingData(
orderDocNumber);
String error = "";
if (trackingTable != null)
if (trackingTable.size() == 0)
error = "true";
else
error = "false";
else
error = "true";
request.setAttribute("errorMessage", error);
request.setAttribute("trackingTable", trackingTable);
return mapping.findForward("success");
[/code]
5. I added the call to the function module for page orderstatusdetail.jsp in folder project_root\b2b_z\b2b\order to display a custom page Z_orderTracking.jsp in the same folder. To do this I added a link into the HTML to call a JavaScript function that passed the current order number to the /b2b/Z_orderTracking.do actionhandler mapped in the config.xml file.
So, in summary! Create an RFC; define business managers for it in the XML files; create a new Strut action and supporting Java class; create all the Java class for the managers.
I hope this makes some sense!
Gareth. -
Logon Error Message ( HTTP to RFC )
Hi all,
While I am practicing HTTP to RFC Scenario..
When I SEND data from test client ..It is asking for SAP Web Application Server (SID)
User ID and Password..
When I am giving my XI ID and Password ( and also i tried BASIS ID ,J2ee_admin, Even i assinged ROLE SAP_XI_APPL_SERV_USER ) it is giving Error like this
-->Logon Error Message
-->Error Code: ICF-LE-http-c:001-l:E-T:1-C:3-U:35-P:35-L:3
-->HTTP 401 - Unauthorized Your SAP Internet Communication Framework Team
-->Call of URL http://serverhost:8000/sap/xi/adapter_plain terminated due to error in logon data
-->Logon performed in system OPD. </li><li> Logon performed for client 001, user xiappluser, and language EN.
-->HTTP 407 Proxy Authentication Required - The ISA Server requires authorization to fulfill the request. -->Access to the Web Proxy service is denied. (12209)<BR>Internet Security and Acceleration Server
-->The gateway could not retrieve the requested page
These errors I am getting..
please guide me to complete this scenario.
Thanks in advance,
Ramesh.
( I am unable to search SDN ,due to some upgradation is going on )Hi Sreeramoju,
1. HTTP-401 :
If the Integration Server is accessed by means of an HTTP proxy server,the credentials must match those that you made in transaction SICF in the Integration Engine. If you do not specify a user and password combination, or the combination is invalid, the system will terminate each attempt to access the Integration Engine with the message Transport Exception: http-Error 401 Unauthorized.
The user must have the authorizations of group SAP_XI_APPL_SERV_USER on the Integration Server.
If you want to use a different client or language to the default setting in the Integration Engine when logging on, you can also set the following parameters:
○ XI.Client=<client-no>
○ XI.Language=<language-id>
2.HTTP 407: Proxy Authentication Required" in SAP XI J2EE AE: check the SAP note: 992690
Make sure that you have specified the proper host and port values, in the text box that appears when you check the configure proxy check box(in receiver adapter).
Looks like the webservice requires a proxy authentication.
Select the check box "configure proxy user authentication"(in receiver adapter) and provide the correct username and password.
*Pls: Reward points if helpful*
Regards,
Jyoti -
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 SolankiGuys please help !!!
atleast gimme some idea or suggestions.. !!!
Regards
Sandeep
Maybe you are looking for
-
Adobe Bridge CS3 not opening Photoshop Image Processor
I selected one, four, and multiple pictures in Bridge to reduce the file size of jpgs. I went to Tools > Photoshop > Image Processor. Nothing happened. Photoshop did not open. That got me to thinking that sometimes while I am in Photoshop Bridge won'
-
In iPhoto getting lots of pinwheels when I try to delete photos. Any solutions?
I'm getting lots of pinwheels when I try to delete photos. Any known solutions?
-
I've installed the JDev J2ME extension as specified here http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/j2me/content.html and the Sun toolkit. The help walkthroughs are very good, but I've run into a couple of problems. The first
-
Hi All, I created a ZTABLE ... and created a Table maintainance generator and also lock objects. In portal they imported RFC structure for the table and it worked fine. now i added a new field ( Non-Primary) in the table. in ECC its working fine. Bu
-
Delta Mechanism for LO Cockpit
Hi All, Currently I am having an issue with an implementation on Sales Order. As understood from Generic DataSource that is available in transaction code SBIW. We are able to create a datasource with the ability to trace the changes that is occuring