on 05-12-2015 1:56 PM
Hello!
I need some help on the below piece of code for retrieving and setting the value of a page attribute:
the view 'Report.htm' is called from HTML page 'Follow.htm' (without a flow logic)...the below pice of code is implemented in the page layout of Follow.htm
<bsp:call url="MAIN.do" comp_id = "view">
<bsp:parameter name="view" value="Report.htm"/>
</bsp:call>
once this code is executed the controler is triggered and from the the method DO_REQUEST the view Report.htm is called.
Now in the calling page Follow.htm I have a page attribute 'Lock' set which i want to be read inside the contoller method DO_REQUEST and hence it could be mapped to page attribute of the view Report.htm .
Any advice on how to read this attribute "lock"? I tried various ways but unable to get it.....I do not want to export/import nor use class attibute to read this value....
Code i currently have in the controller mehtod DO_REQUEST is:
CALL METHOD get_attribute( EXPORTING name = 'LOCK' IMPORTING value = val ). "this triggers a short dump as LOCK not found
page = create_view( view_name = view ).
page->set_attribute( name = 'LOCK' value = val ).
call_view( page ).
Hi...any tips on this please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.