Attaching a document in SAP...
Hi All,
In FB03 t-code (Document display line items), there is one option to create an attachment. Here you can attach a file(pdf, xls or etc..) from your local workstation to sap.
Do anyone know, where this document gets saved in server or at sap level, when it is attached, so when whoever views it, it displays.
Please help me in this regard.
Thanks in advance.
Sailesh K
Thanks suresh,
What is that business document server and where we can find. Is it a seperate server or it is inside the server where the instance is present.
Can you please explain me in detail regarding this.
Thanks in advance,
Sailesh K
Similar Messages
-
Attach external documents to SAP
Hi
we are planning to attach external documents to purchase order in ME22N screen. & every month 10gb files
I would like to know the below points
do we have any limitation for attachment?
what potential risks are involved using this functionality?
Will the transactions/SAP performance be impacted?
when do we need to go for DMS?
Thanks
RajuA DMS record points to a content server on which resides the attached document. If you wish not to use DMS, then attaching documents at PO will take some time, given the size of you attachments. I do not believe the performance will take a major hit, there should not be major problems with that. You can always assess the performance by attaching big size document with POs in your Development and Quality systems.
DMS is a centralized content management solution provided by SAP. It offers to store various kinds of documents such as drawings, designs, commercial/technical specifications, equipment specifications, etc. there is not a set formula as when to opt for DMS and when to not. You may explore the features of SAP DMS and if the business finds it a value addition, you can use it. -
Users not able to attach any attachmemts to SAP using SO01
Hi All,
Our production system is not allowing any user to attach any documents to SAP system using SO01 tcode.
We have this error : [Include file in PC application]
and [error while import].
Our R/3 system is ECC 5.0 with Oracle and HP unix.
replies are appriciated asap.
Thanks
SatishHi Joe,
Sorry, that was not an authorization issue. how ever I could solve the problem...
--> I have checked the logs from Dev_icm and that displayed there is a problem connecting the system and IXOS is not allowing any HTTP connections.
-->The problem was with IXOS system, the file system was full in that server and those were cleared.
--> Once the spawner and ORacle DS service were resatrted the IXOS server was normal and in SAP now user were able to attach the documents using So01.
Thanks for your help.
Regadrs,
Satish Narayana. -
Loading attached documents from SAP R/3 system to BW/BI system
Dear Experts,
In SAP R/3 system, I created generic datasource to extract sales activities which are entered with transaction code VC01N. In SAP R/3 system, it is possible to attach documents (like word, Excel, pdf) to the sales activity. I need to upload these documents to SAP BW system as document to sales activity master data. I couldn't find where these attached documents are stored in SAP R/3 system. How can I find these documents?
If I find these documents, I will be able upload these to BW using "How to Mass Upload Documents to BW" document.
Thanks,
Ozgur YavuzkaraHi Girish,
I don't understand your question completely. Is your question related to the Internet Transaction Server? If it is a Web Dynpro question, I can move this thread to the Web Dynpro forum. What do you think?
- Henning -
SAP GUI and Win 7 error when attaching a document
I searched Google multiple times for an answer but didn't find one, so I'd like to bring it up in this forum.
I start by saying that mine is a large corporation with centralized application, Windows and security configuration, so I have very little manuvering as far as changing settings.
The problem we run into is as follows:
some users who use a particular (Quality Assurance) module of SAP need to regularly attach documents (typically PDF format) in SAP. The typical size of an attachment is between 3-7 MB.
Those documents are store on a network file share remote to the site. The network latency between the site and the file share location is approx. 6ms (not huge by any means). Users are running Win 7 Enterprise SP1.
Randomly, the attachment download fails in SAP and they have to exit and log back in to SAP to resume. The attachment may fail2-3 times, and then succeed or fail permanently.
Copying the file to a local drive (C:) and then attaching it in SAP always works.
The users report that this was not an issue when they were using WinXP SP3 a few months back.
Again, the problem is random in that it cannot be recreated at will but happens often enough to be more than just an inconvenience.
the Windows event log logs the following message when the attach process fails and SAP freezes:
The program saplogon.exe version 7300.1.2.1080 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
Process ID: a7c
Start Time: 01cf38c9a86d55ac
Termination Time: 16
Application Path: C:\Program Files\SAP\FrontEnd\SAPgui\saplogon.exe
Report Id: 139b5ba9-a4bd-11e3-8b65-d8d3857a05c5
I'd appreciate any input that would help resolve this issue.
SteveBesides updating the patch level, the other thing you can try to get more information is turn on or increase the level of tracing within the SAPGUI. You can do this on the workstation in SAP Logon by clicking the little button at the upper left of the window title bar, then in the drop-down choose Options. In the new window that opens go to the Traces folder and have a look through the three different kinds of traces you can turn on. Probably you should turn on SAP Logon Traces to the "Errors" level, and same for SAP GUI Traces (to Level 1: Errors), and under Session Traces pick the options that make sense to you (perhaps "Access Control", "Office Integration", and/or "Security"? You might need to experiment with different options to get the right combination that doesn't overload the trace file with noise; you may not need a Session Trace at all if the error trace on the other two options reveal what's wrong).
You can see under Session Traces what folder the trace files will go to, and open the folder from there. By default it will be C:\Users\<username>\AppData\Local\SAP\SAP GUI\Traces.
Best regards,
Matt -
How to Attach Document in SAP Mail
hi
I want to attach a document in the SAP mail, but it should open in the SAP itself.like ALV grid FOrmat.
Thanks in advance.Hi,
Try this m not very sure this is wht u reqd or not???
DATA method1 LIKE sy-ucomm.
DATA g_user LIKE soudnamei1.
DATA g_user_data LIKE soudatai1.
DATA g_owner LIKE soud-usrnam.
DATA g_receipients LIKE soos1 OCCURS 0 WITH HEADER LINE.
DATA g_document LIKE sood4 .
DATA g_header LIKE sood2.
DATA g_folmam LIKE sofm2.
DATA g_objcnt LIKE soli OCCURS 0 WITH HEADER LINE.
DATA g_objhead LIKE soli OCCURS 0 WITH HEADER LINE.
DATA g_objpara LIKE selc OCCURS 0 WITH HEADER LINE.
DATA g_objparb LIKE soop1 OCCURS 0 WITH HEADER LINE.
DATA g_attachments LIKE sood5 OCCURS 0 WITH HEADER LINE.
DATA g_references LIKE soxrl OCCURS 0 WITH HEADER LINE.
DATA g_authority LIKE sofa-usracc.
DATA g_ref_document LIKE sood4.
DATA g_new_parent LIKE soodk.
DATA: BEGIN OF g_files OCCURS 10 ,
text(4096) TYPE c,
END OF g_files.
DATA: fold_number(12) TYPE c,
fold_yr(2) TYPE c,
fold_type(3) TYPE c.
PARAMETERS ws_file(4096) TYPE c DEFAULT 'c:\ Vikalp Solutions'.
Can be any file from your pc....either xls or word or ppt etc...
g_user-sapname = sy-uname.
CALL FUNCTION 'SO_USER_READ_API1'
EXPORTING
user = g_user
PREPARE_FOR_FOLDER_ACCESS = ' '
IMPORTING
user_data = g_user_data
EXCEPTIONS
USER_NOT_EXIST = 1
PARAMETER_ERROR = 2
X_ERROR = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
fold_type = g_user_data-outboxfol+0(3).
fold_yr = g_user_data-outboxfol+3(2).
fold_number = g_user_data-outboxfol+5(12).
CLEAR g_files.
REFRESH : g_objcnt,
g_objhead,
g_objpara,
g_objparb,
g_receipients,
g_attachments,
g_references,
g_files.
method1 = 'SAVE'.
g_document-foltp = fold_type.
g_document-folyr = fold_yr.
g_document-folno = fold_number.
g_document-objtp = g_user_data-object_typ.
*g_document-OBJYR = '27'.
*g_document-OBJNO = '000000002365'.
*g_document-OBJNAM = 'MESSAGE'.
g_document-objdes = 'testing by program'.
g_document-folrg = 'O'.
*g_document-okcode = 'CHNG'.
g_document-objlen = '0'.
g_document-file_ext = 'TXT'.
g_header-objdes = 'testing by program'.
g_header-file_ext = 'TXT'.
CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
EXPORTING
method = method1
office_user = sy-uname
ref_document = g_ref_document
new_parent = g_new_parent
IMPORTING
authority = g_authority
TABLES
objcont = g_objcnt
objhead = g_objhead
objpara = g_objpara
objparb = g_objparb
recipients = g_receipients
attachments = g_attachments
references = g_references
files = g_files
CHANGING
document = g_document
header_data = g_header
FOLMEM_DATA =
RECEIVE_DATA =
File from the pc to send...
method1 = 'ATTCREATEFROMPC'.
g_files-text = ws_file.
APPEND g_files.
CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
EXPORTING
method = method1
office_user = g_owner
ref_document = g_ref_document
new_parent = g_new_parent
IMPORTING
authority = g_authority
TABLES
objcont = g_objcnt
objhead = g_objhead
objpara = g_objpara
objparb = g_objparb
recipients = g_receipients
attachments = g_attachments
references = g_references
files = g_files
CHANGING
document = g_document
header_data = g_header.
method1 = 'SEND'.
g_receipients-recnam = 'MK085'.
g_receipients-recesc = 'B'.
g_receipients-sndex = 'X'.
APPEND g_receipients.
CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
EXPORTING
method = method1
office_user = g_owner
ref_document = g_ref_document
new_parent = g_new_parent
IMPORTING
authority = g_authority
TABLES
objcont = g_objcnt
objhead = g_objhead
objpara = g_objpara
objparb = g_objparb
recipients = g_receipients
attachments = g_attachments
references = g_references
files = g_files
CHANGING
document = g_document
header_data = g_header.
Hope this helps u.
Thanks.
Seema. -
Attaching Documents within SAP
Hi Everyone,
When attaching documents to SAP, either through journal entries or sales orders or PO's, is there a best practice to use such as using Services for Objects -> Create -> Create Attachment or Store Business Document? Do they both archive? I noticed that I can't use Business Document everywhere since it greyed out such as in the PO. Is there a reason for it? Just looking for general ideas as to what to do and which approach would cause the least amount of space being taken from our server.
Any thoughts?
Thanks,
PetePete,
I am not aware if a BP exists, and believe a seperate serve/repositories will be configured to handle archiving documents. Please check with you basis team.
Please check the setting SAP NetWeaver >General Settings> Application Server> Basis Services > ArchiveLink
Regards,
Somar -
Hi Guys,
I am getting a Page can not be displayed error while uploading a COntract Document in SAP-E-soucing 7.0.
Maximum Size set in Our SYSTEM is :9765MB.
Approx size of the Document tried is more then 300MB.
Appreciate your help on this.
Regards
TarunHi Tarun,
Please check the below system properties using system user login
attachments.maxSizeKB.buyers - "Maximum size in KB of a employer-attached attachment file"
attachments.upload.enable.buyers- " Enable/Disable uploading of attachments by internal users"
Also Please check with other attachment, contracts related properties in the System.
Let me know if this helps.
Thanks,
Raj. -
How to attach external document in custom developed Web Dynpro Screen
Hello,
We have requirements to develop a custom portal screen using Webdynpro and should provide option to usee to attach external documents like WORD, EXCEL, TEXT, PDF and then save.
In Change/Display mode user should also get option to view this attached document.
Would like to know the solution in case any of you have worked in this scenario.
Thanks
SunilHi,
Refer
1. Navigate through km using webdynpro
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b492c-7d76-2a10-86aa-e11e8388fde8]
2. Upload files in km using webdynpro
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a099a3bd-17ef-2b10-e6ac-9c1ea42af0e9]
Also this sample
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f]
Regards
Baby
Edited by: Baby on Mar 18, 2009 8:01 AM -
I can attach an image to SAP CRM WebUI but was not able to view it
Dear Experts,
I was trying to attach an image document to SAP CRM WebUI through cl_crm_documents (Method :- create_with_table) by passing the binary value.
I receive a string value for the image from IOS team and I convert the same to Xstring and binary in the code. And pass the binary value to the method "create_with_table".
And I could see the document gets attached. When I try to open the same. The image looks like a small cross bar(i.e :- As if we try to open an unsupported file format.) Though I tried passing both jpeg and png files.
On the other hand, when I try to attach the same image manually in WebUI. I could view the attached image perfectly. Please find the below code snippet I have used.
Help me out in getting it resolved.
CONCATENATE it_flup_gen2-or_img_faci_desc '.pdf' INTO ls_file_access_info-file_name.
* Convert string to Xstring value for FACI Image
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = it_flup_gen2-or_img_faci
mimetype = 'application/pdf'
IMPORTING
buffer = lv_faci_xstr
EXCEPTIONS
failed = 1
OTHERS = 2.
IF sy-subrc = 0.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = lv_faci_xstr
IMPORTING
output_length = lv_len
TABLES
binary_tab = lv_file_content_binary.
* Assign file properties
ls_file_access_info-file_size = lv_len.
ls_file_access_info-binary_flg = 'X'.
ls_file_access_info-file_name = ls_file_access_info-file_name.
ls_file_access_info-mimetype = 'application/pdf'.
APPEND ls_file_access_info TO lt_file_access_info.
* Assign business object
ls_business_object-instid = lv_guid.
ls_business_object-typeid = 'BUS2000125'.
ls_business_object-catid = 'BO'.
** Fill property values
** Get the unique name for the Attachment
ls_properties-name = skwfc_prop_relative_url.
ls_properties-value = it_flup_gen2-or_img_faci_desc.
APPEND ls_properties TO lt_properties.
** Get the decription and title
ls_properties-name = skwfc_prop_description.
ls_properties-value = it_flup_gen2-or_img_faci_desc.
APPEND ls_properties TO lt_properties.
** Get the document mime type
ls_properties-name = skwfc_prop_mime_type.
ls_properties-value = 'application/pdf'.
APPEND ls_properties TO lt_properties.
ls_properties-name = 'LANGUAGE'.
ls_properties-value = sy-langu.
APPEND ls_properties TO lt_properties.
ENDIF.
* Creating a document with provided data
CALL METHOD cl_crm_documents=>create_with_table
EXPORTING
business_object = ls_business_object
properties = lt_properties
file_access_info = lt_file_access_info
file_content_binary = lv_file_content_binary
raw_mode = 'X'
IMPORTING
loio = ls_loio
phio = ls_phio
error = ls_error.
IF ls_error IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDIF.
regards,
SabarinathanHi Deepika,
Thanks for the response. If you go through my code snippet I have given, I have already mentioned the mimetype as "application/pdf" for pdf document and used the same in my coding. It still doesnt help out.
regards,
Sabarinathan C -
Purchase Order: Attaching a document and checking in
Hi All,
We are having an issue with regards to attaching a document to a PO. We are able to get the document attached to the PO, but can't get it checked in to the server so others can look at the file. It gives us an error of "C:\somefile cannot be found." Thought's anyone. Thanks.
Regards,
VictorHI Victor,
Are you trying to attach to the services of the object? (using DMS)
Please let me know the exact error offered by SAP.
Cheers
Arun. -
Hi
Can anyone tell me how to attach a document through BSP in a workflow.
Please provide the code for that.
Thanks,
Gayathri.Hai Gayathri,
Kindly search in SDN.
https://forums.sdn.sap.com/click.jspa?searchID=20826554&messageID=6514978
Regards,
Harish -
Mass upload of documents through SAP Archive Link
Hi Experts,
Our client is having a requirement, to upload legacy (old) data from third party tool to DMS Content server through Archive link. Tool is implemented and it works fine for attaching individual document along with SAP Object like, Purchase Order, material, etc.
We dont have any idea as how to upload bulk of drawings for material, need your advice on this.
Regards,Hi,
I am trying to get more info on how to bulk upload employee documentation through SAP Archive Link' OpenText Enterprise Scan into the categories in OAWD. Once the documents are in Enterprise Scan the Administrator needs to link these to the categories in SAP. This is a manual process - is there a way to bulk upload these documentation to the right categories? Since these documents vary I am not sure that OCR will be a help.
Pleae could you help in this regard.
Thank you.
Regards,
-- Gustav de Bruyn -
How to attach a document to a material
Hi
how to attach a document to the material.if i attach a document to a material. will get automatically pulled up to the bom and then to the
production order.
how to do this.Hi,
First inCV01N transaction create document with proper document type which document u want to attach and continue,
In the Orginals subscreen click it on the open original and upload the file which is in ur local system.
Once u upload click it on the Object Link tab, In the Object link tab select the material master sub tab.
In this sub tab enter the material number and plant and save.
Go to material master -->Basic data1 view --> In this view click it on the basic data text tab, it will take u document sub tab in that select the document which u have attached and click it on the detail infomation, there u can view the document.
Note: For Document maintainance in the SAP needs separate server.
Regards
Vijay -
Hi All,
I want to attach documents to wbs in my project ,
I am getting the following error.
"The function is not attached in customizing for object PRPS."
I used TC DC10 and made some changes , I was able to attach the document but I was not able to open the document in SAP. Please help.Hi Vineeth,
Did you tried this method.
In CJ20N, select the WBS element, in the overview screen click "document overview" - a small window will open, if you change the radio button choose all versions, then you can add documents here.
Kindly provide the screenshot of your system behavior
Below is for your reference
Regards
Terence
Maybe you are looking for
-
does anyone know why my ipod nano sixth generation is displayed in windows but not itunes? I followed all the suggestions but nothing. I apologize if I write bad but I'm Italian
-
Mac OS 10.3.9, PSE 4.0 I have just spent three hours with the PSE Help learning about layers and fills and while I've come a long way, I still cannot figure out how I create a custom-colored and custom-shaped gradient layer. I have to use a regular l
-
hi Whn i try to create a new worlflow template (pftc) and while saving i m getting error message saying: Prefix number: entry missing for system RRD client 100. pls giv me the solution. is it necessary to configure. thanks in advance
-
Installed Windows 8.1 now my computer freezes up
I had Windows 8 installed on my HP computer. The Internet kept disconnecting. It kept prompting me to upgrade to Windows 8.1 so I did. Now the pages freeze up, and I get broken graphics sometimes, and videos freeze up. This is a new computer not mu
-
IPhone says "searching..." But never connects to network
Since this morning, my iphone continuosly shows "searching..." and does not end up connecting to any celular network. I cannot make nor receive phonecalls. The phoe does not even recognize weather there is or there is not a sim card installed in it.