cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract SAP PI Runtime SOAP parameters inside mapping?

former_member203665
Participant
0 Kudos

Hi All,

I have a requirement to use certain SAP PI Runtime SOAP parameters inside the mapping to perform some checks before actully sending data to the target. For eg. Suppose I need to extract and use the value inside <SAP:User> tag inside my mapping.

<SAP:RunTime xmlns:SAP="" xmlns:SOAP="">

  <SAP:Date></SAP:Date>

  <SAP:Time></SAP:Time>

  <SAP:Host></SAP:Host>

  <SAP:SystemId></SAP:SystemId>

  <SAP:SystemNr></SAP:SystemNr>

  <SAP:OS></SAP:OS>

  <SAP:DB></SAP:DB>

  <SAP:Language />

  <SAP:ProcStatus></SAP:ProcStatus>

  <SAP:AdapterStatus></SAP:AdapterStatus>

  <SAP:User>ABCDEF</SAP:User>

  <SAP:TraceLevel></SAP:TraceLevel>

  <SAP:LogSeqNbr></SAP:LogSeqNbr>

  <SAP:RetryLogSeqNbr></SAP:RetryLogSeqNbr>

  <SAP:PipelineIdInternal></SAP:PipelineIdInternal>

  <SAP:PipelineIdExternal></SAP:PipelineIdExternal>

  <SAP:PipelineElementId />

  <SAP:PipelineService />

  <SAP:QIdInternal></SAP:QIdInternal>

  <SAP:CommitActor></SAP:CommitActor>

  <SAP:SplitNumber></SAP:SplitNumber>

  <SAP:NumberOfRetries></SAP:NumberOfRetries>

  <SAP:NumberOfManualRetries></SAP:NumberOfManualRetries>

  <SAP:TypeOfEngine client="100"></SAP:TypeOfEngine>

  <SAP:PlsrvExceptionCode />

  <SAP:EOReferenceRuntime type="TID"></SAP:EOReferenceRuntime>

  <SAP:EOReferenceInbound type="TID" />

  <SAP:EOReferenceOutbound type="TID" />

  <SAP:MessageSizePayload></SAP:MessageSizePayload>

  <SAP:MessageSizeTotal></SAP:MessageSizeTotal>

  <SAP:PayloadSizeRequest></SAP:PayloadSizeRequest>

  <SAP:PayloadSizeRequestMap></SAP:PayloadSizeRequestMap>

  <SAP:PayloadSizeResponse></SAP:PayloadSizeResponse>

  <SAP:PayloadSizeResponseMap></SAP:PayloadSizeResponseMap>

  <SAP:Reorganization></SAP:Reorganization>

  <SAP:AdapterInbound></SAP:AdapterInbound>

  <SAP:InterfaceAction></SAP:InterfaceAction>

  <SAP:RandomNumber></SAP:RandomNumber>

  <SAP:AckStatus></SAP:AckStatus>

  <SAP:SkipReceiverDetermination />

  </SAP:RunTime>

Can anyone suggest me any possible solution for the above requirement?

Accepted Solutions (0)

Answers (2)

Answers (2)

subhro_de
Active Participant
0 Kudos

Hi Shashank,

Do you have only SOAP sender channel on the sender side - in that case you can use Keep Headers option in the channel and then extract the required information in mapping.

Regards

Subhro

former_member203665
Participant
0 Kudos

Hi

naveen_chichili
Active Contributor
0 Kudos
former_member203665
Participant
0 Kudos

Hi Naveen,

The requirement is to read certain contents from the SAP PI SOAP header parameters inside the mapping.

Regards,

Shashank