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

How to remove GOS

Former Member
0 Likes
626

Hi

CREATE OBJECT lo_manager

EXPORTING

is_object = la_obj

ip_no_commit = space

EXCEPTIONS

OTHERS = 1.

there r two screens 100 and 200

on screen 100 there is button on which i call screen 200 and through above code i have GOS object as well on screen 200.

but when i click back i came back to screen 100 and still have that GOS object .

I wanted that when i click back and come to screen 100 GOS object should disapear

Regards

Ammad

Hi

CREATE OBJECT lo_manager

EXPORTING

is_object = la_obj

ip_no_commit = space

EXCEPTIONS

OTHERS = 1.

there r two screens 100 and 200

on screen 100 there is button on which i call screen 200 and through above code i have GOS object as well on screen 200.

but when i click back i came back to screen 100 and still have that GOS object .

I wanted that when i click back and come to screen 100 GOS object should disapear

Regards

Ammad

1 REPLY 1
Read only

naimesh_patel
Active Contributor
0 Likes
493

When you go from the screen 200 to 100, you should call the method UNPUBLISH( ) of the GOS manager. Like:


   lo_manager->unpublish( ).    " remove GOS

Regards,

Naimesh Patel