Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Visual Composer
Viewing all articles
Browse latest Browse all 1353

Problem with Guard Condition (Fields Disabling)

$
0
0

Hi All

 

I have a screen where I am creating a notification... so I enter all my fields and data as below:

beforesave.jpg

 

If ALL fields are filled out then the call to my RFC will create the notification and pass back a notification number (EX_QMNUM)

I then pass back EX_QMNUM to the input of my READ_S1 RFC. Since we have a custom table attached I thought it was best to retrieve the latest data from the database after point of save.

 

However if they don't fill in the necessary criteria then I pop up an error (EG. Please fill in customer number). I put a GUARD CONDITION on the call back to the READ_S1 RFC. The guard seems to work as my breakpoint/RFC does not get hit... however it then CLEARS my fields and DISABLES everything. This is what it looks like after the save (with guard condition in place). This means I lose all my data and no save occurs.

aftersave.jpg

 

What am I doing wrong here? Is this a bug with the guard condition?

formdesign.jpg

Guard Condition (which seems to be working apart from the fact it disables my RGA fields)

I'm not completely sure about IF conditions so let me know if this is wrong?

guard condition.jpg


Viewing all articles
Browse latest Browse all 1353

Trending Articles



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