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

Custom Data Event not capturing the data content (from S/4HANA On-premise)

Miku
Explorer
0 Kudos
812

Hi,

I have configured the view with EKKO table for purchase order. Notification event is sending the data properly with purchase order number (when /ASADEV/ACI_SIMPLE_NOTIFY and /ASADEV/ACI_SAP_EM_CLOUDEV_FM are used in "Outbound Objects" in SPRO)

but data event is not able extract any data (when /ASADEV/ACI_GEN_VIEW_EXTRACTOR and /ASADEV/ACI_GEN_VIEWFRM_SAP_EM are used in "Outbound Objects" in SPRO).

Please suggest what could be the issue.

In SLG1 and /ASADEV/ACI_MONITOR, I can see that it is showing as no content for data event (where as notification event is ok)

https://blogs.sap.com/2021/08/13/emit-data-events-from-sap-s-4hana-or-sap-ecc-through-sap-netweaver-...

Br,

Chanchal

Accepted Solutions (0)

Answers (2)

Answers (2)

ravish_ranka
Product and Topic Expert
Product and Topic Expert
0 Kudos

I have faced similar issue. After debugging I found that the provided FM /ASADEV/ACI_GEN_VIEW_FORMATTER have a small bug. It is not returning any data from CDS view provided in the screen. Copied the FM to Z FM and did small correction and it started working as expected.

ravish_ranka_1-1717412800962.png

Put the highlighted code after ENDIF. Somehow IF condition was failing and this code was never executed. Keeping it out of the if condition made it executed all the time.

ravish_ranka_0-1717412720118.png

Maintain Z FM instead of standard FM in configuration.

Hope this helps.

Regards,

Ravish

 

Miku
Explorer
0 Kudos

any updates?