cancel
Showing results for 
Search instead for 
Did you mean: 

BPM issue

Former Member
0 Kudos

Hi folks,

We come across a requirement where we have to use A <b>BPM to pick a file and post it into other place and as soon as file is posted, BPM should trigger a RFc which inself will start a BDC program to post the data in R/3 from the file.</b>

I know this could be done without BPM also, but <b>kindly share your knowledge considering BPM scenario only.</b>

My Approach :

I have created dummy interface objects for picking and posting the file as we are not worried about the content of the file (which would be taken care by BDC logic written in the RFC itself).

Integration Process i designed goes like this :

Receive Step(Async,for picking the file)->Send Step(Async ,for posting the file)->Send step(Synch, for triggering the RFC)

My BPM is working fine till 1st send step as i am able to pick and post the file but after that i am getting warning message on 2nd send step( on checking the BPM in design level only : Container element in send step is not initialized )

Now my doubt is :

1. After first "send" step how can i change Async Communication to Sync communication going to be used by 2nd "send" step.

2. As my first two step are only using dummy variables(), so how can initialize the value

required by 2nd step for triggering the RFC.

Kindly share your approach for designing the Integration Process with step Types and any other feasible approaches for the scenario.

Points will be rewarded as per the help.

Regards,

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Krishna,

-->But where are you planning to have mapping ?

since in first two steps receive and send i am just picking the file and posting it some other place so no mapping is required but after posting the file i am using a graphical mapping program defined in IR only for mapping sync source message with the BAPi/RFC which is going to be triggered.

but i am getting error related to mapping...

regards,

Former Member
0 Kudos

kRISHNA,

-->Send Step to send the file message with system ACK

By system acknowledgement do you mean by acknowledgement type application or transport?

-->After checking the status ,call the RFC synchronously.. i.e Synch Send Step.

can i call rfc synchronously there after if yes then please let me know logic/reason behind...?

-->But where are you planning to have mapping ?

since in first two steps receive and send i am just picking the file and posting it some other place so no mapping is required but after posting the file i am using a graphical mapping program defined in IR only for mapping sync source message with the BAPi/RFC which is going to be triggered.

but i am getting error related to mapping...

Kindly correct me if i am wrong

prateek
Active Contributor
0 Kudos

1. System and transport ack are same

2. Yes u can call it synchronously

Regards,

Prateek

moorthy
Active Contributor
0 Kudos

Hi,

Use of System Acknowledgement concept to get the Response when the file is posted into the directory. After getting the System Ack, you can call the RFC synchronously in the BPM.

So the steps may be :

1) Receive Step to receive the message in BPM

2) Send Step to send the file message with system ACK

3) After checking the status ,call the RFC synchronously.. i.e Synch Send Step.

4) Hope the input to Sync Send step is the same as the Receive Step message (ie Step 1) if not it will tell about "not initialized" etc. Now you can use the same message.

But where are you planning to have mapping ?

It is prefer to have mapping outside the bpm.

Hope it helps,

Rgds,

Moorthy

Former Member
0 Kudos

Santhosh,

But by making two send steps how can i make sure that file will always get posted before RFC gets called() as my RFC will work on the file going to be posted...and also how can i trigger RFC synchronously.

Regards,

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

I hope this blog might help u...

<a href="/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Async Bridge for Integrating Sync and Async system using ccBPM</a> by Sriram Vasudevan

Regards

Santhosh

<a href=" to set the thread to solved when you have received a solution</a>

santhosh_kumarv
Active Contributor
0 Kudos

Hi Santosh,

Have the two send seps in a fork...

Regards

Santhosh