Skip to Content
author's profile photo Former Member
Former Member

File to IDOC Scenario using BPM

Hi Experts,

I am working on file-Bapi-Idoc scenario using BPM.

I have two conditions

1. If the Sonumber is populated then need trigger an Bapi_change

2.If the Sonumber is not populated from the file then need to trigger a Bapi_Createfromdat to create the sales order and receive the salesorder number as response from Bapi

and the response of these BAPIs should be validated whether the Bapi is successful or not.

If it is successful message then need to trigger IDOC or else should throw an alert message.

let me know the steps involved in this scenario.

can i send alert message to other email IDs or can i send it to only XI admin?

Please let me know u r inputs.

Thanks in advance

Praveen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2008 at 12:03 PM

    Hi,

    Here are the steps:

    1. File -> BPM

    2. BPM -> IDOC

    BPM Steps:

    1. Receive Step with SO data

    2. Send Sync step for BAPI Call

    3. Transformation step to convert BAPI Response to IDOC format

    4. Send step to send data out(IDOC)

    Regards,

    Sreedhar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2008 at 12:06 PM

    hi,

    Hope it is helpful

    it is File >RFC >File using BPM then refer this blog.

    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2008 at 12:11 PM

    Hey,

    You need to have a BPM for this.

    BPM design.

    Recieve step(abstract asynchronous) for file structure

    Switch Case(condition whether sonumber is populated or not)

    if populated

    Branch 1(of switch)

    transforamtion step:- mapping between File and Bapi_Change(Request structure)

    Send step(abstract syncronous) To send the BAPI_change

    Branch 2(of switch)

    transformation step:-mapping between file and BApi_Create

    Send step(abstract synchronous) To send the BAPI_Create

    Block step(which will include the Switch step)

    trigger an Execption in case of an error(in any of the two branches) through the block

    The Exception will trigger an alert.

    Now after the Block step there will be a transformation step(which will have the mapping between RFC response and Idoc)

    Next is the send step(abstract asynchronous) for the idoc

    In case if there is no exception the Idoc will be triggered or the exception branch will trigger the alert

    rewards points if useful

    regards,

    Milan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hey,

      Message type

      File Structure

      External definition

      RFC(BApi_Change)

      RFC(Bapi_Create)

      Idoc

      Message Interface

      Abstract Asynchronous(file)

      Abstract Synchronous(RFC1)

      Abstract Synchronous(RFC2)

      Abstract Asynchronous(Idoc)

      Mapping

      File Structure and RFC1(request)

      File Structure and RFC2 (request)

      RFC1(response) and Idoc

      RFC2(response) and Idoc

      Channel

      File sender

      RFC reciever

      Idoc Reciever

      Sender Agreement

      File

      Reciever Agreement

      RFC1

      RFC2

      Idoc

      Reciever Determination

      RFC1

      RFC2

      Idoc

      Interface Determination

      RFC1

      RFC2

      Idoc

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2008 at 12:22 PM

    Hello ,

    I am not clear on your requirements...

    1.IF everything is successful ,which IDOC to be triggered ...from where to where

    And check the blog

    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

    Regaring mailing the alert

    You can change your mailing settings by..

    Log on to the alert inbox of the recipient of the alert, select option --> personlization --> Time Independent delivery --> Email

    Hope this will help.

    ***********Reward points,if found useful

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Experts,

      Can you let me know for this particular scenario how many message types,message Interfaces,Message mappings,Mapping Interfaces,receiver Agreements,sender Agreements, Interface determinations,Receiver Determinations.

      should i need to create.

      Please let me know u r inputs, Plz treat this as urgent.

      Thanks

      Praveen

      Edited by: Praveen Kumar on Jun 16, 2008 11:43 AM

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.