on 04-24-2007 12:04 PM
Hi all.
I have the following scenario.
One Table displays order headers. Another table displays the items of the
selected order header.
My context is as follows:
- order header (0...n) initialize lead selection
- order items (0..n) singleton
The subnode order items has a supply method which selects all items of the
selected order and binds them to the context. In this supply method I create
the caption of the item table -> Items of order 971623197236 and bind it to a
context element via element->set_attribute. The attribute gets written!
So when I initially show the view the order header table gets filled and the supply
method for the items is called and the caption is created correctly but not
displayed. When I select the next entry in the order header table the new items
are displayed but the previously created caption is diplayed. And so on.
Any hints?
Thank you in advance,
Sascha
Hi,
As you are using a supply function you are facing this problem, try putting the same code in WDDOMODIFYVIEW method of the View.
Hope this will help.
Regards,
Ismail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ismail.
Thank you very much. That solved my problem.
But anyway I am not sure why the items which gets filled in the supply method are
displayed correctly but the caption of the same table gets not displayed when it is
filled in the same supply method.
I'll study the phase model again.
Cheers,
Sascha
Hi.
Still no ideas?
Just for info.
order items is a subnode of node order header.
Cheers,
Sascha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sascha,
For these type of things we can't expect because these thins can be found thorugh Dubuging the application only. So What i will do,
In the New Debugging tool, you will have the Webdynpro option. Choose that check the value is updated into the context or not? and Put the breakpoints in the WDDOINIT of the view and check the value is present or not. By using these breankpoints you can definetly find out what could be the problme is>>>>>>>>>>.
Give me some information if you find anything other than this.
Warm Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harish.
No ... the table could be empty. The lead selection is set initially anyway which
means when the order header table has entries the item table is filled with the
items of the first order in any way. The supply method is called and the caption is
set also. But the view does not update the caption of the item table but does update the items of the item table.
I do not have any idea.
Someone else?
Cheers,
Sascha
Message was edited by:
Sascha Dingeldey
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.