Quantcast
Channel: SCN : All Content - SAP for Mobile
Viewing all articles
Browse latest Browse all 6147

Syclo Work Manager - Creating Notifications NotificationPostSteplet error

$
0
0

Hello,

 

I'm having an issue with creating Notifications using Syclo Work Manager.

I receive the following error:

NotificationPostSteplet - Notification type is initial

 

I'v debugged the Java side and ABAP Syclo class side.

The Java side seems to behave as planned, please note no enhancements have been done to the notification post/creation process.

On the SAP abap side I was able to notice that the notification create handler always sets the  lv_mode to 'A'

The notif_no is blank hence the sy-subrc is 0 driving the lv_mode to A

 

SELECT SINGLE qmnum FROM qmel INTO lv_qmnum
         WHERE qmnum = me->notif_no.
       IF sy-subrc = 0.
         lv_mode = 'A'.   "Add data mode
       ELSE.
         lv_mode = 'C'.   "Creation mode



 

So now what happens is the BAPI_ALM_NOTIF_DATA_ADD  gets called which is not what we want. We want the Create bapi to be called lv_mode = C

 

Any ideas as to why this is happening?

I have tried to manually changed the lv_mode to 'C' through debug and the notif creation process goes through.

 

Thanks in advance for feedback

 

Jason


Viewing all articles
Browse latest Browse all 6147


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