‎2010 May 26 11:39 AM
Hi,
I have a requirement where in I need to implement GOS functionality in a pop-up screen.
Please let me know if it is possible to implement GOS in a pop-up screen. I have tried the same but it isnu2019t appearing in the pop-up screen whereas it is appearing fine in a normal screen.
In addition, I was able to get the GOS icon but the different functionalities like List change documents, create note etc arenu2019t appearing. Your guidance would be really helpful.
With the below piece of Code i'm able to get GOS icon but not functionalities upon clicking the icon
CREATE OBJECT manager
EXPORTING
io_container =
is_bc_object =
is_object = obj
it_service_selection =
io_callback =
ip_start_direct = space
ip_no_instance = space
ip_no_commit = 'R'
ip_mode = 'W'
EXCEPTIONS
object_invalid = 1
callback_invalid = 2
OTHERS = 3.
I guess some problem with IP_MODE parameter.
Please guide.
Thanks in advance,
Asha
‎2010 May 26 2:12 PM
Hi,
You are right I guess.
IP_MODE should be,
'E' for Change mode and
'D' for Display mode.
‎2010 May 26 3:32 PM
Thanks for your reply.
But i guess thats not the reason, I have tried with all options even 'W' which is for both.
When i use the same piece of code( pasted above in the first post) with some other object type for which GOS functionality is working for some other tcode, its working fine.
Do we need to maintain any entry in any table with respect to this?
‎2010 May 27 10:58 AM
Hi,
I am not sure where you are going wrong. Check these links. [abap_blogspot|http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html], [SAP Help|http://help.sap.com/saphelp_46c/helpdata/en/94/aa532cddd511d289860000e8216438/content.htm]