Skip to Content

In continuation from Invoke Synchronous RFC in ECC using NW BPM 7.40 – Part1 http://scn.sap.com/docs/DOC-70160)

CompMap.png

Assign administrator to the pool for BAPIBPM

Click on the Pool in BAPIBPM and select “Administrators” tab. click choose.

/wp-content/uploads/2016/01/admintabpool_873881.png

Principals.png

Make sure that the user name which you select as administrator should have the following two roles assigned to it.

  • Create a role “ZSPML_READ_ROLE” in Identify management in NWA.
  • Assign this role to the user which you want to use as an administrator for the BAPIBPM

Complete snapshot of the BAPIBPM

BAPIBPMSnap.png

Build and Deploy the Process Development Component

Right click on the development component and select deploy. This will build and deploy the process component in the Process Server.

You can view the deploy log from the “Deploy View Console” by navigating to Window –> Show View –> Deploy view console.

The status of the deployment should be successful. For any errors, resolve and re-deploy the component.

/wp-content/uploads/2016/01/deployview_873887.png

deploylogStatus.png

Assign Provider system to the Process Component

Go to NWA –> SOA –> Application and Scenario Communication –> Application Communication

AppScencomm.png

Select the Process Development Component soa/sg.

Click on “Consumed Service Groups” and in the “Provider System” column, select “XXX_ECC” which is the provider ECC system which we have configured earlier in (Part1).

AppcmmCofig.png

Start and Test the BAPIBPM Process

Go to NWA –> Configuration –> Processes and Tasks –> Process Repository

Select the BAPIBPM process and start the process.

StartBAPIBPM.png

Once you start the process, you will be taken to the test page of the BPM process startup.

Click on “Add Component”. Input the following values.

IP_CARRID = AA

IP_CONNID = 888

Click on Start Process.

StrtPrcs_BPI.png

You will see a message that Process BAPIBPM started with Process Instance ID xxxxxxx”. Click on details. This will take you to “Manage Processes: Process Instances” page.

ManPinst.png

ManPinst_1.png

Click on Context data tab and select DO_BPI_Req. The data values which you have input above should be visible as shown below.

/wp-content/uploads/2016/01/dataval_testnbpm_873896.png

Now, select DO_BPI_Res from the “Context data” to verify that the BPM has successfully received the response from the RFC YBAPI_PITEST in ECC.

/wp-content/uploads/2016/01/bapires_ecc_873897.png

The status of the process is set as “OK Completed”.

okComp.png

This ensures successful implementation of NW BPM calling synchronous RFC in ECC.

End-Of-Document.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply