on 05-08-2008 11:06 PM
Hi Experts,
In my initial screen there are some search criteria based on which i ve to display the data by using ALV.
And i ve hardcoded some value and the data are coming in ALV . But my question is how can i validate the data which is enter by the user in the search field so that data can bedisplay based on the search criteria in the alv output.
Regards,
Satya
Hi
u can take all the attributes (which u bind to the input fields for selction criteria) in a node.
u read the node which returns u a structure, which contains all the input which user has entered.
then write a method which imports this structure and based on the values in the structure u can fetch the data from the table.
get the value in an internal table and bind that internal table to the node with which ur alv table is associated.
hope this helps
regards
chythanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi chythanya,
i ve created a method in which i am reading the node and i m getting the value in a structure .
But i m getting the values through two function module .Moving the data to a internal table and bind that table to the context .So the output is coming based on one search creteria .Can you please tell me how can i validate for all .
Few code'll be appriciated .
Thanks In Advance,
Satya
Hi ,
use OVS (object value selector) method there , it wll take input and according to that f4 will be displayed.
OVS Component:
http://help.sap.com/saphelp_erp2005/helpdata/en/30/d7fa41c915da6fe10000000a1550b0/content.htm
Packages : WDR_TEST_OVS2,WDR_OVS,WDR_TEST_OVS
/people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
Regards,
Muneesh Gitta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if your data is cuming from the table then before you bind your output to the context node, check if its INITIAL or not.
if initial then there is no data availablefor the search criteria..
and raise an error message.
you can use a message manager for displaying the error.
Best Regards,
Ritwik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.