BPM Scenario question

Hi
i created a bpm scenario according to the blog "RFC Scenario using BPM --Starter Kit" by Arpit Seth. I get the file into XI successfully, but after this first step nothing else happens. In the SXMB_MONI i have only one successful message that read my file.
How can i debug the reason of this problem?
thx in advance
Michael

i haven't a SXMB_MONI_BPM. But i checked SXMB_MONI again and found 2 error messages from BPM belonging to the resend tests from the PE trace.
The Response message contains following error:
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
Is this a BAPI problem?

Similar Messages

  • B2B Addon - BPM Scenario Question

    We have SAP  PO 7.4 single stack working on B2B Scenarios. We will be using AS2 Adapter to send and receive ANSI X12 messages like POs inbound, Order acks Outbound, PO changes inbound etc. We installed B2B Add on ESR Content and has some sample scenarios in  B2B Mapping Kit.
    Scenario 1: When order received from Customer (850)  we need to send Functional Acks ( Both Positive and Negative ) based on the status of success / failure of IDOC Posting. How do we achive this scenario without BPM. What is SAP recommended solution ( RDS approach) for this scenario considering its ANSI X12 850 to IDOC Orders scenario. I'm thinking of using exit in IDOC Posting fucntional module to trigger Proxy to PI which wil lbe sent to Customer after Mapping.
    Along with Funtional ack ECC should send ORDRSP IDOC to PI to ANSI X12 855 as well.
    Scenario 2: in another scenario, If send Order 850 to Vendor wil lthey typically send 855 as a response ? Since Its Orders IDOC outbound, how to make this as synchronous to receive 855 and update ECC with ORDRSP IDOC  without BPM?
    I would like to develope these scenarios avoiding BPM if possible. Since we are not implementing RDS solution,  we will be developing mapping inhouse. what is the SAP standard recommended approach if you used RDS ?
    Thank you

    Hello,
    If I am not wrong you are talking about below scenarios
    These scenarios need not wait for each other( independent of each other)
    In case of outbound EDI interfaces, EDI 997 (if partner is capable of sending one) will be helpful in updating the status of the Outbound IDoc.
    In Inbound EDI scenarios, 997 is generated at adapter level as s0on as message reaches PI successfully, 997 is sent back to partners if requested.
    To understand more on acknowledgements please have a look at below blog
    Functional Acknowledgement (Inbound and Outbound FA 997)- for Beginners
    (P.S.-  ACK 855 is an interface on its own (needs mapping from EDI to SAP (Idoc, rfc, file..))
    Regards,
    Pooja

  • BPM Scenario : How to Proceed ?

    hi folks,
    I am working on a BPM scenario .
    Scenario goes like this : I want to pick the data from a file and post the data into SAP using a RFC and get some data in response .now data which came back as a response from RFC response should be written in a XML file whose name should be dynamically generate and then the name of the dynamically generated XML file should go into a table.
    My BPM is like this
    Step 1  : Receive ( For collecting the data from file)
    Step 2 :  Sync Call to RFC ( For making a sync call to RFc and then sending back the resp data)
    Step 3 :  Send Step ( For sending the response data to XML file , name should be dynamically generated)
    Step 4 : Send step ( For sending the dynamic file name of XML file to Table)
    Till step 3 i have worked fine and getting the desired output also ( as i am getting the  dynamic file name in the output xml file) but after that not sure how to proceed...
    how to push the dynamic file name from XML file to Table.
    Now my doubts...
    Is design of my BPM  is right...? if not please correct me...and also if there is any other way to get the same functionality ?
    Regards,

    Hi Latika,
    -->hw r u generating the filename? is it thru a field in ur structure that u are capturing by setting adapter specific attributes in receiver file adapter config?
    Yes
    -->if yes, then use that field only to get the file name. in ur last send step u can use a mapping to trasfer this field into the target structure for oracle database.
    even i also want todo this...but how..this is the question..
    My BPM is like this
    Step 1 : Receive ( For collecting the data from file)
    Step 2 : Sync Call to RFC ( For making a sync call to RFc and then sending back the resp data)
    Step 3 : Send Step ( For sending the response data to XML file , name should be dynamically generated)
    Step 4 : Send step ( For sending the dynamic file name of XML file to Table)
    I step 3 data to file(dynamic file name) is send.
    Now how can i send the data from dynamic file generated just now to JDBC.....?
    Kindly help by step by steps..explanation..
    Regards,

  • Webserice to JDBC BPM scenario

    Hi Experts,
    I have created the below webservice to JDBC BPM scenario.
    IR
    Data Type
    1. DT_SOAPRequest
    2. DT_SOAPResponse
    3. DT_JDBCRequest
    4. DT_JDBCRequest_response
    Message Type
    1. MT_SOAPRequest
    2. MT_SOAPResponse
    3. MT_JDBCRequest
    4. MT_JDBCRequest_response
    Message Interface
    1. SOAP_Out_Sync_ReqResp
    2. SOAP_Abs_Sync_ReqResp
    3. SOAP_Abs_Async_Req
    4. SOAP_Abs_Async_Resp
    5. JDBC_In_Sync_ReqResp
    Message Mapping
    1. MM_Request ( MT_SOAPRequest to MT_JDBCRequest)
    2. MM_Response (MT_JDBCRequest_response to MT_SOAPResponse)
    Interface Mapping
    IM_SOAP_TO_JDBC (SOAP_Abs_Sync_ReqResp to JDBC_In_Sync_ReqResp)
    Integration Process
    IP_SOAP_TO_JDBC
    Container Variable
    1. ReceiveMsg - SOAP_Abs_Async_Req
    2. SendMsg - SOAP_Abs_Async_Resp
    Process
    1. Receive Step:
    Message : ReceiveMsg
    Mode : Opens S/A bridge
    Sync Interface : SOAP_Abs_Sync_ReqResp
    2. Send Step:
    Mode :  Sync
    Sync Interface : SOAP_Abs_Sync_ReqResp
    Request Message : ReceiveMsg
    Response Message : SendMsg
    3. Send Step:
    Mode : Closes S/A bridge
    Opend by : Receive step
    ID
    Business Service & communication channel
    1. BS_SOAP ( For Sender Interface, I have mentioned SOAP_Out_Sync_ReqResp -->Is this correct)
       a) CC_SOAP - Default Interface Name : What we have to give here ?SOAP_Out_Sync_ReqResp or SOAP_Out_Sync_ReqResp
    2. BS_JDBC ( Receiver Interface : JDBC_In_Sync_ReqResp)
    One more question, while creating webserive which interface name we have to give Abs_Sync or Outbound_Sync? Not comfortabel with Configuration part, please share your inputs.
    Regards
    Sara

    Hi Sekhar,
    I need info on only Message Interface in SOAP Service, SOAP CC and while creating webserivce from Integration Directory -> Tools -> Define webservice -> 3rd step. I have done with the remaining Sender Agreement, Receiver Agreement, Receiver Determination, Interface Determination..
    Confusion is, I have to use whether SOAP_Abs_synch or  SOAP_Outbound_synch interface...
    Regards
    Sara

  • XI File BPM scenario

    Hi all,
    i have questions regarding the usage of big files with a BPM scenario. The functional requirements are as follows:
    1. Pick up large (raw data) file (1MB) from FTP server
    2. Drop this file to a second FTP server
    3. After the file has been transmitted sucessfully (criticall !), look into a DB and extract information with the help of the filename of the transmitted file and extend the message (in a message mapping)
    4. Send this data to ECC and update a custom table
    My approach to realise this scenario, would be to perform the DB lookup in a java mapping. Are there any other options?
    In addition I am concerned about performance issues, because we will send about 200 files a day (up to 10 at a time) using that interface. Is there a possibility to avoid the integration process?
    Kind regards and thanks in advance
    Florian

    Hi Floarin,
    Your requirment can be accomplished with and without BPM.
    With BPM:
    To improve performance:
    you can use the Concepet of Message Packaging For BPE which is best suited for requirment of your kind i.e where you have multiple files coming in in bunch.
    you can also define receive of a file on a FTP under a block only as you are not using file content and you need file name only.
    Please use JDBC look up only it will improve the Performance to a greate extend.
    After JDBC look up you can use that Data to write into ECC
    Without BPM:
    You can find Modules that can extract file name and pass that file name to JDBC look up and then output of JDBC to ECC.
    Even here also you can use Concept of Message Packaging.
    To handle Exception you can use Alert
    Reward Points if Helpful
    Thanks
    Sunil Singh

  • BPM Scenario

    Hi,
        I am trying out an BPM scenario for an N:1 mapping,in which i'll be sending N number of 2 different structure of messages.The source file got picked from the Source.The SXMB_MONI describes that the "Message being sent",but i couldn't get at the target.I doubt that my BPM design could have strucked up in the looping and hence the message couldn't be delivered.Can anyone provide some pointer to get it resolved.The BPM design is as mentioned below :
    Block
              Deadline
              Exception Handler
                                        Loop1     Recv1     Container1    Loop1
             Fork                                                                                Fork     Transformation(2:1)   Send  Stop
                                      Loop2     Recv2      Container2      Loop2
    Note : The loop will come out when the deadline time reaches 2 min.

    Yes.The Correlation desfined as below
    File1 of Abstract type Message Interface
    FileList1 of of Abstract type Message Interface(Multiline checked)
    File2 of Abstract type Message Interface
    FileList2 of of Abstract type Message Interface(Multiline checked)
    TargetFile of Abstract type Message Interface

  • BPM Scenario: Message has error status on outbound side

    Hi All,
            I am doing one BPM scenario. In my scenario i am collecting 12 different type of idocs in BPM and bundling these idocs and sending these to the 12 different files.
            If i send 12 idocs from the R/3 then my scenario is working perfectly fine. If i send less than the 12 idocs that time i am getting the error message as "Message has error status on outbound side" with red flag.
               Can you please explain what minght be the problem. I have already checked in SM58,SMQ1 and SMQ2.
    Thanks & Regards,
    Purushotham

    Hi Nutan,
            I hv configured my scenario as follows
    1. Start
    2. Block ( Deadline and Control step for cancell the process)
       3. Fork(Necessary branches 12)
          4. Loop(12 loops)
              Under loop
              a. Receive Step
              b. Container Operation( For count)
              c. Container Operation(For append)
    5. Fork( Necessary branches 12)
        6. Transformation
        7. Send
    8 Stop
    This is my scenario. In the first Fork step i am checking end condition as total  number of idocs is reached then i am sending all the data to the target system. If the idocs are not reaching with in 1 hour then i am cancelling the process.
            Now can you please tell me what is the problem.
    Thanks & Regards,
    Purushotham

  • BPM scenario,message struck in queue.

    Hi folks,
    I am doing a Simple file to file BPM scenario(NO TRANSFORMATION)...
    My scenario executed properly,but in moni i receive a green flag, after i looked it in
    LUW -->Display Process, I can see the steps as
    Receive1--initialize-send1-UNDEFINEDWork flow completed.
    I think there is a problem after send.... can u plz tell me what may be the reason.
    Or Am i doing in creating a IP,..... if so can u give me a simple file to file scenario,with detailed steps

    Yes i have checked everything,
    Status code of IP is 0 in sxi_cache-->IP
    and interfaces are assigned properly at right places......
    Still the message gt struck in queue...
    I have a doubt,that why The Unsefined step is coming after send1....
    RECEIVE1>INITIALIZE>SEND1>UNDEFINED-STEP>COMPLETED

  • BPM Scenarios not working

    Hi All
    I have done a simple file_2_file and SOAP_RFC scenario.  Both of them are perfectly working fine. 
    Now I did a simple file_2_file scenario using BPM and this doesn't work.  When I go the transaction SXI_CACHE, it shows as "Cache contents are obsolete".  Also, in SXMB_MONI, when I see the messages, only sender interface is there and no part of the BPM messages are shown. 
    I am sure that my BPM configuration is perfect as its a simple example which I implemented from one of blogs.
    Do I have make any settings for a BPM scenario to work?  Please help.
    Thanks,
    Vijay

    Hi Moorthy,
    I already implemented your blog.  After activating all the objects, I just tried SXI_CACHE, it says the "Cache contents are obsolete".  Also, my previous scenarios doesn't work.  Now If I take out the BPM scenario, I mean if I delete the scenario, then the previous scenarios start working fine.
    Any solution please?
    Thanks,
    Vijay

  • File to RFC with multiple records using BPM Scenario Error...!!!

    Hello Guru's,
      I have done the File to RFC with multiple records using BPM scenario as per the Materiel available in the sdn.sap. This involves BAPI (BAPI_MATERIEL_AVAILABILITY). I have done exactly the same what is their in the materiel. SXI_CACHE is also giving return value " 0 ". File is getting deleted from the source directory, but no file in target directory. SXMB_MONI is also showing no error (black Flag). BPM is also error free. Checked the interfaces also.
    Can any one tell me what mistake would i have done.
    Thanks in advance.

    Hi,
    There is one similar discussion I found,
    FTP TO RFC using BPM
    Thanks
    Swarup

  • PI 7.0 BPM scenarios

    Hi Experts,
    Do we need to do any Post-installation to work on PI 7.0 BPM scenarios? I have creted and activated the business process thro' PI, but I couldn't see those business process in SXI_CACHE.
    Please share your suggestions..
    Regards
    Sara

    Business logic is the functionality performed on the data at the communicating systems (sender/receiver).
    Intregration logic are the business rules based on which the data is transformed from one format to another and the path through which data should flow
    BPM mostly concentrates here on the integration logic.
    Regards,
    Prateek

  • Webservice response in BPM scenario

    I am doing a BPM scenario where I take data from ERP asynchronously using proxy and send it as a request to a third party synchronous webservice. The webservice gives a response and I am using the response to send it further along to other systems.
    Everything works fine if correct messages are sent and received. The problem starts when PI/BPM receives an un-expected response from the webservice. If the webservice sends an unknown error message in the response, the mapping fails and goes into the error queue. (smq2)
    And the real problem is every successful message or response after that also goes into the same queue and getting stuck. Why is this happenning? Do we need to monitor and clear the error queues all the time so that subsequent successful messages go through BPM corrrectly?
    Do you guys think it is a cache problem or something else?
    Thank you.

    this is because there is no proper error handling in your BPM.
    you need to handle the exceptions in case of mapping or communication failures.
    refer : http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm

  • File to RFC to File with BPM Scenario

    Hi all,
       I am trying to implement a Sender File ( async )  to RFC (sync ) to Receiver File with a BPM. I using the blog  https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1926. [original link is broken] But it doesn’t work.  First message FileRequestOut is correct in SXMB-MONI, but the second is showing a error. I checked in SXMB-MONI-BPE and I say in workitem is follow message:
    Message Error Workflow
    ‘ Error handling for work item 000000001714
    Work item 000000001714: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    No reference message specified when sending a response
    No reference message specified when sending a response’
      I configured my BPM scenario in this way:
      ( Sender File Adapter )
      First Step
      Receiver Step ( Asynchronous )
      Mode:  Asynchronous
      Receive Message: File Request
      ( Receiver RFC Adapter )
      Second Step
      Send Step ( Synchronous ) 
      Mode: Synchronous
      Request Message: File Request
      Response Message: File Response
      Receiver From: Send Context
      ( Receiver File Adapter )   
      Third Step
      Send Step (Asynchronous )
      Mode:  Asynchronous
      Receive Message: File Response
      Receiver From: Send Context
       I have changed it, many times and I can get solve it.  About my configuration objects, I think it is ok, because a tested my Interfaces in Configuration Test Tools it was ok. ( Receiver Det. Interface Mapping, etc…)
        I have seen in SDN, this error maybe Sencond Step must be Synchronous e  Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.
         Could you help me about this problem?
          Thanks for help
          Best regards
          Fábio Ferri
          Consultant XI/ABAP/Netweaver

    Hi ,
            <b><i> I have seen in SDN, this error maybe Sencond Step must be Synchronous e Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.</i></b>
                     In BPM did u used as
                        Recive Step      Async
                        Synchronous     Send Step
                        Send Step is  Async
       <i><b>    it is possible to use a Async / Sync Brigde.</b></i>
                         No need to use Asyn Sync Step for this
    Assign poins if u found hepful
    Best Regards.,
    V.Rangarajan

  • Error in BPM Scenario

    hi,
    Using a BPM scenario (File->File). In SXMB_MONI the status of the process is showing "Scheduled for Outbound Processing", with a green flag associated with it. How would I go about troubleshooting this error? Have checked SM58 and made sure all the queues are registered and activated. Also no messages show up in SXMB_MONI_BPE. Could you please guide on how to proceed?
    regards,
    SK

    Hi
    Have a look at the following links, even though they are not specific to your scenario, they give you some good hints on troubleshooting and where to look.
    http://help.sap.com/saphelp_nw04/helpdata/en/29/e0194120ddf223e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/49/e3fb40ef74f823e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    Sameer

  • BPM scenario to work

    hi
    Do we need to add any Parametrs in SXMB_ADM to BPM scenario to work
    SV

    Hi,
    >Do we need to add any Parametrs in SXMB_ADM to BPM scenario to work
    NO
    Regards
    Agasthuri Doss

Maybe you are looking for