Attaching document to solution through programming
the problem is in crm there is transaction is01.
it is transaction to maintain problems and solutions.
where problems and solutions are objects of crm.
the master tables for these are isol, isom.
ok into this using bapi s i am uploading the data from legacy system.
everything going fine.
but i am not able to do the part of attaching some documents to these solutions ie like word,excel etc ok.
there some function like.
1. crm_sdb_atta_upload.
2.CRM_SOLUTION_ATTACH_SET.
these i have been trhing not working.
and you should no that the document which i attach is to object and it will have guid(global id's)
ok if you can suggest me how to precede tell me i will procede or please forward it to vamshi if he is free ok.
good day.
thanks hugh,
i could upload them using the function module crm_sdb_atta_upload.
but it is not able to upload all the files. some times it is giving error . i don't know why it is doin.
sulthana
Similar Messages
-
How to edit the text in the attachment list in MM02 through Program
Hi,
I want to update the attachment list for the material.
i.e, MM02 - > Services for object - > attachment list - > "I have 2 items".
For the the first item, there will be some text is availble. Now my requirement is to update the text.
For your reference,
While creating material, the GOS is used to create the items in the attachment list, the code is
*swc_create_object lv_message 'MESSAGE' lwa_message_key.*
*** define container to pass the parameter values to the method call**
*** in next step.**
*swc_container lt_message_container.*
*** Populate container with parameters for method**
*swc_set_element lt_message_container 'DOCUMENTTITLE' 'Certification file path'.*
*swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.*
*swc_set_element lt_message_container 'NO_DIALOG' 'X'.*
*swc_set_element lt_message_container 'DOCUMENTNAME' 'MESSAGE'.*
*swc_set_element lt_message_container 'DOCUMENTTYPE' 'URL'.*
*CLEAR lv_url.*
*REFRESH lt_doc_content.*
*lv_url = lwa_data1-url.*
*CONCATENATE '&KEY&' lv_url INTO lv_url.*
**---appneding URL contents to the table*
*lt_doc_content = lv_url.*
*APPEND lt_doc_content.*
*swc_set_element lt_message_container 'DocumentContent' lt_doc_content.*
*swc_call_method lv_message 'CREATE' lt_message_container.*
**** Refresh to get the reference of create 'MESSAGE' object for attachment**
*swc_refresh_object lv_message.*
**** Get Key of new object**
*swc_get_object_key lv_message lwa_message_key.*
*** Now we have attachment as a business object instance. We can now**
*** attach it to our main business object instance.**
*CLEAR: lv_is_object_a,*
*lv_is_object_b.*
*lv_is_object_a-instid = lwa_hdr_data-material.*
*lv_is_object_a-typeid = 'BUS1001006'.*
*lv_is_object_a-catid = 'BO'.*
*lv_is_object_b-instid = lwa_message_key.*
*lv_is_object_b-typeid = 'MESSAGE'.*
*lv_is_object_b-catid = 'BO'.*
*CLEAR lv_reltype.*
*** IF lwa_data-url IS NOT INITIAL.**
*lv_reltype = 'URL'.*
**---creating URL for the Material.*
*TRY.*
*CALL METHOD cl_binary_relation=>create_link*
*EXPORTING*
*is_object_a = lv_is_object_a*
*** IP_LOGSYS_A =**
*is_object_b = lv_is_object_b*
*** IP_LOGSYS_B =**
*ip_reltype = lv_reltype.*
*CATCH cx_obl_parameter_error .*
+**CATCH cx_obl_model_ePlease close this thread.Open new thread in forum [SAP Community Network Forums » ABAP Development » ABAP, General |;
-
How to attach documents to crmd_order
can any one tell me how to attach document in crmd_order through fm
Use cl_crm_documents=>create_with_file method.
Regards. -
Attaching documents in a Support Mesage
We can attach document in a Support Desk by using the Documents tab.I am sending mail to the Key user and Message Processor whenever a support message is created.Now I want to attach the documents in the Support Message along with mail sent.How to do it?
I am using SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail.Hello Vinay
I assume you are searching for this: [How to Attach Documents to Any Custom Program Using Generic Object Services|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3]
Regards
Uwe -
Hi,
For one of our users the option to send an email as attachment has disappeared in office programs such as word, excel etc
As you can see from the above these are the normal options you expect to see but for the user affected they get the option to send as a Text document, a pdf or an XPS the option to send as a attachment has gone.
I have logged into her PC with my account and it was fine, i have had a look and no one else has reported this throughout the company and looking for answers online has proven fruitless.
Any Ideas on why this option would have changed to only allow the user to send it as text.Hi,
The "Send as Attachment" option only works when Outlook and word are installed from the same suite. That is required.
Thanks,
Ethan Hua CHN
TechNet Community Support -
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 -
How do I save and manipulate an attached document through gmail?
How do I save and manipulate an attached document through gmail on my iPhone?
I had a client that had hundreds of session variables
scattered in hundreds of CF pages. There was very little CFLOCKing,
and consequently the apps were quite unstable in a loaded
environment.
What I finally did was to copy the session scope variables to
ses.request scope variables of the same name, then did a global
replace of session. with ses.request. In OnRequestEnd.cfm, and
immediately before all CFLOCATIONs, I copied ths ses.request scope
back to session scope (locked, of course). There was no measurable
performance hit, and the apps were rock solid.
Perhaps you could copy your client variables to session
scope; then back again in OnRequestEnd.cfm -
PA30, attaching documents through the employee personal master dat
Dear freinds,
We are attaching documents through the employee personal master data
PA30, Our client wants to know where exactly these attachments are
getting saved; Our SAP environment is ECC6.0 on AIX 5.3. so i exactly would like to know what is the exact path where these documents are getting saved on AIX machine.
I would appreciate if you can tell us where exactly these documents are
getting saved at OS level, any particular file system you think,
because I probed in but couldnu2019t find where exactly there are on the
OS..
Regards
ayushhello,
SAP generally recommends that you store employee documents with a bar code. You can find the documentation to 'Storage Within Personnel Administration' using the following path:
=> Help => SAP Library => Human Resources => Personnel Management (PA)=> Personnel Administration (PA-PA) => Storage Within Personnel Administration (PA-PA)
In the SAP Standard it is not possible to tie original documents to specific personnel numbers in the PA30 transaction. The only exceptions are two specific scenarios where you can tie original documents in the PA30 transaction:
1. late storing with bar code
2. late storing without bar code
During both scenarios you start out in the Trx PA30. If the bar code entry is deactivated the actual key data will have to be transferred to the document in any case, otherwise you will be asked to enter a barcode again. Therefore the document would be transferred to the scanning location and then assigned to a specific business object.
Unfortunately it is NOT possible to upload a document directly into archive in the PA30 any other way.
Let me emphasize once more that PA30 can not be used for storing infotype specific documents. Via the special scenarios mentioned already by my colleague you are able to assign documents to the specific infotypes but the storing has to be completed outside of PA30.
Using the option Extras -> Assign facsimile in PA30 will be interpreted by the system as start for late scanning with barcode thus the error message.
Hope this help
Sarah -
How we can attach documents in interactive form through GP
Hi,
I am creating a Callable Object(CO) for Interactive Form(IF) through GP. This IF is designed in Adobe Live Cycle Designer 8. I am unable to get reader rights for this PDF which is downloaded as normal form/Impersonalized form. I am having default value for Document Handling as Acrobat 8 (Dynamic) XML Form in Adobe Live Cycle Designer 8
I created a NWDS project to test the reader rights which consists an IF. I tried with NWDS 7. When I run the application, I am getting reader rights, and able to attach documents, and able to sign the document.
I am unable to get these features when I try with GP.
Do I need to do any thing when I am doing with GP?
Can any one suggest what needs to be done.
Thanks in advance.Hi ,
Check this link.Hope this might help.
http://help.sap.com/SAPHELP_NW04S/helpdata/EN/0f/619fd378a641b29386063019c24fc4/frameset.htm
Regards, -
Program FP_PDF_TEST_16 : PDF attached document
Hi all,
I need to add the document in the Adobe form. I tried to execute the report. But uanble to find the attachment.
I debuged the program but could't find it. I tried the attachment with Word docuement and also with PDF form.
Please let me know how to attach any file(attachment) link to the Adobe form..
Thanks,
PrasadI don´t understand. The report does not work?
Do you want to add the attachment by the machine or by the user?
Please explain further and we can work on this.
Regards Otto -
Error while attaching document in cv01n
Hi,
We are attaching document in transaction cv01n,at the time of saving it gives error massege change is not allowed,but still system is saving saving that documet.can anybody suggest solution to avoid error massege.
Thanks,
Vikas warkeI have checked the img setting ,img setting is ok,still it gives program error as below,can you suggest me whether reccomndations can implemented or not.
Note 964021 -Update Task Fails When New Version Created
Note Language: English Version: 2 Validity: Valid from 07.11.2006
Summary
Symptom
Update task fails when a new version of an old document info record is
created using CV02n transaction.The system throws an update terminate
error.
More Terms
UPDATE TERMINATE, MESSAGE 26 178, CV200_DB_DOC_UPDATE, CV02N
Cause and Prerequisites
Program Error
Solution
Implement the note
Header Data
Release Status: Released for Customer
Released on: 07.11.2006 12:13:26
Priority: Correction with medium priority
Category: Program error
Main Component CA-DMS Document management
Valid Releases
Software Component Release From
Release
To Release and Following
SAP_APPL 500 500 500
SAP_APPL 600 600 600
Support Packages
Support Packages Release Package Name
SAP_APPL 500 SAPKH50016
SAP_APPL 600 SAPKH60008
Attributes
Attribute Value
SAP objects CV200_DB_DOC_UPDATE
Transaction codes CV02N,CV03N
Transaktionscodes - manuell CV02N,CV03N
SAP-Objekte - manuell CV200_DB_DOC_UPDATE
DownPort/UpPort-WF UpPort check done, symptom
repaired
Correction Instructions
19.06.2008 Page 1 of 2
Note 964021 -Update Task Fails When New Version Created
Correction
Instructio
ns
Valid
from
Valid
to
Software
Component
Typ
e
Reference
Correction
Last
Changed
518092 500 500 SAP_APPL C P6DK093226 07.11.2006 17:30:29
807328 600 600 SAP_APPL C P7DK042952 13.07.2006 14:50:41
*) C Correction, B Pre-Implementation, A Post-Implementation, M Undetermined
19.06.2008 Page 2 of 2 -
Print attached document alongwith PO
Hi All
We have a following requirement. Please suggest suitable soultion.
We would like to print the document attached to Purchase Order when we do the PO print.
When we print the PO then attached document should also need to be printed.
Any solution.
Thanks
Yogeshhi,
1. Acually when u print PO, by clicking print priview end prints PO?right.
2. Same time if u using archive linking for original, in that case u would swith on to 'servise fro objec' and print attached original. from me23n.
3.Suppose ur linking DMS document, open in in same TC and print original Document.
note: Print priwiev is controled by Custamized program. dont link with original application files. which are excutables from applcations. i think u have to print saparetly in same transactionn.
Benakaraj
??P -
Attach documents to a customer parked invoice (FBV2)
Hi,
I need to attach documents to a customer parked invoice, in short I need to replicate 'Adding Attachments' functionality in Transaction FBV2.
Can any1 please guide me how, I am unable to find any solution to this problem.
Cheers
AbhishekHi Abhi,
All object services require a unique identifier for the object processed. The Internal
Number for a document is used as the key. But this number is not created until the request is saved. Therefore it is only possible to add an Object such as an attachment through change mode fb02.
try this and assign points if it useful.
Regards
Ravinagh Boni -
Forgot to attach documents on purchase
Hi. I forgot to attach documents on purchase of my MacBook Air 2012 according to the Up To Date program here http://www.apple.com/ru/osx/uptodate/. Whether it is possible
to send the photo of checks for receiving a free copy of OS X ML?Hello,
You can attach PDF format document to Shipment using GOS.
Normally if the SAP system is not connected to Archive Server this attachment is stored in table SOFFCONT1.
Storing attachments in SOFFCONT1 table will not require further configuration as SAP has already provided functionality to store attachments in this table.
If Archive infrastructure is in place connected to your SAP system then you can use Document Archiving concept for storing your PDF docks to your shipment. This will help you to better managment of documents.
Document Archiving implementation require complete configuration of ArchiveLink.
I would suggest you to go through very useful link that is provided by Suji Thampi in trail massage.
Hope this message will help.
Thanks,
Ajay -
VBUND(Trading Partner) field in BSEG from Tcode FB50 through programs
Dear Friends,
I am traying to update the VBUND(Trading Partner) field in BSEG from Tcode FB50 through programs....but its not updating in BSEG.
for that we have used substitution programs,
Did we have any other way to update the VBUND in BSEG from FB50?
I have debuged the Tcode FB50, and in there its updating the BSEG from internal table t_bseg, and passing the values to t_bseg from SACCIT, but SACCIT is not having the field VBUND. thats the reasone its failed in my case.
do we have any other better solutions and idea on this???
Thanks,
SridharRefer to the following trheads:
Change field bseg-vbund
Trading Partner field (VBUND) is left blank in EC-PCA historical data load
Validation document type
Field VBUND does not allow changes to the document ?
Regards,
Fernando Evangelista
Maybe you are looking for
-
I can have a video ichat session with most poeple, but when trying a chat with my mother I get the following message, any help would be most appreciated: Date/Time: 2007-05-02 20:07:51.142 -0500 OS Version: 10.4.9 (Build 8P2137) Report Version: 4 iCh
-
Finder window goes into background unexpectedly...any ideas?
When I have an application, such as chrome or MS Word open as well as finder, the finder window will vanish behind the secondary application. This will happen whether I leave the mouse idle or if I am hovering the mouse over other files. This compu
-
I can't log in to the Firefox account I created several months ago! I used it successfully to Sync bookmarks on multiple computers, but recently I updated firefox and was told to log in to a new version of Sync. I have tried repeatedly to log in to m
-
Urgent regarding FM for variant
Hi All, I am having a field on the selection screen in which i have all the save layouts as values.whereever i selected the layout ,i have to know the variant status (like FM reuse_alv_grid_layout_info_get).based on the variant selected i have to pas
-
Hi, Does anyone knows where to change the title header of the Portal? Instend of using SAP Developer Network Foruns - Microsoft Internet Explorer, I want to place the name of the company of the client where I am, something like "MY COMPANY". I saw so