Two ISA segment in the EDI data

Hi
We are getting two ISA segments in the EDI data from the B2B.
ISA~00~Authorizat~00~Security I~  ~               ~01~Interchange Rec~081210~1018~U~00401~000001012~0~I~\
GS~  ~  ~EDI Receiver App~20090216~1419~1012~X~004010
ISA~00~~00~~12~8006218070~~STFM   SF000014 ~090216~1418~U~004010~000000041~0~T~0x1f
GS~SP~8006218070~AESTPRINT000100~20090216~1418~000000041~X~004010.
As per the requirement we need to generate a unique number for the ISA, we maintain a counter and populate the ISA with the number incrementing each time.
We populate the ISA with the number from the counter in xml file and pass the same to the B2B. How can i configure B2B to take the values in the XML and not add one more segment
Thanks

Hi,
I set Internal-properties and i am getting the XEngine error - Invalid guideline.
B2B log:
2009.02.24 at 16:29:42:860: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:traceParameters Parameter ReplacementChar = 0x7c
2009.02.24 at 16:29:42:861: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:getControlNumberFromEDIRepository CtlNum (RF): Interchange = 1000, Functional Group = 1000, Transaction Set = 1000
2009.02.24 at 16:29:42:861: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Enter
2009.02.24 at 16:29:42:861: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl fullOutboundBatching = false
2009.02.24 at 16:29:42:861: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl validateEnvelope = false
2009.02.24 at 16:29:42:862: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Leave
2009.02.24 at 16:29:42:882: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup Enter
2009.02.24 at 16:29:42:882: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = InterchangeReceiverQual, val = [ZZ]
2009.02.24 at 16:29:42:882: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [ZZ]
2009.02.24 at 16:29:42:882: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = InterchangeSenderID, val = [Interchange Sen]
2009.02.24 at 16:29:42:882: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [Interchange Sen]
2009.02.24 at 16:29:42:883: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = InterchangeReceiverID, val = [Interchange Rec]
2009.02.24 at 16:29:42:883: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [Interchange Rec]
2009.02.24 at 16:29:42:883: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = Standard, val = [X12]
2009.02.24 at 16:29:42:883: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [X12]
2009.02.24 at 16:29:42:883: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = InterchangeControlVersion, val = [00401]
2009.02.24 at 16:29:42:884: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [00401]
2009.02.24 at 16:29:42:884: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = ec_DataNodeName, val = [Interchange]
2009.02.24 at 16:29:42:884: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = InterchangeSenderQual, val = [ZZ]
2009.02.24 at 16:29:42:884: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [ZZ]
2009.02.24 at 16:29:42:884: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup return = true
2009.02.24 at 16:29:42:884: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup return = true
2009.02.24 at 16:29:42:885: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Enter
2009.02.24 at 16:29:42:885: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Return = oracle.tip.adapter.b2b.document.edi.ISelectorImpl@1588325
2009.02.24 at 16:29:42:887: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup Enter
2009.02.24 at 16:29:42:887: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = GroupReceiverID, val = [Interchange Rec]
2009.02.24 at 16:29:42:887: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [Interchange Rec]
2009.02.24 at 16:29:42:887: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = GroupVersionNumber, val = [00401]
2009.02.24 at 16:29:42:887: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [00401]
2009.02.24 at 16:29:42:888: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = ec_DataNodeName, val = [Group]
2009.02.24 at 16:29:42:889: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = GroupSenderID, val = [Interchange Sen]
2009.02.24 at 16:29:42:889: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [Interchange Sen]
2009.02.24 at 16:29:42:889: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup return = true
2009.02.24 at 16:29:42:889: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup return = true
2009.02.24 at 16:29:42:889: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Enter
2009.02.24 at 16:29:42:890: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Return = oracle.tip.adapter.b2b.document.edi.ISelectorImpl@a2a38
2009.02.24 at 16:29:42:891: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup Enter
2009.02.24 at 16:29:42:891: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = TransactionID, val = [841]
2009.02.24 at 16:29:42:891: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [841]
2009.02.24 at 16:29:42:892: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = ec_DataNodeName, val = [Transaction]
2009.02.24 at 16:29:42:892: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup return = true
2009.02.24 at 16:29:42:892: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup return = true
2009.02.24 at 16:29:42:892: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Enter
2009.02.24 at 16:29:42:892: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Return = oracle.tip.adapter.b2b.document.edi.ISelectorImpl@159ea8e
2009.02.24 at 16:29:42:893: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = ReplacementChar
2009.02.24 at 16:29:42:893: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = 0x7c
2009.02.24 at 16:29:42:893: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = ecsFileKey
2009.02.24 at 16:29:42:894: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = 631CA4A49B1B4F88E04400144F96EEDE-274-1-31
2009.02.24 at 16:29:42:904: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = SeverityConfig
2009.02.24 at 16:29:42:904: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = null
2009.02.24 at 16:29:43:289: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:reset Enter
2009.02.24 at 16:29:43:290: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:reset Leave
2009.02.24 at 16:29:43:290: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = TPName
2009.02.24 at 16:29:43:291: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = RF
2009.02.24 at 16:29:43:291: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = ecsFileKey
2009.02.24 at 16:29:43:291: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = 0A4DBD5D11FA872577F000001D6747B0
2009.02.24 at 16:29:43:292: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = SeverityConfig
2009.02.24 at 16:29:43:292: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = null
2009.02.24 at 16:29:43:294: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = ecsFileKey
2009.02.24 at 16:29:43:294: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = null
2009.02.24 at 16:29:43:294: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValueBlob Param Name = ecsOptFileBlob
2009.02.24 at 16:29:43:294: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValueBlob Param Name = ecsFileBlob
2009.02.24 at 16:29:43:295: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = ecsFilePath
2009.02.24 at 16:29:43:295: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = null
2009.02.24 at 16:29:43:295: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = ecsFileBlob
2009.02.24 at 16:29:43:295: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = null
2009.02.24 at 16:29:43:296: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = ecsFileBlob
2009.02.24 at 16:29:43:296: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = null
2009.02.24 at 16:29:43:297: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = TPName
2009.02.24 at 16:29:43:298: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = RF
2009.02.24 at 16:29:43:298: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Enter
2009.02.24 at 16:29:43:298: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Fulloutboundbatching = false
2009.02.24 at 16:29:43:299: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit OutControlNumber: Interchange = 382580034, Functional Group = null, Transaction Set = null
2009.02.24 at 16:29:43:299: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Leave
2009.02.24 at 16:29:43:299: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = TPName
2009.02.24 at 16:29:43:299: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = RF
2009.02.24 at 16:29:43:300: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Enter
2009.02.24 at 16:29:43:300: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Fulloutboundbatching = false
2009.02.24 at 16:29:43:300: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit OutControlNumber: Interchange = 382580034, Functional Group = 25, Transaction Set = null
2009.02.24 at 16:29:43:301: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Leave
2009.02.24 at 16:29:43:301: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument XML = 1
2009.02.24 at 16:29:43:301: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument no result from XDataToNative
2009.02.24 at 16:29:43:338: Thread-27: B2B - (DEBUG) iAudit report :
Error Brief :
5081: XEngine error - Invalid guideline.
iAudit Report :
<?xml version="1.0" encoding="UTF-16"?><AnalyzerResults Guid="{08FF2957-9002-DE11-AF0E-0003BA1C53E2}" InterchangeReceived="1" InterchangeProcessed="1" InterchangeAccepted="0"> <ExecutionDate>Tuesday, February 24, 2009</ExecutionDate> <ExecutionTime>04:29:42 PM (GMT)</ExecutionTime> <AnalyzerReturn>Failed</AnalyzerReturn> <NumberOfErrors>1</NumberOfErrors> <ErrorByCategory> <Category Name="Rejecting"> <Severity Name="Normal">1</Severity> </Category> </ErrorByCategory> <Status>Finished</Status> <DataFile> <FilePath/> <FileName/> <LastModified/> <FileSize/> <DataURL>file://</DataURL> </DataFile> <Interchange Guid="{86B52C57-9002-DE11-AF0E-0003BA1C53E2}" InterchangeAckCode="R" FunctionalGroupReceived="1" FunctionalGroupProcessed="1" FunctionalGroupAccepted="0" RError="0" NError="0" OtherWI="0"> <DataXPointer> <StartPos>0</StartPos> <Size>50127</Size> </DataXPointer> <GuidelineInfo> <GuidelineFile> <FilePath>ByteStream</FilePath> <FileName>ByteStream</FileName> <LastModified/> <FileSize/> <GuidelineURL>file://ByteStream</GuidelineURL> </GuidelineFile> <DetailGuidelineInfo> <IID>4</IID> <ID>ES</ID> <Name>ENVELOPE SEGMENTS</Name> <Standard>X12</Standard> <StdVersion>SERVICE SEGMENTS</StdVersion> </DetailGuidelineInfo> </GuidelineInfo> <NodeInfo> <Links> <Link Name="InterchangeSenderQual">ZZ</Link> <Link Name="InterchangeSenderID">Interchange Sen</Link> <Link Name="InterchangeReceiverQual">ZZ</Link> <Link Name="InterchangeReceiverID">Interchange Rec</Link> <Link Name="InterchangeControlVersion">00401</Link> <Link Name="Standard">X12</Link> </Links> <Properties> <Property Name="Standard">X12</Property> <Property Name="InterchangeAuthorizationInfoQual">00</Property> <Property Name="InterchangeAuthorizationInfo">Authorizat</Property> <Property Name="InterchangeSecurityInfoQual">00</Property> <Property Name="InterchangeSecurityInfo">Security I</Property> <Property Name="InterchangeSenderQual">ZZ</Property> <Property Name="InterchangeSenderID">Interchange Sen</Property> <Property Name="InterchangeReceiverQual">ZZ</Property> <Property Name="InterchangeReceiverID">Interchange Rec</Property> <Property Name="InterchangeDate">081023</Property> <Property Name="InterchangeTime">0830</Property> <Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property> <Property Name="InterchangeControlVersion">00401</Property> <Property Name="InterchangeControlNumber">382580034</Property> <Property Name="InterchangeAckRequested">0</Property> <Property Name="InterchangeUsageIndicator">P</Property> <Property Name="DecimalSeparator">0x300x780x340x30</Property> <Property Name="ReleaseCharacter">0x300x780x320x35</Property> <Property Name="InterchangeChildCount">1</Property> <Property Name="InterchangeTrailerControlNumber">382580034</Property> <Property Name="SegmentDelimiter">0x2b</Property> <Property Name="ElementDelimiter">0x7e</Property> <Property Name="SubelementDelimiter">0x5c</Property> <Property Name="RepeatingSeparator">0x24</Property> <Property Name="ReplacementChar">0x7c</Property> <Property Name="InterchangeComponentElementSep">0x3f</Property> <Property Name="TPName">RF</Property> </Properties> </NodeInfo> <FunctionalGroup Guid="{72BE2D57-9002-DE11-AF0E-0003BA1C53E2}" FunctionalGroupAckCode="R" TransactionSetsIncluded="1" TransactionSetsReceived="1" TransactionSetsProcessed="1" TransactionSetsAccepted="0" RError="1" NError="0" OtherWI="0"> <DataXPointer> <StartPos>0</StartPos> <Size>50127</Size> </DataXPointer> <GuidelineInfo> <GuidelineFile> <FilePath>ByteStream</FilePath> <FileName>ByteStream</FileName> <LastModified/> <FileSize/> <GuidelineURL>file://ByteStream</GuidelineURL> </GuidelineFile> <DetailGuidelineInfo> <IID>4</IID> <ID>ES</ID> <Name>ENVELOPE SEGMENTS</Name> <Standard>X12</Standard> <StdVersion>SERVICE SEGMENTS</StdVersion> </DetailGuidelineInfo> </GuidelineInfo> <NodeInfo> <Links> <Link Name="GroupSenderID">Interchange Sen</Link> <Link Name="GroupReceiverID">Interchange Rec</Link> <Link Name="GroupVersionNumber">00401</Link> </Links> <Properties> <Property Name="GroupID">PO</Property> <Property Name="GroupSenderID">Interchange Sen</Property> <Property Name="GroupReceiverID">Interchange Rec</Property> <Property Name="GroupDate">20080927</Property> <Property Name="GroupTime">235959</Property> <Property Name="GroupControlNumber">25</Property> <Property Name="GroupAgencyCode">X</Property> <Property Name="GroupVersionNumber">00401</Property> <Property Name="GroupChildCount">1</Property> <Property Name="GroupTrailerControlNumber">25</Property> <Property Name="TPName">RF</Property> </Properties> </NodeInfo> <Transaction Guid="{82E6EC01-9A01-DE11-9FFB-0003BA1C53E2}" TransactionAckCode="R" RError="0" NError="0" OtherWI="0"> <DataXPointer> <StartPos>0</StartPos> <Size>50127</Size> </DataXPointer> <GuidelineInfo> <GuidelineFile> <FilePath>ByteStream</FilePath> <FileName>ByteStream</FileName> <LastModified/> <FileSize/> <GuidelineURL>file://ByteStream</GuidelineURL> </GuidelineFile> <DetailGuidelineInfo> <IID>4</IID> <ID>841</ID> <Name>SPECIFICATIONS/TECHNICAL INFORMATION</Name> <GroupID>SP</GroupID> <Standard>X12</Standard> <StdVersion>V4010</StdVersion> </DetailGuidelineInfo> </GuidelineInfo> <NodeInfo> <Links> <Link Name="TransactionID">841</Link> </Links> <Properties> <Property Name="TransactionID">841</Property> <Property Name="TransactionImplementationReference"/> <Property Name="TransactionChildCount">80</Property> <Property Name="TransactionTrailerControlNumber">1234</Property> <Property Name="TransactionControlNumber">882534256</Property> </Properties> </NodeInfo> </Transaction> <FunctionalGroupErrors> <Error ErrorCode="{AD01846F-A68B-409D-A264-AA1ECAE7FBA3}" Severity="Normal" Category="Rejecting" Index="1" ID="50810000"> <ErrorBrief>5081: XEngine error - Invalid guideline.</ErrorBrief> <ErrorMsg>Failed guideline.</ErrorMsg> <ErrorObjectInfo> <Parameter Name="ErrorLevel">0</Parameter> <Parameter Name="Name">XData2Native</Parameter> <Parameter Name="_ec_dn_guid_">{72BE2D57-9002-DE11-AF0E-0003BA1C53E2}</Parameter> <Parameter Name="_ec_index">0</Parameter> <Parameter Name="ec_error_scope">Group</Parameter> </ErrorObjectInfo> <ErrorDataInfo> <Part1/> <ErrData/> <Part3/> <DataXPointer> <StartPos>0</StartPos> <Size>0</Size> </DataXPointer> </ErrorDataInfo> </Error> </FunctionalGroupErrors> </FunctionalGroup> </Interchange></AnalyzerResults>
2009.02.24 at 16:29:43:340: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sErrorGuid = {AD01846F-A68B-409D-A264-AA1ECAE7FBA3}
2009.02.24 at 16:29:43:341: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sDescription = Failed guideline.
2009.02.24 at 16:29:43:341: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sBrDescription = 5081: XEngine error - Invalid guideline.
2009.02.24 at 16:29:43:341: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ErrorLevel sParameterValue = 0
2009.02.24 at 16:29:43:341: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = Name sParameterValue = XData2Native
2009.02.24 at 16:29:43:342: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ecdn_guid_ sParameterValue = {72BE2D57-9002-DE11-AF0E-0003BA1C53E2}
2009.02.24 at 16:29:43:342: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ecindex sParameterValue = 0
2009.02.24 at 16:29:43:342: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ec_error_scope sParameterValue = Group
2009.02.24 at 16:29:43:342: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument added Hash Key = {72BE2D57-9002-DE11-AF0E-0003BA1C53E2}
2009.02.24 at 16:29:43:343: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument batch Position = 0
2009.02.24 at 16:29:43:344: Thread-27: B2B - (ERROR) Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2232)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1614)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:972)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1166)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
at java.lang.Thread.run(Thread.java:534)
2009.02.24 at 16:29:43:344: Thread-27: B2B - (ERROR) Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2232)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1614)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:972)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1166)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
at java.lang.Thread.run(Thread.java:534)
2009.02.24 at 16:29:43:345: Thread-27: B2B - (ERROR) Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2286)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1614)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:972)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1166)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
at java.lang.Thread.run(Thread.java:534)
2009.02.24 at 16:29:43:345: Thread-27: B2B - (ERROR) Error -: AIP-51505: General Validation Error: Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2286)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1614)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:972)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1166)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
at java.lang.Thread.run(Thread.java:534)
Caused by: Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2232)
... 6 more
2009.02.24 at 16:29:43:346: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2BDomainException
2009.02.24 at 16:29:43:346: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Error Message: Error -: AIP-51505: General Validation Error
2009.02.24 at 16:29:43:346: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
2009.02.24 at 16:29:43:350: Thread-27: B2B - (DEBUG) AccessRepo:findBusinessMessageByB2BMessageId Found Successfull message with B2bMessageId : 86984217 and ProtocolMessageId 86984217
2009.02.24 at 16:29:43:351: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message not found.
2009.02.24 at 16:29:43:351: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
2009.02.24 at 16:29:43:356: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
2009.02.24 at 16:29:43:356: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Native Event Tbl Row
2009.02.24 at 16:29:43:356: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
2009.02.24 at 16:29:43:359: Thread-27: B2B - (DEBUG) AccessRepo:findBusinessMessageByB2BMessageId Found Successfull message with B2bMessageId : 86984217 and ProtocolMessageId 86984217
2009.02.24 at 16:29:43:360: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
** DbAccess:updateNativeEvtTblRow:tip_wireMsg wiremsg not found
2009.02.24 at 16:29:43:360: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException notifying App
2009.02.24 at 16:29:43:360: Thread-27: B2B - (DEBUG) Engine:notifyApp Enter
2009.02.24 at 16:29:43:361: Thread-27: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = 63ADA032E94517C7E04400144F96EEDE
2009.02.24 at 16:29:43:361: Thread-27: 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>86984217</correlationId>
<b2bMessageId>86984217</b2bMessageId>
<errorCode>AIP-51505</errorCode>
<errorText>5081: XEngine error - Invalid guideline.</errorText>
<errorDescription>
<![CDATA[Machine Info:
Failed guideline.  ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
2009.02.24 at 16:29:43:362: Thread-27: B2B - (DEBUG) AQJMSCorrelationID = 63ADA032E94517C7E04400144F96EEDE
2009.02.24 at 16:29:43:373: Thread-27: B2B - (DEBUG) Engine:notifyApp Exit
2009.02.24 at 16:29:43:373: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updated the Error Message Successfully: Error -: AIP-51505: General Validation Error
2009.02.24 at 16:29:43:373: Thread-27: B2B - (DEBUG) DBContext commit: Enter
2009.02.24 at 16:29:43:390: Thread-27: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.02.24 at 16:29:43:390: Thread-27: B2B - (DEBUG) DBContext commit: Leave
2009.02.24 at 16:29:43:391: Thread-27: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Exit

Similar Messages

  • Two idocs with exactly the same data have statuses 51 an 53. Why?

    Hi all,
    There are two idcos with exactly the same data, however when they are processed, one is ok with status 53 whereas the other is not processed and has the status 51.
    When I say same data, I mean both the idocs have the same message type, basic type, extension, partner no, partner type etc. Also, the data at the segment level is also the same.
    Could you please let me know the reason for this?
    Thanks and regards,
    Anishur

    Hi Azam
    Me too faced the same for the Inbound Invoic Idoc Application . alternatively I used to get the error . Once 53 next 51 ... like that .It was the data issue in segment field E1EDS01-SUMME Total value of sum segment.It was resolved after ging the proper value .
    Rgds
    Sree M.
    Edited by: Sree  Merugu on Jul 2, 2008 6:14 PM

  • To Count the Number of segments in the EDI structure

    Hi everyone,
    I am dealing with an Idoc to Edi scenario.
    In the target EDI structure, in the feild number 74 in UNT segment (Message Trailer), I want the count of the number of active segments in the message i.e., the count of the fileds which are having values. How to go about this? Kindly through some light on this.
    Thank you.
    Edited by: Nisha Chopra on Dec 22, 2007 11:37 AM

    HI Nisha,
    If you are using the satandard Seeburger mapping program then u do not need to write anything for counting the no of UNT segment (Message Trailer). It will be calculated by seeburger only.
    Do let me know if u need more help.
    Thanks and Regards,
    Chirag

  • Problem importing two service interfaces using the same data types

    Hi,
    I've been playing around with BPM for a while. Now I wanted to add a custom service interface to my starting event. I created the interface in ESR of CE 7.11. After importing I get this error message and I can't use the interface:
    Cannot change XsdSimpleTypeDefinition AcademicTitleCodeContent by importing the document http://sap.com/xi/APPL/SE/Global::src/wsdl/TestInterface.wsdl, because it is already defined in the document http://sap.com/xi/APPL/SE/Global::src/wsdl/rootwsdl_CustomerERPByIDQueryResponse_InService.wsdl in this project. Importing into another project might be possible.
    Of course the problem is clear, but how can I achieve importing two service interfaces that use the same data type without changing the xsd source?
    Thanks in advance,
    Mane

    Sorry for the late answer, but I am really busy at the moment.
    Unfortunately I can't the Interface and data types are already changed.
    But this happened various times. Each time I already had imported a SAP Enterprise Service into NW BPM that contains a bunch of inline data types. While creating my own interface I referenced one of those data types that are stored in a SAP namespace. After import the error message appeared.
    In the wsdl of the created interface there is a import statement for the namespace where the referenced data types origin from. Additionally there is a namespace definition xmlns:p1="SAPnamespace". In the element the type is "p1:ReferencedType". Could this maybe cause the error, because one time it is with this leading p1 in my created wsdl and once without in the SAP Service wsdl?
    Thanks and I am looking forward to next EhP of NW BPM,
    Mane

  • Two network segment on the same switch (no vlan), possible?

    Why can't 2 or more network segment work on same switch (without VLAN configuration)? It seems like switch should learn MAC addresses for each interface then work but what when I try to connnect two network segment (different network id ex.192.168.1.0 and 172.16.1.0), a lot of (or all) requests are timed out. Why? Should switch igore network id because it is layer2? I know that this might be a stupid question but I kind of confuse. Thank you

    Hi,
    it should be possible, but you need a router for connectivity or maybe a small trick.
    Let us assume you have a host A 192.168.1.10/24 and another host B with 172.16.1.5/24 connected to one switch (or in one VLAN, which would give the same result).
    When you f.e. ping 172.16.1.5 from host A, it will first consult its internal routing table ("route print" on a MS host). As the destination address is not local it would not send any packet unless there is a default gateway, because otherwise no route to the destination is known. The same applies to host B, when you try to reach host A. So one possible solution is installing a router and setting it to be the default gateway. Example config:
    host A
    IP 192.168.1.10
    Mask 255.255.255.0
    GW 192.168.1.1
    host B
    IP 172.16.1.5
    Mask 255.255.255.0
    GW 172.16.1.1
    interface FastEthernet0
    ip address 192.168.1.1 255.255.255.0
    ip address 172.16.1.1 255.255.255.0 secondary
    The router will get the IP packet from host A and forward it to host B and vice versa, which results in connectivity.
    Another possibility is to modify the routing tables of host A and B.
    host A
    IP 192.168.1.10
    Mask 255.255.255.0
    GW 192.168.1.10
    host A
    IP 172.16.1.5
    Mask 255.255.255.0
    GW 172.16.1.5
    The small trick here is that both hosts have their own IP as default gateway. This will result in host A sending an ARP for host Bs MAC, when you execute f.e. ping 172.16.1.5
    As long as those ARPs are successful - and they finally should, because the switch would deliver them being OSI layer broadcasts to all ports - connectivity should be given.
    Regarding your specific network problem with timed out connection attempts, I do not know your specific configuration (hosts, router), so it is hard to tell, what is going on. If you can reveal your settings it should be possible to find a solution.
    Hope this helps! Please rate all posts.
    Regards, Martin

  • Two life events on the same date

    Can you please advise how to handle two life events on a single date.

    Dharmesh
    If you have two life events on one date then you have to void the one manually and process the other. Also you can define collapsing life events and setup which life events will take precedence.
    You can use following document to setup collapsing life events
    Oracle HRMS Compensation and Benefits Management Guide (US)
    [http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120hrcbusug.pdf]

  • Summing up items of the same date in crystal report

    Hi Experts,
    I am doing a sales analysis report in crystal and I have grouped the report by the BP Name hence showing sub totals per BP. I would also like to go further and sum up same sales items done on the same date under one item description i.e
    Date                Code        Description              Amt $
    02-Mar-2011   NTE01     Handling  Charges    1,000   
    02-Mar-2011   NTE01     Handling  Charges    1,000   
    02-Mar-2011   NTE01     Handling  Charges    1,000
    03-Mar2011    NTE02     Storage  Charges     2,000
    03-Mar2011    NTE02     Storage  Charges     2,000
    03-Mar2011    NTE02     Storage  Charges     2,000
    Expected Results
    Date                Code        Description              Amt $
    02-Mar-2011   NTE01     Handling  Charges     3,000
    03-Mar2011    NTE02     Storage  Charges      6,000     
    Patrick
    Edited by: Patrick Makanga on Mar 10, 2011 8:05 AM
    Edited by: Patrick Makanga on Mar 10, 2011 8:17 AM

    Hi Julie
    Thanks, had grouped by PBs and summed up sub totals per each BP and finally a grand total for all the BPs. Just wanted to make the report appear shot and  avoid repetition of two same items with the same date. Have tried creating the two levels of groups but still not getting the desired results, could it be done with a formula field? if yes, how is the code?
    Patrick

  • Create a node with the newest date only

    Hi, I want to create a node in the target, only by the newest date from the source. The source is an Idoc with, say, 3 segments of the same kind, with different dates. Only the segment with the newest date, should be created in the target.
    Any Ideas?

    Hi,
    it's easy but with user defined functions:
    - put all segments into the UDF
    - then inside this UDF choose the one with the
    latest date and put it into the array (global variable)
    - then take the values from the global variable
    to fill the sements (from new UDFs)
    you could also try with
    DateBefore and DateAfter functions
    and try to do it without UDFs
    with logic like
    if date1 DateBefore date2 then ....
    Regards,
    michal

  • To delete the IDOC Segment in the Inbound i.e.Item Data

    Hi All,
    Idoc is received for orders05 as inbound.
    The IDoc Data contains two levels of item data
    i.e. Segment E1EDP01 - In this we Pass only the quantity.
          in the Sub Segment of item E1EDP19 - Customer Material in the segment IDTNR with qualifier 002.
    The same segment is repeated again but the customer material is different.
    Now need to check the material, if it is different, i need to delete the entire second item segment and put the customer material in the Segment E1EDP19 which has empty field.
    His there any Function Module or so to delete the incoming data of the idoc through inbound?.
    Could you please let me know if there any way to do the same.
    Thank you.
    Regards,
    Dinesh.

    yes here you can access only one segment, if you don't control that here, then the information will be populated to xvbap. or else you can even try to implement the error handling exit EXIT_SAPLVEDA_008 /EXIT_SAPLVEDA_011
    already item information will be populated to xvbap  table . so try to delete the item from xvbap also

  • I am using the big date calendar template and when I submit it to apple for printing I lose the name of two months. These names are not text boxes. I see the names when I send it in but something happens during the transmission to apple. It was suggested

    I am using the big date calendar template in iPhoto. I am on Lion 10.7.2, macbook air. The names of the months are on each calendar page but something happens when I send the data to Apple. The names are part of the template. They are not text boxes. I lose two names on the calendar after it is sent to Apple. Apple suggested I make a pdf file of my calendar before sending it in and check to make sure every name shows. I did this with a calendar I just sent in. The calendar was correct. All names of the months were showing. After sending the data two month names disappeard because when it arrived by mail, it was incorrect. Apple looked at my calendar via a pdf file and it was incorrect.  This is second time this has happened. I called Apple and they had me delete several folders in the Library folder, some preferences and do a complete reinstall of iPhoto.  I have not yet remade the defective calendar. I am wondering if anyone else has had this problem?
    kathy

    Control-click on the background of the view all pages window and select "Preview Calendar" from the contextual menu.
    You can also save the pdf as a file to compare to the printed calendar.  If the two names are visible in the pdf file then the printed copy should show them.  Contact Apple for a refund.  Apple Print Products - Apple Store (U.S.)

  • How to join two tables and get the supply delivery date next to order?

    So there are two tables. One has customer's order no, ordered date, order quantity, available quantity and code of article-
    The other table comes form supply side where we have supply order no, article number, ordered qty, and delivery date.
    We keep stock so this can not be MOT (made to order) system.
    What i need is correct date of arrival to appear next to cusotmers spoecirfic order. The older cusotmers order get's the parts first, second oldest order is next in line etc.
    here is any example
    customer's order
    ref order
    art. code
    ordered qty
    available qty
    order date
    1809202491
    700497
    60
    0
    3.7.2014
    1809200528
    700497
    13
    0
    20.6.2014
    1809198640
    700497
    7
    0
    9.6.2014
    supply order
    supply order
    art. code
    qty orderd
    date of arrival
    4501243378
    700497
    50
    4.8.2014
    4501263437
    700497
    20
    6.10.2014
    There is actually a 3rd "table" and that sort of connects the two and that is stock on hand per art. code.
    The main issue is that stock is assigned to purchase orders only when it actually arrives in the warehouse.
    A human can easilly connect the dates of when the stock will arrive and quantities with correct customer's order. In this case the firts order will get 50 pcs in August while 10 pcs will remain on backorders. The missing 10 pcs Will arrive in October. The second order will get 10 pcs in october and 3 will remain on backorders with no delivery date. While the third customer orders does not have a delivery date.
    So how to make the SAP do this calculations and display the arrival date next to date of customer's order?

    I checked the instructions as i do not have access to this part. It seem this is a query. We had issues with queries in the past as not all codes from orders would appear in them. They never found the reason why that is happening.
    However, I think the main issue is that the information here is not connected and is separately provided for supply and for sales. So i doubt it can be connected in this query.
    edit: as you can see the only connection is stock on hand.
    and total number of various items we have is close to 100.000 of various article codes.

  • How can we reset the session data in SAP ISA B2B application.

    com.sap.isa.isacore.action.IsaCoreInitAction$StartupParameter this action class providing the special feature to store all data passed to it in the request as parameters into the session context and make them available for all other actions.
    1. But in the inner class they had defined private parametrized constructor.
    2. Action class is defined as final.(there is no chance to override the method)
    3. There is no setter method (only getter() is available).
    4. Creating a new Z_ class that is reflecting in entire application.
    5.They had hard coded the Session attribute name in Action class.
    6. Application is expecting a session object with the same attributes.
    Is there any chance to create a new object for this class or any where any chance to reset the session data. Am using the Multiple_SoldTO concept in my application. My back end ECC .Please help me.
    Advanced Thanks
    PC.M
    Edited by: pmudigonda on Jul 6, 2011 1:21 PM

    I am not sure about your requirement, but yet.. Did you check UserSessionData object? It encompasses all the session variables.

  • Sharing the same data on two macs

    Hello, I have two Macs and would like to keep the same data on each laptop. I don't think iSync is the tool for the job. Can anybody out there advise of an easy affordable method of ensuring both my machines are sharing the same data; itunes, photo's, files, etc.
    Many thanks.

    Get FoldersSynchronizer You can set up a selection of folders and sync them between two Macs.

  • I currently have one input but need to run two loops. I cannot get the two while loops to run so that they both pick up the same data, they are both picking up alternate samples. How can I get them to both pick up all of the values?

    The system I am trying to create calculates a number of values based on an input. I need to make the calculations and display the values for an entire production run and for each hour. The only way I know to do this is to create two while loops, one looking at all the values that are received and one looking only at the values for hour long periods.
    Any help would be great.
    Thanks
    RossH

    Why do you think that you have to have two loops to accomplish this task? Why not use one loop and accumulate the same data into two data sets based on the two sets of criteria?

  • How to delete the duplicate data in between two distinct rows in SQL?

    Hi,
    I need to identify the duplicate data with two distinct rows. See my data structure below.
    NAME NAME_1 VALUE START_DATE END_DATE FLAG INDEX
    SUR SE 275 13/12/2005 31/12/2010 B 1
    SUR SE 375 A 1
    SUR SE 475 A 1
    SUR SE 275 13/12/2005 31/12/2010 B 2
    SUR SE 375 A 2
    SUR SE 475 A 2
    SUR SE 175 13/12/2006 31/12/2010 B 3
    SUR SE 375 A 3
    SUR SE 475 A 3
    This is my sample data. Here data are duplicate with different index columns. INDEX 1 and 2 contains same group of combination. So i need to identify any one of duplicate combination(i.e INDEX 1 or 2). Can anyone come up with exact solution?
    Thanks

    Try this:
    with test_table as
    (select 'SUR' NAME, 'SE' NAME_1, 275 VALUE, '13/12/2005' START_DATE, '31/12/2010' END_DATE, 'B' FLAG, 1 IND from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 1 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 1 from dual union all
    select 'SUR', 'SE', 275, '13/12/2005' ,'31/12/2010' ,'B', 2 from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 2 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 2 from dual union all
    select 'SUR', 'SE', 175, '13/12/2006', '31/12/2010', 'B', 3 from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 3 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 3 from dual )
    select t.*,
           CASE WHEN START_DATE IS NULL THEN
             first_value(row_number) OVER (PARTITION BY NAME, NAME_1, IND ORDER BY START_DATE)
           ELSE
             row_number
           END row_number
    from (
    SELECT t.*,
           CASE WHEN START_DATE IS NOT NULL THEN
             row_number() over(PARTITION BY NAME, NAME_1,VALUE, START_DATE, END_DATE, FLAG
                               ORDER BY IND)
           END row_number
      FROM test_table t) t
    order by IND, start_dateNote that this is only checking for diferences in the rows where start_date is not null. Do you want to also check if the records where start_date is null it there are differences? If so you can do this:
    with test_table as
    (select 'SUR' NAME, 'SE' NAME_1, 275 VALUE, '13/12/2005' START_DATE, '31/12/2010' END_DATE, 'B' FLAG, 1 IND from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 1 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 1 from dual union all
    select 'SUR', 'SE', 275, '13/12/2005' ,'31/12/2010' ,'B', 2 from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 2 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 2 from dual union all
    select 'SUR', 'SE', 175, '13/12/2006', '31/12/2010', 'B', 3 from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 3 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 3 from dual )
    SELECT t.*,
           MIN(row_number) OVER(PARTITION BY NAME, NAME_1, IND) MIN
      FROM (SELECT t.*,
                   row_number() over(PARTITION BY NAME, NAME_1, VALUE,
                                                  START_DATE, END_DATE, FLAG
                                         ORDER BY IND) row_number
              FROM test_table t) t
    ORDER BY IND,
              start_date;Edited by: Manuel Vidigal on 13/Abr/2009 12:05

Maybe you are looking for

  • OPEN_INTERFACE_REJECTS- INCONSISTENT SUPPL SITE

    Payables Open Interface Import program is throwing INCONSISTENT SUPPL SITE, when a third party vendor site code and third party vendor site id is passed along with matching PO number for creating an invoice for third party vendor site. Can any one le

  • How to get same day of a month in every year in the DB ( To update a flag )

    Hi, I am trying to formulate an update query for a flag table in our database which contains dates, and flag columns. Currently the system have dates for the next ten years. The flags are updated with values 0 or 1 if a particular date falls under th

  • Cannot double click RDP files in Mac RDP 8

    When I double click an RDP file to launch a connection that has to connect through a RDS Gateway the connection fails. If I import the same RDP file the I am able to connect through the RDP client, double clicking to connect however does not work.

  • What is in the PostgreSQL_Server_Services.log File and How do I Shrink it?

    I know OS X Server uses PostgreSQL now instead of MySQL which is fine by me. I am trying to figure out what is in the PostgreSQL_Server_Services.log file in Library/Logs/PostgreSQL/ . It is about 188 GB right now and ideally instead of relocating it

  • X-Fi Xtreme Gamer wont work - strange noises

    Hello! I just bought my new soundcard today - disabled the onboard sound clean uninstalled the drivers with drivercleaner and installed the drivers from the attached cd. After rebooting strange noises appeared instead of normal sound - no normal usag