I have a problem in a method of Web Dynpro Abap. Ich have a database structure and change its fields at runtime. I do that with the function DDIF_TABL_PUT and the activation with DDIF_TABL_ACTIVATE.
COMMIT WORK and wait. CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING NAME = '/SME/DED_DYN' TABLES DD03P_TAB = DD03P_TAB DD05M_TAB = DD05M_TAB DD08V_TAB = DD08V_TAB DD35V_TAB = DD35V_TAB DD36M_TAB = DD36M_TAB EXCEPTIONS tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 others = 6. COMMIT WORK and wait. if sy-subrc = 0. call function 'DDIF_TABL_ACTIVATE' exporting name = '/SME/DED_DYN' IMPORTING rc = rc exceptions not_found = 1 put_failure = 2 others = 3. endif.
When I start my Web Dynpro Application in the first time the structure is changed correctly, but when I run the two functions again, in Transaction SE11 the structure is change correctly and the new fields are shown, but inside my application, when I want to work directly at runtime after the changes, the old value are inside. I have to refresh my whole Web Dynpro Application and then it works with the new structure.
I hope you understand my problem. Somewhere must be a buffer that buffers the "old" structure of the database structure. How can I delete that at runtime?
Thanks for your help!!