on 2014 Mar 25 9:27 PM
Hi All
I have a screen where I am creating a notification... so I enter all my fields and data as below:
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.
What am I doing wrong here? Is this a bug with the guard condition?
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?
Request clarification before answering.
The idea behind using the Guard condition to determine whether or not READ_S1 should get executed seems okay. I don't think that has anything to do with the reason why all your fields are getting disabled.
What are the input's to your 'Form' which has all the fields that are getting disabled? (the one with job descriptio, customer PO, etc.). I'm thinking that may be the cardinality/RecordSet of this Form is set '0...1' and that could be the reason why all the fields are getting disabled.
Message was edited by: Chintan Mota Reason: typo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.