cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing system values from within ABAP mapping

Former Member
0 Kudos

Hello experts,

For a requirement of mine, I need the value of "Sender System" name and "Message ID" inside ABAP mapping.

I tried to access the same in the way below:

param->get( if_mapping_param=>sender_service )

and

param->get( if_mapping_param=>message_id )

I get the value for message ID but the value of sender service is always being returned as "sender_service".

Is it correct way to retrieve the Sender System value like this? Is there any other way to do this?

Appreciate quick responses on this.

Regards,

Amol

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Amol,

When I see the Interface IF_MAPPING_PARAM and attribute sender_service, the initial value is given as 'SenderService'. So you are getting initial value for the Service.

Brief description of your scenario can help to analyze further.

Regards,

Sudharshan N A

bhavesh_kantilal
Active Contributor
0 Kudos

Amol,

Are you testing this within IR? If yes, IR will always set the value as Sender Service.

Regards

Bhavesh

Former Member
0 Kudos

no bhavesh, it was end to end testing. still the value for Sender system is always returned as 'sender_system'