cancel
Showing results for 
Search instead for 
Did you mean: 

How to call NWDS from PI.

former_member186851
Active Contributor
0 Kudos


Dear SCN users,

How to call NWBPM from SAP PI.

Do we need to use separate communication channels??..How to do it?..

Please help me on this

Accepted Solutions (1)

Accepted Solutions (1)

ankit_srivastava3
Participant
0 Kudos

Hello Raghuraman,

Muni has mentioned exact links. While calling NWBPM from PI, just maintain a SOAP receiver channel with following details:

Create a communication channel with the following attributes:

  • Direction: Receiver
  • Adapter type: SOAP
  • Message protocol: XI 3.0
  • Addressing type: URL Address
  • Target URL: http(s)://<hostname>:<port>/MessagingSystem/receive/JPR/XIEnter the host name and port of the local system.

And that should be it. Read the above links more carefully for more details Configuring Message Processing from PI to BPM - Process Orchestration - SAP Library


Regards,

Ankit

Answers (4)

Answers (4)

former_member186851
Active Contributor
0 Kudos

Thanks Everyone,

But how to send messages to NWBPm using normal service interfaces and how to configure the same..

Does anyone have end-end scenario stating the same(PI->NWBPM-PI Scenarios?)

former_member184720
Active Contributor
0 Kudos

Hi Raghu - Did you check the document which i shared? It has an end- end scenario.

former_member186851
Active Contributor
0 Kudos

Hello Hareesh,

I did.But I am just looking for a simple end-end scenario,As I am beginner to NWBPM.

if you a blog or document regarding simple NWBPM please do share.

Thanks

Former Member
0 Kudos

Hello,

Check below article and try to simulate async-sync bridge pattern using BPM

For BPM u can refer from slide 45

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/904db720-042f-3010-b6ba-

e62a4192bd3c?QuickLink=index&…

Thanks

Amit Srivastava

former_member186851
Active Contributor
0 Kudos

Hello Amit,

thank for sharing the same.I just tried.But finiding difficulties in publishing web service.

You have any document or blog replicating the same scenario using File->RFC->File using NWBPM.

Please help on this

Former Member
0 Kudos

Hello,

>>But finiding difficulties in publishing web service.

u mean assigning WS url unde NWA? BTW, u can skip that configuration and instead of that call sync WS from PI

So in that case u have to create 3 ICOs

File Sender -> PI -> BPM (use same MT in both outbound/inbound SI)

BPM  -> PI -> SYNC WS (use syn call in automated activity)

Async Response WS -> PI -> File (use async call in automated activity)

>>You have any document or blog replicating the same scenario using File->RFC->File using NWBPM.

NO, u won't find any such document on SDN.

BTW, I am not sure what u are looking for becoz so many docs/links are already shared and still u are looking for something else.

Thanks

Amit Srivastava

former_member186851
Active Contributor
0 Kudos

Hello Amit,

Thanks a lot.

I tried it out.

A small doubt here..for second,how the interface will be triggered.

and for repsonse(third flow)it will come directly to PI or through BPM

Logically I am stuck here.


Former Member
0 Kudos

Hello,

>>A small doubt here..for second,how the interface will be triggered.

The Message inside ur Start event (which is nothing but ur File request message) will initiate the Sync WS call.

Inside ur BPM for "Sync WS call" automated activity just do input/output mapping + assign service references + In PI create ICO for the same

ICO:   BPM (syn outbound Interfaces) -> PI -> WS Receiver System (Sync Inbound Interfaces)

Rest all PI/BM will take care.

>>and for repsonse(third flow)it will come directly to PI or through BPM

No, it will come through BPM. So the WS response will be passed asynchrnously to PI using BPM

In PI, u have to create sepaarte ICO for receiving response from BPM and send the same to File receiver system.

Async WS Response -> PI -> File Receiver

Thanks

Amit Srivastava

former_member186851
Active Contributor
0 Kudos

Hello,

Thanks a lot.

Just a final question.

I did a scenario File->RFC->File using NWBPM.

It is working fine.I mean the output file is written,But with no values extracted from RFC.

I used BAPI _GetcompanyDetail RFC.And in the appilcation communication I maintained the ECC system details.So 2 ICOs.

I am seeing that RFC call is succesfull but no value being picked.

Is ther any other parameter I need to maintain to fetch the values.

Please help me on this as I am in the final step.

Thanks.

Former Member
0 Kudos

Hello,

Check the message logs for second ICO i.e. PBPM -> PI -> Sync RFC and check if there are values coming inside BPM or not?

In addition to that, make sure in ur BPM, the last async automated activity will have the RFC response message type as its output?

Thanks

Amit Srivastava

former_member186851
Active Contributor
0 Kudos

Hello,

How to check that..using normal message monitor or another option is ter.

As per message monitor,Only empty tags wit no value.

And in the async activity i used my own reponse message,as I mapped the RFC response message to the custom response message in the Sync call activity.

Is that right?

Former Member
0 Kudos

Hello,

>>As per message monitor,Only empty tags wit no value.

This means ur request is not correct?

First test ur RFC with some valid data in ECC and then pass that data from PI.

Thanks

Amit Srivastava

former_member186851
Active Contributor
0 Kudos

Hello,

I did it,Values are there in ECC..

Muniyappan
Active Contributor
0 Kudos
former_member182455
Active Contributor
0 Kudos
former_member184720
Active Contributor
0 Kudos

Hi Srinu - I'm curious to know which part of the above links provides the information about connecting BPM and PI ?

former_member184720
Active Contributor
0 Kudos

Hi Raghu - Please check the below doucment

http://scn.sap.com/docs/DOC-28803