Attachment List in Generic Object Services disabled
I want to attach documents to a work centre (transaction CR02, business object BUS0011). This has been configured so that the document will reside in the content management server and will be accessed using Archivelink. I can successfully store the doc using trasnaction OAWD, and can then retrieve the doc using transaction OAOR. The links are correctly created in table TOA03.
However, when I try and view the docs from the Generic object services button for transaction CR02 the "Attachment List" link is greyed out.
I've just set this up for invoices (object BKPF) so can't understand why this hasn't worked for work centres.
I've implemented the interface IFARCH21 for BUS0011, and this hasn't resolved the issue.
Any ideas?
Thanks
Richard
Richard,
Your using the wrong object, I don't have access to an SAP system right now, so I can't tell you what the correct object is, but when it's configured correctly in OAC3 it will not be grey out. Best thing to do it see what the object the program is publishing. This is what GOS is looking for. IFARCH21 is not the answer, unless your using workflow
Similar Messages
-
Changing the Attachment List of Generic Object Services (GOS)
Dear Experts,
i want to add columns to the attachment list of GOS depending of the given objecttype. The data to be displayed is from a customer-append of different TOAXY-tables. I want to use the functionality of the standard attachmentlist, but the type of the displayed table is defined as SGOS_ATTA and cant be reached directly because of the data-encapsulation.
Is there anybody with experience in changing the attachment list in the above mentioned way?
Do i have to modify all the used classes of the attachmentlist, or are there any customer-exits/badis that can help me to reach my goal?
Or should I implement my own service from the scratch?
I hope you can help me, i searched the web for about 3 days now...I found following Solution:
I copied the following classes and changed them in some way to fit my requirements:
1.CL_GOS_ATTACHMENTS
2.CL_GOS_SRV_ATTACHMENT_LIST
3.CL_LIST_BROWSER
Changes to the Classes:
1.Type of the attribute GO_INSTANCE changed to ZCL_GOS_ATTACHMENTS.
Changed method INIT_BROWSER:
go_browser ?=
zcl_list_browser=>zcreate_browser( cl_browser=>gc_list_browser ).
2.Type of the attribute GO_ATTACHMENT_LIST changed to ZCL_GOS_ATTACHMENTS
3. Copied Method CREATE_BROWSER of Class CL_BROWSER to ZCREATE_BROWSER:
method zcreate_browser.
case ip_btype.
when gc_list_browser.
*create object ro_browser type zcl_list_browser.*
when gc_tree_browser.
create object ro_browser type cl_tree_column_browser.
when others.
raise exception type cx_sobl_browser
exporting
gp_error = cx_sobl_browser=>gc_wrong_type
exit.
endcase.
endmethod.
Modified the code of method ___DISPLAY to my needs. -
Attach Documents using Generic Object Services
With reference to Manual Bassani's SDN Contribution of code examples on how to attach documents using Generic Object Services - we have found that since implementing ECC 6 the following code no longer works (at the end of page 9):
CALL CREATE ATTACHMENT SERVICE FROM TOOLBAR
WHEN 'ATTACH'.
CALL METHOD MANAGER->START_SERVICE_DIRECT
EXPORTING
IP_SERVICE = 'CREATE_ATTA'
IS_OBJECT = OBJ
EXCEPTIONS
NO_OBJECT = 1
OBJECT_INVALID = 2
EXECUTION_FAILED = 3
OTHERS = 4.
It is necessary to use IP_SERVICE = 'PCATTA_CREA' to get this to function correctly.
The original document can be found at [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3]Check the Naimesh Patel Blog he explain very well
http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html -
How to attach document using Generic Object Service
Hi all,
How can i create attachment to the parked invoice using Generic Object services? i want function modules which are used to do it.
Actually I want to do this from the business object method. I am having word document as one of the workitem step. once i get this document I need to attach this document to the parked invoice so that users can see that document by view object list.
Its urgent.
thanks.Hello,
Check your configuration of document type assignement to required business document - object type, Archivelink table, content repository in OAC3 transaction.
Goto respective business document > Click on GOS > Create > Store business document - Here you can see defined document type with desctiption. Double click on this the assign your document to this business document. Save it.
This will help in attaching the document to your required business document.
To verify you can check the archivelink table or by transaction OAAD.
Hope this will help you.
-Thanks,
Ajay -
Show originally filename in attachment list (generic object services)
Hello everybody,
does anybody know, if it is possible to show the originally filename of a document in the attachment list of generic object services?
If I add more than one document for the same document type in generic object services, I'm not able to distinguish the documents.
When I want to save an attachment to local PC, SAP offers me the originally filename as default. Therefore, the filename has to be saved somewhere...
Thanks for any help or ideas in advance,
PeterRichard,
Your using the wrong object, I don't have access to an SAP system right now, so I can't tell you what the correct object is, but when it's configured correctly in OAC3 it will not be grey out. Best thing to do it see what the object the program is publishing. This is what GOS is looking for. IFARCH21 is not the answer, unless your using workflow -
Display and Manage Attachments of Generic Object Services in Webdynpro
Hi All,
I need to have a button in the webdynpro that when a user clicks it will pop up a table that display a list of files already attached to a Generic Object Services(GOS) and also allow the user to delete the attachments and upload new attachments.
Can anyone advice me of any Function Modules or Methods that i can use to achieve those functions (retrive and display attachments in the GOS, delete existing attachment from GOS, upload new attachment to GOS).
Thanks and Regards,
weilongHi
You need to pass parameters as per the code below
****Data Types
CONSTANTS:lc_dokob TYPE dokob VALUE 'KNA1',
lc_dokar TYPE dokar VALUE 'LEG',
lc_dappl TYPE dappl VALUE 'BVO',
lc_sign TYPE c VALUE 'I',
lc_option(2) TYPE c VALUE 'EQ',
lc_docpart(3) TYPE c VALUE '000',
lc_docversion TYPE dokvr VALUE '00',
lc_status TYPE dokst VALUE 'AL',
ls_attc-doknr TYPE doknr,
ls_return TYPE bapiret2,
*****Function Module
CALL FUNCTION 'BAPI_DOCUMENT_DELETE_DIRECT'
EXPORTING
documenttype = lc_dokar
documentnumber = ls_attc-doknr
documentpart = lc_docpart
documentversion = lc_docversion
IMPORTING
return = ls_return.
Thanks
Vishal -
Attach Documents to Custom Program Using Generic Object Services
Hi There,
I created Object type ZGOS and used in the custom program, when i try to attach documents it allows and then shows in attachment list.
But When I use that program next time that document attached is not available.
Is there any separate save Class or FM available for saving the document to the specified custom program.
I am using following code in the program,
CLEAR obj.
SET OBJECT TYPE TO 'ZGOS'
obj-objtype = objtype.
SET OBJECT KEY = REPORT NAME
SELECT SINGLE name
FROM trdir
INTO obj-objkey
WHERE name = sy-repid.
CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
CREATE OBJECT manager
EXPORTING
is_object = obj
EXCEPTIONS
OTHERS = 1.
Thanks in advance.Check the Naimesh Patel Blog he explain very well
http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html -
Generic Object Services - View Attachments disabled for non admin user
Hi,
I am using SAP 4.7 and the attachments created using table TOA01 - archive link are visible to an administrator user through Generic Object Services toolbox while same View Attachments option appears disabled for other non admin users.
Kindly help !Hi Neha,
I'm sorry I don't have answer to your question but I wonder if you could help me.
I'm looking at OSS note 530792 to configure GOS 'create attachment' option to copy the attachments to the archive server. currently, these are written to the SAP office tables SOC3, SOFFCONT1, etc and I want to use the archivelink and SAPHTTP and copy to the archive storage.
Have you successfully managed to configure your system since you mentioned TOA01?
In the same GOS menu I've activated the 'Business document' option and can copy these to the archive server by correctly configuring OAC2 and OAC3.
I'll really appreciate of you could please share your knowledge.
Thanks.
Soyab -
Generic Object Services - Create Attachment
Hi SDN experts
In the trip details page of the travel expense manager, may i know what Function Module does the "Create Attachment" functionality in the Generic Object Services trigger? Appreciate if anyone is able to provide me with an answer. Thank you
Regards
LVYou are in great trouble. Repeated posting of a single thread will really make you a Guest.
You have replicated this post in SEVEN forums.
Generic Object Services - Create Attachment in
Generic Object Services - Create Attachment in
Generic Object Services - Create Attachment in
Generic Object Services - Create Attachment in
Generic Object Services - Create Attachment in
Generic Object Services - Create Attachment in
Generic Object Services - Create Attachment in
As you are new to the forum please Read the [Forum Rules|http://wiki.sdn.sap.com/wiki/x/FgQ] before posting more.
Regards
Karthik D -
Generic Object Services ; create attachment function grey out in Tcode KA03
Hi all,
I would like to know how can I enable create attachment function in GOS toolbar in Tcode KA03.
Currently it was grey out.
However, was tried to use the same function in KS03 and it works.Please help. Thanks!I just found the solution...
SAP note : 961572
Symptom</u>
In the transactions for displaying cost elements (KA03) and changing cost elements (KA02), the 'Services for Object' function does not work correctly, as most Generic Object Services are unavailable.
Other terms
KA03, KA02, SWO1, K_OBJECT_SERVICES_INITIALIZE, BUS1059, BUS1030
Reason and Prerequisites
The problem is caused by a program error.
Solution
Implement the attached program corrections
Then go to Transaction SW01 (Business Object Builder), enter BUS1059 as the object type, click Change, and make the following changes:
Navigate to Methods -> RevenueType.Display, press F2 to select it, and go to the 'ABAP' tab page: Select the 'Transaction' radio button, enter the name as KA03, and click 'Save'
Navigate to Attributes -> Attribute properties, select the 'Mandatory' checkbox, and click 'Save'
Then change the release status by navigating as follows:
Edit -> Change Release Status -> Object Type -> To implemented
Edit -> Change Release Status -> Object Type -> To released
Then double-click BUS1059 (or select using F2) in SWO1 to reach the 'General' tab page, which should appear as follows:
ObjectType BUS1059 Revenue element
Object Name RevenueType
Program RBUS1059
Objtype status generated Saved released -
Attach doc from external content server- using Generic Object Service (GOS)
Dear All,
i have intergrated an external content server to SAP using SAP archive link. All the scanned document are there in Content server and corresponding entries are done in SAP.I can search and view document using tcode : OAAD
Please tell me steps for "how to attach a document from external content server using Generic Object Service "
Scenario is : For example when we change any Master records or create a new PO, or do some financial transaction then i need to attach the supporting document which is there in my content server connected to SAP.how do we manual attach a Document in SAP using GOS.
Do we need to do some special configuration to use GOS .please give the steps from initial.
Thanks
sandeepHello,
Check your configuration of document type assignement to required business document - object type, Archivelink table, content repository in OAC3 transaction.
Goto respective business document > Click on GOS > Create > Store business document - Here you can see defined document type with desctiption. Double click on this the assign your document to this business document. Save it.
This will help in attaching the document to your required business document.
To verify you can check the archivelink table or by transaction OAAD.
Hope this will help you.
-Thanks,
Ajay -
How to call GOS(Generic Object service) attachment ( BMP file ) into SAP
How to call GOS(Generic Object service) attachment ( BMP file ) into SAP script
Example: MM02 Service object there attaching the bmp file the same file i need to call script based on the material number
Please provide the procedure and coding.
Thanks in advance
RajuHi,
The following link may be useful to u.
help.sap.com/printdocu/.../BCSRVOBS.pdf -
Generic Object Services - Relationships
Hello Everyone,
In 4.6c when i go to VA02 Transaction, i see in the top left corner GENERIC OBJECT SERVICES BUTTON.
This button has options like Create Attachment, Private Notes, Send Object with Note, Relationships, etc.
Using one of the button in this Generic Object services, that is, RELATIONSHIPS i need to see all the Outbound IDocs and all the Inbound IDocs pertaining to that sales order through which we have logged into VA02 transaction.
Right now, the Relationship button is disabled, I need to know how do i enable it and when clicked what do i need to do inorder for the IDocs to be displayed.
This is in 4.6c and not in ECC.
Your help is appreciated.
ThanksDear Bob Schmidt
After your post, I too tried the Additional links and the end result was same as you got :-((.
Tried to get some links but not sure, whether these links will be of helpful to you.
[Enable Links in the Tool Area|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/501f3154-b66c-2910-0988-bd9b2440d018]
[Navigation Between Views|http://help.sap.com/saphelp_nw70/helpdata/en/42/bb8c6cc7131d67e10000000a1553f6/content.htm]
In the second link, at the bottom some information is given on Additional link but not sure, whether it is related to sale order Additional link )
thanks
G. Lakshmipathi -
Attachment list for business objects is not visible
Dear all
I have connected an external server to SAP.
Created repository and created Doc types (say for ex : ZFIINV, ZMM DRW) and created entries using tcode OAC3
now i have assigned my doc type to corresponding Business Objects (BKPF for accounting doc,BUS2105 for purchase requisition ,MKPF for MM related docs)
now i have created entries for my scanned docs in table TOA01.
i can search an display these docs which are already placed there in my content server. but i can not see these documents links entries in the attachment list of corresponding Business objects entries.
for example in BO : BKPF attachment list i cant see al the link entries .
please suggest whether any BO is not published or R/3 application connection to the generic object service is not done?
thanks sandeepHi Sandeep,
I am not totallt getting your point but can suggest following points:
1. Check whether these object are displaying in DIR's as object links.
2. If it is there then it shoud be displayed in document data of those objects.
3. Check that documents are properly checked-in.
Hope this may help.
Regards,
Ravindra -
Attachments Activating Generic Object Services (GOS) in VA41/VA42 at item level
Hi to All,
I'm trying to manage attachments for sales document at item level.
I've already read this wonderfull post (Activating Generic Object Services Toolbar in SAP Objects) but I didn't understand how manage attachments at item level.
Please, if anyone has ideas of how to achieve it please share solutions.
Thanks & Best Regards,
UmbertoHi again,
Thanks for the answers, they were very helpful,
but the customer isn't happy with the "Store business Documents" and it's Drag n' drop interface.
I'm to develop a new GOS menu item, that will show
a normal Open File dialog, and a following popup
where the user can change the document title shown
in the Attachment list.
ARCHIVOBJECT_CREATE_FILE and ARCHIVOBJECT_GET_TABLE
along with ARCHIV_CONNECTION_INSERT should probably
cover the functionality I need.
I know both the BOR type ID and the object ID is
available to me in the Execute() method of the GOS menu handler I'm overriding, but for the ARCHIV_CONNECTION_INSERT, I'm supposed to supply an AR_OBJECT parameter (I know that this information is stored in the TOAOM table), but I have no clue where to get this information for the current object I'm trying to add an attachment for.
Regards,
Lars Wilhelmsen
Maybe you are looking for
-
Hi, I try to use Access db with Jdev, it looks connection ok and I see the tables in the structure window, but when I try to create the Business components via the vizard, it gives SQL Syntax Error for the missing operator in query expression. and I
-
Word to PDF Conversion = Different Color on Paper
Hello All, I created a bunch of forms in Word 2010. Converted them into PDF and made them fillable. On screen Word doc and PDF doc colors look the same, but when I print PDF documents their blue turns intor dark purple. Any suggestions on how to keep
-
Question I have webcam not working and screen names not remembered on certain sites but OK on Internet Explorer. What can it be on Firefox? It's like cookies are turned off or something blocking. Even banking online is affected. All worked up until D
-
Problem Saving Files on Xserve
Have a question and have been going nuts tryiing to figure this out. At our marketing company I maintain all machines we all have 10.4.7 running on all PowerMac G5's and the server version of OS X (10.4.7) running on the xserve. When my art director
-
Font 'Wasser' displays as only squares
Hello. I downloaded this font: http://www.1001fonts.com/wasser-font.html Installed it on my computer and trying to use it in a local htm file like [p style="font-family: Wasser;"] I don't need it on a website, if i just get it working in a local file