OAOR(Business Document Navigator)
hi all,
goto code oaor
how to add new folder in document??
if u can it then send me more details,
thx,
s.suresh.
Hi Suresh...
Really what do u want ? The folders are created while you add docs to a specific object..
Similar Messages
-
Business Document Navigator...attaching a URL
hi all....
We have requirement wherein we have to attach a URL to an object through OAOR (Business Document Navigator).
As per SAP documentation on link below
http://help.sap.com/saphelp_nw04s/helpdata/en/cb/a48d384ba2a767e10000009b38f8cf/frameset.htm
it says this is possible using document type WWW address. We didn't find any such document type in the list of standard document types and not in the configuration settings for document types through SPRO.
Can any one elaborate on this, how can be add a URL to an object through BDN. On clicking on the URL the internet address should open in a browser.
As of today we can attach word documents, powerpoint presentation, web page(html), but we are unable to attach a URL.
Thanks & Regards,
Abhishek Pradhanhi all....
We have requirement wherein we have to attach a URL to an object through OAOR (Business Document Navigator).
As per SAP documentation on link below
http://help.sap.com/saphelp_nw04s/helpdata/en/cb/a48d384ba2a767e10000009b38f8cf/frameset.htm
it says this is possible using document type WWW address. We didn't find any such document type in the list of standard document types and not in the configuration settings for document types through SPRO.
Can any one elaborate on this, how can be add a URL to an object through BDN. On clicking on the URL the internet address should open in a browser.
As of today we can attach word documents, powerpoint presentation, web page(html), but we are unable to attach a URL.
Thanks & Regards,
Abhishek Pradhan -
Business Document Navigator -- Show only specific document types
Hello to all,
I'm using the business document navigator.
With parameter excluding of method cl_bds_document_set=>call_navigator you can disable the standard document types are shown by passing the value NO_STANDARD_DOCS.
Is it possible to define document types that should be shown and aren't a standard document type?
Regards
ChristianIt will return an error but yet it allow to be created under HOLD
-
Download business document (T-code: OAOR) in background mode
I have attached a file to a production order and it is saved as a business document. From t-code OAOR (business document navigator), I can view the attachment (or directly from the production order).
I would like to download the attachment in background mode. Up to now, I only find a method export_attachment in the ABAP object cl_gos_document_service which can download the attachment in frontend.
Is there any ABAP object / FM which can cater this? Or please kindly suggest what can I do in order to achieve this. Your help is greatly appreciatedly. Thanks!
Below is the material that I can find in this forum
Re: Sales Order Attachmentcheck out this weblog.
/people/rammanohar.tiwari/blog/2006/03/25/generic-object-services-gos--in-background--part-ii
this for loading gos documents in background (not downloading) but should give you a pointer on how to go about it.
Regards
Raja -
Transaction code to process Business Documents manually
Hi Experts,
What is the Transaction code to process Business Documents manually in ERP system for FI/CO module. Can anyone help on this.
Regards,
G.NHi Nag,
Try these transactions:
OAOR : Business Document Service: Documents
HRMGE00DOC : Business documents navigator (BDS)
With Regards,
Ravi Kanth -
Easiest way to transfer all Business Documents to another instance
We have to transfer all appraisal documents to another SAP instance. We know how to transfer all other parts except attachments (such as Excel sheets) of appraisal documents. These attachments are stored in Business Document Service (BC-SRV-BDS) with classname APPR_DOC.
What is the easiest way to transfer all such attachments (in other words, all business documents of type APPR_DOC) to another system?
For example, can transaction OAOR be used to transfer all documents easily? I have currently some authorization problems so that I can't test OAOR myself, and I am not sure whether you can easily select all documents for transport or do you have to do it one-by-one.
Another option would be to do the transfer via RFC, but it involves writing programs to both the source and destination instances.
Any other ideas?If the music is already in iTunes and you want to organize it in a single file you con click under Advanced>Consolidate Library.
Otherwise if the music is not in iTunes yet, I believe it is necessary to do it manually, maybe try an automator workflow?
This is an example workflow that can help you:
http://www.geocities.com/lfernandez_91/iTunes.zip
I am not sure it will work, I recommend you to search in MacOs downloads sections also. -
When load photos with tx OAOR where are stored the Business documents and how can I configure this?
I would like to download all the attached photos to materials to a external directory with a background process.
have SAP a FM or class to download a photo attached as BO to a directory?.Obtain photos of Materials and save in a directory.
FUNCTION z18sdwsget_material_photo.
""Interfase local
*" IMPORTING
*" VALUE(PI_CLASSNAME) LIKE BAPIBDS01-CLASSNAME
*" VALUE(PI_CLASSTYPE) LIKE BAPIBDS01-CLASSTYPE
*" VALUE(PI_OBJECT_KEY) LIKE BAPIBDS01-OBJKEY
*" VALUE(PI_ALL) LIKE BAPIBDS01-X DEFAULT 'X'
*" VALUE(PI_DIRECTORY) LIKE BAPIBDS01-X OPTIONAL
*" VALUE(PI_DIRECTORY) TYPE SDOK_CHTRD OPTIONAL
*" VALUE(PI_ALIAS_NAME) TYPE SDOK_FILNM OPTIONAL
*Constantes
CONSTANTS: c_logobject LIKE sdokrecl-re_class VALUE 'LOGOBJECT'.
Varaibales locales
DATA: l_matnr LIKE mara-matnr,
l_classname LIKE bapibds01-classname,
l_objkey LIKE bapibds01-objkey.
Areas de trabajo
DATA: wa_connections LIKE bapiconnec,
wa_result LIKE sdokrelist.
Tablas internas locales
DATA: i_infoobjects LIKE bapiinfobj OCCURS 1 WITH HEADER LINE,
i_signature LIKE bapisignat OCCURS 1 WITH HEADER LINE,
i_components LIKE sdokcomcho OCCURS 1 WITH HEADER LINE,
i_sdokerrkey LIKE sdokerrkey OCCURS 1 WITH HEADER LINE.
REFRESH: i_signature,
i_sdokerrkey,
i_components.
l_classname = pi_classname.
IF l_classname+0(7) = PI_CLASSNAME. "'BUS1001'.
l_matnr = pi_object_key.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = l_matnr
IMPORTING
output = l_matnr.
l_objkey = l_matnr.
ELSE.
l_objkey = pi_object_key.
ENDIF.
CALL FUNCTION 'BDS_PHIOS_GET_RIGHT'
EXPORTING
LOGICAL_SYSTEM =
classname = pi_classname
classtype = pi_classtype
client = sy-mandt
object_key = l_objkey
ALL = 'X'
check_state = 'X'
TABLES
infoobjects = i_infoobjects
signature = i_signature
EXCEPTIONS
nothing_found = 1
parameter_error = 2
not_allowed = 3
error_kpro = 4
internal_error = 5
not_authorized = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
LOOP AT i_infoobjects.
MOVE: i_infoobjects-ph_objid TO i_components-objid,
i_infoobjects-ph_class TO i_components-class,
PI_DIRECTORY TO i_components-directory,
PI_ALIAS TO i_components-alias.
APPEND i_components.
ENDLOOP.
CALL FUNCTION 'SDOK_PHIOS_GET_COPY'
EXPORTING
client = sy-mandt
TABLES
components = i_components
bad_objects = i_sdokerrkey.
ENDIF.
ENDFUNCTION. -
What is the best way to create business documents in CRM
Hi All,
What is the best way to create business documents like contract, sales order, debit memo etc in CRM ? Unlike R3 we can't use our good old BDC with recording. Moreover for most of them although there are Business Object but no BAPI to creation so what is the way ? I found in SDN there are two MAGIC Function module CRMXIF_ORDER_SAVE. Do I need to that alawys ?
Is it nees to via IDoc and cannot be done just by calling from ABAP program ? The input parameter of the FM is a complex deep structure.
Please help.Ashim,
Try looking at the program:
CRM_TEST_ORDER_MAINTAIN
I think that should help you figure out the parameters.
Good luck,
Stephen -
Dear experts,
I had activated the functionality of Store Business document and successfully stored documents in external server.
My client have a custom function module which is used to send emails.In that FM they used SO_DOCUMENT_READ_API1, SO_DOCUMENT_SEND_API1 function modules.They passed Instance Ident(SRGBTBREL->INSTID_B)(eg: FOL33000000000004EXT39000000000026) as export parameter to the FM 'SO_DOCUMENT_READ_API1' and get the attachment details and content.
Here my problem is I do not have entries in the table SRGBTBREL for the documents which are stored using the Store Business Document functionality and without INSTID_B I am unable to use the FM 'SO_DOCUMENT_READ_API1' to get the document details and content. Please help me to find INSTID_B for documents which are stored using Store Business Document functionality or please let me know if there is any other way to use FM 'SO_DOCUMENT_READ_API1' for documents which are stored using Store Business Document.
Thanks in advance.
Regards,
KiranHi Kiran,
You can use the following method to get the information. For example if you want to get BO documents for a customer
CALL METHOD cl_binary_relation=>read_links
EXPORTING
is_object = ls_lpor
it_relation_options = lt_relat
IMPORTING
et_links = lt_links.
then fill ls_por-instid with a customer number (KUNNR), ls_por-typeid = 'KNA1' and ls_por-catid = 'BO'.
Table lt_relat should contain a line option for each document type (for example 'I' 'EQ' 'NOTE', 'I' EQ 'ATTA', 'I' EQ 'URL', ...
In table lt_links you will get your information.
Maybe some other methods of class CL_BINARY_RELATION may also solve your issue.
Regards,
Klaus -
Business Object Services- Attachment vs store business document
Hi,
There are two ways to add attachments to a Purchase requisition.
1. as a generic attachment- (System --> services for object --> create attachment )
2. as a business document ( System --> services for object -->store business doucment)
Looks like in both the options, attachments could be stored on HTTP Content server.
What are pros and cons of storing an attachment as a business doc?
What are additional functions possible with option 2?
Thanks ,
VinayHi,
Attachments are stored in binary format.
Advantage of storing in SAP is speedy access, than compared to content server.
Disadvantage some of the table space grows exponently.
Some of the tables attachments get stored are SO*
To get the link for the folder and attachments stored in SRGBTBREL
Various type of attachments are ATTA NOTE URL MSG etc.
For custom attachment options can be enabled using class CL_GOS_MANAGER
aRs
If useful pl. assign points
Message was edited by:
a® -
Services for Object - Store Business Documents (issue with XLSX files)
Hi,
We are using the Services for Object > Store Business Document to be able to drag and drop files into (for example) Sales Inquiry, Sales Order, Sales Quotations etc.
Within OAC2 we have set up the global document types and these have been linked to the relevant Object Types and Content Repositories in OAC3. We have also set up the Content Repository as Document Area 'ARCHLINK'.
The ArhciveLink Basic Settings in OAG1 have the 'Always Copy Document Class from Document Type' set under Storage Settings.
The issue we are having is with XLSX document types. When we drag and drop the XLSX documen type using the Store Business Document the file is stored against the Sales Order but when you come to view the attachments MS Excel opens but an error message appears saying 'Excel cannot open the file '******' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file'?
We have reviewed SAP notes 1925897, 1739026 and 1145885 however non appear to give me a clear answer as to why this is happening?
I have found that if we unselect the option 'Always Copy Document Class from Document Type' in OAG1 then we can open the XLSX files.
As we have a significant amount of documents attached to various objects, what would be the implications of making this change agianst existing records and new records?
Any advice on this issue would be greatly appreciated.
Gary BHi David,
No joy I'm afraid!!
I added entry 'xlslx' with the relevant MIME Type, Application and Description into table TOADD for the ArchiveLink settings and also this entry was already in tables SDOKMIME and SDOKFEXT for KPro.
I then following the process via the Services for Object within VA12 (Change Inquiry) to then Create > Store Business document > Select the relevant Document Type > Drag and Drop the XLSX file into the empty box.
I then saved the record and tried to view the attachement but I am still getting the same message 'Excel cannot open the file '******' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file'?
Our client is on componet SAP_BASIS release 701 Support Level 0014 and Support Package SAPKB70114 and I can see that note 1237688 is for SAPKB70112?
Regards
Gary -
RFC/FM to store Business document in Purchase Order from external system
Hi All,
I have been going through various threads for suitable solution, but could not find one which can meet our requirements. Appreciate, if you could share your expertise for the following requirement.
Requirement: One of our external system is going to create/change Purchase Orders in SAP using standard BAPI's (BAPI_PO_CREATE1,BAPI_PO_CHANGE etc.,). During this process, they would like to attach supporting documents (.pdf, .jpeg, .xls etc) as 'store business document' for the same PO. As per our current configuration, we can attach the documents as dialog user from ME22N/ME23N transaction and attached documents are stored in our IXOS/ Archive server.
Is there any standard BAPI/FM (RFC) available to achieve above requirement?. And what are the parameters we need to pass in the FM to attach or delete documents.
System Details: SAP ERP ECC6 & Netweaver 7.0
Kind Regards
Kumar
Edited by: Kumar Guntha on Sep 4, 2009 7:15 AM
Edited by: Kumar Guntha on Sep 4, 2009 7:17 AMHi Friends
Any sugestions?
Regards
Kumar -
Using GOS to store business document on the content server
Hello All,
BACKGROUND
We use content server to store business documents via ArchiveLink. The process to store a business document is via Generic Object Services menu path "Create -> Store business document".
ISSUE
When document is stored in such a way, the actual name of the document is not displayed in the "Attachment list" of the GOS menu nor is it stored on the content server. What we see instead in the "Attachment list" is a description of the Archive object (TOASP-objecttext) for all documents that we store.
NEED HELP
We need to have a document's name (i.e. name of the uploaded file) displayed in the "Attachment list" of GOS. We also need to be able to retrieve this file name programmatically via a function call or a class method.
Any help is greatly appreciated.
Gene.1. In GOS attachment list i can able to see the attachment name (without extension) may be you need to check your layout using change layout (its may hidden)
2. For getting attachment name programatically try this way
i_object-typeid = 'BUS2012'.
i_object-catid = 'BO'.
i_object-instid = yatthdr-docno. " Document Number
refresh : i_brel, i_link.
* Get Attachment List
append 'ATTA' to i_brel.
if not i_brel is initial.
select *
from srgbtbrel
appending corresponding fields of table i_link
for all entries in i_brel
where
instid_a eq i_object-instid and
typeid_a eq i_object-typeid and
catid_a eq i_object-catid and
reltype eq i_brel-reltype.
endif.
wa_filter-send_info = ' '.
wa_filter-no_content = 'X'.
loop at i_link into ls_link.
clear : wa_doc_data.
wa_fol_cont-doc_id = ls_link-instid_b.
call function 'SO_DOCUMENT_READ_API1'
exporting
document_id = wa_fol_cont-doc_id
filter = wa_filter
importing
object_header = wa_obj_hdr
document_data = wa_doc_data
exceptions
document_id_not_exist = 1
operation_no_authorization = 2
others = 3.
You can find the File Name in the WA_OBJ_HDR
a® -
Generic Object services : Store business Document in VA03
Hello Everybody,
I want to store business document in VA03, using SAP archive link.
To get service object toolbox I had been added SD_SWU_ACTIVE = X for my user.
Now the Toolbox appears, but the Store Business Document function is not activated.
Could you explain to me, how to activate this functionnality for this document type (BUS2032) ?
Regards.Hi Kenneth,
For the Store Business Document option appear at GOS buttom:
1) Check that in the OAC3 entry with Bussines Object are 'X' at field 'S' (Status)
2) The Bussines Object are generates on SWO1 transaction.
Can you upload any document to the repository to slant OAAD transaction??
Best Regards -
GOS - Store business document - creator name
Hi All,
I am attaching archive documents to BUS2081 - Invoice.
I am doing it thru FBD3 transaction.
I am using Generic Object services toolbar to attch the document.
When I attach thru Attachment button and display by clicking on the attachments list, it is showing Creator name as my ID.
But If I attach thru Store Business document and display it thru attachment list, Creator name is blank. But client want to see the creator name also in the display.
Any one has idea about this? I am not able to understand whether it is capturing my ID or not when I attach thru Store business document.
Your help is much appreciated.
Thanks,
BhavaniHi Seema,
I had a look at this weblog. This is if I have to implement the functionality from Background.
But I am attaching a document by using Storebusiness document link in the GOS toobar via frontend.
This is late archiving.
At this point of time if I display the attachments, it is not showing the creator name for the documents attached via the link "Store Business document" . But if I attach through "create attachment" it is displaying the creator name.
I am wondering why it is not taking creator name, did I miss any configuration part?
Maybe you are looking for
-
CIN: How to check the material document posted without excise invoice
Hi Guru, Please advise how to check the material document posted without excise invoice. I have tried tcode J1I7 but it seems start to collect the excise invoice first and then material document. But my case is to find the material document WITHOUT e
-
Working/Business Days with TimeStampDiff
Hi, Background: I have an order table with a set of possible statuses. There also exists an audit trail that has a timestamp for when a certain status is set. Customer wants to measure between two different statuses - which is no problem with a times
-
Adobe PSE 8 Can't Email Photos
Hello. I'm helping a friend who is running Adobe Photoshop Elements 8 on Windows 7 64 bit Home Premium. He wants to email photos from within the program. However I'm hitting two different problems: 1) If I select "Windows Mail" as my email client
-
It is an image of 5118X1441, and 144 resolution. From the assets panel I imported like a larger size image When I see her on preview in browser, size automatically switches to a smaller one again. The same happens when I export or upload to server.
-
Can you convert from Writer stream to String ?
Hi all ! I'd like to know if it's possible to convert a Writer stream to a String Object.... FileWriter writer = new FileWriter("book.xml"); Marshaller.marshal(book, writer); // I would need to convert writer to StringI've inspected the StringWriter