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

BPM issue

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,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2007 at 10:21 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 11, 2007 at 05:04 AM

    Hi Santosh,

    Have the two send seps in a fork...

    Regards

    Santhosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2007 at 05:17 AM

    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,

    Add a comment
    10|10000 characters needed characters exceeded

    • 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>

  • Posted on Sep 11, 2007 at 05:26 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 05:07 AM

    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,

    Add a comment
    10|10000 characters needed characters exceeded

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.