on 06-29-2012 12:02 PM
Hi everyone,
I am trying get view usage reference from window for that call the method GET_VIEW_USAGE of interface api : if_wd_rr_window , in method within that i passed view name passed to exporting parameter which has embedded view name into window( That is(view name) : VIEW_MAIN in main component )
CALL METHOD L_WINDOW_INFO->GET_VIEW_USAGE
EXPORTING
NAME = 'USAGE_VIEW_MAIN'
RECEIVING
RESULT = l_view_usage.
The above code is returning run time error is usage_view_main does not exist in the window
Thanks
----------
Sreenivas
Hello Sreenivas,
Please check :
CALL METHOD L_WINDOW_INFO->GET_VIEW_USAGE
EXPORTING
NAME = 'VIEW_MAIN'
RECEIVING
RESULT = l_view_usage.
The name should be the name of the VIEW which is embedded in the WINDOW which is being referred by the L_WINDOW_INFO object ref.
Good Luck,
Kiron
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiron,
thanks for your reply,
I had already done that one but same issue came. Is there any other way?
Actually my scenario is create the view(VIEW_NAME) with window then created view container dynamically and provide one more view embedded dynamically to the view container which i have created dynamically.
Thanks&Regards
----------------------
Sreenivas Pachva
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.