on 01-09-2014 5:54 AM
Hi Experts,
I have a scenario, which have few input field(Plant,Material,Storage location) on the selection screen.When i will click on button,data have to display on the basis on these input field.
Now,I have two things in output, either a message or the data in table.
So,when i create MBO from this RFC, i have selected both the thing(Message and table which have data).But when i entered wrong Plant or wrong material, a message with blank table is coming.
So my concern is how i will remove(deselect) my blank table input fields when the user will enter wrong data in the input field.
With Regards,
Rohit
Hi Rohit,
you can use default result checker for your validation purpose.When somebody enters wrong data it will show an error in the error list same as BAPI return.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this issue resolved ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am assuming that you are developing a HWC application and the success screen on the button click is a list screen. If the user select a wrong data and clicks on button it goes to an empty screen, here you have an option to show a message like "No data available" or any other message. To do this select the listview in the screen > properties> you have an option called on empty list. Fill this value and shows the message when the list is empty.
- Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Midhun!
Yes,I am developing my application on HWC.But my concern is to validate the data from ECC.
Lets suppose,when i entered wrong plant in input field,then it display my custom message(Plant not exist) and not display table field as it suppose to do in ABAP.
I does not want to put same message for all wrong input field value.
So you want to show message coming from RFC when user enter a wrong input instead of showing a predefined text, right ? What you can do here is that, make the RFC throw an error (E) when the user enter a wrong input. Hence the navigation to success screen will not happen instead an error screen or alert is shown. This is handled automatically by HWC apps. ie if the input is wrong the RFC should throw a message with type 'E'.
-Midhun VP
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.