You are on page 1of 2

Encoder:

An Encoder step allows you to convert any binary data into text data. You need an encoder when you
have binary data in your pipeline that needs to be stored or transferred over a medium that only works
with textual data.

Sample Binary data:


C|MÖ\›>£GÑ®š…Q¨.×Ã>2ÿI/H\ å$Ú<|nÝåßÃŽÿ¶

This is done to ensure that the data is unmodified when it passes such media.
The Encoder treats the binary data numerically and translates it into text.

The Encoder process step in Cloud Platform Integration uses a Base64 encoding scheme for this
purpose.

Choose Encoder from Transformations:


Encoding scheme: Base64 Encode

More details at https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-


US/f71692a70cd24824a56ca4df0f248354.html

Decoder:
Likewise, you shall use a decoder to reverse the effects of an Encoder. Suppose you received an encoded
message from a system because the message could only be transmitted in textual format. Before you
start processing the input message, decode it to get the binary data and then proceed with the
processing.

Sample textual version of Binary data:


/Dk8K4wr0iJ09hw589w4FjwrfDhWDDicO5MMOswrvCj8O3w5fDnXN3w6h1ZMK6IMONR0zi

The Decoder process step in Cloud Platform Integration uses a Base64 decoding scheme for this
purpose.

Choose Decoder from Transformations:


Encoding scheme: Base64 Decode

More details at https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-


US/540a1103f6d846c3b9fed632b354027a.html
Input Message
Process Settings Output
Step
Encode UEsgICAgICAgICpQY0cgICAgICAgICAgICANCiAgIC5
PK *PcG naXRpZ25vcmXDk0/DisOMw6MgIFBLIMOY
.gitignoreÓOÊÌãPKØ/1H PK *PcG LzFIICAgICAgIFBLICAgICAgICAqUGNHICAgICAgICAg
.projectQAn!<7¯ˆö-ÓÞz ›C“~ í(8+ ICAgICAgIC5wcm9qZWN0wo1RQW4gITw3
¢]Œõù5»4¢•*åÄŒ=ÃØ _Ó¸½"'Oaß=Ác·Å`Éù0컏÷×Ýs wq/LhsO2IMOTw556IOKAukPigJx+IMOtICg4K8KiX
wèudº ÍGL–}Ì¢í7:˜ ûSQ#q9´ZŠÒ´4M²*¸ÚSÁª cWSIMO1w7k1wrs0wqLigKIqw6XDhMWSPcOD
%Ÿ³Ý[D+¤²ñ™àJ¡&€vô1!\\K,À\Í¢o2Å`x˜KlZ©úŵú“P w5ggIF/Dk8K4wr0iJ09hw589w4FjwrfDhWDDicO5
u MMOswrvCj8O3w5fDnXN3w6h1ZMK6IMONR0zi
gJN9w4zCosOtNyA6y5wJw7tTUSPCrHE5wrRaxaD
DksK0NE0gwrIqwrjDmlPDgcKqJcW4wrMtw51b
RCvCpMKyIMOx4oSiw6BKwqEmICDigqx2w7QxIVx
cIEssw4Bcw43Com8yw4VgeMucS2xawqnDusOF
wrXDuuKAnFANCnU=
UEsgICAgICAgICpQY0cgICAgICAgICAgICANCiAgIC5naX Decoder PK *PcG
RpZ25vcmXDk0/DisOMw6MgIFBLIMOY .gitignoreÓOÊÌã PK Ø/1H PK *PcG
LzFIICAgICAgIFBLICAgICAgICAqUGNHICAgICAgICAgICA .projectQAn !<7¯ˆö ÓÞz ›C“~ í (8+¢]Œ
gICAgIC5wcm9qZWN0wo1RQW4gITw3 õù5»4¢•*åÄŒ=ÃØ
wq/LhsO2IMOTw556IOKAukPigJx+IMOtICg4K8KiXcWS _Ó¸½"'Oaß=Ác·Å`Éù0컏÷×Ýswèudº ÍGL–}Ì¢í7 :˜
IMO1w7k1wrs0wqLigKIqw6XDhMWSPcOD ûSQ#¬q9´ZŠÒ´4M ²*¸ÚSÁª%Ÿ³-Ý[D+
w5ggIF/Dk8K4wr0iJ09hw589w4FjwrfDhWDDicO5MM ¤² ñ™àJ¡& €vô1!\\ K,À\Í¢o2Å`x˜KlZ©úŵú“P
OswrvCj8O3w5fDnXN3w6h1ZMK6IMONR0zi u
gJN9w4zCosOtNyA6y5wJw7tTUSPCrHE5wrRaxaDDksK
0NE0gwrIqwrjDmlPDgcKqJcW4wrMtw51b
RCvCpMKyIMOx4oSiw6BKwqEmICDigqx2w7QxIVxcIEs
sw4Bcw43Com8yw4VgeMucS2xawqnDusOF
wrXDuuKAnFANCnU=

You might also like