cancel
Showing results for 
Search instead for 
Did you mean: 

File to IDOC Scenario using BPM

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi BVS,

If i get successful bapi response then i have to trigger one IDOC or if there is any error occured while creating or while updating should throw an alert.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Milan,

Thanks for u r reply

I have check the response messages of both the BAPIs whether they are successful or not.

if successful then need to trigger IDoc else throw an alert.

If possible can u plz send screenshot of the steps for BPM.(Integration Process step).

Thanks

Praveen

Former Member
0 Kudos

Hi Milan,

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.

Thanks

Praveen

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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