Defining trading partners for Order outbound scenario
We do have the scenario like:
We do receive the file from File (in house file, we can think it as some Positional file) and the receiver is going to receive the EDIFACT ORDERS file.
So far, we defined the trading partner setup is as follows:
Created two trading partners 1) host and 2) remote one
I guess we need to create two document definitions one for the receiving into TP (assuming custom way) and one is to send TP (EDIFACT). Pls confirm this part
We need to create two document definitions or only one? (We are using B2B as a reference to the ORDERS part outbound)
Presently we stuck here that unable to move forward.
Regards,
Naresh
Edited by: Naresh sharma on Jul 20, 2012 4:29 AM
Thanks Anuj for the guidance.
We are in dilemma of using the channel protocol for sending the documents to the remote trading partner.As we are in evaluation stage,we need your suggestion on selecting a channel protocol.Do you think AS2 can fulfill our requirement as we want that it can be implemented easily and sender side(such as AS2 server) can be set up easily. ( The flow is like : Generic File (Host) TP -> AS2 ? (Remote TP)).
Thanking you in advance
Similar Messages
-
Define Field Selection - PM Order
Hi,
We have Order types PM01 and PM02, processing for Planning Plants 1000,2000, 3000 and 4000.
Here for Planning Plant 1000,we have set up Equipment field, as mandatory for both Order type PM01 and PM02. This was set up through, Field Selection for Order Header Data, through Influencing Order type PM01 and PM02 and made Equipment as a mandatory field.
As this influencing field as made as per Order type PM01 and PM02, for Equipment as mandatory this is applicable for all Plants 1000,2000, 3000 and 4000.
Now we no need this Equipment as mandatory field in Order type PM01 and PM02 for Plant 4000. For only this requirement, can we make the influencing field for both Order type PM01 and PM02, for only Planning Plant 4000, not Equipment as a mandatory field.
This must not disturb the existing Equipment mandatory field for Order types PM01 and PM02 for other Plants 1000, 2000 and 3000.
Kindly provide your suggestions.
Raja.Kutti Raja,
If you want to do this for all the order Types for Planning Plant 4000, you may achieve this by following Steps:
1. Go to Field Selection for Order Header Data and Reference Object (Plant Maintenance and Customer Service --> Maintenance and Service Processing --> Maintenance and Service Orders --> Define Field Selection for Order Header Data (PM))
2. Click on Influencing button and Double click on "Planning Plant".
3. Enter "4000" in Contents Fields and Select Radio Button "Input" instead of "Required" next to Equipment field.
For Rest of the Planning Plants Equipment will remain to be mandatory but for 4000 and all order Types, it will be an input field but not as Mandatory.
Hope this helps.
Chin2. -
Hi Anuj & All,
I'm trying to create an outbound scenario with EDIFACT-D96A-ORDERS. A simple SOA composite application polling data from DB and through B2B adapter 'send' option provides data to B2B system.
Set up two partner profiles like this,
Host:
Name: HTP
EDI Group ID: HTP
EDI Interchange ID: Interchange Sen
EDI Interchange ID Qualifier: 01
Remote:
Name: RTP
EDI Group ID: RTP
EDI Interchange ID: Interchange Rec
EDI Interchange ID Qualifier: 01
Other settings are as usual. Delivery channel of generic file created on RTH.
Now, few documents settings on B2B console are like this,
D96A-> Interchange tab
Create UNA: Never
ORDERS-> Transaction
Functional Group Identifier Code: ORDERS
Controlling Agency: UN
- other properties are unchanged.
On SOA side, the bpel invoke activity which calls B2B adapter has following properties:
<invoke name="InvokeOrders"
inputVariable="InvokeOrders_send_InputVariable"
partnerLink="D96A.ORDERS" portType="ns2:send_ptt"
operation="send" bpelx:invokeAsDetail="no">
<bpelx:inputProperty name="b2b.toTradingPartnerIdType"
expression="'NAME'"/>
<bpelx:inputProperty name="b2b.toTradingPartnerId"
expression="'RTP'"/>
<bpelx:inputProperty name="b2b.messageType" expression="1"/>
<bpelx:inputProperty name="b2b.messageId" variable="messageID"/>
<bpelx:inputProperty name="b2b.fromTradingPartnerIdType"
expression="'NAME'"/>
<bpelx:inputProperty name="b2b.fromTradingPartnerId"
expression="'HTP'"/>
<bpelx:inputProperty name="b2b.documentTypeName"
expression="'ORDERS'"/>
<bpelx:inputProperty name="b2b.documentProtocolVersion"
expression="'D96A'"/>
<bpelx:inputProperty name="b2b.documentProtocolName"
expression="'EDIFACT'"/>
<bpelx:inputProperty name="b2b.documentDefinitionName"
expression="'ORDERS_def'"/>
<bpelx:inputProperty name="b2b.conversationId"
variable="ConversationID"/>
</invoke>
The error I'm getting on B2B Console->Reports->Business Message, while running this is,
Error Code B2B-50547
Error Description Machine Info: (htp01310-vm01.htp.com) Description: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
Error Level ERROR_LEVEL_COLLABORATION
Error Severity ERROR
Error Text Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
Note: On Manage Deployment Tab I've checked the agreement is in active state.
-- Business Message (Result):--
State: MSG_ERROR
Document Type: ORDERS
Agreement: <blank>
Sender: HTP
Receiver: <blank>
-- Application Message (Result):--
Sender Id Type: NAME
Sender Value: TCS
Receiver Id Type: NAME
Receiver Value: ORCL
Document Type: ORDERS
Document Definition: ORDERS_def
Document Protocol Name: EDIFACT
Document Protocol Version: D96A
Direction: OUTBOUND
State: MSG_COMPLETE
- Can anybody please shoot some pointer on how to resolve this? Please let me know if you need further configuration details which I've not mentioned here.
Regards,
- @bhijitHi Mariusz,
Thanks for your reply. Yes I think so, probably you're right. But finest trace level doesn't give much clues on "wrong mapped" data. Anyway, here is the detail log. Please don't forget to point out if you find something interesting.
#### <Error> <oracle.soa.b2b.engine> <htp01310-vm01.htp.com> <soa_server1> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
> <<anonymous>> <BEA1-0D3F5ABAC0B2E50C6CCB> <449b4b64fa2729cc:59737e36:146f08831ee:-8000-0000000000127da6> <1404379704092> <BEA-000000> <Error -: B2B-50547: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Error -: B2B-50547: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
>
#### <Error> <oracle.soa.b2b.engine> <htp01310-vm01.htp.com> <soa_server1> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
> <<anonymous>> <BEA1-0D3F5ABAC0B2E50C6CCB> <449b4b64fa2729cc:59737e36:146f08831ee:-8000-0000000000127da6> <1404379704569> <BEA-000000> <Error -: B2B-50547: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Error -: B2B-50547: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
>
Rgds,
- Abhijit
P.S. - Can you please check what is the value of "Functional Group Identifier Code" for D96A ORDERS. -
B2B-50547 Agreement not found for trading partners
I am attempting to try out using a File listening channel. I have set up the channel with the file name format %TO_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%_%MSG_TYPE%_%MSG_ID% as shown in the Technical Note: 11g_002 File/ FTP capabilities. The folder is named as the from TP.
I place the message into the From TP directory defined in the listening channel. The file is processed but I get B2B-50547 Agreement not found for trading partners: FromTP ABC, ToTP XYZ with document type PAYMUL-D96A-INBOUND. If I don't have the file name format set for the listening channel the message is just treated as a wire message.
The file name processed is XYZ_PAYMUL_D96A_1_MB12.xml
The Document set up is
EDI_EDIFACT
D96A -- Document Protocol Version
PAYMUL-- Document Type
PAYMUL - Document Definition
Both ABC and XYZ have PAYMUL set up as a document. There is an agreement against partner XYZ using the PAYMUL definition which has been validated and deployed.
The xml file matches the xsd created from the ecs.
Diagnostics is on and shows:
fromTP : ABC
toTP : XYZ
DocumentProtocol : EDI_EDIFACT
DocumentProtocolVersion : D96A
DocumentType : PAYMUL
Agreement : XYZ001
MessageSize : 91688.0
MessageState : ERROR
FromEndpoint : null
FromEndpointProtocol : null
FromEndpointStatus : CONNECTED
ToEndpoint : file://localhost/D:\XYZEDI
ToEndpointProtocol : File
ToEndpointStatus : CONNECTED
Application : null
Application : null
Composite : null
CompositeVersion : null
Service/Reference : null
the exception is shown in diagnostics as:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>AC18139E137F05EE715000006438C1AF</correlationId>
<b2bMessageId>MB12</b2bMessageId>
<errorCode>B2B-50014</errorCode>
<errorText>
<![CDATA[General Error
]]>
</errorText>
<errorDescription>
<![CDATA[Machine Info: (mbaguley-uk)
Description: General Error
]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
<errorDetails>
<parameter name="b2b.messageId" value="MB12"/>
<parameter name="b2b.documentTypeName" value="PAYMUL"/>
<parameter name="b2b.documentProtocolVersion" value="D96A"/>
<parameter name="b2b.documentDefinitionName" value="PAYMUL"/>
<parameter name="b2b.documentProtocolName" value="EDI_EDIFACT"/>
<parameter name="b2b.messageType" value="1"/>
<parameter name="b2b.fromTradingPartnerId" value="ABC"/>
<parameter name="b2b.fromTradingPartnerIdType" value="Name"/>
<parameter name="b2b.toTradingPartnerId" value="XYZ"/>
<parameter name="b2b.toTradingPartnerIdType" value="Name"/>
</errorDetails>
</Exception>
I must be missing a simple point or set up here so would appreciate any guidance.
ThanksBoth ABC and XYZ have PAYMUL set up as a document. There is an agreement against partner XYZ using the PAYMUL definition which has been validated and deployed.I think you have created an outbound agreement (ABC sending message to XYZ). If that is the case then go to Channel Attributes of your File listening channel and select the Internal checkbox. save the configuration of channel and run a test again.
Regards,
Anuj -
Authorized Partners for Release Orders with customer hierarchy
Hello everyone,
I have created a value contract with order type WK1, in the order type WK1 configuration, choose rule B for check partner auth. field, namely we want to use
customer hierarchy to detemine the sold-to-party for the follow-up release order. Also I have created the customer hierarchy with hierarchy type A. There are
four levels under this hierarchy, it contains four customer nodes and four customers. Every customer is belong to a customer node. The partner determination
for the customer hierarchy have alredy done, I can see the customer hierarchy "1D" at the partner tab of header in the contract, but when I release the sales
order against the contract, input a low-level customer number, still got the message "partner X is not authorized to release from contracts.".
I want to know if I missed some settings in order type configuration or the copy control from WK1 to OR. If this scenario need integrate with CRM system? I
have found some related information, just list below:
Partners in the hierarchy (Rule B)
If the partner who wants to release against the contract is the sold-to party of the contract or at a lower level in customer hierarchy to the sold-to party in the contract, the system accepts the partner as the sold-to party for the release order.
If rule B is defined for the contract type, you can search for authorized partners for a release order using the contract number. Equally, you can search for the relevant contract for a release order using the partner number. In this case, the partner authorization rule is irrelevant.
Prerequisites
If you wish to use group hierarchies other than pricing hierarchies to determine authorized partners, you must have created a hierarchy category and a hierarchy:
To create the hierarchy category, go to Customizing for CRM under Master Data --> Business Partner--> Business Partner Group Hierarchy.
To create the group hierarchy, go to the SAP Easy Access Menu and choose Master Data --> Business Partners --> Maintain Group Hierarchy.
Note that you can only create group hierarchies in the SAP GUI and not in the People-Centric user interface.
You must have activated the necessary settings for the sales contract and the release order in the IMG for CRM. For more information, see Transactions ---> Settings for Contracts -->Define Settings for Authorized Partners.
Thanks!Hi,
In transcation VTAA at item level have your own cory requirment code which will calcullate net value of the doc, hope this works out
regards
sriky -
After upgrade to 11.1.1.2 Agreement not found for trading partners
We just upgraded from 11.1.1.1 to 11.1.1.2 and an existing composite that sends a file from Oracle EBS to an outside trading partner is not working.
We tried importing the Agreement from the 11.1.1.2 and when it did not work, we purged the repository and started from scratch.
The error we are getting is:
Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND
This is a file that we are sending from Oracle EBS to an outside trading partner via FTP.
One thing we are noticing is that when we create the agreement, it does not show up under our host TP, it only shows up under the target TP.
We have set up the TP, Channel, and agreements exactly like they are set in the 11.1.1.1 environment.
Here is the log file in debug mode.
[2010-06-17T07:40:10.471-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.engine.Engine:handleOutboundException notifying App
[2010-06-17T07:40:10.471-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: Enter
[2010-06-17T07:40:10.479-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: payload = <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">[[
<correlationId>7F00000112945B5769F00000AEC3D2E0</correlationId>
<b2bMessageId>10011</b2bMessageId>
<errorCode>B2B-50547</errorCode>
<errorText>
<![CDATA[Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND.
]]>
</errorText>
<errorDescription>
<![CDATA[Machine Info: (afsmlnx04.rheem.com)
Description: Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND.
]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
[2010-06-17T07:40:10.486-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: Enqueue the exception message:[[
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>7F00000112945B5769F00000AEC3D2E0</correlationId>
<b2bMessageId>10011</b2bMessageId>
<errorCode>B2B-50547</errorCode>
<errorText>
<![CDATA[Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND.
]]>
</errorText>
<errorDescription>
<![CDATA[Machine Info: (afsmlnx04.rheem.com)
Description: Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND.
]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
[2010-06-17T07:40:10.492-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: deliverException: Send message to endpoint IP_IN_QUEUE
[2010-06-17T07:40:10.492-04:00] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: log] URL ===== aq://IP_IN_QUEUE@jdbc/SOADataSource
[2010-06-17T07:40:10.514-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.transport.AppTransportInterface:send TO Endpoint: 509 aq://IP_IN_QUEUE@jdbc/SOADataSource
[2010-06-17T07:40:10.522-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.transport] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.transport.basic.TransportLogger] [APP: soa-infra] [SRC_METHOD: log] TransportProperties.TransportProperties():internal=true;aq.sender.queue_name=IP_IN_QUEUE;aq.sender.datasource=jdbc/SOADataSource;aq.sender.queue_payload_col=PAYLOAD;aq.sender.recipients=b2berroruser;
[2010-06-17T07:40:11.356-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.transport.AppTransportInterface:send Message Successfully Transmitted
[2010-06-17T07:40:11.377-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.msgproc.MessageHandler:findInvocationContext trying doc ref
[2010-06-17T07:40:11.396-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: Exit
[2010-06-17T07:40:11.396-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.engine.Engine:handleOutboundException Updated the Error Message Successfully: Error -: B2B-50547: Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND.
[2010-06-17T07:40:11.397-04:00] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: log] class oracle.tip.b2b.metric.B2BMessageProperties[[
fromTP : Rheem
toTP : JPMorgan
DocumentProtocol : null
DocumentProtocolVersion : null
DocumentType : JPPositivePay
Agreement : null
MessageSize : 0.0
MessageState : ERROR
FromEndpoint : null
FromEndpointProtocol : null
FromEndpointStatus : null
ToEndpoint : null
ToEndpointProtocol : null
ToEndpointStatus : null
Application : null
Application : null
Composite : null
CompositeVersion : null
Service/Reference : null
]]In another thread Nitesh states:
b2b.documentProtocolVersion is missing in your properties and b2b.toTradingPartnerId is not set properly.
Below are the property, you should set in composite:
b2b.documentTypeName = <doctype>
b2b.documentProtocolVersion = <docRevision>
b2b.fromTradingPartnerId = <HostTPName>
b2b.toTradingPartnerId = <RemoteTPName>
b2b.messageType = <msgType>
If you want to identify TP based on Identifier then use below for TP:
b2b.toTradingPartnerId = <AS2 Identifier Value>
b2b.toTradingPartnerIdType = <AS2 Identifier>
We are setting the b2b.documentProtocolVersion variable in BPEL:
[2010-06-17T07:40:05.294-04:00] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: orabpel.invoke.pool-3.thread-11] [userId: <anonymous>] [ecid: 0000I_5hM0hFw000jzwkno1C6FTd0000GQ,0:1:100000028] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [composite_name: RHMAPPositivePayService] [component_name: enquedat] [component_instance_id: 10011] [SRC_METHOD: log] [composite_instance_id: 10011] class oracle.integration.platform.blocks.b2b.B2BReference : oracle.integration.platform.blocks.b2b.B2BReference@8fdf1b3 : Key : b2b.documentProtocolVersion
[2010-06-17T07:40:05.294-04:00] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: orabpel.invoke.pool-3.thread-11] [userId: <anonymous>] [ecid: 0000I_5hM0hFw000jzwkno1C6FTd0000GQ,0:1:100000028] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [composite_name: RHMAPPositivePayService] [component_name: enquedat] [component_instance_id: 10011] [SRC_METHOD: log] [composite_instance_id: 10011] class oracle.integration.platform.blocks.b2b.B2BReference : oracle.integration.platform.blocks.b2b.B2BReference@8fdf1b3 : Value : 1
Edited by: robn77 on Jun 17, 2010 5:27 AM -
Agreement not found for trading partners:FromTP HostParty, ToTP RemoteParty
Hi,
I have setup host partner and trading partner by importing CPA. I am trying to generate outbound message on Listening Channel(JMS_OUT_Queue). I am using custom Java Implementation relying on weblogic client jar to produce messages on this JMS_OUT_Queue.
My Messages are properly produced by java application and consumed by Oracle B2B. but they all fail as agreement could not be found.
Agreement not found for trading partners: FromTP HostParty, ToTP RemoteParty with document type ACTION:action1 Service:service1 ServiceTypestring-OUTBOUND.
I am setting below JMS Header properties.
1.FromRole
2.ToRole
3.FROM_PARTY_ID_TYPE
4.TO_PARTY_ID_TYPE
5.SERVICE
6.ACTION
7.FROM_PARTY
8.TO_PARTY
9.SERVICETYPE
I have tried lot of permutations and combinations with JMS Header properties, no matter what I do, Agreement is not picked up and message fails.Thanks Anuj. I made it work by passing document version and id as JMS headers.
Earlier I was setting action header as "ACTION=action1", I will try by modifying it as "ACTION_NAME=ACTION:action1".
*<UPDATE>: I tried it, still not working.*
Error: Machine Info: (apl08316uaapp01) Description: Agreement not found for trading partners: FromTP HostParty, ToTP RemoteParty with document type ACTION:rsProcessLineAvailabilityRequest Service:bcRequestLineAvailabilityv14 ServiceTypestring-OUTBOUND.
JMS Header:
JMSXDeliveryCount=1, MSG_ID=ID:<457648.1369731952449.0>, FROM_PARTY_ID_TYPE=urn:oasis:names:tc:ebXML-cppa:partyid-type:duns, Sequencing=false, ACTION_NAME=ACTION:rsProcessLineAvailabilityRequest;SERVICE:bcRequestLineAvailabilityv14;SERVICETYPE:string, FROM_PARTY=DUNS_ID_OF_HP, TO_PARTY_ID_TYPE=urn:oasis:names:tc:ebXML-cppa:partyid-type:duns, TO_PARTY=DUNS_ID_OF_TP
regards,
Ashay T.
Edited to Remove Organization Specific Info -
AIF Value mapping for outbound scenario
Hello All,
Is there any possibility of using same value mapping which is defined for Inbound scenario can be reused for outbound scenario as well ?
Since, AIF value mapping can be defined based on Sending system but there is no option of creating value mapping pair between sending system and receiving system (similar to SAP PI value mapping) , is it only defined to use for Inbound scenarios ?
Thanks & Regards,
Dijesh TannaMichael
-->>>>you cannot have the same target value for two source values ?
What does this mean? Can't we have If name = A1, then value in the target should be Sales consultant
and if name = A2 then value in the target should be sales consultant?
My question was :
If name = A1, then value in the target should be sales consultant
If surname = A1, then value in the target should be purchase consultant
In the same graphical message mapping, can this be achieved using value mapping?
Thanks -
Order Reason ABC not defined for Order Type Retrun order
Hi
I am getting following " Message no. V1 899 " when i am doing return order without refernce .
Order reason is defined in customization but still we are getting the following message " Message no. V1 899 " /Order Reason E18 not defined for Order Type ZEF9.
Can any one help me
regards,
kiranHi Kiran
As you have created sales order with document type ZEF9 but you have not taken any reference document then go to VOV8 and select ZEF9 and maintain the order reason feild and then do the process
Regards
Srinath -
ES bundle scenario for Order to cash
Hi Experts,
I have to perform a scenario of ES bundles for Order to cash in PI.
Please provide me the pre-requisites to perform this scenario.
Also an approach to perform this scenario (Links to weblogs or articles if any are highly appreciated)
Regards,
SaravananYou have to first go through the Enterprise Services for this process. Search for your ES Workplace and open the specific service. Then you understand which SWCV would be required to use this service. These SWCV has to be imported in PI And ECC. And thats it for the standard configuration. For modifications to standard process, you might have to implement some BADI.
https://wiki.sdn.sap.com/wiki/display/ESpackages/OrdertoCashEnterpriseServices
Regards,
Prateek Raj Srivastava -
Define access sequence for purchase order
Hi,
Please can I get some advice on how to create an access sequence in MM (in IMG = define access sequence for purchase order)
I have created a condition type for handling costs and want to assign a default value for each individual goods supplier.
So for plant 1000 and goods supplier 40, assign a rate of 3% to the condition. For plant 1000 and goods supplier 50, assign a rate of 7% etc etc
How do I go about doing this please
Thank youhi,
Steps,
Customizing activities:
1) Create the condition table for vendor and plant field.
table no should be above 500 as its a customizing.
2) create access sequence and assign the condition table to this access sequence.And activate the fields in table.
3) create Z condition type and put this access sequence into the condition type.
End user activities:
4) maitain the condition record based on vendor and plant in MEK1 transaction
regards,
sujit -
DLFL for Prod Orders - ATO Scenario
Hi Experts,
Basically im an Finance guy. I am facing difficulty in setting up DLFL status for order types of ATO scenario. We have the typical scenario of creation of sales order, triggiring planned order and converted to production order, and the goods are delivered to customer and the invoice is booked. All the costs relevant are settled to the production order and not to the sales order. At month end we run wip, variance and then settle the orders and close down the orders.
When i try to set DLFL through CO02, the deletion flag active indicator is greyed out, i tried other alternative of CO78, the orders are not picking at all. Im not sure how to handle this scenario.
When i spoke to PP consultant, they say for these order types when there is a link between sales order and production order, the DLFL cant be set in CO02 or CO78, meaning not in production order. It seems the flag as to be set in sales order where the production order is linked. But i dont see any provision in sales order of setting the DLFL flag. They also said, its because of the costs settled to production order.
Im not sure, is this the way SAP is desinged or is there any other alternative.
Has anybody come across this scenario, please help me out. How to handle in these scenarios?
Thanks in advance.
abhiHi,
Yes, as said by your PP Consultant, this is how the SAP is designed for ATO Scenario.
For further clarification refer below OSS Notes.
325742
447072
171680
317203
Hope this helps..
Regards,
Siva -
Plant as Vendor Defination and Assignment, for Stock Transport Order.
Hallow All,
Can anybody explain the procedure of Plant as Vendor defination and their assignment for the Stock transfer with Stock Transport Order.
Thanks in advance !!!!!!hi
Following are the steps:
1.Create a vendor for the company code of receiving plant, using account group :0007 using T-Code XK01.
2 Assign this vendor to Delivering plant
Go to XK02 >Purchasing view>Extras>Add. Purchasing data>Plant
3. Create internal customer with the sales area of the vendor. Go To XD01
4.In Pricing procedure determination relevant to STO, assign document Pricing Procedure and customer pricing procedure appropriate for STO to get the pricing in the invoice.
5.Maintain condition records for the relevant pricing condition.
6. Some more setting for STO: Go to MM> Purchasing > Purchase Order > Set up STO> define shipping data for plants > Go to Receiving plant >assign customer here & Supplying SA (for billing) to Receiving plant here
7. Go to MM> Purchasing > Purchase Order > Set up STO> define shipping data for plants > Go to Supplying plant and assign the sales area of receiving plant.
8. Go to MM> Purchasing > Purchase Order > Set up STO> assign delivery Type & Checking rule
Assign the delivery type to document type. In this case, Delivery type NLCC is assigned to Document type NB
9. Go to MM> Purchasing > Purchase Order > Set up STO>Assign document Type, One step Procedure, Under delivery tolerance
Assign the document type NB to supplying plant and receiving plant
10. After all settings , Create the STO using T-Code:ME21n and Save.
11. Create Delivery :VL10G
Click on the Background Button after selecting line item
A message is flashed : See log for information> next Click on Log for delivery creation Button >click on line item>click on document button to get Delivery document No
12. Picking, PGI:[VL02n
13. Billing:VF01n
Save the document and its done
try this
reward points if heilpful -
FM for create outbound delivery with order reference
Hi,
Can u pls tell me the function module name for create outbound delivery with order reference.
regards,
Mahi.Hi,
You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC
Check this sample code..
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-kwmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
READ TABLE t_created INDEX 1.
Write: / t_created-document_numb.
Thanks
Naren -
Where can I define Account assignment category for order settlement rules
Dear Gurus,
When I used Tcode: CO07 to create a rework order for parent order. But I cann't find the Account assignment category = Ord (Order) in the maintain Settlement rule overview.
Where can I define Account assignment category for order settlement rules?
Please help me. Thanks!
Regards
Paul.I've resolved this question.
Firstly, run OPJH - Define Order Types, we should assign settlement profile for the order type.
Secondly, Run OKO7-Maintain Settlement Profile, find and mailtain the settlement profile. In 'Valid Receivers' we should set the field 'Order' = 1-(Settlement Optional).
Thirdly, run CO07 - Create Order without material. We can find account assignment catetory 'ORD' in maintaining Settlement rule.
Edited by: Paul Chan on Feb 16, 2009 5:15 AM
Maybe you are looking for
-
Setting up a Multi-developer web authoring environment in a Mac house
Hello, I have a team of 4 developers on Macs. I am having difficulty setting up our environment so we can all work from the same code base. We have yet to enact version control, and use file check in and check out to make sure we don't overwrite eac
-
How can I delete my icloud account in my iPad mini that I already sold out?
i Sold my iPad mini few days ago, but I realised that my icloud account is still active on that device, so is there any chance that I can maybe delete that account onlin? Thank you!
-
Oracle Security Patch Error while applying --The filename, directory name,
Hello, I am running into strange error while applying Oracle Security Patch 68 by using Opatch. Supposedly, All the environment variables are set properly. ACTIVE_STATE_PERL=true DBMS_TYPE=ORA dbs_ora_tnsname=YBQ JAVA_HOME=C:\jdk1.3.1_10 OPATCH_DEBUG
-
Error while generating .plx from .pll using Forms 4.5 Generator
I get frm-30312 error while trying to generate .plx from .pll using Forms 4.5 Generator. I have both Oracle 8i and Oracle 7 on my computer. I work under Windows 2000 with Service Pack 1. Could anyone help my with this bug? Forms 6i Compiler generates
-
AMIS recipe for Dynamic Regions or Tabbed/Stacked Item Groups
HI all. I'm using jdev 10.2 and JheadStart 9.0.4. (10g) for JDeveloper 9.0.3. I'm trying out this recipe and having a problem hiding the content of the inactive tabs. This causes my jsp to display all the regions at the same time. What could be causi