GOS-objects in LORD_MAINTAIN_COMP
Hi!
I am using LORD_MAINTAIN_COMP from a web dynpro screen and would like to know if there is a possibility to have the Generic Objects button available when triggering this functionalty for example when changing a sales order.
When using VA02 in SAP, its there, but when using the LORD functionality it is not available, at least at the start.
Is it possible to add this button in order for the user to view attachments/notes?
Hi,
I have interface nodes in my standard component,
Even though I am not able to get the interface nodes in my Z Component.
help me now.
Regards,
Naresh.
Similar Messages
-
FM for GOS object read/download
Hi ABAP Gurus,
Needs your inputs for the below requirement.
Customer will attach the supporting doc's to sales order GOS(Gerneric Object Service) & later i need to read these doc's for a custamized programm & needs to sent it via email to the end customers.
How to do it any FM to read or download the GOS objects?
ThanksHi,
One more important info also required how to get the link for the GOS table & then read those attached documents?
Thanks -
Hello Experts,
In transaction such as IW21, VA01, etc when we attach documents ( Excel, word, PDf's) in GOS ( Generic Services Objects) the document is stored in the Content repository and has a SAP Archive Link for e.g '&SO_KProObjectID=SOFFLOIO 4A6D66F30E37466EE1000000921B4EDD'
Is its possible to convert this Archive Link into an URL?
OR
Is it possible to read the contents of the document at archvie Link into an internal table???
Kindly help with possible solutions.
Regards,
Mansi.Hi,
check this wiki [page|https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-SendingGOSattachmentstoanemailaddress]. It contains an example of attaching GOS objects to an email.
Cheers -
How to create a relationship between 2 GOS objects
Hi all,
I have a small problem how to create a link between 2 GOS (businnes objects) .
I have 2 different business objects ( Z* type, for example class Z1 and Z2) defined using SWO1, and I want to create link between instances of 2 GOS objects.
I try to use FM 'BINARY_RELATION_CREATE' ,
fill parameters OBJ_ROLEA , OBJ_ROLEB ,
but I know how to fill parameter RELATIONTYPE.
All the time I got a message RL 301 (Role type '&1' is not assigned object type '&2').
Should I make some customization (and how ) for roles of object Z1 and Z2 ?
Or should I use any general relationtype ?
Can somebody helo me to explain, how to make customization , or any link, example ?
Thanks in advance
Milan DobiasThanks for Your answer, but main problem is what relation type use to create link between 2 common objects.
Your solution (use class CL_BINARY_RELATION) returns the same error message, because this class is used in FM BINARY_RELATION_CREATE.
In the end I found that solution is to use as relationtype (ORBRELTYP-RELTYPE = 'ASGN').
CALL FUNCTION 'BINARY_RELATION_CREATE'
EXPORTING
obj_rolea = obj_a
obj_roleb = obj_b
relationtype = 'ASGN'
EXCEPTIONS
no_model = 1
internal_error = 2
unknown = 3
OTHERS = 4.
It seems to work and on both objects (A and B) I can see link (relation).
Best regards,
MD -
Unable to see the uploaded file using gos object
Hi Experts,
I uploaded the file to server by using the below code. But I am unable to see the uploaded file. Please help me out hot to view the uploaded files (list the file name and view the content) (i want to upload the file by getting the url as input and by clicking the button)
Code to upload the file.
DATA: wa_zqtc_gos_request TYPE zqtc_gos_request.
DATA: l_attachment TYPE swo_typeid.
DATA: lo_gos_service TYPE REF TO cl_gos_document_service.
obj-objkey = req_num.
obj-objtype = objtype.
CREATE OBJECT lo_gos_service.
CALL METHOD lo_gos_service->create_attachment
EXPORTING
is_object = obj
IMPORTING
ep_attachment = l_attachment.
I tyied with this to view the files but the attachement link is disabled. (i want to view the files by clicking the icon-GOS icon in tool bar)
DATA: wa_zqtc_gos_request TYPE zqtc_gos_request.
DATA: l_attachment TYPE swo_typeid.
DATA: lo_gos_service TYPE REF TO cl_gos_document_service.
obj-objtype = objtype.
obj-objkey = req_num.
CREATE OBJECT manager
EXPORTING
is_object = obj
EXCEPTIONS
OTHERS = 1.
Please help me out how to view the file and list.
thanks & regards
T.Tamodarane
Edited by: T.Tamodarane on Oct 23, 2009 9:55 AM
Edited by: T.Tamodarane on Oct 23, 2009 9:56 AMHi,
Please post ur thred below:
PL/SQL
Regards
Meher Irk -
GOS(Object Services) for ME31K and ME41
Hi,
Is it possible to have a General object services for the transactions ME31K and ME41.If yes,Can you please give me the procedure for the same.
Thanksthe notes for ME31K: start with [329437|https://websmp130.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=329437&nlang=EN&smpsrv=https%3a%2f%2fwebsmp110%2esap-ag%2ede] and work your way through the dependencies and follow-ups.
ME41: there's no way to know beforehand. either you can see it while you are using the transaction or you can't. if you can't you go searching service.sap.com ... at least that's how i do it ... -
Attachments workitem to GOS object
Hi,
I want to copy the attachments in the workflow to the generic object service.
My question is how to go forward. Are there any methods to do this? any FM's?
Any help will be appreciated.
Regards,
BertHope this hepls you
DATA : manager TYPE REF TO cl_gos_manager,
obj TYPE borident.
obj-objtype = objtype.
obj-objkey = <fs_viqmel>-qmnum.
CREATE OBJECT manager
EXPORTING
IS_OBJECT = obj.
IP_NO_COMMIT = 'R'
EXCEPTIONS
OTHERS = 1.
CALL METHOD manager->START_SERVICE_DIRECT
EXPORTING
IP_SERVICE = 'VIEW_ATTA'
IS_OBJECT = obj
EXCEPTIONS
NO_OBJECT = 1
OBJECT_INVALID = 2
EXECUTION_FAILED = 3
OTHERS = 4.
or use this FM 'GOS_ATTACHMENT_LIST_POPUP' -
Attachment of file into Business Object.(GOS object)
Hi,
I am trying to attach a PDF document for Equipment Number (T-Code IE02) by using the function module
BDS_BUSINESSDOCUMENT_CREATEF.
I gave the following inputs
where OBJECT_KEY is the equipment number for which, I am attaching.
In the FILES table I mentioned the DIRECTORY and FILENAME as 'test.pdf'.
After executing, although the file is attached, it is attached as MDB type.Also it dont have the title.
When I am attaching manually, It takes the original file-type and file name will be created as title.
It is also updating in the table SRGBTBREL.
While I am executing from function module, it is not updating in the table also.
Kindly suggest what went wrong for me.
Regards
DannyYou didn't put the file at the same place.
--> no user name --> HTTP Content Server
--> username --> maybe in the database : table SOFFCONT1
could you check the customizing in the OAM1 trans ?
regards
Fred -
Problems starting tcode from swo1-object via gos (so_sendobj)
Hi,
working with gos around some swo1-object, i got the problem to start a transaction which is called from an object method: the transaction starts but the wished details of that item do not appear as expected.
When I start the test environment within tcode SWO1, and at first, I create an instance from this object giving it the right key (for the wished item) then i succeed in starting the bespoken transaction from within that method showing me the details for that item.
In the last days, I have read and learned a lot about the possibilities and interdependences of the gos mechanism using many of the hints and advices which were given here in the forum in the past. But I'am not able to achieve the wished effect via gos (send object with note) from within our application.
My guess, we need to start an instance of the object before we can show details for the wished item. In the normal case, the application shows at the left windows with containers/trees for search filters and items and within the main window on the right the details for that item. Starting this transaction a popup-window appears (showing the standard filter) where you can give the wished item no.
As I remarked, starting all these things from within the swo1 environment everything is functioning as expected...
Is there anybody who has made a similar experience and can give me some advice what we have to do to succeed in?? Is there any function module of kind SWU..., SWE... SWO... or something else which is to be called in front of that task???
I forgot to mention that within our application, there is the correct? built up of the gos-object via class cl_gos_manager constructing the needed object and the needed key, so when calling the gos-action, the bypassed sap user finds the link in the inbound position and will be directed to the correct transaction with the side effects described before.
Wish you all together a happy new year.
Kind regards
ChristianMy freind ,
in the Bussiness Objects migatration there is no select-options like
sending range of data or the multiple selections.
for this we need separate loop structure where in we can send the multiple data and everytime it calls the BAPI Obect evertime individaully ,
if you want the you have to define one new BOR object (Custom bapi)...then rignt one function module for select-options and attach it to you method in the BAPI .
So that your BAPI calls in the SAP function Module for range of data .
Reward points if it is usefull ....
Girish -
Create event in GOS obj to trigger workflow while attaching data with GOS
Hello experts,
It is a little bit urgent.
I have a scenario. We have to attach documents to SAP application using GOS. These documents can be edited also.
Now second part is that when we attach the document or edit the document, the document should be send with the work item "when we attach the document".
The first part of the scenario is completed and working fine. The second part of the scenario is causing problem. I have checked the various options but none of them are proving helpful.
There is an option in GOS toolbar to send the documents through workflow but that also asks for the related workflow.
I was trying to create an event for GOS object (Z object not a subtype of any other object) which can trigger the workflow automatically when the attachment are created and edited but can not go further with it as am not so strong in workflow. I ahve just created the event. Do I need to write some code for the event?
I request you to kindly help me either in creating this event which will trigger the workflow (whole process) or any other method to do the same.
Thank you all in advance.Hello Arghadip,
Thank you for replying so early. The table point is very helpful but about the batch job I do not get it. I think the second option is good trigerring event on updation of table. But again I do not know how to do it as I have customized object so have to create the event from the scratch and that, sir, is my main problem.
Kindly help.
Thank you -
Hi Gurus,
I would like to know if there are any tcode to find documents created with GOS attachments.
I see tcode oaad but this tcode is for search documents of Archive link.
I see tcode cv04n but this tcode is for search document of dms, but not attachments uploads with GOS.
Can you help me??
Many Thanks.Hi,
You can use FM 'BDS_GOS_CONNECTIONS_GET' to get list of attachments for an GOS Object.
For example.
export parameters for 'BDS_GOS_CONNECTIONS_GET' to get attachments list for PO documents.
LOGICAL_SYSTEM <your logical system name>
CLASSNAME BUS2012
OBJKEY 0000000410 - po number
CLIENT 001
To get the logical system name you canuse FM OWN_LOGICAL_SYSTEM_GET
Regards,
Deepak Kori -
When attaching documents using GOS send them with workflow
Hello experts,
I have a scenario. We have to attach documents to SAP application using GOS. These documents can be edited also.
Now second part is that when we attach the document or edit the document, the document should be send with the work item "when we attach the document".
The first part of the scenario is completed and working fine. The second part of the scenario is causing problem. I have checked the various options but none of them are proving helpful.
There is an option in GOS toolbar to send the documents through workflow but that also asks for the related workflow.
I was trying to create an event for GOS object which can trigger the workflow automatically when the attachment are created and edited but can not go further with it as not so strong in workflow.
I request you to kindly help me either in creating this event which will trigger the workflow (whole process) or any other method to do the same.
Thank you all in advance.Hello Andrés,
Thank you for replying. The main problem is starting the workflow. For that I need to create an event and that is my biggest trouble. I have seen the object IFSAP already. There are no events in it and as such I have created my custom object as super type.
So I need to create the event from scratch.
Hope my requirement is clear.
Thank you.
Edited by: Apoorv Lohani on Feb 3, 2012 7:54 AM -
Read data from Object Services
Hi ,
I need to display the text from 'Object Services' for a Material in a report. The Object type is 'BUS1001' for Material . Users Maintain texts in these Object services in Transaction MM03/MM02. I have to extract and display latest text entered by the user for each material in the Report.
Please let me know, How to extract the Data from Object services?
Any ideas will be rewarded with points.
Thanks
ShekarReading form the GOS object would not be a easy task.
Steps would be like:
1. Get the all GOS attachement which are NOTES by calling method CL_BINARY_RELATION=>READ_LINKS providing the Business Object Key
2. Call the FM SO_OBJECT_READ to get the NOTE by providing the Folder and Object information.
Here is the sample code:
REPORT ztest_np_gos_note.
PARAMETERS: p_matnr TYPE mara-matnr.
START-OF-SELECTION.
DATA: gs_lpor TYPE sibflporb.
gs_lpor-instid = p_matnr.
gs_lpor-typeid = 'BUS1001006'.
gs_lpor-catid = 'BO'.
DATA: lt_relat TYPE obl_t_relt,
la_relat LIKE LINE OF lt_relat.
la_relat-sign = 'I'.
la_relat-option = 'EQ'.
la_relat-low = 'NOTE'.
APPEND la_relat TO lt_relat.
DATA: t_links TYPE obl_t_link,
la_links LIKE LINE OF t_links.
DATA: lo_root TYPE REF TO cx_root.
TRY.
CALL METHOD cl_binary_relation=>read_links
EXPORTING
is_object = gs_lpor
it_relation_options = lt_relat
IMPORTING
et_links = t_links.
CATCH cx_root INTO lo_root.
ENDTRY.
DATA l_folder_id TYPE soodk.
DATA l_object_id TYPE soodk.
DATA document_id TYPE sofmk.
READ TABLE t_links INTO la_links INDEX 1.
document_id = la_links-instid_b.
l_folder_id-objtp = document_id-foltp.
l_folder_id-objyr = document_id-folyr.
l_folder_id-objno = document_id-folno.
l_object_id-objtp = document_id-doctp.
l_object_id-objyr = document_id-docyr.
l_object_id-objno = document_id-docno.
DATA document_content TYPE STANDARD TABLE OF soli.
CALL FUNCTION 'SO_OBJECT_READ'
EXPORTING
folder_id = l_folder_id
object_id = l_object_id
TABLES
objcont = document_content
EXCEPTIONS
active_user_not_exist = 1
communication_failure = 2
component_not_available = 3
folder_not_exist = 4
folder_no_authorization = 5
object_not_exist = 6
object_no_authorization = 7
operation_no_authorization = 8
owner_not_exist = 9
parameter_error = 10
substitute_not_active = 11
substitute_not_defined = 12
system_failure = 13
x_error = 14
OTHERS = 15.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Regards,
Naimesh Patel -
Deleting and Retrieving Attachments - GOS
Hi All,
Want to Know about attachments with GOS:
1) How is the attachment stored?
2) Where it is stored?
3) Whether it is possible to retrieve the same attachment and delete the
attachment?
Helpful answers are appreciated.
Thanks,
BhaskarHi,
as i know the GOS Objects are store with the tools of SAP Office (objects in folders similar to attachments of your sap inbox).
To retrieve and delete the attachments, you have to us fm/reports of package SGOS. There is a report RSGOSRE01 which shows how to delete attachments (and therefore, how to retrieve attachments).
To create attachments, you can use the fms of function group sgosds.
To list attachments, you may use method start_service_direct with export-paramenter ip_service = 'VIEW_ATTA' of class cl_gos_manager.
I hope that will help you. -
Service objects in recording SHDB and BDC
Hi Experts,
I have some problem when create recording or BDC. Service object icon is not displayed when i create recording or using BDC to call some transaction.
Is there any idea, so when i create recording or call transaction using BDC, service obect icon can be displayed.
Thank you for your help.
Best Regards,
Subandi Widjaya[GOS|http://help-abap.zevolving.com/category/generic-object-services-gos/] - Generic Services Objects - wont be available in any Create Transaction like XD01, VA01 etc. The reason is when you are creating a new document/object, the Number is not yet assigned to that Business Object. Thus, you can't see the GOS toolbar even without SHDB.
It won't be a clever idea to try to add create GOS objects as part of the BDC. You should create two step process:
1. BDC to either create / change any document / object
2. Use GOS FMs / methods to create the GOS objects for that documents.
Regards,
Naimesh Patel
Maybe you are looking for
-
Logical and Physical Length in Datastore
I would like to know the differences between logical length and physical length in datastore. Can anyone teach best practices to use them properly?
-
Report to see the Blocked Sales orders
Hi friends, Is there any standard report to view the Blocked Sales orders in SAP. Please help me out. Thanks in Advance, Regards, Anvita.
-
Issue with FRD and Forms Trace in Oracle Apps Release 12.0.6 forms
Hi, Morning..could someone please assist us with this issue.. We are trying to generate FRD and Forms Trace for a seeded Oracle Apps Forms in Release version 12.0.6 1. We have setup the below mentioned profile option at the user level : ICX: Forms La
-
Display problem in 5800 xpress music
I had purchased a 5800 xpress music in April 2010. For the last two months there is some problems in the display. Sometimes, the display is gone and only lines are seen, when the key pad lock on. This pevails for long time. Due to this, I am unab
-
Configuring Ethernet MAN for EMC SRDF over DWDM for SQL Server GeoCluster
Guys, I posted this on the Data Center Networking forum but got no reply.... perhaps this is a better forum for the question.... We are in the process of deploying a SAN environment (EMC Symmetrix) at two data centres and linking the two sites using