Where to pole the Inbound 997 Aknowledgement in the B2B Database

Hi,
I have a requirement to process(through BPEL) the incoming 997 acknowledgment for 810 transactions.
I am able to receive the 997 successfully and it is changing the status in B2B reports from "MSG_WAIT for FA" to "MSG_Completed".
Now I have created a BPEL process which is poling to AQ having the Consumer ID similar to the Routing ID I mentioned in my 997 Document Definition over B2B.
But BPEL Process is not getting triggered though it is showing " MSG_Completed" status on B2B console.
Please let me know whether 997 details with the routing ID will get stored in AQ? if not, then where it is getting stored and how can My BPEL pole the 997 message for further processing?
Will Appreciate Early Response.
Thanks
Srrijna Saxena

Hi Sambhav,
Thanks for your inputs.
I have followed what you have mentioned in your last post.
While Configuring B2B Adapter , I have selected the B2B Acknowledgement document definition after that it is asking to select the root element from the drop down menu which is having many root elements like the below mentioned ones
1)replytoB2BMessageId,
2)ackDetails,
3)parameter,
4)ackB2BMessageId,
5)Acknowledgement,
6)replytoAppMessageId
So if I am selecting any of the above as an root element, I am getting the message like this:
<?xml version="1.0" encoding="UTF-8"?><Acknowledgment xmlns="http://integration.oracle.com/B2B/Acknowledgment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<replyToB2BMessageId>null</replyToB2BMessageId>
<replyToAppMessageId></replyToAppMessageId>
<ackB2BMessageId>0AF6038D133A2C6F33A000005F2AF623-1</ackB2BMessageId>
<ackDetails>
<parameter name="status" value="ok"/>
</ackDetails>
</Acknowledgment>
wherein I am looking for the payload that is been provided by B2B in the business message which is like this:
<?xml version="1.0" encoding="UTF-8"?><Transaction-997 xmlns="urn:oracle:integration:b2b:X12/997" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="2.0" Standard="X12" Version="V4030" CreatedDate="2011-11-14T07:51:47" CreatedBy="XEngine_2115" GUID="{8EF1CF22-0ED8-11E1-BD51-005056B074EA}"><Internal-Properties><Data-Structure Name="Interchange"><Lookup Name="InterchangeControlVersion">00401</Lookup><Lookup Name="InterchangeReceiverID">9722572499 </Lookup><Lookup Name="InterchangeReceiverQual">12</Lookup><Lookup Name="InterchangeSenderID">BENCODENTALAX </Lookup><Lookup Name="InterchangeSenderQual">ZZ</Lookup><Lookup Name="InterchangeUsageIndicator">P</Lookup><Lookup Name="Standard">X12</Lookup><Property Name="ElementDelimiter">0x2a</Property><Property Name="InterchangeAckRequested">0</Property><Property Name="InterchangeAuthorizationInfo"> </Property><Property Name="InterchangeAuthorizationInfoQual">00</Property><Property Name="InterchangeChildCount">1</Property><Property Name="InterchangeComponentElementSep">0x3e</Property><Property Name="InterchangeControlNumber">000001837</Property><Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property><Property Name="InterchangeControlVersion">00401</Property><Property Name="InterchangeDate">111025</Property><Property Name="InterchangeReceiverID">9722572499 </Property><Property Name="InterchangeReceiverQual">12</Property><Property Name="InterchangeSecurityInfo"> </Property><Property Name="InterchangeSecurityInfoQual">00</Property><Property Name="InterchangeSenderID">BENCODENTALAX </Property><Property Name="InterchangeSenderQual">ZZ</Property><Property Name="InterchangeTime">1055</Property><Property Name="InterchangeTrailerControlNumber">000001837</Property><Property Name="InterchangeUsageIndicator">P</Property><Property Name="SegmentDelimiter">0x7e</Property><Property Name="Standard">X12</Property><Property Name="SubelementDelimiter">0x3e</Property><Property Name="TPName">BEN_AXI_4010</Property><Data-Structure Name="Group"><Lookup Name="GroupReceiverID">9722572499</Lookup><Lookup Name="GroupSenderID">BENCODENTALAX</Lookup><Lookup Name="GroupVersionNumber">004010</Lookup><Property Name="GroupAgencyCode">X</Property><Property Name="GroupChildCount">1</Property><Property Name="GroupControlNumber">1837</Property><Property Name="GroupDate">20111106</Property><Property Name="GroupID">FA</Property><Property Name="GroupReceiverID">9722572499</Property><Property Name="GroupSenderID">BENCODENTALAX</Property><Property Name="GroupTime">1055</Property><Property Name="GroupTrailerControlNumber">1837</Property><Property Name="GroupVersionNumber">004010</Property><Property Name="TPName">BEN_AXI_4010</Property><Data-Structure Name="Transaction"><Lookup Name="TransactionID">997</Lookup><Property Name="TransactionChildCount">6</Property><Property Name="TransactionControlNumber">01837</Property><Property Name="TransactionID">997</Property><Property Name="TransactionImplementationReference"></Property><Property Name="TransactionTrailerControlNumber">01837</Property></Data-Structure></Data-Structure></Data-Structure></Internal-Properties><Segment-ST><Element-143>997</Element-143><Element-329>01837</Element-329></Segment-ST><Segment-AK1><Element-479>IN</Element-479><Element-28>1862</Element-28></Segment-AK1><Loop-AK2><Segment-AK2><Element-143>810</Element-143><Element-329>1862</Element-329></Segment-AK2><Segment-AK5><Element-717>A</Element-717></Segment-AK5></Loop-AK2><Segment-AK9><Element-715>A</Element-715><Element-97>1</Element-97><Element-123>1</Element-123><Element-2>1</Element-2></Segment-AK9><Segment-SE><Element-96>6</Element-96><Element-329>01837</Element-329></Segment-SE></Transaction-997>
please suggest How can I achieve this.

Similar Messages

  • How to find out the inbound function module in the extended idoc

    Hi,
    how to find out the inbound function module in the extended idocs
    Thanks .

    through we41/we42 you can find the inbound function module.......
    or
    thorough we19(idoc test tool) ....
    give the input as message type or basic idoc..
    press exec...
    then you can find th button on application tool bar as inbound funtion module....
    from here also you can find..........
    <REMOVED BY MODERATOR>
    Khasimsa
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 1:34 PM

  • Process Inbound 997 using Orchestration in BizTalk 2010

    MS,
    After reviewing and trying all the topics related to Inbound 997, I am creating this new topic that appears to have worked for some of the forum users.  So here is what I did:
    First Attempt:
    Created a simple Orchestration that has a receive port listening to the folder (on a FTP server) where our trading partner (THEM) drops a 997 when we (US) send them an 850.
    The Orchestration basically writes the XML schema to another folder C:\Rcvd997 using a Send Port.
    We have a receive port listening to this C:\997Drop folder. 
    The first receive shape in the orchestration has a Filter expression BTS.MessageType == "http://schemas.microsoft.com/Edi/X12#X12_997_Root".
    We confirmed that the BTS.MessageType is a promoted property when the message is received.  This clearly indicates that the receive port/location is reading in the file (and of course the file gets deleted from C:\997Drop when it is read).
    We get an error
    The output message of the receive pipeline "Microsoft.BizTalk.Edi.DefaultPipelines.EdiReceive, Microsoft.BizTalk.Edi.EdiPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" failed routing because there is no subscribing orchestration or send port. The sequence number of the suspended message is 1.
    There is no XML file written to C:\Rcvd997.  We also added writing to the Event logs in an expression shape within the Orchestration with no luck.
    Second Attempt:
    In addition to that, we added a new SendPort called "EDI-997BadPort" with Filters BTS.MessageType == http://schemas.microsoft.com/Edi/X12#X12_997_Root and EDI.IsSystemGeneratedAck == false.  Both these values are promoted in the message received.
    This processes the file dropped in C:\997Drop folder and also completes the process successfully with no errors in the Administration console.
    However, the message was never picked up by the orchestration. 
    In addition, the new file created on port "EDI-997BadPort" uses the EDI fallback settings in the ISA segment for Receiver and Sender for some reason.  But the rest of the EDI seems to be correct.
    Third Attempt:
    Tweaking the Party agreements did not make any difference.  We unchecked the trading partner "Local BizTalk processes messages received by the party or supports sending message from this party
    The Transaction Set list is blank in trading party both (US --> THEM and THEM --> US)  agreement tabs.
    Fourth Attempt:
    We also created a custom EDI pipeline hoping that will disable the default behavior of EDI-997.
    We have tried several things since then with absolutely no luck.  So why do we need to do this - because we are exchanging EDI files over FTP and we need to do some custom processing once we receive 997 from THEM when we send them a 850.
    Why is there no way to intercept or disable what EDI does when it receives a 997?
    Any ideas, suggestions, recommendations?
    Thanks!

    Hi
    Can you please let me know if there is any solution for this. I tried to process the inbound 997 files but receive the same error.
    The output message of the receive pipeline "Microsoft.BizTalk.Edi.DefaultPipelines.EdiReceive, Microsoft.BizTalk.Edi.EdiPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" failed routing because there is no subscribing orchestration or send port. The sequence number of the suspended message is 1.

  • Get File name of the inbound file during mapping

    Scenario: to read the file name of the inbound file (which has date required for the mapping) during runtime.
    The requirement is to read the date of the inbound file (passed to the XI pipline by the file adapter) and populate the same in the outbound mapping structure.
    Any idea about how to do this?
    (I went through few options of using java.util.map. not successful yet)

    Hi Anand,
    I posted the same question a time ago, without any help....
    Can I find out the full filename of input file in message mapping?
    Posted: Nov 23, 2004 1:00 PM
    I have in XI 2.0 the following scenario :
    In the inbound fileadapter I read my input file. The filename of the input file is part fixed, part variable (Like INDATA01.txt, INDATA03.txt, etc).
    So in my Adapterconfiguration, I specify the filename with a wildcard (INDATA*.txt).
    What I now want to do, is in my Message Mapping use the full filename , so I can do something different for every filenumber. Is there a way where I can get the full filename available in my message mapping (I did not find the filename in the XML in the message trace).

  • Need help in updating Inco terms 1 and 2 in the Inbound delivery creation

    Hi Group,
    I have created an output type that will be triggered before an Inbound Delivery is created from the Outbound Delivery ( this scenario is in STO orders - Inter company stock transfer process ).
    I have copied a standard processing routine and customized it but, I am not able to update the 2 fileds (INCO1 and INCO2) in the item delivery of the Inbound Delivery. I was using the FM 'WS_DELIVERY_UPDATE' to update these 2 fields( by passsing the values fetched from the Outbound Delivery into the structure 'vbkok_wa' and the Inbound delivery created into the field 'delivery' of the FM ).
    When I run the the FM this is giving me errors and thus no Inbound Delivery is getting created.
    Please suggest me with some other way of updating these fields in the Inbound Delivery.
    and one more thing is that, I was selecting the Inco terms from the table LIKP directly, but this should not be the proper way to read the Incoterms, so please suggest me a way to read these 2 fields from the Outbound Delivery.
    to summarize, I need an FM to get the Incoterms from Outbound Delivery initially, and then, require another FM to update these Incoterms in the Inbound Delivery( this is a typical scenario in an STO - Stock Transport Order ).
    Please let me know your input on these 2 cases.
    Thanks for the help in advance.
    Regards
    Vishnu.

    Hi Group,
    By implementing the BADI 'LE_SHP_DELIVERY_PROC' this particular requirement can be fulfilled.
    Regards
    Vishnu.

  • Message type is not populating in the Inbound idoc control record

    Hi,
    I have created an Inbound Idoc function module and have done the necessary Idoc settings. But, while testing in WE19, I observed that control record is not getting populated with message type and it is dumping.
    The settings which I have done in WEDI as follows:
    1. Created Idoc segments with necessary fields and released
    2. Created Idoc type for the segment type
    3. Created message type
    4. Assigned message type to basic type
    5. In the inbound processing settings,
       filled the ALE attributes with the Idoc function module name and input value '0'
    6. Assigned FM to basic type and message type
    7. Created process code and assigned the process code to message type
    Please let me know, the reason for the message type not populating in the control record. Useful answers will be surely rewarded.
    Best Regards,
    Mallika

    Hi,     
    Maintain partner profile (Transaction code WE20) for the message type you defined in WE81 and put your process code in partner profile and check your logical system settings also in transaction SALE.
    Thanks
    Rahul

  • Messages still stuck in the Inbound queue SMQ2

    Hello XI Gurus,
    All my messages with "READY" status are still stuck in the inbound queue (smq2) for the last 2 hours...there was no SYSFAIL error messages or scheduled background running. I have to manually go in and executed each of those messages, instead of automatically process it. Could someone please tell me how to troubleshoot this?
    Thanks so much in advanced,
    Dng

    Implement SAP note 758677 for this. This exactly deals with your issue.
    This Basically speaks about scheduling 'RSQIWKEX' for inbound and 'RSQOWKEX' for outbound queues.
    Also, you need to set the parameter 'QRFC_Restart_ALLOWED' to '1' in the transaction 'SXMB_ADM' -> Integration engine. Its in the runtime dropdown menu.
    Note : without this parameter being set this will not work.
    Thanks,
    Karthik
    Edited by: Karthik Rangaraju on Oct 1, 2008 2:13 PM

  • File-2-Proxy: Get file name in the inbound proxy?

    Hi,
    I need to know the file name in the inbound proxy. After a search I found that's possible mapping the file name to the target structure as it's explained in that link: [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID1731350750DB00274596951164745615End?blog=/pub/wlg/2664]
    But I need to know if there is another way to access the file name in the inbound proxy without modifying the mapping.
    Thanks.

    this is possible by a dynamic configuration (there is no other easy way)
    some references -
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1159980350DB00296046510040545862End?blog=/pub/wlg/13704
    the idea is to get the file name in runtime using the dynamic conf code and poulating it to any field that will be part of the proxy message

  • How to skip the Inbound Delivery while updating LA confirmations via EDI

    Hi Experts,
    I have a requirement wherein I dont want to create Inbound Delivery automatically when updating the LA (or a copied Conf Cat of LA) confirmation via EDI.  When we are using the message type DESADV, LA confirmations are being updated, but simultaneously, the Inbound delivery also being created.  My client desires that Inbound Delivery should not happen and only LA confirmation should be updated via EDI.
    Is there anyway, by which we can skip the Inbound Delivery while updating the LA confirmations in the PO?
    Thanks in advance
    Regards
    Radha Krishna

    Hi Prabhaharan,
    Thanks for your quick response.
    My requirement is to have both AB and LA confirmations.  I have included these two in a new the conf control   So, your suggestion will not work.
    Is there any other way out to fulfill my requirement?
    Thanks & Regards
    Radha Krishna

  • EDI-How does the Inbound File process work?

    Hi
    How does the Inbound process work in EDI
    When a file is put in the Inbound EDI directory of the App server how does the system start the process?
    Which programs are called/triggered?
    How does the Inbound process work?
    Please be brief and precise.

    Hi
    Check the links
    Check these links.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    Please check this PDF documents for ALE and IDoc.
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    Reward points if useful
    Regards
    Anji

  • Inspection lot not getting cancelled after the inbound delivery is created

    Hello,
    The scenraio is like this.
    1. Material was procured in plant A.
    2. Using the stock transfer purchase order, transferred the material from Plant A to Plant B.
    3. Outbound delivery was created, Handling units were assigned and Post Goods issue was done.
    4. As soon as this was done, inbound delivery got created automatically in plant B and Handling units were assigned.
    5. Inspection lot was created with origin "08".
    6. Now I want to reverse all the transactions, so I did as mentioned below.
    7. Handling units were deassigned from the inbound delivery and inbound delivery was successfully deleted.
    8. Now tried to do the reverse post goods issue and got the error "Handling unit XXXXXX cannot be reversed"..Goods movement cannot be reversed for handling unit XXXXX because it has been changed or assigned to object since the last goods movement posting".
    The issue is that as soon as the inbound delivery is deleted, the inspection lot status should change, which has not changed. So kindly let me know how to make the system cancel the inspection lot as soon as the deassignment of handling units is done in inbound delivery or the inbound delievry is deleted.
    Regards,
    Narendra Bora

    Hello,
    Can anyone please reply.
    Regards,
    Narendra Bora

  • Where to put break point when debugging the inbound IDOC processing

    Hi, Dear Experts,
    If IDOC has error and want to debug, which program or function module  to put break point when debugging the inbound IDOC processing
    Thank you so much!
    Helen

    It depends on if you have the custom FM or standard FM...Is it MM invoice or FI invoice? ... You can find out your FM by going to partner profile (WE20) for your sender partner and partner function.. Drill down to your partner and the message type and find the inbound process code.. Double clicking on the process code will help you find the FM...
    If you don't have access to WE20, You can also put BP into any of the IDOC_INPUT_INVOIC* FM and see if it is getting triggered (assuming your IDOC is standard FM)...

  • PPF: automatically Putaway WT creation after distribution of the inbound delivery from ERP

    Dear Experts,
    I'm trying to test the PPF in order to create a putaway WT for an inbound delivery in EWM-System directly after its distribution from the ERP-System.
    1. I’ve chosen the action profile (PDI_01) and did an assignment to the doc type PDI
    2. I’ve created the determination procedure to the action profile:
    3. I’ve created a condition records:
    After this I try to disribute an inbound delivery from ERP to EWM, but as after distribution as after saving of the inboun delivery nothing happens.
    Could you, guys, give some hits, what I missed and where I should define the whrehouse process type for the putaway WT?
    Thank you in advance
    BR
    Denis

    Hi Petr,
    thnaks for the help once again,
    I did some settings you and Alex proposed and now I can see than my action will be found when creating Outbound Delivery Order:
    But even I have only one condition record to my action "PDO_01_WT_CREATE" it will not be fulfilled...log says
    I also changed the GM status to NSNS...can I somehow find out which conditiontion the programm is claiming about?
    BR
    Denis

  • Vendor batch and batch field on the inbound delivery

    hi GUrus,
    i have looked through most of the threads where the topic of vendor batch and batch on the inbound delviery has comeup. I'm specifically looking at a scneario where i would want to pass the on the batch number provided by the vendor on the IDOC to batch field on the inbound delivery. The reason for this is , i can look at the batch field in the confirmations tab of the PO, in the purchase order histroy tab of the PO, and also MMBE tcode. the material is also batch managed turned on in hte material master. But the issue is that even though i put the batch provided by vendor in the CHARG field on the ASN IDOC, it is still getting populated in the vendor batch field in the inbound delivery.
    any ideas?
    Thanks
    Ravi

    Hi,
       Refer the note:  833668 - Creating batches in the inbound delivery using IDOC  which explains the system design.
    Regards,
    AKPT

  • Creating Delivery based on the Inbound IDOC received.

    Hi all,
    I have a requirement where in, Outbound Delivery for Sales order is to be created based on the inbound IDOC received from a third party.  The standard idoc type DELIVERY03, requires the Delivery Number for updating the order but it cannot create a delivery number.
    Can any one suggest which IDOC type can be used for this or if there is any alternative solution?

    Hi,
    You can use FM IDOC_INBOUND_WRITE_TO_DB to create an inbound IDoc.
    CALL FUNCTION 'IDOC_INBOUND_WRITE_TO_DB'
        EXPORTING
          PI_STATUS_MESSAGE       = I_EDIDS
        IMPORTING
          PE_IDOC_NUMBER          = DOCNUM
          PE_STATE_OF_PROCESSING  = STPROC
          PE_INBOUND_PROCESS_DATA = I_TEDE2
        TABLES
          T_DATA_RECORDS          = I_EDIDD
        CHANGING
          PC_CONTROL_RECORD       = I_EDIDC
        EXCEPTIONS
          IDOC_NOT_SAVED          = 1
          OTHERS                  = 2.
    Check the following link:
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/IDOC_tutorial.html
    <b>Reward points</b>
    Regards

Maybe you are looking for