cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP Message Channel Bindings

Kseniya
Discoverer
497

ABAP Channel Message triggers UIBB refresh when opening a popup

Problem Description:
In FPM application, ABAP Channel Message is used to refresh a UIBB, for example, updating the "time in yard" field for transportation unit. There is a button in the toolbar that opens a pop-up ("Message to Infoboard").

1.png

The pop-up serves as a message input window.

2.png

However, when the pop-up opens, a refresh is triggered every 30 seconds, causing the user’s input to reset.

Implementation:
I attempted to unbind and rebind the channel using the binding manager:

  • When opening the pop-up: I call UNBIND in the GET_DATA method of the UIBB popup feeder
  • 3.png
  • When closing the pop-up: I call BIND in the PROCESS_EVENT method of the UIBB popup feeder
  • 4.png

However, after closing the popup, the binding is not restored.

Observations:
When reopening the popup, the channel binds again. It seems that after the OPEN_DIALOG event, some kind of refresh is occurring. Does anyone know what exactly triggers this update when opening a dialog window?

Expected Behavior:

  • When opening the popup, the channel should be disabled so that it does not refresh the UIBB.
  • After closing the popup, the channel should be restored and start working again.

How can I properly disable and restore the channel without losing the connection? Should binding be handled differently or triggered at another point in the process?

Any advice would be greatly appreciated!  

 

@simon_hoeg could you suggest a way to solve the problem? 

Accepted Solutions (1)

Accepted Solutions (1)

simon_hoeg
Product and Topic Expert
Product and Topic Expert

Dear Colleague,

please read the blog https://community.sap.com/t5/technology-blogs-by-sap/team-fpm-abap-push-channel-for-fpm-events-enhan... respectively implement SAP Note 3406803.

You can address this problem with the importing parameter  IV_DELIVERY_TYPE when sending an FPM Event.

Thank you & Best regards,

Simon

Kseniya
Discoverer
0 Kudos
Thank you!
Kseniya
Discoverer
0 Kudos

Thank you!

Answers (0)