Skip to Content

AMC - Sending messages supressing echo.

Hi guys, hope this finds you all well.

I'm developing a Collaboration Scenario using WebSockets, APC and AMC to manage concurrency in my sapui5 Application, since the concurrency locking MUST be pessimistic in this case.

I'm calling the factory method create_message_producer of the class cl_amc_channel_manager to generate my producer. In In the Sending AMC Messages SAP Help it says that If I don't wanna get this message reproduced to my own, I need to fill the parameter supress_echo of this method, but this parameter does not exists. I've Searched for SAP Notes etc... Found nothing.

That's how I'm creating my producer on Message handler event:

DATA: lo_producer TYPE REF TO if_amc_message_producer_pcp. " It needs to be PCP based Producer.
lo_producer ?= cl_amc_channel_manager=>create_message_producer( i_application_id = 'MY_AMC' i_channel_id = '/concurrency' ).

Has anyone gone though this before?

I've looked in the whole Web without find a word about this issue.

My SAP Netweaver is the 7.5 SP1.

Thanks a Lot.

Gilson Souza.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 23, 2017 at 07:03 PM

    It's not an issue, it's simply that you don't have the right version. Quoting ABAP documentation 7.51 https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abenamc_send_abexa.htm:

    cl_amc_channel_manager=>create_message_producer(
      i_application_id = 'DEMO_AMC'
      i_channel_id  = '/demo_text'
      i_suppress_echo = no_echo )

    PS: I've got no idea what is the workaround.

    Add comment
    10|10000 characters needed characters exceeded