Attachment in Marketing Plan

Dear all
I was creating a marketing plan in CRM. I saved a excel file as attachment in the element of marketing plan. Now I want to get  the data in excel file .
Please suggest.
Edited by: Abhinav Saxena(CRM) on Dec 8, 2011 9:08 AM

Hi Abhinav,
- Table SMOATTACHLNK is the attachment Link table to link attachments to Business Objects like Marketign Plan.
- Table SMOATTACHMNT is the attachment Header table containing all the file attributes like Name, size, physical path, logical path etc.
- Link between SMOATTACHLNK and SMOATTACHMNT:
1. Pass Project GUID to SMOATTACHLNK-PARENTID, and extract SMOATTACHLNK-SFAATTACHMNT.
2. Pass extracted SMOATTACHLNK-SFAATTACHMNT to SMOATTACHMNT-SFAATTACHMNT, and extract PHIO_ID, PHIO_CLASS, LOIO_ID, and LO_CLASS.
- Get the content of file
Use class CL_CRM_DOCUMENTS. It has so many methods to deal with attachment and its content.
For example, to get the binary content of attachment,
1. Create object of class CL_CRM_DOCUMENTS, and use method GET_DOCUMENT with exporting parameter IO-OBJTYPE = P, IO-CLASS = PHIO_CLASS, and IO-OBJID = PHIO_ID (Process by using PHIO details). Similarly, we can also use LOIO details as IO-OBJTYPE = L, IO-CLASS = LO_CLASS, and IO-OBJID = LOIO_ID as exporting parameter.
2. Importing parameter CONTENT_BIN of class CL_CRM_DOCUMENTS will contain contents of the attachment in Binary format.
Hope this helps.
Regards,
Susanta

Similar Messages

  • Execution error in Marketing planning

    Hi all
    I am getting following error "CL_CRM_MKTPL_APPLICATION====CP" while creating a new market plan. It an is execution error.
    PLz help me out
    Regards
    Quantuscumque
    Edited by: quantuscumque on Aug 16, 2010 9:58 AM

    Hi Quants ,
    Please be informed that as of release 5.1,SAP GUI is suppose to use
    only for administrative tasks and for transactions,new WEB UI.
    Please check the attached note 1118231 for more information.
    Thanks & regards,
    Krishnen

  • ERROR IN SAVING MARKETING PLAN

    HI forum
    when i saving the marketing plan in 5.0 getting the error like can't get RFC for SEM. anybody suggest how to solve this.

    Hi Madhu,
    If this error comes u have not definef the terget systen for ur mktg. Go to IMGCustomer Relationship ManagementMarketingMarketing Planning and Campaign ManagementSystem Landscape--Define Target Systems (ERP, BI, SEM, CPRO)
    Hope it helps. Reward the points if it helps
    Thanx
    Chinmaya

  • How to create/assigh Target Group while creating Marketing Plan in CRM 6.0

    Hi all,
    I am new to this field  and would like to know that how can we assign the Target Group ( business Partners ) in the Campaign while creating a Marketing plan.
    It will be really handy for me if I get the detail steps to execute.
    Regards,
    Zen

    Hi,
    perhaps this can help you:
    http://help.sap.com/saphelp_crm60/helpdata/en/32/ad6f422f91c153e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_crm60/helpdata/en/46/0abec5abb314dce10000000a155369/frameset.htm
    This describes step by step what you have to do to create a marketing plan / campaign.
    Regards,
    Claudia

  • Replication of Marketing plan from CRM to R/3 in Web UI

    Hi,
    I have created a marketing plan in CRM WEB UI.I want to replicate it to R/3.But I am not getting any way as to how do I replicate it.Please guide me through this.
    Puneet

    Hi Lina,
    I have gone through the blog..It is the settings in SAP GUI Marketing.But I am creating a marketing plan in WEB UI and there is no option to replicate it.
    When I am trying to open CRM_MKTPL in SAP GUI,It is saying it no longer configured in GUI.Check WEB UI.
    How to go about it??
    Puneet

  • Transfer of Marketing plan hierarchy to WBS

    Hi, we are trying to transfer a marketing plan and want to assign actual costs of the plan or even the campaign using the WBS element.
    On status change the marketing plan is transferred to BI - data was received in BI as also tested, but no transfer to R/3 takes place. How do we assign which WBS element in R/3 should be used for the assignment ? or how can WBS elements be created in R/3 from CRM on status change of a marketing plan ?
    I have gone through the help documentation and previous user posts but cannot find a helpful and specific pointers - [This|http://help.sap.com/saphelp_crm60/helpdata/en/46/03f345add73482e10000000a1553f6/frameset.htm] URL was helpful but not specific
    Kindly help.
    Regards.

    Hi,
      If you want to transfer plan data from CO-PA to profit center accounting then you either have to compress/summarize the characteristic 'product number', or you have to maintain a representative material in profit center accounting (and assign it to the correct material).
    In the PCA summary records (table GLPCT) we don't know the field material number ARTNR. PCA only has the representative material. So the representative material has to be derived from the ARTNR of CO-PA.
    If you have not maintained a representative material for all materials you get summary records with representative material initial.
    So you must maintain the representative materials or you must use summarization for the material.
    regards
    Waman

  • Text determination procedure in Marketing Plan

    HI All,
    I am using text object CGPL_TEXT and Text determination procedure MPL assigned under it. Text determination procedure MPL has two text types "Description" and "Notes". System is allowing to select "Notes" in marketing plan and enter the text. Next time if I try to select same type "Note" then system is giving error "Make entry in the field Language". But I can select other type "Description" and enter the text.
    Does it mean system allow to enter text for a text type only once? What if I want to use same text type for multiple time to enter information related to the same item.
    Any pointer?
    Regards,
    Nikhil

    Dear Nikhil,
    You are correct that in standard only one text type can be created per language... i.e. 'Note in English' or 'Description in English' can only be created once. But you can certainly add information to a previously created text type.
    I'm not sure if there is a technical way to change this.
    Regards,
    Anik Roy
    SAP CRM Moderator

  • Unable to Extract Marketing Plan Elements in SAP BI

    Hi All,
    I am having an issue of Marketing Plan Elements not being pulled into BW. We are extracting CRM Marketing Elements using 0CRM_MKTELM5_ATTR & 0CRM_MKTELM_TEXT Data Source into BW. It is a full load that we are doing.
    Few of the Marketing Plan Elements created are missing in the Data loads. When I pulled the Data on Oct 13th I got 40567 records when I pulled today I got 40572. But still 1 marketing plan element created yesterday is not pulled into BW. I even checked in PSA and not able to see the Mkt.Element.
    I tried debugging to locate the source table. But could'nt find it. Any clues on source table for these datasource or any help in this regard is highly appreciated.
    Thank you.

    Issue closed

  • Additional BADI fields for Marketing Planning

    Hi All,
               we have a requirement to add additional fields to BADI for Marketing Planning, where do we configure that and how do we add code associated to it and preferably where do we do the validation for the same.
    Thanks in advance
    Regards,
    Kishore Yerra

    The custom fields in marketing palanner will be an attribute. To add a new field in Marketing planner screen you need to create attributes for a set types. This is done with the transaction COMM_ATTRSET.
    The validations can be done in the BADI. In SAP IMG, Under Marketing planning and campaign management, BADI's are aviailable. Create a new implementation.  (Option : BADI Additonal checking and controlloing options). Include the validations in CHECK_ATTRIBUTE method.
    Data can be accessed using the ELEMENT_READ method on object CL_CRM_MKTPL_APPL_BASE Find values in the return table EX_ATTRIBUTES.
    Use tables CGPL_TASK , CGPL_PROJECT,CGPL_HEIRARCHY to collect the Mkt fields wherever required.
    Set type values can accessed by the ELEMENT_READ method on object CL_CRM_MKTPL_APPL_BASE and finding a value in the return table ET_SETTYPE_VALUES
    Note: You need to be careful in adding the attributes.

  • Displaying Marketing Plan / Plan Elements in Marketing Calendar

    Hi,
    I am unable to view the Marketing Plan and Marketing Plan elements in the Marketing Calendar.
    I am query and see the Campaigns though.
    Can someone please let me know, what settings i need to do.
    Points will be rewarded.
    Thanks,
    Kedar

    Hi
    Do the following customiseing settings for Marketing calender.
    Define search criteria
    Assign Search Criteria
    Assign Graphic Profile for Marketing Calendar
    marketing calender in  PCUI
    Define Views for Marketing Calendar
    You can use marketing plan and campaign to create from marketing calender dropdown values in pcui in GUI as well when you select marketing plan you will get graphical bar to select double click on it  will take you through marketing planner where you define marekting plan and you can change the dates usering the graphical bar by dragging as per date option you can set colours as per your marketing and campaign types as well.
    also apply snotes if you are working on CRM 5.0
    Note 941526 –PCUI calendar.  With related notes 948988 – Marketing Calendar does not print in its entirety ,
    Reward points if helpful
    Regards
    Dinaker vikas K

  • How to make Marketing Plan/Campaign ELEMENTS visible in Marketing Calendar?

    Hi,
    Does anyone know whether it's possible to show Marketing Plan Elements or Campaign Elements in the Marketing Calendar? Until now, I can only show Marketing Plans and Campaigns, no Elements...
    Regards,
    Jeroen

    already solved, type had to be entered.

  • Workflow for marketing plan approval

    Hello everyone,
    Does anyone know if there is a standard workflow for approval of marketing PLANS (I don´t mean campaigns)??
    Best regards,
    Efrain

    Hi Jaya,
    I haven't used this particular workflow but hopefully the following is of use:
    - Email to initiator- the likely explanation is that the workflow has not identifed the recipient's email address. Follow steps 4 & 5 from the Blog and this should resolve the issue.
    - Cancelled Event - The wait step listens out for the triggering of the corresponding event on the BOR object.
          i.e. for this workflow wait step 164 is listening out for CANCELLED to be raised on that particular instance of BUS2010020.
          If this is triggered that branch of the fork will be triggered.
    - Locked/Rejected - There is no step (that I can see) that notifies the initiator that the campaign has been locked.
      However you can add your own Send Mail step(s). An alternative approach would be to have additional branches that listen for the  BUS2010020.locked and the rejected events and then have your Send Mail steps, however this is probably overcomplicating the solution.
    - Schedule condition and start condition - Again I haven't used campaigns yet but in the Blog they are using the Marketing Project Campaign BOR Object status profile and status table  - look at object BUS2010020 in SWO1.
    I hope that this is of use.
    Best Regards,
    Trevor

  • Mass change for existing Marketing Plan and campaign

    HI CRM Experts,
    Is there any way we can update all the Marketing Plan/Element/Campaign/Campaign Element with authorization group. At the moment we have all the Marketing Plan hierarchy uploaded in the system however authorization group got missed. Any help in this regard would be appreciated.
    Thanks,
    Ashutosh

    Hello Ashutosh,
    Hope your issue has already solved.
    If not just a suggestion, write a small program fetching the projects from CGPL_PROJECT and loop it into table CRM_MKTPL_ATTR and update the field AUTH_GROUP with your auth group values.
    Ofcourse definetely all the Projects will not have same auth groups, so put your what ever logic into the your reports based on additional attributes.
    I am closing this thread since there is no update from past 6 months and hoping you issue was resolved.
    Thanks & Regards
    Raja Pamireddy
    CRM Marketing forum Moderator

  • Looking suitable CRM data source for Marketing Plan & Campaign

    Hi Experts,
    I'm a BI guy & looking suitable CRM data source for Marketing Plan & Campaign.
    and the related base tables from where it picks the data.
    I saw two DS,
    0CRM_MKTPL_CAUSAL                 Extraction of MDF Causal Data
    0CRM_MKTPL_VO_TRANS               Vouchers Usage extraction
    but not sure if it is correct one .
    and also a DS 0CRM_SALES_ACT_I                  Activity Item
    here business has created some test data for Market Plan & Campaign which i can see using Tcode crmd_order but could not able to see the same data in RSA3 from  0CRM_SALES_ACT_I  .
    Please hekp me.

    got the solution!

  • Urgent need Marketing Planning and Budjet

    Hi Marketing Gurus
    we have a workshop session on Marketing planning and bUdjet planning
    client using CRM4.0,BI/BW 7.0 (Is BPS integrated/built in in BI or have to upgrade it)  <b>and no Project System in back-end</b>
    1)what is the process flow for marketing planning and budjet if BI-BPS is backend and if no BPS in backend
    2)can u please explain the process flow -how cost planning done for planned and actaul
    3)which elements  should i gather requirements in workshop
    4)what exactly crm role in marketing planning and budjet planning and how BW/ECC integrated
    I will reward good points urgent need as i have session on monday
    Thanks

    HI Rajaram,
    For your workshop especially on marketing planning you have to have alot of questions to ask them.
    basically CRM marketing plan and BI BPS are closely integrated functionalities in campaign management.
    Functioanlly find out waht is that they are looking at to gain from budgeting.
    basically the lcient would like to fix a budget for the campaign / marketing plan for the financial year and then will break it down for further campaigns / marketing elements. at the end he would like to eveluate what is the budget he planned and what he actually spent. There is no nned of project systems even key figure planning can do plan vs actual cost analysis.
    based on this the marketing manager can plan the campaign success and there are standard analytics available for this.
    It is not easy to mention all those in this forum and i suggest you can go through these best practices and help in SAP.
    check them
    http://help.sap.com/saphelp_crm50/helpdata/en/14/98e24044b80b06e10000000a155106/frameset.htm
    also check this out
    http://help.sap.com/bp_crmv250/CRM_DE/index.htm
    and select marketing and check lean management best practices.
    No body can guide as better as that
    Srini

Maybe you are looking for

  • Dunning Related Issue

    Dear All,   I have configured Dunning for my company and for the first Dunning Level 1 the dunning is running sucessfully, no issues..   But when Iam running for the Dunning Level 2 I am unble to get a print out the log that has been displayed is Dun

  • How do I transfer video from camera to MacBook?

    I took some video for a friend and want to transfer it from my camera to her MacBook.  My camera manual says I need to use a DV cable to do so, but the Mac Book does not have the correct jack to accept my DV cable.  (I've done this before on my deskt

  • Writing a report file with specific information

    Hi, all: I need to write a text file with specific information in it. I'm going to copy it into Excel, so the easier the format, the better (perhaps CSV format?). I've never done this before, so here's the method I need to capture the information fro

  • Not receiving forwarded emails on Exchange and some attchments

    Hi All, This is not only happening to me, but everyone in my entire organization every sine iOS 8.0 came out, and the issue continued with 8.0.1, 8.0.2, and 8.1. The issue is pretty persistent as well. When someone forwards an email to us, we are not

  • Performance improvement in select query

    Hi, I have to improve the performance of the one custome program. I applied SQL trace & found out that below extract of code is taking maximum time SELECT a~znumdos            a~zdatctx            a~zmotctx            a~gpart