Mass Marketing Plans Upload

Hi Guys.
I´m creating a webdynpro in CRM 7.0, to let the user execute mass data load of  Marketing Plans or Campaings. To do this, I´m using the function 'MKT_ELEMENT_CREATE', but I´m having a problem. For example, if I want to upload the following tree:
M-001 --> Marketing Plan Existing
|___ M-002 --> Marketing Plan to create
       |____ M-003 Marketing Plan to create
       |____ M-004 Marketing Plan to create
where the marketing plan M-001 exists in the system, and I want to create his son called M-002 and after the M-002 the sons,  M-003 and M-004. The problem is that the system is only creating the first one (M-002), but I´m not receiving any error message from the function  'MKT_ELEMENT_CREATE' or from the function 'BAPI_TRANSACTION_COMMIT' about the other two marketing plans (M-003 and M-004).
The code would be something similar to:
LOOP AT lt_data INTO ls_data.
      CALL FUNCTION 'GUID_CREATE'
       IMPORTING
          EV_GUID_32       = lv_mktelement.
      wd_this->fill_attributes(
        EXPORTING
          data              = ls_data
        CHANGING
          is_attributes = is_attributes
          im_below = im_below
          lt_texts    =  lt_texts
      CALL FUNCTION 'MKT_ELEMENT_CREATE'
        EXPORTING
           im_marketingelement =            lv_mktelement.
           im_attributes =                   im_attributes
           im_below =                        im_below
        TABLES
           it_texts =                        lt_texts
           return =                          return.
       IF return IS INITIAL.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
             WAIT          = 'X'
           IMPORTING
             RETURN        = lt_return.
       ENDIF.
ENDLOOP.
Please can you help me?
Thanks in advance.
Best Regards.
Edited by: Alberto Rubio on Jun 29, 2010 11:49 AM

Hi Guys... I´ll answer my own question....
The issue have been fixed with the SAP NOTE number 1367918. Right now, the BAPI is working properly, and the parameter called 'return' is giving us data with the execution results.
Thanks.
Edited by: Alberto Rubio on Jun 30, 2010 11:40 AM

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • Syntax error when running GLPLUP - Flex Plan Upload

    HI,
    We want use transaction GLPLUP to perform a Flex Plan Upload, but encounter a syntax error in program RK50003 stating:
    The following syntax error occurred in program "RK500003 " in include
      "PP_FISL_GINC " in
    line 652:
    "The data object "ITDAT1" does not have a component called "XBILK"."
    This program is a local object, and appears to be generated by SAP.  Checking the program attributes the owner and the last person to change this program is a consultant who has rolled off the project, and is not available for help.
    I suspect that there must be some steps to regenerate this code, but I am not certain where to look for this information. 
    I have tried running GLPLDEL and GLPLINSTALL, but this did not change RK500003.
    Any insight you can provide on this is greatky appreciated.
    Thanks,
    Roy

    HI,
    I reported this issue with SAP and the following is what they had me do to resolve the issue:
    1. Run transaction GLPLDEL:
    Deletes all generated reports of the planning processor for
    FI-GL/SL planning (application class GLU1). After a new call of
    the planning, these reports will be generated once again.
    2. Run transaction GLPLINSTALL:
    It regenerates necessary database table entries for FI-G/SL Planning
    (tables t8pl*). Make sure that you will perform this step when no
    posting of FI-SL data is running.
    This resolved the issue for us.
    Good luck,
    Roy

  • 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

  • FMPLUP-Plan uploading result OK while data not be posted, without Log

    Hi Expert
    I have created planning layout and assigned to planner profile with excel integration. I've got the file description to be specific in the Flxible Upload screen.
    When I upload data in transaction code FMPLUP, the result is OK. However, the plan data is not input to the layout / report. (I can directly post the planning in SAP.). I tried uploading by other file that not related to the file description. The result should be error but it still OK without any posting.
    How should I resolve this plan uploading issue?
    Rgds
    Ton

    First I want to ask about planning layout. What tcode did you use when you create the planning layout? Is FMPLLI?
    I ever created the planning layout with excel integration. Then I use tcode FMPLCPD to insert the budget planning with form based.

  • 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.

Maybe you are looking for