on 12-22-2008 12:36 PM
Hallo to everybody,
I have create a dynamic context. I write data into a alv which is linked to this context. Now I will get this data.
In static context I use the method get all declared attributes for read all data from the context.
how i can implement in dynamic context?
Can anybody helps me?
Hi Matthias,
Welcome to the Web Dynpro for ABAP Forum.
You can read the dynamic context node values.But not using the 'code wizard' in application tool bar.
Since you create dynamic context it is not available physically.So instead of reading the context node using code wizard write manually the same code.You will get the values into the internal table.Very recently I also did the same requirement its working fine for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Ok I understood your doubt.Since you are creating dynamic context so that structure is not available in where you want to get the values am i right? .
Then how you are assigning values to ALV.that means you are creating structure and assigning values to field symbol table am i right?.So declare that structure in 'Attributes' of view insted of declaring local to that method.So that structure is visible globally.Now assign that structure to the field symbol table.
First you start the coding.If any issues come let me know.
Yes that is the problem,
my abap skill is ver bad, can you give me an sample code for this.
I don't know how i can create a internal table regarding to a field symbol.
DATA itab type standard table of <internal_table>
or
DATA itab type standard table of (internal_table)
don't runs.
And how i can create a structure to a context which can change it.
Edited by: Matthias Schmidt on Dec 22, 2008 2:15 PM
Hi Matthias,
i think to learn more about field symbols abap general will be best forum......
but look in this link for basic help
link: http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm
regards
Pranav
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.