Retirval problem for the old-new values from cdhdr,cdpos

hi all.
i want to get the old and new values from cdhdr and cdpos table but not getting the output as the if condition of read statement" if i_cdhdr-objectid = itemp-kunnr." is not getting executed.what could be the mistake and how can i resolve.plz suggest
loop at it_knb1.
itemp-kunnr = it_knb1-kunnr.
itemp-kunnr1 = it_knb1-kunnr.
append itemp.
endloop.
if not itemp[] is initial.
select * from cdhdr
into table i_cdhdr
for all entries in itemp
where OBJECTCLAS = 'DEBI'
and   OBJECTID   = itemp-kunnr
and  tcode      = 'VD02'.
select * from cdhdr
appending table i_cdhdr
for all entries in itemp
where OBJECTCLAS = 'DEBI'
and   OBJECTID   = itemp-kunnr
and   tcode      = 'XD02'.
endif.
if not i_cdhdr[]  is initial.
select * from cdpos into table i_cdpos
for all entries in i_cdhdr
where OBJECTCLAS = i_cdhdr-OBJECTCLAS
and   OBJECTID   = i_cdhdr-OBJECTID
and   TABNAME    = 'KNVV'
and   (  FNAME = 'ZTERM' ).
endif.
loop at it_knb1 where kunnr = it_kna1-kunnr.
read table itemp with key kunnr1  = it_knb1-kunnr.
if sy-subrc = 0.
loop at i_cdhdr.
if i_cdhdr-objectid = itemp-kunnr.
it_final-username = i_cdhdr-username.
clear i_cdpos.
read table i_cdpos with key OBJECTCLAS = i_cdhdr-OBJECTCLAS
                             OBJECTID   = i_cdhdr-OBJECTID
                             FNAME = 'ZTERM'.
if sy-subrc = 0.
    it_final-zterm_old  = i_cdpos-value_old.
    it_final-zterm_new  = i_cdpos-value_new.
  endif.
endif.
endloop.
endif.
endloop.

Hi Tanisha,
BEtter to loop everything cdhdr and CDPOS
U can do one thing.
Use CHANGEDOCUMENT_READ_HEDAER to get the data from CDHDR.
SUE FM CHANGEDOCUMENT_READ_POSTIONS.
to get the data from the each change number.
then u can retrieve the data as u want.
This will avoid confusion.
U can get the correct data.
Thanks

Similar Messages

  • Trading partner agreement not found for the given input values

    Hi,
    I am working on EDI X12 over generic exchange outbound.
    In enqueue script:
    replyToMsgID =
    from =TEE
    to =RF
    actionName =BASFEDI841
    doctypeName =841
    doctypeRevision =4010
    msgType =1
    payload =RF_841_4010_1_12.xml
    attachment=
    I am getting the Trading partner agreement not found.
    B2B log:
    ***** REQUEST MESSAGE *****
    Exchange Protocol: Generic Version 1.0
    Transport Protocol: FTP
    Unique Message ID: TEE_2009Mar01_15_37_29_170.dat
    Trading Partner: RF
    Message Signed: No
    Payload encrypted: No
    Information incomplete
    2009.03.01 at 15:37:29:477: Thread-20: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage Exit
    2009.03.01 at 15:37:29:477: Thread-20: B2B - (DEBUG) DBContext commit: Enter
    2009.03.01 at 15:37:29:477: Thread-20: B2B - (DEBUG) DBContext commit: Leave
    2009.03.01 at 15:37:29:478: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Exit
    2009.03.01 at 15:37:32:910: Thread-21: B2B - (DEBUG)
    Protocol = FTP
    Version = 1.0
    Transport Header
    filename:TEE_2009Mar01_15_37_29_170.dat
    filesize:7787
    file_ext:dat
    fullpath://users/dab2b01/RF841/TEE_2009Mar01_15_37_29_170.dat
    timestamp:1970-01-01T00:00:00.000-00:00
    2009.03.01 at 15:37:32:973: Thread-21: B2B - (DEBUG) DBContext beginTransaction: Enter
    2009.03.01 at 15:37:32:974: Thread-21: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2009.03.01 at 15:37:32:974: Thread-21: B2B - (DEBUG) DBContext beginTransaction: Leave
    2009.03.01 at 15:37:32:974: Thread-21: B2B - (DEBUG) InterfaceListener:onMessage - Invoke inbound callout - null - null
    2009.03.01 at 15:37:32:975: Thread-21: B2B - (DEBUG) InterfaceListenersyncAckEBMSchecking header names
    2009.03.01 at 15:37:32:975: Thread-21: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Enter
    2009.03.01 at 15:37:32:998: Thread-21: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Exit
    2009.03.01 at 15:37:32:999: Thread-21: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:onMessage sendEventtrue
    2009.03.01 at 15:37:33:005: Thread-21: B2B - (DEBUG) DBContext commit: Enter
    2009.03.01 at 15:37:33:011: Thread-21: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2009.03.01 at 15:37:33:011: Thread-21: B2B - (DEBUG) DBContext commit: Leave
    2009.03.01 at 15:37:33:012: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Enter
    2009.03.01 at 15:37:33:013: Thread-20: B2B - (DEBUG) DBContext beginTransaction: Enter
    2009.03.01 at 15:37:33:013: Thread-20: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2009.03.01 at 15:37:33:013: Thread-20: B2B - (DEBUG) DBContext beginTransaction: Leave
    2009.03.01 at 15:37:33:014: Thread-20: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Enter
    2009.03.01 at 15:37:33:014: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processEvents begin transaction
    2009.03.01 at 15:37:33:015: Thread-20: B2B - (DEBUG) DBContext beginTransaction: Enter
    2009.03.01 at 15:37:33:015: Thread-20: B2B - (DEBUG) DBContext beginTransaction: Leave
    2009.03.01 at 15:37:33:015: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Enter
    2009.03.01 at 15:37:33:015: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Enter
    2009.03.01 at 15:37:33:015: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Enter
    2009.03.01 at 15:37:33:019: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Exit
    2009.03.01 at 15:37:33:020: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Enter
    2009.03.01 at 15:37:33:027: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Exit
    2009.03.01 at 15:37:33:028: Thread-20: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Enter
    2009.03.01 at 15:37:33:042: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Identify Business Protocol
    2009.03.01 at 15:37:33:042: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Do Unpack using the BP specific package class
    2009.03.01 at 15:37:33:043: Thread-20: B2B - (DEBUG) MimePackaging:unpack:Enter
    2009.03.01 at 15:37:33:043: Thread-20: B2B - (DEBUG) MimePackaging:doUnpack:Enter
    2009.03.01 at 15:37:33:044: Thread-20: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Enter
    2009.03.01 at 15:37:33:044: Thread-20: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:encoding = UTF-8
    2009.03.01 at 15:37:33:045: Thread-20: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:oracle.tip.adapter.b2b.packaging.Component@8a2023
    2009.03.01 at 15:37:33:045: Thread-20: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Exit
    2009.03.01 at 15:37:33:046: Thread-20: B2B - (DEBUG) MimePackaging:unpack:Exit
    2009.03.01 at 15:37:33:046: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Decode the Incoming Message into B2B Message
    2009.03.01 at 15:37:33:046: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Enter
    2009.03.01 at 15:37:33:046: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Number of Components = 1
    2009.03.01 at 15:37:33:047: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {FTP}
    2009.03.01 at 15:37:33:047: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = TEE_2009Mar01_15_37_29_170.dat
    2009.03.01 at 15:37:33:048: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = FROM_PARTY - TEE
    2009.03.01 at 15:37:33:048: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage File TP Host name = TEE
    2009.03.01 at 15:37:33:048: Thread-20: B2B - (DEBUG) calling setInitiatingPartyId() changing from null to TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:048: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage fromParty = TEE
    2009.03.01 at 15:37:33:048: Thread-20: B2B - (DEBUG) calling setFromPartyId() changing from null to TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:049: Thread-20: B2B - (DEBUG) calling setToPartyId() changing from null to TPName: null Type: null Value: null
    2009.03.01 at 15:37:33:049: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage security info NULL
    2009.03.01 at 15:37:33:056: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Exit
    2009.03.01 at 15:37:33:056: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage Enter
    2009.03.01 at 15:37:33:056: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage toTP null
    2009.03.01 at 15:37:33:057: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage hubUrl null
    2009.03.01 at 15:37:33:057: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage Exit
    2009.03.01 at 15:37:33:057: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage ProtocolCollabId = null
    2009.03.01 at 15:37:33:057: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage CollaborationName null
    2009.03.01 at 15:37:33:057: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate Enter
    2009.03.01 at 15:37:33:058: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate check non-RosettaNet Message
    2009.03.01 at 15:37:33:060: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate Exit
    2009.03.01 at 15:37:33:060: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Protocol Collaboration Id : null
    2009.03.01 at 15:37:33:060: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:identifyIncomingDocument Enter
    2009.03.01 at 15:37:33:063: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:preProcessor enter
    2009.03.01 at 15:37:33:064: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:preProcessor edi = X12
    2009.03.01 at 15:37:33:064: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:preProcessor segment delimiter is 27
    2009.03.01 at 15:37:33:073: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:identifyIncomingDocument preprocess result =
    ISA~00~Authorizat~00~Security I~01~Interchange Sen~01~Interchange Rec~090301~1935~U~00401~000001101~0~I~+'GS~SP~Application Sen~Application Rec~20090301~1537~1101~T~004010'ST~841~5709'SPI~00~01~Reference Identification~Entity Title~Entity Purpose~A~00~01~00~10~Source Subquali~773~1~AA~0001'RDT~A~Revision Value~001~~~01'RDT~A~Revision Value~001~~~01'RDT~A~Revision Value~001~~~01'RDT~A~Revision Value~001~~~01'NTE~AAA~Description'X1~C~Export Licen~C~~1~1~COU~SCHEDULE B~D~252876~59154.0269~A~01~8~U~Identification Code'X2~Import License Number~~20090301~~20090301~20090301'X7~Free-Form Message~Free-Form Message'AMT~1~1~C'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'DTM~001~~~01~CC~Date Time Period'PER~1A~Name~AA~Communication Number~AA~Communication Number~AA~Communication Number~Contact Inquiry Refe'N1~01~Name~1~Identification Code~01~01'N2~Name~Name'N3~Address Information~Address Information'N4~City Name~ST~POSTAL CODE~COU~A~Location Identifier'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'PER~1A~Name~AA~Communication Number~AA~Communication Number~AA~Communication Number~Contact Inquiry Refe'HL~1~~1~0'SPI~00~01~Reference Identification~Entity Title~Entity Purpose~A~00~01~00~10~Source Subquali~4~1~AA~0001'RDT~A~Revision Value~001~~~01'PRR~Assigned Identificat~10~Source Subquali~BRK~Description~10~Source Subquali~A~10~Source Subquali~1'PRT~EXC~10~Source Subquali~N'PRS~1~Description'LIN~Assigned Identificat~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID'PER~1A~Name~AA~Communication Number~AA~Communication Number~AA~Communication Number~Contact Inquiry Refe'MSG~Free-Form Message Text~AA~3'N1~01~Name~1~Identification Code~01~01'N2~Name~Name'N3~Address Information~Address Information'N4~City Name~ST~POSTAL CODE~COU~A~Location Identifier'PER~1A~Name~AA~Communication Number~AA~Communication Number~AA~Communication Number~Contact Inquiry Refe'N9~01~Reference Identification~Free-form Description~~~01~01+Reference Identification+01+Reference Identification+01+Reference Identification'PID~F~01~10~Product Desc~Description~1S~Source Subquali~N~LAN'PKD~AMM01~Source Subquali~10~Packagi~L'QTY~01~1~01+3+60.42665+01+5+3+01+1+51887.5+01+6+7.79+01+2+3953.97808'MEA~9L~1~6~01+5+56318.8+01+1+30.72+01+1+1+01+7+8887.19467+01+6+661.97698~6~7~01~~1S~BM'MEA~9L~1~5~01+3+696.4+01+4+4+01+3+1221.27922+01+1+994232.001+01+3+872.859~3~9~01~~1S~BM'MEA~9L~1~3~01+8+8+01+1+7.75+01+2+6.395+01+1+2.1+01+6+7.59~6~4~01~~1S~BM'MEA~9L~1~6~01+6+7393.71+01+3+54258.8579+01+8+28012.940+01+5+8+01+7+8.8~9~9~01~~1S~BM'MEA~9L~1~8~01+5+8661152.98+01+7+6356848.72+01+7+1010847.39+01+5+4939.33859+01+3+7.84050~8~4~01~~1S~BM'UIT~01+7+8.3+01+2+8.702047+01+8+323.16049+01+8+40699.4+01+5+30.909~1~AA'LOC~01~Reference Identification~Description~Reference Identification~Catego~01~Reference Identification~Description~Reference Identification~6~01+7+257.30155+01+1+963640.085+01+1+9.42+01+4+1+01+3+67.61~8~01+6+3.6+01+2+20.5+01+4+6.99+01+7+5+01+5+213.507492~5~01+2+3077486.5+01+7+78023.621+01+3+6.74+01+7+138554.0+01+3+4111.4~2~01+9+2.6+01+8+91290.0173+01+9+1.9+01+2+6.168+01+1+26.9~2~01+2+1+01+6+67348.246+01+4+8.50+01+7+37.63+01+5+130691508.0~1~01+5+8.39+01+1+2.0+01+6+7.3+01+5+173.68084+01+5+550.4928~01~Reference Identification~Description'PWK~01~1~26~01~1~Identification Code~Description~1+1+1+1+1~AR'PKG~F~01~10~Packagi~Description~01'MEA~9L~1~6~01+9+99.2217+01+5+6.5043+01+8+30.76+01+9+3+01+1+7~3~2~01~~1S~BM'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'DTM~001~~~01~CC~Date Time Period'PER~1A~Name~AA~Communication Number~AA~Communication Number~AA~Communication Number~Contact Inquiry Refe'LX~6'LIN~Assigned Identificat~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID~A1~Product/Service ID'TMD~01~10~Product Desc~01~01~Description~~Reference Identification~Source Subquali'MEA~9L~1~4~01+7+71.1+01+2+277.0+01+2+9.19003+01+1+901.516+01+3+7803582.87~8~7~01~~1S~BM'PSD~01~01~9661549~01+2+140318.0112+01+3+30.74740+01+9+67.17+01+7+5.1130+01+3+56743.0~01~01~01~Description'SPS~193487350~66823328~472426~5.6~01+3+519.45554+01+6+145146.03+01+2+63994262.5+01+3+1.3166+01+8+4.7~440443'DTM~001~~~01~CC~Date Time Period'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'EFI~00~Free-Form Message Text~9A~Version Identifier~Program Identifier~Version Identifier~Interchange Format~Version Identifier~Compression Technique~A0~File Name~Bloc~7~84410~Version Identifier~ASB'BIN~3~hii'CID~1~01~10~Product Desc~Description~Source Subquali~N'UIT~01+6+940.5+01+3+4.7+01+9+3.1+01+6+58.1+01+2+115728.9010~3~AA'TMD~01~10~Product Desc~01~01~Description~~Reference Identification~Source Subquali'PSD~01~01~595~01+1+5.139+01+3+1+01+5+4+01+5+19.1+01+5+3441.57231~01~01~01~Description'CSS~GC~01+1+33832819.6+01+1+1.5332+01+5+1.1+01+1+12173.83+01+5+813.282453~874~27~1~2~38'SPS~9~1154210~75~9.5~01+2+473.9+01+5+28.394421+01+6+755.69932+01+3+8407.2+01+3+1~54261910'MSG~Free-Form Message Text~AA~66511'MEA~9L~1~3~01+6+4.979+01+8+60.167241+01+8+48.03003+01+1+1.6086+01+5+2417168.92~3~1~01~~1S~BM'DTM~001~~~01~CC~Date Time Period'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'STA~01~9~01+6+66133.5+01+1+1+01+6+45813032.4+01+3+3329.6+01+7+63878.29~1~9L~3~5~01'DTM~001~~~01~CC~Date Time Period'REF~01~Reference Identification~Description~01+Reference Identification+01+Reference Identification+01+Reference Identification'CRF~01+6+7050.3+01+3+892.07605+01+6+847.7520+01+7+4+01+4+1.7~59.926'LS~CID'CID~1~01~10~Product Desc~Description~Source Subquali~N'MEA~9L~1~1~01+2+316324.35+01+8+852.8+01+7+4.2+01+8+6.3+01+7+9.3~2~4~01~~1S~BM'STA~01~6~01+2+751.60984+01+2+5+01+7+60.63+01+3+5366069.5+01+7+1.891~1~9L~1~8~01'LE~CID'EFI~00~Free-Form Message Text~9A~Version Identifier~Program Identifier~Version Identifier~Interchange Format~Version Identifier~Compression Technique~A0~File Name~Bloc~2~64~Version Identifier~ASB'BIN~3~hii'SE~91~5709'GE~1~1101'IEA~1~000001101'

    .... b2b.log:
    2009.03.01 at 15:37:33:077: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Enter
    2009.03.01 at 15:37:33:078: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl validateEnvelope = false
    2009.03.01 at 15:37:33:078: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Leave
    2009.03.01 at 15:37:33:078: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Enter
    2009.03.01 at 15:37:33:079: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Return = oracle.tip.adapter.b2b.document.edi.ISelectorImpl@43da1b
    2009.03.01 at 15:37:33:085: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = SeverityConfig
    2009.03.01 at 15:37:33:085: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = null
    2009.03.01 at 15:37:33:107: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode ISA Key = InterchangeSenderID Val = Interchange Sen
    2009.03.01 at 15:37:33:108: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode ISA Key = InterchangeSenderQual Val = 01
    2009.03.01 at 15:37:33:108: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode standard = X12
    2009.03.01 at 15:37:33:108: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode ISA Key = InterchangeReceiverID Val = Interchange Rec
    2009.03.01 at 15:37:33:109: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode ISA Key = InterchangeControlVersion Val = 00401
    2009.03.01 at 15:37:33:109: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode ISA Key = InterchangeReceiverQual Val = 01
    2009.03.01 at 15:37:33:109: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode Group Key = GroupSenderID Val = Application Sen
    2009.03.01 at 15:37:33:110: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode X12 Doc Revision : 004010
    2009.03.01 at 15:37:33:110: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode X12 Doc Revision : 4010
    2009.03.01 at 15:37:33:110: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode Group Key = GroupReceiverID Val = Application Rec
    2009.03.01 at 15:37:33:110: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode Transaction Count = 1
    2009.03.01 at 15:37:33:111: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processNode DocType = 841
    2009.03.01 at 15:37:33:111: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter InterchangeReceiverQual = 01
    2009.03.01 at 15:37:33:112: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter InterchangeSenderID = Interchange Sen
    2009.03.01 at 15:37:33:112: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter InterchangeReceiverID = Interchange Rec
    2009.03.01 at 15:37:33:112: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter GroupReceiverID = Application Rec
    2009.03.01 at 15:37:33:112: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter InterchangeControlVersion = 00401
    2009.03.01 at 15:37:33:113: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter GroupSenderID = Application Sen
    2009.03.01 at 15:37:33:113: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter InterchangeSenderQual = 01
    2009.03.01 at 15:37:33:113: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:identifyIncomingDocument exit
    2009.03.01 at 15:37:33:113: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Correlation:incomingCorrelate Enter
    2009.03.01 at 15:37:33:113: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Correlation:incomingCorrelate msginfo reftomsgid is null, nothing to correlate
    2009.03.01 at 15:37:33:114: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Correlation:incomingCorrelate Exit
    2009.03.01 at 15:37:33:114: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage number of b2b messages 1
    2009.03.01 at 15:37:33:114: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage msgtype = 1
    2009.03.01 at 15:37:33:115: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processIncomingTPA() Begin TPA Processing..
    2009.03.01 at 15:37:33:115: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() PARTIES (before calling processParty) :
    initial : null
    from : TPName: TEE Type: null Value: null
    to : TPName: null Type: null Value: null
    final : null
    initiating : TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:115: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() direction is incoming
    2009.03.01 at 15:37:33:115: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() calling processparty with : TPName: null Type: null Value: null
    2009.03.01 at 15:37:33:116: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.RepoDataAccessor:processParty() Begin..
    2009.03.01 at 15:37:33:119: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() after calling processparty : TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:119: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() PARTIES (after calling processParty):
    initial : null
    from : TPName: TEE Type: null Value: null
    to : TPName: TEE Type: null Value: null
    final : null
    initiating : TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:120: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() docTypeName: 841 docTypeRevision: 4010
    2009.03.01 at 15:37:33:127: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() actionName: BARFEDI841 actionRevision: 1.0
    2009.03.01 at 15:37:33:127: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.RepoDataAccessor:getCollaborationDetails() Begin.. Activity Name : BARFEDI841 Activity Version: 1.0
    2009.03.01 at 15:37:33:131: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() eventName:<BARFEDI841>
    2009.03.01 at 15:37:33:131: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() messageType:1
    2009.03.01 at 15:37:33:136: Thread-20: B2B - (DEBUG) calling setMode() changing from -1 to 2
    2009.03.01 at 15:37:33:137: Thread-20: B2B - (DEBUG) calling setInitiatingPartyId() changing from TPName: TEE Type: null Value: null to TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:137: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() cpaID=null
    2009.03.01 at 15:37:33:137: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() TPA Name : null
    2009.03.01 at 15:37:33:137: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() TPA Name : null
    2009.03.01 at 15:37:33:138: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAIdentifier:identifyTPA() Begin..
    2009.03.01 at 15:37:33:138: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAIdentifier:identifyTPA()
    From Party -> null-null-TEE-null To Party -> null-null-TEE-null Business Action name -> BARFEDI841
    2009.03.01 at 15:37:33:138: Thread-20: B2B - (DEBUG) RepoDataAccessor:getAgreementNameByBaTPName() Begin..
    2009.03.01 at 15:37:33:138: Thread-20: B2B - (DEBUG) RepoDataAccessor:getAgreementNameByBaTPName() fromParty: TPName: TEE Type: null Value: null toParty: TPName: TEE Type: null Value: null initiatingParty: TPName: TEE Type: null Value: null
    2009.03.01 at 15:37:33:139: Thread-20: B2B - (DEBUG) RepoDataAccessor:getAgreementNameByBaTPName() SELECT ag.name FROM TIP_BusinessAction_ra ba1, TIP_Party_ra tp1, TIP_BusinessAction_ra ba2, TIP_Party_ra tp2, TIP_SupportedBusinessAction_ra sba1, TIP_SupportedBusinessAction_ra sba2, TIP_Participant_ra tpp1, TIP_Participant_ra tpp2, TIP_Agreement_ra ag WHERE tp1.name = ? AND ba1.name = ? AND ba1.revision = ? AND sba1.isinitiator = ? AND tpp1.agreement = ag.ID AND tpp1.supportedbusinessaction = sba1.ID AND sba1.tradingpartner = tp1.ID AND sba1.businessaction = ba1.ID AND tp2.name = ? AND ba2.name = ? AND ba2.revision = ? AND sba2.isinitiator = ? AND tpp2.agreement = ag.ID AND tpp2.supportedbusinessaction = sba2.ID AND sba2.tradingpartner = tp2.ID AND sba2.businessaction = ba2.ID AND tpp1.agreement = tpp2.agreement AND ((ag.effectivefromdate <= SYSDATE) OR (ag.effectivefromdate IS NULL)) AND ((ag.effectivetodate +1 >= SYSDATE) OR (ag.effectivetodate IS NULL))
    2009.03.01 at 15:37:33:139: Thread-20: B2B - (DEBUG) RepoDataAccessor:getAgreementNameByBaTPName() bind vars: TEE,BARFEDI841,1.0,Y,TEE,BARFEDI841,1.0,N
    2009.03.01 at 15:37:33:145: Thread-20: B2B - (ERROR) Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate
    at oracle.tip.adapter.b2b.tpa.RepoDataAccessor.getAgreementNameByBaTPName(RepoDataAccessor.java:2345)
    at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:186)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:587)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processIncomingTPA(TPAProcessor.java:238)
    at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1832)
    at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
    at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
    at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
    at java.lang.Thread.run(Thread.java:534)
    2009.03.01 at 15:37:33:145: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: processIncomingMessage B2BDE
    2009.03.01 at 15:37:33:146: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
    2009.03.01 at 15:37:33:146: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
    2009.03.01 at 15:37:33:146: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate
    2009.03.01 at 15:37:33:146: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
    2009.03.01 at 15:37:33:147: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {filename=TEE_2009Mar01_15_37_29_170.dat, filesize=7787, file_ext=dat, fullpath=//users/dab2b01/RF841/TEE_2009Mar01_15_37_29_170.dat, timestamp=1970-01-01T00:00:00.000-00:00}
    2009.03.01 at 15:37:33:147: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
    2009.03.01 at 15:37:33:147: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
    2009.03.01 at 15:37:33:148: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate
    2009.03.01 at 15:37:33:148: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2009.03.01 at 15:37:33:149: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
    2009.03.01 at 15:37:33:149: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2009.03.01 at 15:37:33:149: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum0 not null
    2009.03.01 at 15:37:33:149: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error information
    2009.03.01 at 15:37:33:155: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message protocol message id
    2009.03.01 at 15:37:33:171: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message payload storage
    2009.03.01 at 15:37:33:182: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new business message
    2009.03.01 at 15:37:33:182: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2009.03.01 at 15:37:33:189: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty name TEE
    2009.03.01 at 15:37:33:189: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty type and value nullnull
    2009.03.01 at 15:37:33:196: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow BusinessAction for the given name BARFEDI841 BusinessAction_0E95
    2009.03.01 at 15:37:33:207: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
    2009.03.01 at 15:37:33:217: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
    2009.03.01 at 15:37:33:218: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Native Event Tbl Row
    2009.03.01 at 15:37:33:218: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
    2009.03.01 at 15:37:33:220: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateNativeEvtTblRow msgInfo.id = TEE_2009Mar01_15_37_29_170.dat@0A4DBD5D11FC2AEDA770000018E26600
    2009.03.01 at 15:37:33:220: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
    ** DbAccess:updateNativeEvtTblRow:tip_wireMsg protocolCollabID = null
    2009.03.01 at 15:37:33:226: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException notifying App
    2009.03.01 at 15:37:33:226: Thread-20: B2B - (DEBUG) Engine:notifyApp Enter
    2009.03.01 at 15:37:33:232: Thread-20: 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>null</correlationId>
    <b2bMessageId>0A4DBD5D11FC2AEDA680000018E265F0</b2bMessageId>
    <errorCode>AIP-50547</errorCode>
    <errorText>Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (dgia21a.TEEis.com)
    Description: Unable to identify the trading partner agreement from the given input values. Also verify agreement effectiveToDate
    StackTrace:
    Error -:  AIP-50547:  Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate
    at oracle.tip.adapter.b2b.tpa.RepoDataAccessor.getAgreementNameByBaTPName(RepoDataAccessor.java:2345)
    at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:186)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:587)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processIncomingTPA(TPAProcessor.java:238)
    at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1832)
    at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
    at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
    at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
    at java.lang.Thread.run(Thread.java:534)
    ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    </Exception>
    2009.03.01 at 15:37:33:244: Thread-20: B2B - (DEBUG) Engine:notifyApp Exit
    2009.03.01 at 15:37:33:244: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updated the Error Message Successfully: Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "TEE", To party[NAME] "TEE", Business action name "BARFEDI841"; also verify agreement effectiveToDate
    2009.03.01 at 15:37:33:245: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Exit
    2009.03.01 at 15:37:33:245: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Exit
    2009.03.01 at 15:37:33:245: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Exit
    2009.03.01 at 15:37:33:245: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Exit
    2009.03.01 at 15:37:33:245: Thread-20: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Exit
    2009.03.01 at 15:37:33:246: Thread-20: B2B - (DEBUG) DBContext commit: Enter
    2009.03.01 at 15:37:33:263: Thread-20: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2009.03.01 at 15:37:33:263: Thread-20: B2B - (DEBUG) DBContext commit: Leave
    2009.03.01 at 15:37:33:264: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Exit

  • AIP-50547:  Trading partner agreement not found for the given input values

    I am trying to setup outbound 810. I have it working in one environment I took export and imported in another environment. But it gave me following error. I purged repository and configured everything again and it still gives me same error:
    2007.08.25 at 19:41:20:997: Thread-21: B2B - (DEBUG) RepoDataAccessor:getAgreementIdByBaTPName() SELECT ag.agreementid FROM TIP_BusinessAction_ra ba1, TIP_Party_ra tp1, TIP_BusinessAction_ra ba2, TIP_Party_ra tp2, TIP_SupportedBusinessAction_ra sba1, TIP_SupportedBusinessAction_ra sba2, TIP_Participant_ra tpp1, TIP_Participant_ra tpp2, TIP_Agreement_ra ag WHERE tp1.name = ? AND ba1.name = ? AND sba1.isinitiator = ? AND tpp1.agreement = ag.ID AND tpp1.supportedbusinessaction = sba1.ID AND sba1.tradingpartner = tp1.ID AND sba1.businessaction = ba1.ID AND tp2.name = ? AND ba2.name = ? AND sba2.isinitiator = ? AND tpp2.agreement = ag.ID AND tpp2.supportedbusinessaction = sba2.ID AND sba2.tradingpartner = tp2.ID AND sba2.businessaction = ba2.ID AND tpp1.agreement = tpp2.agreement AND ((ag.effectivefromdate <= SYSDATE) OR (ag.effectivefromdate IS NULL)) AND ((ag.effectivetodate +1 >= SYSDATE) OR (ag.effectivetodate IS NULL))
    2007.08.25 at 19:41:20:997: Thread-21: B2B - (DEBUG) RepoDataAccessor:getAgreementIdByBaTPName() bind vars: RSC,SEND_INVOICE,Y,PETSMART ,SEND_INVOICE,N
    2007.08.25 at 19:41:22:854: Thread-21: B2B - (ERROR) Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "RSC", To party[NAME] "PETSMART ", Business action name "SEND_INVOICE"; also verify agreement effectiveToDate
    at oracle.tip.adapter.b2b.tpa.RepoDataAccessor.getAgreementIdByBaTPName(RepoDataAccessor.java:1977)
    at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:166)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:389)
    at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:192)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:731)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:531)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:344)
    at java.lang.Thread.run(Thread.java:534)
    I took SQL from the log and used the parameter in the log and executed query at sql prompt and it finds agreement id see below.
    SQL> SELECT ag.agreementid FROM TIP_BusinessAction_ra ba1, TIP_Party_ra tp1, TIP_BusinessAction_ra ba2, TIP_Party_ra tp2, TIP_SupportedBusinessAction_ra sba1, TIP_SupportedBusinessAction_ra sba2, TIP_Participant_ra tpp1, TIP_Participant_ra tpp2, TIP_Agreement_ra ag WHERE tp1.name = 'RSC' AND ba1.name = 'SEND_INVOICE' AND sba1.isinitiator = 'Y' AND tpp1.agreement = ag.ID AND tpp1.supportedbusinessaction = sba1.ID AND sba1.tradingpartner = tp1.ID AND sba1.businessaction = ba1.ID AND tp2.name = 'PETSMART' AND ba2.name = 'SEND_INVOICE' AND sba2.isinitiator = 'N' AND tpp2.agreement = ag.ID AND tpp2.supportedbusinessaction = sba2.ID AND sba2.tradingpartner = tp2.ID AND sba2.businessaction = ba2.ID AND tpp1.agreement = tpp2.agreement AND ((ag.effectivefromdate <= SYSDATE) OR (ag.effectivefromdate IS NULL)) AND ((ag.effectivetodate +1 >= SYSDATE) OR (ag.effectivetodate IS NULL));
    AGREEMENTID
    100

    Hello Mr Desai,
    Few question and pointers.
    1. Are these two environments pointing to the same repository. Please ensure the system date is appropriate.
    2. Please point your second environment to the Repository of the first environment and check. This will give us some data point.
    3. Make sure the agreement is deployed in your new environment and active. I assume you are importing the agreement on a clean repository.
    4. Please send us the export and payload file for analysis
    Rgds,
    Ramesh
    4.

  • TS4062 I've done all of these recommended steps.  My problem is that I have a new laptop that I am trying to sync my iPhone (and iPad for that matter) via Wi-Fi but both devices are looking for the old laptop to sync.  Any other suggestions?

    I've done all of these recommended steps.  My problem is that I have a new laptop that I am trying to sync my iPhone (and iPad for that matter) via Wi-Fi but both devices are looking for the old laptop to sync.  My iTunes is version 11.0..3.42, iPhone is 6.1.4, and iPad 6.1.3.  Any suggestions?

    All I had to do was complain.  I synced my iPhone to the Windows machine, checked the other account at iTunes prompting (where no apps had shown up previously), reconnected the iPad, and 140 apps downloaded including the App Store.  I have no idea why.

  • I have a problem with elements 8. When ever I start a new project, the program searches for the old, latest used filmmaterial, I have used before. That means, if I use a different DVD, it take so much time, until the program starts. So how can I stopp the

    I have a problem with elements 8. When ever I start a new project, the program searches for the old, latest used filmmaterial, I have used before. That means, if I use a different DVD, it take so much time, until the program starts. So how can I stopp the automatically uploading of old material?
    Thanks

    You have 2 unreachable statements in this method.
    public static int eval(String s2, String op, String s3) {
    return lookup(s2);
    return lookup(op);
    return lookup(s3);
    } You're missing a } at the end of this method:
    public static int lookup(String s) {
        for(int k = 0; k < symbols.length; k++){
            String symbol = symbols[k];
            if(s.equals(symbol))
                return k;
        }You have some loose } and ; at the end of the file:
    public static void main(String args[])
    commandline();
    }

  • Delete after trigger returns a NULL value for the old primary key??

    I am creat an After trigger that I was using to delete a row from another table. However, the OLD value returned for my primary key is a NULL value. I have an UPDATE and an INSERT portion to this same trigger that work fine with just grabbing NEW values, but this OLD value cannot be grabbed for some reason, although it seems to work on other tables when the owner is me, the problem table is not owned by me though. Has anyone run into this before? Is there a view that I need access to from this table or perhaps a setting I need to turn on? I am at a loss. Thanks.

    Cannot reproduce with this modified trigger code … right now I believe the problem is in this part:
    BEGIN
      col_ret := vpack.vOPCollectIO(tpid, User, 'SCOTT.OINFTABL', dmltype, vdata);
    EXCEPTION
      WHEN lost_connection OR lost_connection2 THEN
        col_ret := vpack.vOPCollectIO(tpid, User, 'SCOTT.OINFTABL', dmltype, vdata);
    END;
    In schema CORE:
    SQL> create table oinftabl
      2  ( akey     number(9) primary key
      3   ,astring  varchar2(10)
      4   ,astring2 varchar2(10)
      5  );
    Table created.
    SQL>
    SQL> grant all on oinftabl to flip;
    In schema FLIP (which has “CREATE ANY TRIGGER”):
    flip@FLOP> CREATE OR REPLACE TYPE VDAT AS VARRAY(100000) OF VARCHAR2(50);
    2     /
    create or replace trigger sbt3_system_oinftabl_x
    after insert or update or delete on core.oinftabl
    REFERENCING NEW as n OLD as o
    FOR EACH ROW
    DECLARE
      col_ret INT;
      dmltype CHAR(1);
      tpid VARCHAR2(30);
      vdata VDAT; --varray datatype I created;
      lost_connection EXCEPTION;
      lost_connection2 EXCEPTION;
      already_there EXCEPTION;
      PRAGMA EXCEPTION_INIT(lost_connection, -28576);
      PRAGMA EXCEPTION_INIT(lost_connection2, -28579);
      PRAGMA EXCEPTION_INIT(already_there,-1);
    BEGIN
      tpid := SYS.DBMS_TRANSACTION.LOCAL_TRANSACTION_ID();
      IF INSERTING THEN dmltype := 'I';
      ELSIF UPDATING THEN dmltype := 'U';
      ELSE dmltype := 'D';
      END IF;
      IF INSERTING OR UPDATING THEN
        dbms_output.put_line('new akey='||nvl(to_char(:n.akey),'null'));
        dbms_output.put_line('new astring='||:n.astring);
        vdata := VDAT(
        to_char(:n.AKEY),
        :n.ASTRING,
        :n.ASTRING2,
        NULL);
      ELSIF DELETING THEN
        dbms_output.put_line('old akey='||nvl(to_char(:o.akey),'null'));
        vdata := VDAT(
          to_char(:o.AKEY),
          NULL);
      END IF;
      for i in 1..vdata.count
      loop
        dbms_output.put_line('vdata('||i||')='||nvl(vdata(i),'null'));
      end loop;
    --BEGIN
    --  col_ret := vpack.vOPCollectIO(tpid, User, 'SCOTT.OINFTABL', dmltype, vdata);
    --EXCEPTION
    --  WHEN lost_connection OR lost_connection2 THEN
    --    col_ret := vpack.vOPCollectIO(tpid, User, 'SCOTT.OINFTABL', dmltype, vdata);
    --END;
    END;
    Trigger created.
    flip@FLOP> show errors
    No errors.
    flip@FLOP> insert into core.oinftabl values (1,'abc',null);
    new akey=1
    new astring=abc
    vdata(1)=1
    vdata(2)=abc
    vdata(3)=null
    vdata(4)=null
    1 row created.
    flip@FLOP>  update core.oinftabl set akey=2, astring='cba' where akey=1;
    new akey=2
    new astring=cba
    vdata(1)=2
    vdata(2)=cba
    vdata(3)=null
    vdata(4)=null
    1 row updated.
    flip@FLOP> delete from core.oinftabl where akey=2;
    old akey=2
    vdata(1)=2
    vdata(2)=null
    1 row deleted.
    So the trigger has the OLD AKEY value when DELETING and it does successfully store it in the VARRAY.
    Hence the problem is in that pl/sql block at the end.
    What are you doing in there?

  • HT5312 I set up an icloud on an old email address that I can't access anymore. So I created a new account as I couldn't remember the security question answers for the old account. My iphone links to the old account. How do I change it to the new one?

    When I set up the icloud I was using my then email address. My email address has now changed.
    I tried to access under the old email address to change it to a new email address but I couldn't remember the security questions and as I can't access the old email address, I can't change it. So to solve the problem I set up a new account under the new email address. The only problem is my iphone is still asking for the old email address password which doesn't work.
    How do I connect my iphone to the new account as it wont let me delete the old account on the iphone without the password (which as mentioned above doesn't work)?

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with one Apple ID with a new Apple ID.

  • I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?

    I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?  Will the new one become less effective if it sits around too long?

    How much capacity is remaining on your current battery?
    Check your power status
    From the  menu: Hold OPTION and click System Information... èHardware è Power
    Copy and Paste in your reply.
    The new battery will become less effective if you store it in a hot or humid environment. It should be stored at room temperature (22 C).
    Long term storage (6 months):
    Apple recommends that you store the battery with a 50% charge. If you store a battery when it’s fully discharged, it could fall into a deep discharge state, which renders it incapable of holding any charge. Conversely, if you store it fully charged for an extended period of time, the battery may experience some loss of battery capacity, meaning it will have a shorter life.
    http://www.apple.com/batteries/

  • I have had to change my email address/Apple ID. my iPad recognisIes the change of id but on my MacBook Air, iCloud just keeps asking me for a password for the old email address/account. How can I get iCloud to recognise the new details? Help please!

    I have had to change my email address/Apple ID. My iPad recognises the new detail in iTunes and iCloud but when I go into iCloud through my MacBook Air, it requests a password for the old email account which I can no longer use. There is no Option to be able to change this email/ID detail as I cannot get further than the password request. Can anyone help please - this is driving me insane?!

    Go to System Preferences and click Sign Out, select Delete at all the prompts, then sign back in with the changed ID?   (Your iCloud data will disappear from your Mac when you sign out and choose Delete, but will still be in iCloud.  Provided you are signing back into the same account your data will reappear on your Mac when you sign back in.)

  • Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split i have a new laptop and now it keeps asking for the old ID or it'll erase my apps bought on theold account.

    Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split up and now im trying to get all my apps and info onto my new laptop with a new account but it keeps asking me for the old apple ID which she is still using and she changed the password. i tried backing it up but still nohing. When i try to back up purchased items being apps etc its keeps asking for the old one. help

    See Recover your iTunes library from your iPod or iOS device. But you'll still need the password.
    Once you have the computer authorized to use the account she could change the password again to stop you buying apps on her card (assuming it's not on yours!). It would lock you out of upgrading them too but they should work unless she uses the deathorize all feature.
    It depends on how amicable the split is...
    tt2

  • I have changed my apple id to a new one. I deleted the old email for the old apple id which is in yahoo. the new one is with gmail. I ahve changed the apple id on my phone. still theres a prompt always asking me to give my password for my old apple id.

    In my previous iphone i have created an apple id connected to my yahoo email which is also my icloud id obviously. I decided to delete my yahoo email and changed it to gmail. I have changed my apple id as well. Now here is my problem. I have iphone 5 now. im trying to restore all my data through i cloud. Considering i have changed my email apple id etc, the old apple id is still showing. I have changed it online and deleted the yahoo apple id. but still on my phone its asking for the password of my yahoo apple id which no longer exist. Its bugging me off as i went to apple store and they dont know what to do as well. i tried restoring everything to orginal setting but once i get to the icloud bit, its all the same. up to now its asking for the old apple id password. I dont know how i can delete that as theres no button to delete it on the phone. i cant even restore my photos.

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")

  • I have a new Apple ID and have updated it in iTunes. However it still says the old ID in settings under iCloud. It will not let me change it and prompts me to enter my password for the old ID. I put in the old Password but it doesn't work.

    I changed my Apple ID and it is not changing on my ipad. I did change it in iTunes but I can't change it or delete or update in settings under iCloud. It prompts for the password to the old id I put that in and it tells me that's not correct. I put the new password in and it tells me that's not correct. HELP!

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I changed my email Apple ID through my IBM laptop. Now on my iPad the old id is still there. Tried deleting thru I cloud option but it is asking password for the old id which I do not remember and I have new Apple ID for my iPad.

    I had. To change my Apple ID as my email I'd was going to cease. I did that using my IBM laptop.  Now when I am trying to log on to iTunes thru my ipad2 it still has old Apple ID, I tried after reading other discussions to delete the account thru I cloud. But it is still asking for password for old Apple ID. I donot remember the old password. Please help how to login in the iTunes thru new id and remove the old Apple ID from the iPad

    Sign out of old ID and sign in with new.
    Settings>iTunes and App Store>Apple ID

  • I changed my Apple ID two weeks ago and I Accidently forgot to sign out of my iCloud on my iPhone 5C. now it wont let me change the iCloud ID to match my new Apple ID. How do I change my iCloud ID even though it is asking for the old ID?

    I changed my Apple ID two weeks ago and I accidently forgot to sign out of my iCloud on my iPhone 5C. Now it wont let me change the iCloud ID to match my new Apple ID. How do I change my iCloud ID even though it is asking for the old ID?

    If the old ID is an earlier version of your current ID, temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iPhone when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I bought a iPhone and I was able to log into my iCloud with no problem and when I tried to update it it kicked me out and now it's asking me for the old apple user please help what can I do...?

    I bought a iPhone and I was able to log into my iCloud with no problem and when I tried to update it it kicked me out and now it's asking me for the old apple user please help what can I do...?

    Contact the original owner, and ask them to remove the device from their icloud.
    http://support.apple.com/kb/PH13695
    HTH

Maybe you are looking for

  • How do I transfer things from one login to another?

    So when I purchased my MBP, I was unaware of how to set it up so I could still print from my school printer. However, I found out I have to have my shortname the same as my school username in order to do this. I have created a second account user on

  • Iphoto 11 wont open completely.

    My iPhoto 11 won't open up. All I keep seeing is the turnwheel. I updated all my software, still nothing. Help please

  • Printing differences for certain BP's

    Hello Experts, I have some checks that are printing incorrectly for some BP's I am using Pre-numbered check stock and for most of the outgoing checks it prints correctly however, for a few of the BP's the margins don't seem to be taken in to account

  • Software Download Manager on a 64bit Linux?

    I recently tried to install the linux software download manager.  I am running a 64bit RHEL 6.6 system.  After setting up the appropriate path I ran into the error of : ./install.bin Installer User Interface Mode Not Supported The installer cannot ru

  • [SOLVED] Catalyst 12.6 legacy and Awesome 3.5 (official repo)

    Hi, I have a readeon HD 2600 and I'm swaping from free drivers to ati's one. I post here because I have an issue with awesome. It's actualy the same glitch as in this thread (https://bbs.archlinux.org/viewtopic.php?id=147680). It appear when i'm resi