Activating Generic Object Services Toolbar in SAP Objects - SAP Blogs
Activating Generic Object Services Toolbar in SAP Objects - SAP Blogs
Community
Abhijeet Kapgate
November 21, 2012 5 minute read
Business Requirement
Many a times there is a business requirement of linking documents, entering notes, sending notes or linking an
internet address to various SAP objects. These external attachments can be reference documents, pictures,
Email attachments, designs, diagrams or related spreadsheets. To meet this requirement SAP has provided a tool
bar called ‘Generic Object services toolbar’ or ‘GOS toolbar’.
What is GOS
The GOS is a toolbar that provides di erent functions such as adding an attachment, creating a document link,
displaying all the attachments etc. The attachments are not generic for that transaction but are speci c for a
particular SAP object. The GOS toolbar can be activated using a class CL_GOS_MANAGER.
Currently in the system the GOS toolbar is available by default only for certain SAP objects.
For Ex. ME21N. See screen shot below. The GOS toolbar is highlighted.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 1/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
As shown above, the attachments created in ME21N screen will be linked to a particular purchase order and
cannot be seen for any other purchase order in ME22N or ME23N screens.
The following list shows all possible object services. Not all object services are available – it depends on objects
that are already active. Individual object services can also only be accessed using a sub-menu, so that the symbol
is not displayed in the toolbox.
Adding an attachment
Entering a Note with an Object
Sending an Object with a Note
Starting a Work ow for an Object
Linking an Internet Address
Entering a Bar Code
Tracing Events for the Object (Subscription)
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 2/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Telephony
Displaying Object History
Displaying Work ows for the Object
Displaying Transmissions for an Object
Displaying Relationships
Displaying Attachments
The Class CL_GOS_MANAGER is used for activating the GOS toolbar. We have to create an instance of the class.
The instance of the class can be created by calling the constructor method. Also, a variable of type BORIDENT
needs to be created for the application business object. The object type and object key is assigned to this variable
which is then passed to the instance of the class CL_GOS_MANAGER as shown below. This entire code has to be
written either inside a suitable user-exit, enhancement point. If both user-exit and enhancement point are not
applicable, implicit enhancement can be created inside the standard of that transaction where GOS has to be
activated.
LS_BORIDENT-OBJTYPE = ‘BUS2081’.
LS_BORIDENT-OBJKEY = ‘12345678902011’.
EXPORTING
IS_OBJECT = LS_BORIDENT
IP_NO_COMMIT = ‘ ‘
EXCEPTIONS
OBJECT_INVALID = 1.
Here the object key is the combination of the SAP elds that are mandatorily required to execute those
transactions. This will publish the GOS with the supplied BO instance if it is used in an executable program.
Earlier the Function Module SWU_OBJECT_PUBLISH was used for activating the GOS toolbar which now has
become obsolete. The object type and the object key were passed as the import parameters to the function
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 3/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
module.
Example
For the material BOM transactions (CS01, CS02, CS03), the GOS tool bar is not provided by standard SAP. See
screen shot below.
We will see below how we can activate the GOS toolbar using above class for transactions CS01 / CS02 / CS03.
1. So the object key for above example is combination of values of material number, plant and BOM usage.
The object key can be found out from the object type. Enter the object type in transaction ‘SWO1’
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 4/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Click on display.
2. The object type can be found in table TOBJ and also from transaction SWO1.The object type for Material BOM
(CS01/02/03) – BUS1082.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 5/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
If the parameter is empty, the object services will call the ‘COMMIT WORK’. In this case, the data passed
should be consistent.
When called because the database changes cannot be reversed using ‘ROLLBACK’.
4. The GOS toolbar / Button will now be visible and activated in t-codes CS01, CS02 and CS03 after the
enhancement is activated.
5. For Sales order, the service can be activated by setting user parameter.Set parameter SD_SWU_ACTIVE = ‘X’
in the user pro le. This will activate the
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 6/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 7/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
5. Now let us create an external document link. Follow the screen shot below:
6. Click on Enter.
A success message will be displayed at the status bar ‘The attachment was successfully created’.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 8/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 9/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Alert Moderator
Assigned tags
View more...
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 10/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Related Questions
85 Comments
Kapil Changrani
Former Member
Nice Document….Thanks
Ashutosh Mishra
Hi,
I am not able to write the code that you provide in above part in enhancement include “LCSDIFCD” for
CS01/CS02/CS03.
Thanks
Hi Ashutosh,
Ashutosh Mishra
Helpful answer
Ashutosh Mishra
Hi Abhijeet,
Thanks for Quick response!!! can you tell how i ll get the value as a dynamic in Object Key.
Hi Ashutosh,
If I understand your query correctly, the business object will always be known as to which SAP object needs
to be enhanced to have the GOS toolbar and will not be dynamic.For e.g. you will have clear requirement to
enhance this particular transaction.Whereas the object key will always be dynamic and its values will be
obtained in the standard structures (table,workareas) which get lled run-time inside the includes where
you write the code.
Thanks.
Ashutosh Mishra
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 12/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Hi Abhijeet,
After doing the Implicit enhancement i did the code in below format then its working for all the
material,Plant and BOM Usage.
IS_BORIDENT-OBJTYPE = ‘BUS1082’.
IS_BORIDENT-OBJKEY = l_objky.
EXPORTING
IS_OBJECT = IS_BORIDENT
IP_NO_COMMIT = ‘ ‘
EXCEPTIONS
OBJECT_INVALID = 1.
Ashutosh Mishra
Hi all,
If you want to activate Store Business Document then you have to pass the objtype as “BUS1080” in place
of “BUS1082” in the above code.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 13/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Former Member
Aditya Bajoria
Nice document.
I have a requirement to add this toolbar at budgeting trasnactions such as CJ30-CJ38 etc.
Any help??
Hi Aditya,
Thank you for your query. You can achieve the requirement by following the above post.
If you debug, you will get an include in the PBO for CJ30 where you can add this piece of code thru implicit
enhancement.
LS_BORIDENT-OBJTYPE = ‘BUS2001’.
EXPORTING
IS_OBJECT = LS_BORIDENT
IP_NO_COMMIT = ‘ ‘
EXCEPTIONS
OBJECT_INVALID = 1.
Activate the enhancement, executee CJ30 and you will see the GOS toolbar.
Hope this helps. Try this out and let me know if you face any issues.
Regards,
Abhijeet Kapgate
Daniil Grishin
Hello!
We activated GOS for CJ30, but the menu ‘Store business document’ isn’t active.
Although it’s active in CJ20N, where I can assign documents to Project De nition (2001) and view.
Former Member
Hi I am trying to use the GOS for VA41. Currently the service is enabled for VA42 and VA43. But the business
requirement is to enable the service for VA41 also. I did get the following docmantation for “Publishing
Object and o ering the Toolbox Directly” where it talks about using BOR_ID in Create transactions.
As I am new to GOS I still dont where exactly that peice of code should be implemented.
Like above reply could someone help me to let me know where I can implement the GOS for VA41.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 15/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Thanks
HA
Hi Hima,
You can achieve this by doing implicit enhancement in include ‘MV45AF0T_TRANSAKTION_INIT’ in form
‘TRANSAKTION_INIT’.
Pass
LS_BORIDENT-OBJTYPE = ‘BUSISM0030’.
LS_BORIDENT-OBJKEY = vbak-auart.
Activate the enhancement and the GOS toolbar will be activated for VA41.
Regards,
Abhijeet Kapgate
Former Member
Thank you very much for quick reply. It worked lika a charm.
I had one issue though. For customer we have implemented 2 new functionality for GOS. And those are
coming in for VA41 also. How do I avoid that.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 16/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Former Member
THanks
HA
Former Member
Hi Abhijeet,
Thank you for your response. I have placed the condition already as I dont want this to be enabled for VA01.
here is my code.
IF sy–tcode = ‘VA41’.
DATA: LR_GOS_MANAGER TYPE REF TO CL_GOS_MANAGER,
LS_BORIDENT TYPE BORIDENT.
LS_BORIDENT-OBJTYPE = ‘BUSISM0030′
LS_BORIDENT–OBJKEY = vbak–auart.
here is my issue. The work ow Icon is activate, but Start work ow, work ow overview, or Archived work ows
options are greyed out.
But these options are available in VA42 and VA43 GOS which are standard.
Thanks
HA
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 17/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Former Member
Hi Abhijeet,
Any thoughts.
Hi Hima,
The ICON ‘Work ow’ has three options – Start work ow, work ow overview and Archived work ows.
A]Start work ow – This is used for starting work ows that use the object. All suitable work ows
automatically determine the system and are o ered for execution.
The SAP System contains active work ows that ful ll the following prerequisites:
2.The work ow is only allowed to have the object as an obligatory import parameter.
When you click on start work ow – All active work ows which ful ll the prerequisites above are displayed.
B] Display work ow – This will display the overview of the work ow, if any.
C] Archieved work ow – All work ows that are running or have been executed, in which your document
(object) has already been edited, are displayed.
So as described above this is standard feature. In my case the behavior of the ‘Work ow’ button on the GOS
toolbar is same for VA41, VA42 and VA43 i.e. work ow Icon is activate, but Start work ow, work ow overview, or
Archived work ows options are greyed out.
Regards,
Abhijeet
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 18/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Former Member
Hi,
Regard,
Rafael
The GOS toolbar button is already there for CN28 after you enter values in the rst screen.
Former Member
in our system SAP ERP 6.06 the GOS button does not appear in CN28 Transaction by standard.
i implemented the solution of this document and it function OK. but my problem now is the integration
between CN28 Transaction and OpenText Throughout SAP ARCHIVELINK.
Former Member
The remark :
Despite of what you have written above “5. For Sales order, the service can be activated by setting user
parameter.Set parameter SD_SWU_ACTIVE = ‘X’ in the user pro le. This will activate the generic object
services for VA01, VA02 and VA03.” the system is not activated for VA01 but for VA02 and VA03 only. Can you
comment?
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 19/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
The question :
Do you know how to achieve in VA01 a simultaneous creation in “Services for Object” of a (default) link to internal
network address for sales order on one hand and in Windows of a (default) folder named as “SAP sales odrer
number” & “SAP customers name” ?
The business background would then be for sales clerk to populate whenever needed the Windows folder created
in such automated way with whatever external document (email, plan, spreadsheet, picture) he needs in order to
manage the follow-up of customer order. Thus any person authorized to display customer order (VA03) could
check the current status of customer order processing beyond SAP-related matters without systematically
disturbing the sales clerk.
Former Member
Thanks for all ur valuable suggestions.Iam working out GOS in FMX1 transactions.
IN PBO of the FMX1 we have include ‘LFMFRF05(1444)’.Here with implicit enhancement i wrote the below
code
EXPORTING
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 20/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
The Gos activated successfully and I can able to use create attachement service.But when I click on the
Attachment list it is giving dump like below.
TSV_TNEW_PAGE_ALLOC_FAILED.
Thanks In advance,
kranthi
Tanmoy Mondal
Hi,
I tried to activate the GOS- Generic Object Services for VA01/VA02/VA03 using the user parameter
SD_SWU_ACTIVE = ‘X’, but it did not work. Any ideas why?
Regards,
Tanmoy
Hi Tanmoy,
This should work. Probably you will have to log-o after making the changes and log-in again.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 21/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
If still not, then you will have to contact the basis team.
Regards,
Abhijeet
Craig S
Thanks for this document! Do you know of this process being used to attached documents to a batch? (I.e.
MSC2n?)
Craig
Yes Craig. The same process can be used for your above requirement.
Regards,
Abhijeet
Craig S
Craig
Former Member
Hi Abhijeet,
i need to activate GOS for the following tcodes with the business objects listed
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 22/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
1.for CS01, i have used the technique you suggested. its working but the problem is option ‘store business
object’ is inactive
2. how do i make enhancement for QP01 and C201 in the same include(as per your doc)? what must be the
object key for both?
3. how do i activate ‘store business object’ in every transactions?
please do help me
thanks in advance
Dhananjay Choubey
Hi,
Nice document. May you please tell me that when i am attaching a le from PC, i want to add a pre x in the
lename.
Suppose i am adding a l with name abc.pdf but it must look like tv_abc.pdf.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 23/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Thanks.
Dhananjay
Former Member
Former Member
Abhijeet,
Great information. How can you notify a user who is displaying the object that an attachment exists? This is
needed because a user may not know that an attachment exists. Also how can you require an attachment?
Thanks
Shyam
Hi Sap Consultants,
This Is Mahendra. How to Activate the GOS Menu for these Transactions FMSB/FMSC. Any ideas, Please
share the Idea’s.
MahendraReddy.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 24/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Hi Sap Team,
I Created the docuemnt type in oad5 for CRC3 Tranascation. But , Am not able to attach the document. If
Error through a Store Business Document is Inactivate Mode. How to re-solve the enable the Store Business
document in gos.
Former Member
Hi Reddy,
1. goto SM30
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 25/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
4. then check the ‘commit’ check box for the same entry
5. Save
Cheers
Former Member
Hi Abhijeet Kapgat ,
Regards ,
Sada Bandla
Former Member
If object services icon does not appear, there may be the next reasons:
Former Member
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 26/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Hi Abhijeet,
I have gone through your document which is very usefull.Our system is ECC5 System hence there is no
scope to create inplicit enhancement spot in the inculde “LCSDIFCD” for CS01 and “LCPDIFH1″for
CA01.Can you please suggest how can this be achived in ECC5 system
Hi Prathamesh,
The only way I could think of is to get the access key to change these includes and write the code
accordingly.
Regards,
Abhijeet Kapagte
Former Member
Hi Abhijeet ,
Can you kindly con rm if we need to use include LCPDIFH1 and business object ‘BUS1012’ for activating
GOS.
regards,
Prathamesh
The include is correct but use the business object BUS1082 for CS01/02/03.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 27/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Former Member
Hi Abhijeet,
Regards
Siva
Hi Siva,
I could not nd a way to create multiple attachments in one go, so can’t comment on it.
Regards,
Abhijeet
Former Member
Hi Abhijeet,
For PO ME23N, RFQ ME43 and ME33L Transactions, is there any parameter available like SD_SWU_ACTIVE
for VA03 or do we need to activate the enhancement for purchase related documents.
In document archiving process, we are viewing attachments with the GOS icon “Attachment List” from a
external server and this works ne with the sales documents but “Attachment List” is inactive in the GOS
icon for purchase related documents. Is there any parameter available for Purchase documents.
Thanks
Sudesh
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 28/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Hi Sudesh,
The parameter ‘SD_SWU_ACTIVE’ is only for VA01/02/03. You will need to activate the GOS.
Regarding the ‘Attachent List’, it should be active if there are any documents.
Regards,
Abhijeet Kapgate
Hi sudesh,
what ever Abhijeet told correct. parameter of SD_SWU_ACTIVE IS ONLY FOR VA01/02/03 T-codes. you
need to active the GOS Menu.
Thanks,
Mahendra..
Former Member
Hi Abhijeet Kapgate,
It’s really a very good document for all those who wants to learn GOS toolbar activation. I was noticed your document while
searching for GOS activation process. Seriously it helped a lot. Then my query is that i just want to activate GOS toolbar for
MB21/Mb22/Mb23(Material reservation). I am using ECC6.0. Can you guide me which include/coding part would be feasibily
to inorder to achieve this? Thank you so much in advance. Eagerly waiting for your response.
With Regards,
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 29/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Kavi
Hi Kavi,
For activating the GOS for material reservation, please use the include MM07RFP0.
Alternatively you can nd other includes by debugging, if this include does not serve your purpose. Use the
following code in the implicit enhancement:
EXPORTING
IS_OBJECT = LS_BORIDENT
IP_NO_COMMIT = ‘ ‘
EXCEPTIONS
OBJECT_INVALID = 1.
Thank You.
Abhijeet Kapgate
Former Member
Hi Abhijeet Kapgate,
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 30/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Then i tried out this by inserting those coding into implict enhancement. It
Thanks for your valuable info
can be activated the GOS toolbar. Attachments can be inserted. But there is a new problem that the
attachment list is not refreshing properly.
For instance, i have attached one le into one material reservation number say ‘10001’. Then when i go to mb21
for creating another reservation that old attachment contains for this newly created reservation as well(Instead
the attachment list should be empty as its a new creation right?). That is attachment list is not refreshing. It is
containing old material number attachment as well. Pls advise whether we need to do code for refresh
attachment list if go to Mb21. If yes then how it can be applicable for MB22./MB23. Once again many thanks for
your great support
Hi KAVI,
I suppose the attachments are being stored for the transaction and not for particular material reservation.
May be you can try to use di erent include to create implicit enhancement and write the code there.
Regards,
Abhijeet
Former Member
Hi Abhijeet,
How do we control the events associated with this toolbar from our own custom program?
For example, I have an alv grid display & as validation, I need to achieve the following:
If I select more than one record in alv & click on this GO toolbar, it should give an error.
To achieve this validation, I need to get the control of this GOS in my program. How can we do it? Please
reply.
Thanks in advance,
Ajai
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 31/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Hi Ajai,
Sorry for the late response. I have not tried this in a custom program, so not sure about this. If you nd out,
please let us know.
Thanks.
Former Member
Former Member
Hi Abhijeet,
Found the reason for the old attachment repetition in MB21 and MB22. As SAP standard process, we are not
supposed to add attachments in creation documents such as VA01, ME21N and MB21 etc. Because all
attachments will be stored as binary format in table SRGBTBREL according to object type.
So in my case, even i add attachment in MB21, it will get stored with ID ‘0000000000’ since document
number will be created only after it get saved. So that’s the reason whenever i go into MB21 freshly i could
see the old attachments. Now i have removed it using below selection coding. It’s working ne. Thanks for
your support.
Delete FROM SRGBTBREL where INSTID_A = ‘0000000000’ AND TYPEID_A = ‘BUS2093’.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 32/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
EXIT.
ENDIF.
ENDDO.
With Regards,
Kavi
Manohar Dubbaka
Hi Abhijeet,
Can you please con rm if we have to implement the BADI — “CL_PLM_AUDIT_GOS” to enable GOS in
PLMD_AUDIT transaction?
OR GOS will be enabled by implementing the code mentioned in the blog above in one of the includes of
PBO? Also what if there is no business object related to the transaction?
Thanks
Hi Manohar,
Regards,
Abhijeet Kapgate
Former Member
Thanks
Hello Luis,
You can use the business object BUS3005 for condition type. The key eld is ConditionRecordNo. Please try
the above approach and see .
You might need to add required attributes and methods to this object.
Regards,
Abhijeet Kapgate
deepika jain
if sy–tcode = ‘VK12’ and xvake–knumh is not INITIAL .
DATA: LR_GOS_MANAGER TYPE REF TO CL_GOS_MANAGER,
IS_BORIDENT TYPE BORIDENT.
IS_BORIDENT–OBJTYPE = ‘BUS3005’.
IS_BORIDENT–OBJKEY = xvake–knumh .
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 34/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
CREATE OBJECT LR_GOS_MANAGER
EXPORTING
IS_OBJECT = IS_BORIDENT
IP_NO_COMMIT = ‘ ‘
EXCEPTIONS
OBJECT_INVALID = 1.
endif.
Former Member
Hi Abhijeet n Everyone,
Just wanted to know that in my system i dont get sub option “Create Attachment” in VA02/VA03.
“Create Note”
Enter Barcode
but i am not getting the “Create Attachment” option which should allow me upload an excel or word
document to Sales order.
Regards:
Pranav
Former Member
Hello,
i would like use GOS for BUS1191 inspection plan but it dosn’t work as expeceted in QP01 – 03.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 35/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Hi Holger,
Sorry for the delayed response. I have used the same business object for inspection plan and the key would
comprise of MATNR, WERKS and PLNNR. Hope this helps.
Regards,
Abhijeet Kapgate
Former Member
Hi Abhijeet,
no probleme.
Could you please give more details how to run BUS1191 via QP01-QP03?
With CWBQM it already works ne but I would like to run with QP01 to QP03.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 36/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Former Member
Hi Abhijeet,
Its really a very useful document. I am facing a problem in attaching the invoice document to the
attachment list in VF02 transaction. I am trying to attach the invoice using an output type(External Send)
the document is not getting attached.
Could you please suggest how to attach the invoice document output generated via external send?
Hi Hemanth,
For Sales order, the service can be activated by setting user parameter.Set parameter SD_SWU_ACTIVE = ‘X’ in
the user pro le. This will activate the generic object services for VA01, VA02 and VA03 T-codes.
Thanks,
Mahendra Reddy.P
Former Member
Hello abhijeet,
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 37/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Thanku very much for this valueable document. is it possible to insert GOS in transaction like POP1, POP2
and POP3 via enhancement??
Best regards
Arshad
Hi Arshad,
Sorry for the delayed response. Yes, it is possible in transaction POP1, POP2 and POP3.
Regards,
Abhijeet
Atul Tulaskar
Hi Abhijit,
I would like to activate GOS toolbar for ZBUS2075 and i want to use store business document.
Hi Atul,
GOS toolbar is for the transaction. Which transaction are you referring to?
Regards,
Abhijeet
Atul Tulaskar
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 38/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
I am referring to T code KO02. we have created BO ZBUS2075 for a work ow development. so i want to
know how can we attach documents against this Z business object.
mohd waliullah
Hi Abhijit,
I have the same requirement as mentioned above by Atul, I am trying to activate GOS toolbar for EHS&M
modules transaction EHSAMBTAET where it does not have any standard Business Object. Here we have
created a custom business object and trying to create a document link from SAP to Open text.
Thanks,
Wali.
Hi Wali,
So, have you tried the code by passing the business object type and the object key in the class-
CL_GOS_MANAGER.
Regards,
Abhijeet
Uma Surapaneni
Hi Abhijeet,
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 39/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
I enhanced the code, but i do not have Object Key while creating Invoice.
Thanks.
Uma
Former Member
Hi Abhijeet,
I am having a similar requirement for IW41 (PM Order Con rmation) transaction. Could you please let me
know what would be the business objtect type for the same in order to active the GOS functionality. The F4
help of SWO1 provides a big hit list. Not sure which one to take.
Thanks,
Subhadip
Hi Shubhadip,
Sorry for the delayed response. Please try with the following as I am also not sure about the exact one:
BPR_MOCONF
BUS2128
BUS2007
Regards,
Abhijeet
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 40/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Nitish Chawla
Hello Abhijeet,
I am working on a custom class based work ow where i need to proide GOS tool bar functionality. Could you
please tell me how to utilize custom class instead of Business Object for creating GOS toolbar ?
Regards,
Nitish
jagannath parija
Former Member
I've implemented GOS in outline agreement and I'm using BOR BUS2014. Insert code into ba
The reason why I insert this GOS in ME35K because the approver normally will check the a
Method: IF_EX_ME_PROCESS_PO_CUST~INITIALIZE
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 41/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
IF sy-tcode EQ ‘ME33K’.
lv_ekko = ‘(SAPMM06E)EKKO’.
ASSIGN (lv_ekko) TO <ekko>.
it_ekko-ebeln = <ekko>-ebeln.
ls_borident-objtype = ‘BUS2014’.
ls_borident-objkey = it_ekko-ebeln.
ENDIF.
Vincent PROVENDIER
Abhijeet Kapgate
in ME21N the GOS toolbar is activated but the store business document id not enable.
thanks in advance.
Former Member
Hi Abhijeet,
I tried the same with ME31L t-code and while creating Schedule Agreement I am attaching one Excel le but
when I saw that schedule agreement in ME33L I couldn’t nd the attachment. This is my below code.
IF sy–tcode EQ ‘ME31L’.
DATA: lr_gos_manager TYPE REF TO cl_gos_manager,
ls_borident TYPE borident,
lv_ebeln TYPE ekko–ebeln.
ls_borident–objtype = ‘BUS2013’.
ls_borident–objkey = lv_ebeln.
CREATE OBJECT lr_gos_manager
EXPORTING
is_object = ls_borident
ip_no_commit = ”
EXCEPTIONS
object_invalid = 1.
ENDIF.
Mamatha Karapanahalli
Hi Abhijeet,
I have a requirement to activate GOS for FB11 transaction. I added the piece of code you have provided in an
implicit enhancement. The GOS tool bar appears.
The user wants the work ow overview option. But in my case, GOS is activated and works for only few
documents.
For rest of them it throws a message : There are no work ows that have already worked with this object.
Could you please help me with this. Is there a way I can debug GOS and see why no work ow data is being
pulled out.
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 43/44
10/19/2019 Activating Generic Object Services Toolbar in SAP Objects | SAP Blogs
Note: I can see work ow items for this particular document in SWI1.
Thanks.
Mamatha
Add Comment
Sitemap
Newsletter
https://blogs.sap.com/2012/11/21/activating-generic-object-services-toolbar-in-sap-objects/ 44/44