cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Outbound interfaces using ABAP and PI Mapping

elizabeth_stapleton
Participant
0 Kudos

Hi,

Bit of a novice question here, but help would be appreciated. I am not understanding the connectivity in the scenario below.

I have an SAP outbound interface - ECC->PI->network share, as a csv file.
ABAP code in ECC reads the relevant tables, and outputs the file, and file name to PI, via SPROXY code.
I have another question on the go here, as I am trying to modify the file, via the PI mapping, on its way out, but it isn't happening. So I am assuming the ABAP program is taking priority and the mapping being ignored.
I have compared this interface with an existing/working one that uses ABAP program AND PI Mapping, and can't spot what I'm missing.

What do I need to do to ensure my interface uses both the ABAP code and my PI mapping?

We are on NW71, SP20

Many thanks

Elizabeth

elizabeth_stapleton
Participant
0 Kudos

My mistake, the working interface I am comparing with doesn't use SPROXY, I have no working examples that does what I want to do.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190293
Active Contributor
0 Kudos

Hi Elizabeth!

In SPROXY transaction you generate the classes for the consumer proxy which you use further in ABAP code to send message to PI.

PI receives message from proxy and sends it to receiver(s) performing operation mapping if it is used.

So, ABAP code and message mapping can't have any priority because they are even executed in different systems and at different steps.

Regards, Evgeniy.

elizabeth_stapleton
Participant

Thanks Evgeniy,

sorry a long time since you responded.

I think we ended up with a different solution, as I never resolved the above issue.

Thank you for your input anyway. Always appreciated.

Regards

Elizabeth