Quantcast
Channel: SCN : Unanswered Discussions - B2B Integration with SAP Process Orchestration
Viewing all articles
Browse latest Browse all 499

Conversion of Delimiters from Hex to EBCDIC

$
0
0

Hi Experts,

 

Our requirement is to send the EDI data using delimiters in EBCDIC format.

 

The delimiters I am sending using Hexadecimal to ASCII, using the below function -

------------------------------------------------------------------

if(var1.contains("0x"))

{

String hex = var1.substring(2,4);

int dec = Integer.parseInt(hex, 16);

return Character.toString((char)dec);

}

else

return var1;

------------------------------------------------------------------

 

Our target B2B system is setting up delimiters in EBCDIC, I am not sure how to proceed forward.

 

Please guide.

 

Thanks,

Nidhi


Viewing all articles
Browse latest Browse all 499

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>