Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom container dynamic change

Former Member
0 Likes
607

Dear Techies,

I have to display or hide the custom container with hold ALV conditionally in a dialog.

Is there a method to delete the object reference created , so that I can hide or show the custom container dynamically.

I created containe eobject as following,

CREATE OBJECT go_cont500

EXPORTING

container_name = 'XYZ'.

Pls suggest as h

I appreciate your help.

Thanks

MP

2 REPLIES 2
Read only

Former Member
0 Likes
419

Hi Techies ,

I solved the problem using following code.

if go_cont500 is not initial.

CALL METHOD go_cont500->free

EXCEPTIONS cntl_error = 1

cntl_system_error = 2.

endif.

ENDCASE.

where go_cont500 is object reference to container used

Thanks

MP

Read only

Former Member
0 Likes
419

Solved myself