cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous RFC scenario using SAP NW BPM

Former Member
0 Kudos

Hi,

We are working on a Process Orchestration setup and have a requirement where in we have to create a PO approval flow in BPM.The incoming data would be coming from an RFC.On receiving the approver code from the RFC,we will use this data to call a BRM table which has the approver name stored.

Based on this,we will send the PO for approval to the approver.On receiving the approval,we will have to update the status back to ECC.

Is there a possibility to import synchronous RFCs in SAP NW BPM?Also,how can we pass the response back to the RFC in this case.Is there an alternative approach we can follow for the same?

Request you to share your thoughts on this.

Thanks and Regards,

Induja

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Induja,

Since you are using PO why don't you put a PI interface in between. BPM as far as I know only supports direct Web Service communication. However you could create an integration scenario in PI from RFC to WS (i.e. SOAP) to call the BPM process.

Best Regards

Harald

Former Member
0 Kudos

Hi Harald,

Thank you for your reply.

In this case,I should create an Iflow which sends data from the RFC to the wsdl which triggeres the BPM.The BPM will then trigger the BRM and then send across the approval to the approver mentioned in the table(Alternately,I guess this can be invoked from the PI udf as well).Please correct me if I'm wrong.Once the status is approved,how can the status be sent back from the BPM to the RFC.Please could you share your thoughts on this.

Thanks and Regards,

Induja

Former Member
0 Kudos

Correct. The Iflow triggers the process which retrieves the approvers from BRM. You could now create another integration scenario WS to RFC to send the status back. Synchronous integration from RFC to BPM would not make sense in this case since the approval could take a long time and timeout would occur. Therefore rather create the 2nd integration to send the status via WS to RFC.

Best Regards

Harald

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

It's generally not recommended to use sync interface (until and unless req not coming from portal) in NW BPM start event.

So if i were you, i would have used below flow -

async proxy - BPM (start event) - within the BPM called the BRM WS and get the approver name -  then get the approval (not sure if u are using WS or UI ) - and eventually send back the async response to SAP

Thanks

Amit Srivastava

Former Member
0 Kudos

Thank you Harald and Amit.

We have decided to import the async RFC in the BPM.We already have a BRM which pulls the approver name.We use this to trigger a human activity to get the approval.We are trying to capture the approver action and pass it to a Data object.We will then trigger an iflow and pass the response back to an RFC.

However,we are facing issues while trying to capture the custom action.We have added the Custom actions in the Human activity.However,this action name is not getting displayed in the UWL and the value is also not getting populated in the custom action field.Hence,the mapping fails at this step.

We are on SP08 7.4,NW731EXT_13_REL.Does the custom action have anything to do with the version of PO.Please share your ideas on this.

Thanks and Regards,

Induja


Former Member
0 Kudos

Did you check the following link:

Best regards

Harald

Former Member
0 Kudos

Hi Harald,

Yes.I have checked this blog and this is how I have added the Custom Action and attribute.However,this is not getting reflected in the UWL and the action not getting captured in the custom action field.

Thanks and Regards,

Induja

Former Member
0 Kudos

The same issue seems to be discussed here:

BR

Harald

Former Member
0 Kudos

Hi Harald,

I have checked this blog but we have not done any upgrades after the initial installation.I have added the Custom attributes and actions in the human activity.I have not used any separate UI for this.Hence,I am not sure what has to be done in this case for the actions to reflect in the UWL.

Thanks and Regards,

Induja

Former Member
0 Kudos

Hi All,

The problem exists only when we try to approve the task in UWL.In the BPM inbox,we are able to see the Custom Action and Attributes and the value is also getting captured.For some reason,this does not work for the UWL.

Thanks and Regards,

Induja

Former Member
0 Kudos

Hi All,

We have captured the task action through the BPM Inbox and this works fine.However,when we try to open the task and then click on approve,the result is not getting captured.

When we click on the Approve option from outside,it opens a comment field.Is there a possibility to capture the comment which we enter here in our BPM?Does anyone have an idea on this?

Thanks and Regards,

Induja