on 02-15-2009 11:31 AM
I have the following code in ABAP Report i want use it in WDA How?
DATA W_CONT TYPE C.
IMPORT W_CONT TO W_CONT FROM MEMORY ID 'CON'.
IF W_CONT IS INITIAL.
W_CONT = 'X'.
EXPORT W_CONT TO MEMORY ID 'CON'.
*-------
*-----
*-----
ENDIF.
Hi Ali,
You can do this in the ASSISTANCE class that linked to your WebDynpro Component. Just declare some method in your ASSISTANCE class that has your coding , then from webdynpro call the exposed method.
example
Method Memread
DATA W_CONT TYPE C.
IMPORT W_CONT TO W_CONT FROM MEMORY ID 'CON'.
IF W_CONT IS INITIAL.
W_CONT = 'X'.
EXPORT W_CONT TO MEMORY ID 'CON'.
*-------
*-----
*-----
ENDIF.
endmethod
wd_assist->memread( ).
Greetings
Prashant
Edited by: Prashant on Feb 16, 2009 1:20 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.