cancel
Showing results for 
Search instead for 
Did you mean: 

PI to receive ALE on 2 possible clients

former_member201275
Active Contributor
0 Kudos

Hi all,

I am PI newbie, as will soon become apparent by the weakness of my question. I apologise in advance.

I am looking for a high level answer, or suggestions, to my problem.

Currently we have a setup where an ALE is sent from sending system S01, via PI, to our Quality system client 100 (Q100). This idoc (HRMD_A) is then received in Q100 through PI and correctly then processed into SAP. This is all setup and working perfectly fine. Great!

Now we want to setup, in PI the exact same scenario also for the same Quality system but for client 101 (Q101).

The questions I have (and probably I am not even asking the correct questions) but; how do I best go about this? Can 2 PI configs exist for the same system, but for seperate clients? How best to decide/determine which client the idoc is to go to, i.e. should we set some parameter on the sending system which we then read on our Q system? Can this be automated, or would we have to manually switch between the 2 configurations?

Kindest regards.

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Glen,


Currently we have a setup where an ALE is sent from sending system S01, via PI, to our Quality system client 100 (Q100). This idoc (HRMD_A) is then received in Q100 through PI and correctly then processed into SAP.

Does this mean that both the sending and receiving systems are using IDocs?


Can 2 PI configs exist for the same system, but for seperate clients?

Yes, this is possible.


How best to decide/determine which client the idoc is to go to, i.e. should we set some parameter on the sending system which we then read on our Q system?

If the sending system already uses an Idoc, then you just need to fill-out the receiver parameters in EDI_DC40 segment e.g RCVPRN and then use it via xPath in receiver determination to route it to the correct clients.

If the sending system does not use an Idoc, there should be a field to identify which client is the receiver.


Can this be automated, or would we have to manually switch between the 2 configurations?

This is automated assuming you have correctly configured it in ID, there is no need to switch.

Hope this helps,

Mark

former_member201275
Active Contributor
0 Kudos

Hi Mark,

Thank you for your helpful answer.

Yes, both systems are using idocs.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Glen

You need to create one more business system in SLD for client 101.

Then you need to config another scenario where everything else will be same except the receiving business system will bedifferent.

There has to be a field value in the input data which will determine which receiver system the message will go. example field is RCVPRN

In receiver determination two conditions needs to be added one for each receiver.

gagandeep_batra
Active Contributor
0 Kudos

Hi Glen,

Can 2 PI configs exist for the same system, but for seperate clients?

Yes , for this you have to create Second business system for other client  in SLD and add same System as another Receiver in  Receiver Determination/ICO

How best to decide/determine which client the idoc is to go to, i.e. should we set some parameter on the sending system which we then read on our Q system? Can this be automated, or would we have to manually switch between the 2 configurations?

you can define condition for that or if you want to send to both client then leave it blank.