on 07-26-2007 10:54 AM
Hello All,
I have a view "Display_Order" which has one input field for the Order number and a button labeled "Display". When you click the button outbound plug is fired to go to the view "Order_Details" which has few buttons.
Now if the order does not exists I need to disable all these buttons on the "Order_Details" view.
Guys, I am confused as to where do write this disabling code...whether in WDDOINIT or WDDOMODIFYVIEW.
Con you please help me clarify my confusion.
Warm Regards,
Smita
Hi,
What you can do is you can make use of Varaible of type boolean . Declare it in your View and bind it to your button. once whn you check for the existence of the order set the boolean variable to false and do this in the WDDOINIT() of your View
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Write the code in the inbound plug handler of the order details view. Bind a context attribute to the 'enabled' property of all the buttons. If there are no orders, set the attribute as abap_false.
Regards
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.