BPM - triggering process based on Transport Acknowledgement

hello everyone, have a theoretical type question i would like some advice on.
scenario --> IDOC from R/3, transformed and sent to file adapter.  In the BPM, i have defined the send step to the file adapter as being asynchronous, but have specified an acknowledgement type of 'transport' to be returned. 
As the step is asynchronous and is thus persisted i cannot trigger an exception if the send does not occur.  Question -is it possible to make subsequent steps dependent on the success of the transport acknowledgement being returned from the send step?
thanks in advance for any light you can shed on this topic!
/david

hi,
we can have the header file as header and item file as item. basically based on our convenient we can suggest the file name to the sender. so scheme can be anything that fits our requirement

Similar Messages

  • BPM Transport acknowledgment problem

    Hi,
    I'm making a scenarion where
    Sync RFC -> 'ASync' FTP
    using the BPM.
    I need to know if the file transport went allright or not and will inform the user direclty.
    So I've started to use the BPM's acknowledgment Transport feature, to know if it was successful transfered or not.
    The 'file' is transfered however, an error occur when trying to get the acknowledge.
    The message monitoring says:
    2010-10-29 08:25:50     Success     Acknowledgement creation triggered for type: SystemAck
    2010-10-29 08:25:50     Success     Acknowledgement creation triggered for type: AckNotSupported
    2010-10-29 08:25:50     Success     Acknowledgement sent successfully for type: SystemAck
    How should I interprent this error message?
    Does this mean that IIS FTP server not supporting this acknowledge feature?
    Do I need to do some special configuration of acknowlege messages?
    ps this PBM stuff and ack part is new to me
    Best regards
    Tobias

    Thx, but I have already read those forum threads.
    I find the error strange, I can see that the file is transfered then it's seem like the process stops and wait on the acknowlegement. Then when the deadline time is up then it returns saying that it failed.
    Does the FTP server need to have some special feature for getting this transport acknowledgment?
    Best regards
    Tobias

  • File adapter transport acknowledgement in Integration Process

    Hi,
        I am working on a very complex integration process. In one of its part, a message is sent to the File Receiver and a Transport Acknowledgement is requested. From what I read, I still don't get it how to check in the integration process if everything was fine.
        Do I need to place an exception branch in the corresponding block and if the send step triggers an exception, that means that the acknowledgement wasn't received? Or do I need to make a receive step with a deadline of around 30-60 secs and there wait for the acknowledgment, triggering the exception here?
        Basically I would like to implement something like If there's an error do a specific mapping, if it went through then do a different mapping.Thanks in advance for your suggestions.
    Regards,
    George

    Basically I would like to implement something like If there's an error do a specific mapping, if it went through then do a different mapping.
    In that case you shouldn't think of Deadline branch. Use the exception branch inside block and there you may specify another mapping condition.
    Regards,
    Prateek

  • BPM Transport Acknowledgement

    Hi
    I am doing the scenario JDBC-IDOC-JDBC.
    retrieve the data from JDBC and generate IDOC for each record and send to ECC.
    and then i need to update the status in JDBC for those records that are successfully transfered to ECC..
    if some records(each record in JDBC = one IDOC) i mean IDOC got failed to reach ECC that particular record we should not update in JDBC.
    For this i am using  Transport Acknowledgement option in async send step and send the IDOC to ECC.after succefull transfer of IDOC to ECC..,my further steps need to execute( here JDBC Update mapping and send steps)
    question:
    if send step receives the +ve ACK then the further steps will execute normally?
    In BPM if the adapter sends a negative ACK (-ve) can we stop BPM and cancel that process using exception handler??(with out deadline branch)i no need to wait for any time period.
    we have an option "system error" in send step..will it trigger for negative ack?? if not for what purpose we can use that??
    Thanks

    then i think it Will not execute next steps
    It depends on what Error handling you use in the BPM....suppose you wrap your Send step in a Block with Exception Branch and either leave the Exception Branch Empty or include a Throw Alert step then the further steps will be executed in the BPM.
    If you include Cancel Process Control Step then the BPM will stop when it gets an exception.
    what's the purpose of using the Transport ack.??
    Transport Ack is basically used in those scenarios where you want to confirm that the message has been delivered by SAP XI/ PI succuessfully to the end system....not to confirm whether the message has been processed by the end system.
    Mostly used with FILE (not compulsory though) and in similar scenarios where the end system/ protocol does not support ACK.
    terminate process as u told will terminate all the 50 transactions or only that particuar instance and remaining will execute normally??
    Terminate process will be executed when the BPM reports any error and is catched by the the Exception Branch having the relevant Control Step....this will cause the BPM to stop there itself.
    No further steps will be executed.

  • Exception handling of Transport acknowledgement in asynchronous send in BPM

    HI,
    A silly question, but your help would be greatly appreciated..
    - I have a asynch send step in a BPM for sending data to the target system through RFC
    - It has acknoweledgement property of this send step is set to transport acknowledgement
    - The exception property of this send step is set to throw a 'RFCException'
    - This send step is inside a block
    - This block also has an Exception branch which catches this 'RFCException'
    - now my RFC channel failed for some known reason, but the flow never went into the Exception branch
    IS this behaviour of the 'transport acknowledgement' property of an asynch send step in BPM expected ?
    What should I take care so that if my RFC receiver channel throws an exception, the flow of my BPM goes to the exception branch ??

    - now my RFC channel failed for some known reason, but the flow never went into the Exception branch
    IS this behaviour of the 'transport acknowledgement' property of an asynch send step in BPM expected ?
    What should I take care so that if my RFC receiver channel throws an exception, the flow of my BPM goes to the exception
    branch ??
    When an exception is caught by the Transport Acknowledgement it will trigger the Exception branch (if the send step is defined inside a Block with an Exception Branch)
    I think you have not defined (and then assigned) a proper Exception Handler for the Block.
    Click on the Block and define an Exception Handler......click on the Exception Branch and then select the Exception Handler from the dropdown......if this is not done then the Exception Branch wont be executed.....perform a check on your BPM in IR (using F7) you may get some warnings.
    Regards,
    Abhishek.

  • How long BPM wait for an transport acknowledgement

    I have a send step with transport acknowledgement. When receiver system is not available adapter tries 3 times to deliver a message but my BPM has still a status "in work".
    How long BPM wait for an transport acknowledgement? Can I configure it? Will this BPM cunsume system resorces?
    What is the best strategy for work with transport acknowledgement?

    > You can add a deadline branch
    I don't like this approach... because I can change amount of attempts  and period. My BPM will be stopped but message could be delivered later... It will be diffucult to support dedline period in all business process

  • Transport Acknowledgement for HTTP adapter

    Hi all,
    I have the following Integration Process (BPM) defined.
    I receive a RFC Message from R/3 in XI. The RFC message is put into a BPM scenario. It then waits for a second message to arrive which belongs to the first. Then i have to send the two messages in order (first the 1st message, then the second). These messages are both Asynchron. To make sure the messages are sent in correct order, i put the send steps in separate blocks and i request a transport acknowledgement. The message is written with a file adapter to a directory. This is on the testing environment and (as far as i can see now) working correct, because the send step is waiting for the acknowledgement and then going to process the second message.
    Now in the production system we do not send the message to a file, but to another system using the HTTP adapter. I cannot test this in any other system, so my question is: <b>Can i use the Transport Acknowledgement with the HTTP adapter in the production system to make sure the messages are delivered in correct order???</b>
    Or do i have to do other things?
    Thanks in advance!
    Marcel Leeraar

    Hi,
    Considering that HTTP adapters also support transport ack's, I dont think this should be a problem and it should work just as it did with file adapters.
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm
    Regards
    Bhavesh

  • Capturing the Transport Acknowledgment

    I am sending a PO from a legacy System (File Adapter /)Asynchronous and from XI we are sending to a Vendor using (Asynchronous/HTTP Adapter).
    I am using a BPM to do the above process. In my Send Step to Vendor, I have the Transport Acknowldgement set. I am trying to catch the Bad Return code, if the Vendor Server is Down or Vendor Server Gateway timed out or any other problems.
    How should I move further?
    My BPM looks like Receive Step (Receive a message from File) & Send step (Transport Acknowledgment set, Send the message to Vendor), both of the above steps are inside a Block Step?
    Now if I get a bad return code, I want to capture that and I want to attach that payload of error message and need to send it thru a mail. Please note, I know how to configure a mail adapter and I have already executed that.
    Thanks.

    Karen,
    I guess, your Block would look something like this.
    1. Block with Exception(Property) "HTTPError".
    2. Normal Branch with the send step and Exception(Property) "HTTPError".
    3. Deadline Branch with the control step and Exception(Property) "HTTPError".
    4. Exception Branch with the control step and property 'raise alert'.
    So whenever an exception is thrown in a send step of normal branch or an timeout occurs in an dead line branch then an exception "HTTPError" is thrown and the control will be given to the appropriate exception branch. Once the control is given to exception branch you can raise an alert or send an email etc...
    >>I Inserted an Exception Branch for that above Block and dropped a Control Step . Action ---> Throw Exception and Exception, when I click the dropdown I am not seeing the HTTPError that I have defined for the block.
    That's correct, excption defined for a blcok will be visible only in normal path and the deadline branch..
    Exception branch is meant to handle an exception from normal branch and the deadline branch. In case your scenario needs to raise an exception in the exception branch using the contorl step the you need to put your control step in another block and define another different exception for the same. But i guess currently you do not need such scenario.
    >>On the other hand when I define a Deadline branch, I see the HTTPErro, what exactly I am missing here.
    I think my explnation for the first question answers this..
    Hope this helps..
    Regards
    Anand

  • Transport acknowledgement

    I'm using BPM in my scenario. In a loop, I'm sending out IDocs, for which I'm using transport acknowledgement.
    The strange thing is that the IDoc is received in R/3, but XI is still awaiting the transport acknowledgement. Sometimes this ackowledgement comes pretty fast, within a few seconds, but another time it takes up to 10 minutes before the transport acknowledgement is received.
    How is this possible? The XI IDoc adapter is supposed to send the transport acknowledgement, right? How can it be that is takes this long for the BPM send step to receive it?

    Hi
    Does anyone know if there has been an update to this issue from SAP side. I have the same problem and the issue can be also be found discussed in following threads:
    Re: Acknowledgement problem
    SXMB_MONI and BPM acknowledgement status updates
    I think it is weird that you will have to update the status in SXI_MONITOR to actually get the acknowledgement back. I have experienced the transport ack coming back right away, but now I also have this problem.
    Hopefully someone has been enlightened lately?
    Thanks!
    regards Pavel
    Edited by: Pavel Jonas on Jan 29, 2009 3:45 PM

  • Error processing in non BPM sync process

    I've created a sync non BPM process which is working fine. Data comes from several terminals via HTTP. My scenario is HTTP=>XI=>RFC
    On the sending side, I use ABAP mapping or parser. I'm using this since I have to check some table data based on plant code and react accordingly.
    However, its quite possible that this table does not contain data for a given plant code or invalid plant code in which case I need to send back an response instead of calling RFC like I would normally do.
    Any idea how I can send back a message without going through RFC (receiver determination)....remember I have manipuated the RFC message in the ABAP mapping (in interface determination) and the only data I have available in receiver determination is original message which is not good.
    This has gotten very tricky now. I cannot use BPM due to WF response time + added RFC time (6 secs). Using non BPM I'm down to 1 sec or so which the users are happy.
    Thanks,
    Very confused XI programer.

    Michal, The table is in XI. Table has few different fields that are important to the interface esp. The R3 system to call. Based on the plant code, we decide which SAP system to send data to. And in XI, we store this info...ex: PIP3 plant goes to AI0 system. The terminals where is information is generated does not have this sophistication.
    How would you accomplish this HTTP=>XI=>RFC non BPM sync process. BPM adds too much time and the users don't wait that long in today process which will be replaced by XI. Non BPM yields 1 sec which is what they want. Thousands of messages flow and they cannot wait that long.
    Do you have suggestions.

  • BP Transport Acknowledgement problem...

    Hi,
    In, XI3.0 stack 11, Business process have two SEND STEPs one for PO and another one for GI and the required condition is GI idoc should get posted only after posting PO idoc.
    As of now I have put transport acknowledgement in the first send step so that once all PO idocs are sent to r/3 then only the second SEND step will post the GI idocs.
    But transport acknowledgement works only if I keep refreshing the sxmb_moni. If I drop a file and not opening the sxmb_moni for say one hour or one day the second SEND step is not getting processed. Only if I click refresh or open the sxmb_moni again, it is processing the next send step and post the GI idoc.
    Could any one help me to resolve the strange behaviour of transport acknowledgement? Is sxmb_moni something to do with getting any acknowledgement? What is happening in the background while refeshing the sxmb_moni?
    thanks,
    sasikumar

    When copying systems, you should never copy one system alone, but always CRM and ECC at the same time. Since both are closely coupled and both contain tables, in which it is described which kunnr is mapped to which CRM GUID, it is without alot of effort and deep middleware knowledge not possible to reactivate the data exchange properly. But even then you have to make sure that in both systems either the same partner numbers do not already exist or clear one system from all existing partners. Some of these mapping tables are i.e. CRMM_BUT_CUSTNO and CRMM_BUT_CONTNO, which contain the mapping information that is now obsolete. Usually these tables should be the same in CRM and ECC (and the data also), but in your case this is not true unfortunately. Even an initial download does not help as this is looking at these tables.
    Alternatively if you make a customizing client copy of the CRM this new client can be connected to the ECC much easier as you do not have to remove data from the client. However, of course you still need to make an initial DNL.
    Hope this helps, Kai

  • Process flow For Transportation

    Hi:
    I would really appreciate if You could send me process flow from delivery creation to freight cost settlement in SAp. I want to understand how it works in SAP. Is freight PO generated for each shipping document? Is it manual or automatic process. Also would like to have config behind transportation,
    Thanks

    Hi Dev,
    Process flow for Transportation planning
    Delivery(After picking and Before PGI)(VL01N) >Shippment document(VT01)>Shipment cost document(VI01)
    If do the transfer in the shipment cost document automatically service  PO will be created based on the PO Invoice will be created automatically.
    Manually also you can process PO and Invoice based on the configuration settings.
    Transportation Planning configuration Steps: -
    1.Maintain Transportation planning point: -
       Menu path:  SPRO --> IMG -->Enterprise structure --> Definition --> Logistics execution --> Maintain Transportation planning point.
    2.Shipments: -
       Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Shipments.
    2.1 Maintain Transportation relevance
    Menu path: SPRO --> IMG --> Logistics execution --> Transportation > Shipments> Maintain Transportation relevance.
    2.2 Define Shipping type: -
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Shipments --> Define Shipment type.
    3.Basic Transportation functions: -
       Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Basic Transportation functions
    3.1 Defining Output control for the shipments: -
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Basic Transportation functions --> Output control --> Maintain Output determination for shipments.
    3.2 Partner control for the shipments: -
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Basic Transportation functions --> Partner control --> Set up partner determination for Shipments.
    3.3 Text control for the shipments: -
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Basic Transportation functions --> Text control --> Define & Assign Text determination procedure.
    3.4 Routes: -
        Menu path: SPRO --> IMG --> Logistics execution ---> Transportation --> Basic Transportation functions --> Routes --> Define Routes.
    3.4.1 Define Routes: -
    a.Define Transportation connection points.
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Basic Transportation functions --> Routes --> Define Routes --> Define Transportation connection points.
    b.Define Routes and stages.
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Basic Transportation functions --> Routes --> Define Routes --> Define Routes and stages.
    3.4.2 Route Determination: -
       Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Basic Transportation functions --> Routes --> Routes determination
    a.Define Transportation zones
       Menu path: SPRO  IMG --> Logistics execution --> Transportation -->Basic Transportation functions --> Routes --> Routes determination --> Define Transportation zones.
    b. Maintain country and transportation Zone for shipping point
    Menu path: SPRO -->IMG --> Logistics execution -->Transportation -->Basic Transportation functions --> Routes --> Routes determination --> Maintain country and transportation Zone for shipping point.
    c. Maintain Route Determinations: -
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Basic Transportation functions --> Routes --> Route determination --> Maintain Route determination.
    4. Shipping Costs : -
        Menu path:  SPRO -->IMG --> Logistics execution -->Transportation --> Shipping cost
        4.1 Shipping cost Basic Functions: -
         Menu path:  SPRO --> IMG --> Logistics execution --> Transportation --> Shipping cost --> Basic functions --> Define Date Rules.
    4.2 Shipping Cost Document: -
       Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Shipping cost --> Shipment cost document.
    a. Shipping cost type and item categories.
        Menu path: SPRO --> IMG -->Logistics execution --> Transportation -->Shipping cost --> Shipment cost document --> Shipping cost type and item categories.
    b. Shipping Cost relevant and Default setting for shipment cost type: -
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Shipping costs Shipment cost document --> Shipping Cost relevant and Default setting for shipment cost type.
    4.3 Shipment cost Pricing: -
        Menu path: SPRO --> IMG --> Logistics execution -->Transportation --> Shipping costs --> pricing
      a. Define & Assign pricing procedures.
         Menu path: SPRO --> IMG --> Logistics execution -->Transportation -->Shipping costs --> pricing --> Define & Assign pricing procedures.
    4.4 Shipment cost settlement: -
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation -->Shipping costs --> settlement.
    a.Assign purchasing data
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation -->Shipping costs --> settlement --> Assign purchasing data.
    b. Automatic determination of CO assignments: -
        Menu path: SPRO --> IMG --> Logistics execution --> Transportation --> Shipping costs --> settlement --> Automatic determination of CO assignments.
    I hope it will help you,
    Regards,
    Murali.

  • BPM Integration Process that correlates 2 messages.

    I have an BPM Integration Process defined that collects Deliveries for an Order number and when an Invoice arrives for the same Order number it merges the messages to produce another file that is for a 3rd party.
    I correctly receive in the Delivery and the Invoice u2013 I can see them in SXMB_MONI with a checkered flag and they are directed to my BPM.  I can see this also in SXMB_MONI_BPE.  I can also see the correlation correctly found in both messages.  No error is reported by either SXBM.. transaction.
    However it does nothing except receive the files u2013 I am expecting a transformation and then the send step to execute.
    Start >  CollectIDOCBlock  > Collect Fork
    Fork1
    Infinite Loop for Receive Delivery (Start process) and Collect in Container. It uses and activates Correlation OrderNum
    Fork2
    Receive Invoice uses Correlation OrderNum (it does not activate the correlation)
    At the end of the Fork (when Delivery collected and an Invoice is received)
    It will then do the Transformation and Send Step.
    <End
    I have tried various combinations of the correlations and which receive step starts the process.  Any ideas ?

    Yes that did work.  Now does somebody know what exactly the FORK parameter number of branches does ?
    The SAPHelp is here
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    +You can specify the required number of branches and then define whether the process must run through all branches, or just a particular number of branches+
    But it does not explain why you need to have 1 as necessary branches rather than 2.  There are 2 branches in the FORK - so why does having 1 as the parameter work and not 2.
    In this SAPHelp for Message-Dependent Loop
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    it indicates to me that the parameter should be 2.
    BUT the SAP pattern (BpmPatternCollectMessage) I have used as a base for mine has this as 1 and not 2.
    Why is 1 the correct value and not 2 ??

  • BPM for Processing Multiple records in a file

    Hello All:
    I using BPM to process Goods issue using BAPI BAPI_GOODSMVT_CREATE. The BPM setps are as
    Step 1  Receive Request from Asyn File Interface
    Step 2  Transformation Map to Bapi request Structure
    Step 3  Send Sync Request to Bapi
    Step 4  Transformation Map Bapi Response to file
    Step 5  Send Asyn Message to File
    My input file  is as fallows
    H,20050613,20050613,9999,HEAD TXT,03,
    P,000001000108,0001,COMMON,2,EA,1000,1011,261,ITM TXT,
    H,20050613,20050613,9999,HEAD TXT,03,
    P,000001000108,0001,COMMON,3,EA,1000,1011,261,ITM TXT,
    The output file is as fallows
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_SAP_RESPONSE_ITMS_DATA xmlns:ns1="http://testcompany.com/xi/ITMS">
    - <BAPI_STR>
    - <HEADER>
      <MAT_DOC>4900000696</MAT_DOC>
      </HEADER>
      </BAPI_STR>
      </ns1:MT_SAP_RESPONSE_ITMS_DATA>
    The problem I am facing is although my file has 2 records of goods issue data (Header and Item data) , the BPM processes only one record (Header and Item) and creates a material doc in SAP and outputs a file with the material doc number as above. Ideally I would like the XI system to process both the records and produce 2 material docs as output .
    Also my input file adapter has been picking up both the records as this is visible in the SXMB_MONITOR logs.
    Do I need to introduce a loop in the BPM ?. If so can any can any body give me an example or point me in the right direction.
    Many Thanks
    TBH

    Udo:
    <b>you need a mapping splitting one message with multiple entries into multiple messages with one entry, which you put into a multiple line BPM container.</b>
       Are you implying loop Step 1 Receive Request from Asyn File Interface and collect them into a multiline container ?. How does the loop know how many times to loop.
    Would appreciate your comments
    Thorsten

  • Permenant error in bpm inbound processing error in inbound queue of pi7.1

    Hi Experts,
                 In  E filling scenario in SAPPI7.1, iam facing a problem. i.e In sxmb_moni message monitoring, the  message was schedule at outbound side.when i extend that, the message was stuck in smq2 with "permenant error in bpm inbound processing".can any one please tell me how to relove this issue.
    Thanks & Regards,
    Giri.

    Hello
    Check the note #1126656     BPE-TS: Permanent errors in the BPE inbound processing. This describes some possible causes and solutions for this error.
    Regards
    Mark

Maybe you are looking for

  • Urgent!!! Pls help

    some data might have been lost'. Eventualy when it opens it loads very slow and not displaying brightly as it should. My music equally not loading at all, as the phone always conduct auto search of music and podcast without adding any musi c. This is

  • Why can't i drag footage onto the timeline?

    Why can't i drag footage onto the timeline? the timeline does not appear active.... Plz help

  • Export Media from DV Pal to AVI: Best recommended setting for Output file?

    I have a project in CS4, on Windows, in DV format (original videos were M2t). What is the optimal setting for export (and possibly for the sequence settings too) for the best quality and then smallest size? If my input is M2T files - is the best sett

  • Interfaces--bdc

    hi iam doing the interfaces trough function modules. if iam testing trough interface monitor tool for that particular flat file iam getting this error.. Interface test routine Search for interface file started no interface file available number of wo

  • Adobe and FIneprint

    Does anyone have any experience with Adobe and Fineprint? My problem lies in the PDF's from the internet.  I print the PDF to Fineprint then back to Adobe and somewhere in the process my PDF becomes mumbo jumbo.  All other PDF's are fine it's just th