Attachment Document data from LEAD
Hi Experts,
I'm creating LEAD with attachment douments in it.
Now I want to access the attachment document related data from that LEAD .
How Do I need proceed ?
Do we have some standard Function Module to do that ?
Hi,
To read the attachment documents you need to know either their LOIO (logical id) or PHIO (ohysical id) or the business object in which the attachment was uploaded. There are relevant methods available in class CL_CRM_DOCUMENTS to create attachments, get attachment data etc.,
Regards,
Arun
Similar Messages
-
Extract document data from sap-plm (sap database) to windchill
Hi,
Can i extract document data from sap-plm (sap database) to windchill using draw_extract fm??? if yes how to proceed....
Thanks and regards,
santhoshHi Santhosh,
You can refer the below links:
/people/harrison.holland5/blog/2006/11/27/mdm-syndication
/people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario
Hope it helps.
Thanks,
Priti. -
Stop document flow from Lead to Activities
Hi gurus,
Got a very simple question. I have created a bunch of custom activities. Now all of them should be accessible to Opportunity but only some of them should be accessible from the Lead.
At this point all these activities are available (document data flows from Lead to all Activties) to the Lead. When a user creats a Lead and tries to create a follow-up activity from here, he should not view certain Acitvities (only the Opportunity should be able to access them). I haven't done anything (copy control etc) specific for this to happen, hence I do not know how to stop this happening
Thanks,
-PRIn SAP Standard you can always create any type of activity as a follow-up transaction from any transaction. The copy control customizing only is valid for non-activities. So if you want to exclude some activities from being created as a follow-up transaction in certain szenarios you need to modify the standard I am afraid.
Regards, Kai -
Getting Sales document data from VBKD to the Account Receivable Line items
Hi Friends,
We have to enhance 0FI_AR_4 With the Sales data from the VBKD Table where we can have Sales document Number.
Can you please let me know how to make link with FI-AR Accounting document with Sales documewnt. So that I can get data from the VBKD table.
Thanks &Regards,
RevathiHi,
Sales document(VBELN) is already avialable in 0FI_AR_4. Also see the link http://help.sap.com/saphelp_tm80/helpdata/en/70/10e73a86e99c77e10000000a114084/content.htm.
Regards,
Prakash -
Hi All,
I am trying to implement BADI CRM_COPY_BADI while creating follow up from LEAD to TASK , where I need to copy LEAD_END date of u2018Leadu2019 to DUE_DATE of u2018Tasku2019.
I am trying to put the code in IF_EX_CRM_COPY_BADIDATES but the debugger does not stop at this method where as for IF_EX_CRM_COPY_BADIORDERADM_H it stops.
Could you please help me in understanding why the DATES method is not called on creating TASK followup from LEAD, whereas DATES method gets called when creating followup for Activity.
Or may be if this does not work then I need to copy the dates using CRMV_EVENT, or is there any other workaround.
Regards,
Dipesh.Hi Maggie ,
Thanks for the guidance.
After debugging I found that the Date types in LEAD and TASK are different. That is in TASK I want to set the 'ORDERPLANNED' type and this is not there in the LEAD date profile. So the badi DATE method wo't be called.
other workaround's
1. I am trying to create CRMV_EVENT and set the 'ORDERPLANNED' date using FM 'CRM_APPT_MAINTAIN_MULTI_OW' , but this does not set the DUE_DATE for TASK.
2. in the BADI inside IF_EX_CRM_COPY_BADI~ORDERADM_H method , trying to use FM 'CRM_APPT_MAINTAIN_MULTI_OW' but this sets the assignment block planned date's not the header value for Due_date.
data: gt_appointment type crmt_appointment_comt.
data gs_appointment like line of gt_appointment.
data: gt_input_fields type crmt_input_field_tab,
gs_input_fields type crmt_input_field,
gs_field_names type crmt_input_field_names.
data: lt_activity type crmt_activity_h_comt.
data: ls_activity type crmt_activity_h_com.
data: iv_object_guid type CRMT_OBJECT_GUID .
gs_appointment-ref_guid = cs_orderadm_h-guid. "'DFAC8D7F8BBBCFF1BC83001A644955AE'.
gs_appointment-ref_kind = 'A'.
gs_appointment-appt_type = 'ORDERPLANNED'.
lv_startdate = ls_ztab-registerdate.
convert date sy-datum time sy-uzeit
into time stamp gs_appointment-timestamp_from time zone sy-zonlo.
gs_appointment-TIMESTAMP_TO = '20111113183000'.
gs_appointment-mode = 'B'.
insert gs_appointment into table gt_appointment.
gs_input_fields-ref_guid = cs_orderadm_h-guid. "guid of TASK
gs_input_fields-ref_handle = 0.
gs_input_fields-ref_kind = 'A'.
gs_input_fields-objectname = 'APPOINTMENT'.
gs_input_fields-logical_key = 'ORDERPLANNED'.
clear gs_field_names.
gs_field_names-fieldname = 'TIMESTAMP_FROM'. "payment term
append gs_field_names to gs_input_fields-field_names.
gs_field_names-fieldname = 'TIMESTAMP_TO'. "payment term
append gs_field_names to gs_input_fields-field_names.
insert gs_input_fields into table gt_input_fields.
iv_object_guid = cs_orderadm_h-guid.
CALL FUNCTION 'CRM_APPT_MAINTAIN_MULTI_OW'
EXPORTING
iv_ref_guid = iv_object_guid
iv_ref_kind = 'A'
it_appointment_com = gt_appointment
CHANGING
ct_input_fields = gt_input_fields
EXCEPTIONS
precondition_violation = 1
invariant_violation = 2
OTHERS = 3.
Regards,
Dipesh. -
Reading GTS Customs Document Data from ECC
Hi,
I need to read customs document data for a corresponding delivery in ECC and do further processing in ECC based on customs document data. Is there any function module available either in ECC/GTS (RFC enabled) to read the customs document data?
Thanks,
Anu.Hi Anu,
unfortunately there isn't any. The data flow is basically always ECC-->GTS. Only status data and some special data is retransferred (preference flag, commodity code etc.).
Why would you do this? The customs document is based on ECC documents. What is there in GTS that you needed in ECC but is not there?
Balazs -
i need to retrieve my photostream on my pc from my iphone that i no longer have
You can set up iCloud and enable photo stream on your pc as explained here: http://www.apple.com/icloud/setup/pc.html, but you will only get back photo stream photos added in the last 30 days.
Your camera roll photos and other data and settings would be restored by restoring your backup to a replacement iPhone. If it's an iCloud backup, it will also restore your purchased apps and other media. -
SD Experts,
We are trying to capture the document date from our legacy system on the invoice. This is necessary when we close the month and we have not posted invoices from the previous month. We want to post on the 1st day of current month we are doing this by changing the billing date in VF04 default data. However the original document date although we are capturing it in a customize table we would like to use this date as the document date in order to be able to reconcile with both systems. Does anyone knows how I can achieve this? Which field I can change in SD in order to capture this? We currently bill based on delivery, and goods issue. Right now the document date is the one of the goods issue date.
In conclussion i would like to change the Billing Date FKDAT in VF04
Any ideas will be appreciated....
Edited by: Frank on Jun 10, 2009 11:20 PMDocument date is nothing but "Created on" date (Field ERDAT) and you cannot manipulate this. For example, if you are generating an invoice on 02-06-09 but manually keying in the billing date as 31-05-09, then in document flow you can see the date as 02-06-09 only against the billing document.
thanks
G. Lakshmipathi -
How to identify reverse or reset document nos from FI tables?
Hi..
I have to send FI Documents data from SAP to NON_SAP system. Like from tables BKPF, BSID,BSAD, BSIK,BSAK, BSIS, BSAS. I will send this data through RFC on weekly cycle..Now problen is that if the cleared item document is reset or reverse then the entry from clear item table moves to open item table. Not i am not able to identify such entries ..because in that no change in create or change date..so can anyone tell me?
Its urgent..please.
Thanks.Hi
Please use field BSEG-XRAGL to identify whether the document is reversed or not?
Please use field BSEG-STBLG if an open item is reversed. This field will be filled with reversal document number.
Regards
RS
Edited by: RS on Dec 20, 2007 7:17 AM -
The Document Date is the date when we raise and send a customer Order. Perhaps 2 weeks later we convert this order to an A/R Invoice by using the COPY procedure. However, this procedure changes the Document Date from the original date to the Current copying ( conversion date). We would like the Original date to be preserved and I wonder how to achieve this?
The current Date change problem is that we are extending the Credit to our customers by 2 weeks and and we would like to change this so the Document Date is preserved.
Thank you
RobertRobert,
Answering you first question. The Document Date is visible on all marketing documents. I am not really sure what you mean by "in many cases the Document Date is not visible or accessable "
The Document Date always defaults to the Posting Date of the document. If you create a Sales Order on March 03 2008 and copy to Invoice on March 14 2008, The Posting date and Document date on the Invoice will default to the current date which is March 14th. This is not a bug and there is no point in reporting this to SAP.
Answering your Second Question,
Certain header level field can be changed on an Invoice till the time the Invoice is not closed.
Any document which creates a Journal Posting in the system cannot be Changed once Added. This is the main reason you see the message when posting an Invoice
You cannot change this document after you have added it. Continue?
Suda -
How to use Documents & Data in the iCloud on my mac?
Dear Sir,
When you activate Documents & Data from System Preferences/iCloud it means that it can be stored and synced with my MAC.
You can see this when you disable Documents & Data from System Preferences/iCloud, it says that (All Docments & Data Stored in my MAC will be deleted)
So, there should be a folded that can store and sync my Documents & Data with iCloud.
So, How?
Or anyhow, how does it work?
Thanks,
Boudy,So, iCloud is just for upload and download.
I even could not use the documents on the web. how come?
is it just a place to upload and download only? It should be used as a device on the Web also. and it should be synced with my Mac or PC. In this way, It could be useful. But to upload a document to the web, then modify it by any IOS5, in this case I will have 2 versions, one in the could, and another in my mac, and i have to keep update with the new one. if i modify the one in my mac, i have to re-upload again before using the one in the cloud or i'll be using another old version. and if i modify the version in the cloud, i should re-download it to my mac before using the version which is already in my mac. it is really going terrible.
I'm really disappointed from the iCould.
It is just for mail, syncing contacts and iCal, Find my iPhone.
iDisk and Photo Gallery was something unbelievable.
Hope apple to keep iDisk & Photo Galley and to update the iCloud -
Comment or attach document for specific cell of data
Dear all,
Is it possible to create comment or attached document for specific cell of data in Webi report?
For example, the sales of certain product & yearmonth is lower than previous month. I want write some comment for that cell of data . Which function should I use? I try the "Discussion" function. But, it's for the whole report not for certain range of data and I can't attached document in there. Please advise.
Thx,
JeffHi Jeff,
This one is the most popular request from most of our customers. But what we always tell the client is that the reports that are created in webintelligence are analytical in nature and it is not cell based. For every refresh of the report, you may get different results based on the parameters and your annotation will not hold good.
We suggest two methods to solve this issue. 1) Discussions - Standard text with the parameters used for refreshing and the observation. This would be a good option if the report is shared with many people.
2) Add a cell to the report, place it at the right place adjacent to the block which you want to observe. Make your comments in different colors. This would be good for reports which need to be presented to some audience.
The below link shows a prototype called Comment It for Crystal Reports. But I don't think this is available for webintelligence.
Comment it [original link is broken]
Thanks
Mohanraj CP
http://blog.mohanraj.org -
Attach document from server to delivery in VL03N in automatic way.
Hello experts,
In Vl03n i have the option to attach document to delivery in this way : service button -
> create attachment
And choose the file that will be attach to this delivery.
After this operation i can display in this document like this way: service button -
> Attachment list.
I want to attach one document that exist in server "
Cilaff01\data$\Sap\Sela\Delivery_Note\file_name" to delivery.
Every time , that the user create or change the delivery in VL02N tcode , will be create attachment from this delivery
To suitable document that exist in server "
Cilaff01\data$\Sap\Sela\Delivery_Note\file_name".
After this operation i will be can display this document like this way: service button -
> Attachment list.
File_name = delivery number. ********
Thanks for the help,
Avi.This is the place where you need to read your file contents:
In case of File attachments
WHEN 'EXT'.
Upload the file contents using open dataset in lt_doc_content .
Some conversion ( Compress ) might be required.
Not sure at this point
Then for the object key - debug to find what is being passed when you attach something to a delivery - alternately look in table SRGBTBREL for details
Here is a typical example:
Rel. type ATTA
Instance ID (INSTID A) <delivery number>
Object Type (TYPEID A) LIKP
Object Category (CATID A) BO
Instance ID (INSTID B) FOL30000000000024EXT36000000000789
Object Type (TYPEID B) MESSAGE
Object Category (CATID B) BO -
Stripping out data from unstructured documents
I have hundreds of word and html documents that I need to strip out certain information. The html docs are completely unstructured. The word documents may or may not have the same structure. How can I leverage PL/SQL to extract out the data that I need? I have seen scripts where using PL/SQL you can give a byte position number. This may work for extracting out some of the data if positioned in the same place but I am looking to simplify the process and get the right information out in one pass. Any help would be greatly appreciated. I am not necessarily looking for an exact answer but rather information that can lead me in the right direction. Of course the exact answer wouldn't hurt.
I read all of the thread for that particular post and I still don't believe I have what I need.
Maybe it is the instr function that you wanted me to look at and maybe not. I just don't know how I would use that to extract data.
What I am looking to do is to use some kind of PL/SQL statement to extract a unique identifier that will be in the document, dates that the document was created or appended, and then some region numbers. So can I use instr to find a value from each document, hold it in a flat file and then import this information back into the database? The value of course will be different in every document.
These files are currently not in a database. I am trying to get this information out of the document to store as metadata for each document. Am I looking at the right way to do this using PL/SQL or is there some other method of data extraction that I should consider -
Error when attaching Documents during Process Control to Submit Data
Hi,
In HFM 411 the user's were able to attach documents (that were earlier uploaded to Custom Documents) in the Process Control while submitting the Data. In 931 they receive an error message that says it is unable to change the review level. However tehy are able to submit the data without attaching documents.
The security set-up seems to be fine, as the admin receives an error message as well, but this time it says "Invalid Javascript returned by the server".
Anyone any idea?
Thank you so much for your help.Hi,
I (as administrator) manage to attach document at every step of review level process.
Can you check that MaxNumDocAttachments and MaxDocAttachmentSize are correctly set up in the metadata (application settings).
Besides HFM User Guide stands : "To attach or extract any custom documents to or from the server, you must be assigned the Manage Custom Documents security role."
Hope this is helpful.
Regards,
Lionel.
Maybe you are looking for
-
HT201322 swipe and hide app options doesn't work on my ipad2, how can I get it to work?
I have followed the directions to swipe and hide apps from the purchased apps history on my ipad2 but when I swipe the app in the list nothing happens, any help please? I have managed to hide purchased app in itunes on my PC but that hasn't synced wi
-
Site does not display in Safari
Trying to view a website that displays fine in FireFox and IE, but appears blank when viewed in Safari. Any suggestions, ideas? http://www.casasmith.com/Web/Form/Vikings/Default.aspx
-
Report on OA target value and net value
Hi all, Is there any standard report that can list out the target value and net value of a number of OA? The values are similar to ME33K -> Header -> Statistics -> General. Thanks.
-
I need to implement data level security on the dashboards for users based on job hierarchy and region location since i have multiple subject areas this needs to be implemented on one subject area and reports and dashbord from the same subject area .
-
Hi all, I am currently in a situation where our primary 5508 failed, our secondary 5508 took over, and we RMA'd the primary. Now that I have received the primary RMA device, I am stuck with what to do with it. I know that I need to transfer the licen