SAP Passport

SAP Passport is an end to end tracing technology used in many SAP products. It is a binary format encoded in hex notation. Example:

2a54482a0300e60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a54482a

Applications can add the whole SAP Passport in this field or give its constituents in the respective fields.

To read up on the possible fields, please look at fields.

You can activate the SAP Passport as follows:

log.enableTracing("sap_passport") 

After activating the SAP Passport the property sap_passport will be added automatically to the configuration. This will read the property sap-passport from your request header.

To add its constituents related fields use the setCustomFields method. These fields will always be attached directly in the log object as normal fields regardless of the custom fields format.

Example for adding SAP Passport related fields:

log.setCustomFields({"sap_passport_Action":"value", "sap_passport_ClientNumber":"1234"})