Skip to Content
avatar image
Former Member

STX,ETX & ACK using SAP MII 14

Hello MII Experts,

I have a requirement to send a message string from MII to legacy system with STX as a beginning character, ETX as a ending character & ACK in case of Acknoledgement (STX, ETX & ACK are Control characters) . STX can be represent as ^B or HEX 02 and ETX can be represent as ^C or HEX 03. ACK can be represent as ^F or HEX 06. I am unable to create STX,ETX & ACK in MII. Need your help..

Sample String - ^BHelloWorld123^C or ^FHelloWorld123^C

Thanks,

Swanand

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 02, 2015 at 11:50 AM

    Hi,

    We managed to solve the issue with MII14.0, SP6. Control characters can be represented in MII as below,

    STX as 

    ETX as 

    ACK as 

    we can create string variable in MII and assign below string,

    HelloWorld

    Thanks,

    Swanand

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2015 at 10:56 AM

    Hi Swanand,

    Before i answer this, could you let me know in the sample string ^BHelloWorld123^C where is HelloWorld comming from , is it some random value comming from another data source?

    Regards,

    Saptaparna

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Ayush Goyal

      Hi Ayush,

      I tried in MII BLS to create STX which is hex of 02 (number("0x02")), but it is giving 2 as output. And target system is not able to recognize 2 as STX. I dont this java script option will work in my case.

      Thanks,

      Swanand

  • Nov 02, 2015 at 03:23 PM

    Please check the thread linked below for a possible solution:

    https://scn.sap.com/thread/3771774

    Regards,
    Christian

    Add comment
    10|10000 characters needed characters exceeded