|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Sending idoc to SAP failed with RecordNotFoundException |
« View previous topic :: View next topic » |
Author |
Message
|
dmasar |
Posted: Tue Apr 14, 2009 11:07 pm Post subject: Sending idoc to SAP failed with RecordNotFoundException |
|
|
Newbie
Joined: 14 Apr 2009 Posts: 3
|
Hi,
i need send idoc to SAP system. I have configured SAP outbound adapter connection. Every time i try execute function in SAP, i got exception: 'throw a RecordNotFoundException'.
Bellow is XML i send to SAP adapter and exception received from adapter.
SAP control record I inspect from succesful comunication betwen two SAP systems sending audit idocs betwen them. I fix sender related fields to my case.
Anyway change on control record does not change type of exception. Exception does not adress missing field or type of misconfiguration.
Transaction WE20 shows configured logical system KIS with ALEAUD in input parameters.
Note that inbound communication works fine.
I am using tRFC.
Message broker is 6.1.3, running on unix box.
SAP adapter is 6.1
Toolkit is 6.1.3 running on XP box with sapjco 2.1.8.
Please can someone help with this?
Daniel Masar
Code: |
<NS1:SapAleaud01 xmlns:NS1="...">
<SapAleaud01IDocBO>
<SapIDocControlRecord>
<RCVPOR>SAPJET</RCVPOR>
<SNDPRT>LS</SNDPRT>
<IDOCTYP>ALEAUD01</IDOCTYP>
<SNDPRN>KIS</SNDPRN>
<TABNAM>EDI_DC40</TABNAM>
<MESTYP>ALEAUD</MESTYP>
<RCVPRN>JETCLNT001</RCVPRN>
<DIRECT>2</DIRECT>
<SNDPOR>IBMWEB</SNDPOR>
<RCVPRT>LS</RCVPRT>
</SapIDocControlRecord>
<SapAleaud01DataRecord>
<sap_aleaud01_e2adhdr001>
<MESTYP>CREMAS</MESTYP>
<MESTYP_LNG>CREMAS</MESTYP_LNG>
<sap_aleaud01_e2state002>
<DOCNUM>0000000000200155</DOCNUM>
<STATUS>53</STATUS>
<STACOD>SAPF2045</STACOD>
<STATXT>Test</STATXT>
<STATYP>S</STATYP>
<STAMQU>SAP</STAMQU>
<STAMID>F2</STAMID>
<STAMNO>045</STAMNO>
<sap_aleaud01_e2prtob>
<DOCNUM>0000000000199167</DOCNUM>
</sap_aleaud01_e2prtob>
</sap_aleaud01_e2state002>
</sap_aleaud01_e2adhdr001>
</SapAleaud01DataRecord>
</SapAleaud01IDocBO>
</NS1:SapAleaud01> |
Code: |
( ['MQROOT' : 0x11460bd70]
(0x01000000):RecoverableException = (
(0x03000000):File = '/build/S610_P/src/DataFlowEngine/ImbDataFlowNode.cpp' (CHARACTER)
(0x03000000):Line = 739 (INTEGER)
(0x03000000):Function = 'ImbDataFlowNode::createExceptionList' (CHARACTER)
(0x03000000):Type = 'ComIbmSAPRequestNode' (CHARACTER)
(0x03000000):Name = 'javyseai/flows/sap/AUD_ARSOZ2SAPFlow#FCMComposite_1_1' (CHARACTER)
(0x03000000):Label = 'javyseai.flows.sap.AUD_ARSOZ2SAPFlow.execute SapAleaud01' (CHARACTER)
(0x03000000):Catalog = 'BIPv610' (CHARACTER)
(0x03000000):Severity = 3 (INTEGER)
(0x03000000):Number = 2230 (INTEGER)
(0x03000000):Text = 'Node throwing exception' (CHARACTER)
(0x01000000):RecoverableException = (
(0x03000000):File = 'MbErrorHandler.java' (CHARACTER)
(0x03000000):Line = 122 (INTEGER)
(0x03000000):Function = 'requestData' (CHARACTER)
(0x03000000):Type = '' (CHARACTER)
(0x03000000):Name = '' (CHARACTER)
(0x03000000):Label = '' (CHARACTER)
(0x03000000):Catalog = 'BIPv610' (CHARACTER)
(0x03000000):Severity = 0 (INTEGER)
(0x03000000):Number = 3442 (INTEGER)
(0x03000000):Text = 'Caught Throwable' (CHARACTER)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = 'execute SapAleaud01' (CHARACTER)
)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = 'SAPOutbound.outadapter' (CHARACTER)
)
(0x01000000):RecoverableException = (
(0x03000000):File = 'MbErrorHandler.java' (CHARACTER)
(0x03000000):Line = 92 (INTEGER)
(0x03000000):Function = 'execute' (CHARACTER)
(0x03000000):Type = '' (CHARACTER)
(0x03000000):Name = '' (CHARACTER)
(0x03000000):Label = '' (CHARACTER)
(0x03000000):Catalog = 'BIPv610' (CHARACTER)
(0x03000000):Severity = 0 (INTEGER)
(0x03000000):Number = 3450 (INTEGER)
(0x03000000):Text = 'throw a RecordNotFoundException' (CHARACTER)
(0x01000000):Insert = (
(0x03000000):Type = 5 (INTEGER)
(0x03000000):Text = 'com.ibm.j2ca.sap.exception.SapAleOutboundException: getAccessor called for non existent accessor: Cursor = SapIDocControlRecord, accessor = NameOfTableStructure' (CHARACTER)
)
)
)
)
) |
|
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 15, 2009 2:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Seems like you have a problem in your IDOC definition :
Quote: |
(0x03000000):Text = 'com.ibm.j2ca.sap.exception.SapAleOutboundException: getAccessor called for non existent accessor: Cursor = SapIDocControlRecord, accessor = NameOfTableStructure' (CHARACTER)
|
_________________ MQ & Broker admin |
|
Back to top |
|
 |
dmasar |
Posted: Wed Apr 15, 2009 10:57 pm Post subject: |
|
|
Newbie
Joined: 14 Apr 2009 Posts: 3
|
please can be more accurately? ALEAUD is standard SAP object/idoc.
Any suggestion what can i try on SAP or my side?? |
|
Back to top |
|
 |
dmasar |
Posted: Wed Apr 22, 2009 3:22 am Post subject: |
|
|
Newbie
Joined: 14 Apr 2009 Posts: 3
|
problem solved.
When importing idoc i have to don't select "Use SAP field names to generate attribute names".
also i have to specify "Client" field in control record.
Now audit message seems:
Code: |
<NS1:SapAleaud01 xmlns:NS1="http://www.ibm.com/xmlns/prod/websphere/j2ca/sap/sapaleaud01">
<SapAleaud01IDocBO>
<SapIDocControlRecord>
<ReceiverPort>IBMWEB</ReceiverPort>
<PartnerTypeOfSender>LS</PartnerTypeOfSender>
<NameOfBasicType>ALEAUD01</NameOfBasicType>
<PartnerNumberOfSender>KIS</PartnerNumberOfSender>
<NameOfTableStructure>EDI_DC40</NameOfTableStructure>
<OutputMode>1</OutputMode>
<Client>EAI</Client>
<LogicalMessageType>ALEAUD</LogicalMessageType>
<PartnerNumberOfRecipient>JETCLNT001</PartnerNumberOfRecipient>
<DirectionForIdocTransmission>2</DirectionForIdocTransmission>
<SenderPort>IBMWEB</SenderPort>
<PartnerTypeOfRecipient>LS</PartnerTypeOfRecipient>
</SapIDocControlRecord>
<SapAleaud01DataRecord>
<sap_aleaud01_e2adhdr001>
<sap_aleaud01_e2state002>
<čÃsloidoc>0000000000200155</čÃsloidoc>
<statusidoc>53</statusidoc>
<stav_kód>SAPF2045</stav_kód>
<textkukódustatusu>Test</textkukódustatusu>
<typhláseniasystém_chýb_a_w_e_s_i_>S</typhláseniasystém_chýb_a_w_e_s_i_>
<kvalifikátorprehláseniestatusu>SAP</kvalifikátorprehláseniestatusu>
<idprehláseniestatusu>F2</idprehláseniestatusu>
<čÃslohláseniastatusu>045</čÃslohláseniastatusu>
<sap_aleaud01_e2prtob>
<čÃsloidoc>0000000000199167</čÃsloidoc>
</sap_aleaud01_e2prtob>
</sap_aleaud01_e2state002>
</sap_aleaud01_e2adhdr001>
</SapAleaud01DataRecord>
</SapAleaud01IDocBO>
</NS1:SapAleaud01> |
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|