Cancel a trade promotion through CL_CRM_MKTPL_APPL_BASE

I have a requirement to develop a utility program to set user status of marketing project to cancel .
For setting status to cancel , i am using class CL_CRM_MKTPL_APPL_BASE .
I am passing project guid and user status code (for cancel) to method status_change_extern of above mentioned class .There are no exceptions returned and  i am even calling method save_and_commit of the same class after this step .
Still the status is not changed . Any pointers on the issue would be appreciated !

Hi Shreeram,
depends at which level of promotion you need those fields.
If they are all needed at header level, you have to do a custom development at component level and use a custom table to save the values of the fields.
Using AET the limit is fixed by standard as the error shows.
Regards,
Giacomo

Similar Messages

  • Addition of custom fields in trade promotion through AET

    Hi ,
    I have added a custom field in trade promotion general data ( header) through AET .
    its store in table crm_mktpl_attr. but its showing some error related to data base limit.
    is their any other table like 'crmd_customer_h' in TPM to add custom fields.
    please find the attach error file.
    Thanks,
    shreeram sahu

    Hi Shreeram,
    depends at which level of promotion you need those fields.
    If they are all needed at header level, you have to do a custom development at component level and use a custom table to save the values of the fields.
    Using AET the limit is fixed by standard as the error shows.
    Regards,
    Giacomo

  • Need to change user & system status of trade promotion

    Hi,
    I have a requirement where I need to advance a user status if system status is changed based on some creiteria.
    Similarly a system status will be changed on a particular user status.
    Which table is updated for status of trade promotion? Which class/method can be used for it?
    Regards,
    Shikha

    Hello Shikha,
    Status management on the whole in CRM is pretty complex at the db level as there are so many nr of tables. So, i feel it is better not to go more deep.
    Individual application frameworks like one order, marketing has extended the status management for their needs which resulted in pretty good number of APIs for status related actions.
    Try the using the following methods of the class CL_CRM_MKTPL_APPL_BASE
    1) STATUS_READ --> to read the active status of the marketing object at that point of time
    2) STATUS_SET --> for this method pass the business transaction associated with the status of your marketing project.
    Hope this helps.
    Regards,
    Vinay

  • Making Marketing Calendar Read only for Trade Promotion

    Hi,
    We are trying to use Marketing Calendar in CRM 7.0 to view the trade promotions.  But the client wants the Marketting Calendar to be read only view.  The end users should not be able to drag the TPs to extend the date. Also they should not be able to create, copy or delete the TPs.  These end users will be able to create TPs when going through the TP link. 
    Please advise how can I achieve this.
    Regards
    Kavitha

    Hi Kavitha,
    This feature in introduced in the new Integrated Marketing Calendar. See if you can use it.
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/704e0c72-a7ed-2d10-c2bb-d4162cf5cbca
    Best Regards,
    Roshan

  • Help Required in Trade Promotion Management

    Hi ,
    Can anybody suggest or send document related to Trade Promotion Management Configuration since i have requirement for the same...
    Thanks & Regards,
    Prakash S.

    Hi,
    The below blog lists out the configurations for TPM.
    >http://sapcrmtutorial.blogspot.de/2012/07/tpm-trade-promotion-management.html
    Also, go through below link.
    http://help.sap.com/saphelp_crm700_ehp01/helpdata/en/0d/312ec0383f495c8740d9bde7fa81b2/content.htm?frameset=/en/0d/312ec0383f495c8740d9bde7fa81b2/frameset.htm&current_toc=/en/51/6b5203723746dd8f02ba87183c619a/plain.htm&node_id=4
    If you have Sol Man installed in your project, you might find configuration documents over there. Also, there should be implementation guide provided to your client when they purchased TPM There is no ConfigGuide for TPM yet.
    Hope this helps!
    Regards,
    Len.

  • Trade promotion management for rebates processing

    Hi All,
    I am looking for configuration or step by step procedure on trade promotion management for rebates processing. Any document that gives the condition types to be used, set up of trade promotion, determination of the trade promotion related conditions in sales order, accruals of such rebates will be helpful
    Regards,
    Praveen

    sorry, I can't login a CRM server now, but I try to answer your question by my memory
    u2022 What condition types are required for rebates
    the condition type for rebate is special,  different the normal pricing condition,  the rebate condition has a different condition usage.  you can define the rebate condition record in rebate related SPRO path
    u2022 How are they linked to TP and how the conditions flow to ECC
    the condition generation configure in TP link the condition with TP type, you can check the configuration in SPRO
    u2022 How are these conditions determined in sales order
    the rebate also need to configure to the sale order, this configuration is under SD rebate path, and you can upload the configuration by middleware synchronize object from CRM
    u2022 Are there any agreements that need to be created
    the aggrement will be created automatically if the rebate condition can be generated in CRM TP.   pay attention that the spend type table in TP WEB UI page has a button named 'rebate generate'
    u2022 How does accruals happen
    the accrals is depend on the funds plan,  if fund plan created and configure for accrualls, you can launch a job background for accrual base on a fund plan from WEB UI
    u2022 How is it linked to funds, what set up of funds is required
    the funds is link to fund plan,   fund plan link to TP.   There is no directly link between funds with rebate, but they have indirect relationship through spend category, method,...    E.G.   you configure a rebate belong to a spend category,  and you can configure the spend category in fund determination with TP.
    The funds will be determined when TP created
    u2022 How validation happens from claims
    validaion happens in claim processing,  in claim,  the spend value will be fetch from fund usage, and bring to the validation screen, you can edit the validation data, and  claim will generate the billing due list according to the validation you input.

  • What is Trade Promotion Management?

    All,
    I am new to CRM domain and learning the concepts. I am comfortable with most of the concepts but I didn't understand what is meant my Trade Promotion Management. I have gone through help.sap.com but still didn't understand properly.
    I think my problem is in understanding the business concept itself. Can any of you please try to give few words about this? Or point me to some useful links which help me understand this?
    And I don't understand the Claims also in TPM.
    I tried to learn through google but didn't get the right information.
    Please help.
    Thanks

    Hi,
       You can use this business scenario to plan and coordinate temporary marketing activities in cooperation with retailers to achieve a corporation-wide marketing and sales strategy. This leads to increased profitability of all marketing activities that are agreed between you and your clients. As well as increasing brand capital, name recognition and market share, this business scenario enables you to increase sales volume and place new products on the market
    A Trade Promotion Engine is that Part of SAP which allows you to Configure Discounts and Promotions in your System.Using TPM you can design Promotions and their Occurances in the System can be controlled,using which you may Fix its detrmination and Relevence in a Transaction.
    Refer the Links for Detailled Desc:
    http://help.sap.com/saphelp_crm50/helpdata/en/4a/c9523e83464644e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_crm50/helpdata/en/c6/677b428b079c60e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_crm50/helpdata/en/97/24d9414e656124e10000000a1550b0/frameset.htm
    Hope it Answers your Queries..
    Thanks and Regards,
    RK.

  • How does trade promotion relate to campaign

    hi,expert,
    I am a new-hand in crm. to my knowledge, trade promotion & campaign is different function for CRM. trade promotion deal with our traditional trade promotion such as discount, free goods etc., while campaign is about  arranging some kind of activity for the channels letter, e-mail, and lead. when marketing in an concrete enterprise, it seems impossible that trade promotion & campaign just do their own business and have no relation. so my question is how does trade promotion differ from campaign,& also how they cooperate in marketing.
    besides, since trade promotion also has its own trade promotion planning, so how  does trade promotion planning differ from marketing plan? if they two co-existed, what's the relation between them?
    your response will be warmly welcome.
    thanks a lot.
    lisa

    Hi Lisa
    Diff betn Campaign and TPM
    Campaigns are the ways and mediums which helps in communication, increasing awareness, increase sales and wide range of activities. It can be done through mailing list, product promotions, telecalling etc. So in nutshell as an organisation, you are trying to reach your customers for increasing customer base or sales or product awareness.
    Examples of campaign:
    1)You give $2 off on the purchase of every pack of Beer bottle.
    2) Set up a stall in the Expo and register the queries to generate the leads.
    3) Telecalling to all the individuals in the city with more than USD 100,000 p.a. income and then create leads.
    However Trade Promotion Management is an activity which is done with the help of your channel partners. The check here is "trade", which means distributors, retailers, wholesellers, re-sellers etc. The purpose remain the same like to increase customer base or sale revenues but here the incentives are given to your channel partner.
    Ex. Organisation sells products through Distributors in the market. If Organisation devise a scheme whereby distributor will get US $ 1000 extra he sells more than 100 cartons/month then it is a TPM.
    Campaign : You can create Campaign without BP master data, you can run Campaign for External email id to generate lead and opportunity. but
    Trade Promotion : You need to have BP master data. Mostly TP functionalities is used in Consumer Durables, FMCG where distributors or retailers as their BP.
    Campaign : can be automated
    TP : not possible
    Campaign : You can use Bounce Management to track and analyse your campaign
    TP : It will be based on the Cutomer Approval status. Normally will be done by key account manager.
    From deal you can create TP
    Hope this will calrify some of your queries...
    Rgds
    Mallikarjun

  • What is the difference between Campaign and Trade Promotion?

    hi experts,
    What is the difference between Campaign and Trade Promotion?
    regards,
    babu

    Hi,
    Campaign serve operative marketing planning. They describe actions that are carried out, for example mailing actions, product promotions, and telemarketing. Crieria such as target groups, products, documents, people responsible, and the budget are defined in the campaign for these activities.
    Campaign are basically used for operative marketing planning and execution.
    Trade Promotions are Marketing activity used by industries that sell into the retail channel or through brokers or wholesalers. A trade promotion takes place within a specific time period and aims to increase brand capital, brand awareness, and market share. It is also used to increase sales volume or to launch new products or product lines.
    Trade promotions are structurally similar to other marketing objects, except that trade promotions are targeted at a key account.
    A trade promotion has a header that provides overview information about the trade promotion, such as the intended key account, the product planning basis, the trade promotion objective, funds plan details, and trade promotion status.
    Assignment blocks contain specific information pertaining to, for example, trade promotion dates, products, and causals.
    For more information on Trade Promotion please go through the following link:
    http://help.sap.com/saphelp_crm60/helpdata/en/eb/aa80ae2ea44778a987960a847fc6ce/frameset.htm
    Main difference is campaign is an operative instrument to manage the interactions between the customers and the system

  • How can I directly open a trade promotion WITH type?

    Hello!
    I am trying to create a transaction, which opens a new trade promotion (I am this far) but with the promotion type (camp_typ) specified. I've tried using the classes cl_crm_mktpl_appl_base, cl_cgpl_object_manager and cl_cgpl_project, but they seem to overlook the filled camp_typ.
    The problem is probably in the creation of the project or application needed to open a trade promotion. Does anybody have an answer?
    Greetings,
    Friederike

    Then read this tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/painting/usingImages.html

  • How to get user and system status for a trade promotion

    Hi,
    I have to develop a batch program to change user status and system status of all trade promotions which satisfy some criteria. This criteria checks some dates related to trade promotion(like Changed on,Pallett buying, buying horizon dates) also.
    I thought of first extracting all external ids from CGPL_PROJECTS table and then run trade promotion query. But how can I get current user & system status and all dates as these can be taken from relations "TPMStatusActiveRel" and "TPMDateRel". I don't know to take data from relations. Please help me with a piece of code.
    Thanks.

    Hello Shikha,
    You can use these relations here, as you are not in the Business Object layer anymore. As far as my understanding is, all the batch programs or reports should be done at the API layer. Try this code, to read the status of the Trade Promotion object.
    data: lr_appl_base type ref to CL_CRM_MKTPL_APPL_BASE,
            lt_sys_status type CGPL_ISTATUS_TEXT_T.
    lr_appl_base ?= CL_CRM_MKTPL_APPL_BASE=>GET_INSTANCE().
    " To read system status
    call method lr_appl_base->STATUS_READ
    exporting
    IM_MKTELEMENT_GUID = "your Trade promotion guid
    ET_TJ02T  = lt_sys_status.
    " To read user status
    call method lr_appl_base->STATUS_READ_EXTERN
    exporting
    IM_MKTELEMENT_GUID = "your Trade promotion guid
    ET_TJ02T  = lt_sys_status1.
    To change the user status, use the method STATUS_CHANGE_EXTERN of the same class
    To set the system status, use the method STATUS_SET of the same class.
    Hope this helps.
    Regards,
    Vinay

  • I started my update for ios 5.1for iPhone 4s and cancelled it have way through now it says it's downloaded but really it's not the update is still there and when I try to update it it says unable to install update : an error occurred installing iOS 5.1  ?

    I started my update for ios 5.1for iPhone 4s and cancelled it have way through now it says it's downloaded but really it's not the update is still there and when I try to update it it says unable to install update : an error occurred installing iOS 5.1  ?

    See Here... Unable to Update or Restore...
    http://support.apple.com/kb/HT1808

  • BADI for Claims search in trade promotion management

    Hi Experts,
    I am enhancing the Claims search in trade promotion management with a custom field. I added a custom field in the search screen of claims.
    I want to filter the records based on that custom field. The component is BT311S_CSR and the search query is BTQCSR.
    Is there any BADI for claims so that I can filter the records.
    I tried to put a breakpoint in the badi CRM_BADI_RF_Q1O_SEARCH and searched but it is not stopping.
    Does this badi works for claims? Or first do i have to create a implementation with the filter object as BTQCSR then try to check whether it will stop in the badi while searching the claims.
    Please suggest me.
    Regards,
    Dinesh.

    Hi Dinesh,
    Now this becomes tricky. Since your requirement is very specific there is no way that standard sap can help. You may end up in enhancing n number of classes.
    I can propose a solution though Please put of in front of your business/ functional team and then go ahead..
    Now we will change our approach...Please follow below steps:
    1. Add a altogether new field to your claim transaction using AET for sales office (description as 'Sales Office').
    2. Make this field search and result relevant.
    3. Whenever a sold to party is selected for claim transaction, based on the sold to party you would set value of this field.
    4. Since your field is search relevant it will automatically appear in your search query (control this in view configuration.)
    5. You may or may not display this field to end user in claim detail screen, You can control this by configuration.
    6. Depending on your requirement you can show/hide standard sales office field in search query.
    If you follow this approach then it will serve the purpose.
    Trust this solves your issue. Give points if it helps.
    Regards,
    Bhushan

  • Trade promotion with target group

    Hi
    At my client place, following scenario is present as
    Trade promotion with target group is created and then rebate agreement is being generated in R3 and executed.
    Here i am facing an issue where , only one rebate agreement is getting created for all partners in target group instead of separate rebate agreement is getting created per partner in target group.
    Kindly give me the inputs
    thanks in advance
    shailesh

    BoM in ERP becomes a structured product in CRM when downloaded by the middleware.  For TPM, we use them for the display pallet scenario.
    Try looking for display pallet documentation
    ex: http://help.sap.com/saphelp_crm70/helpdata/EN/ff/e2afec1bc6419395eb34aa2205b788/frameset.htm
    Let me know if you need more info.
    Regards,
    Anik

  • When i cancelled the billing doc through VF11 Fi document not yet creted.

    Pls help on this issue.
    When i cancelled the billing doc through VF11 Fi document not yet creted. system thrown the given below error:
                                                                                    Diagnosis   :                                                                          The document does not exist. It was possibly not posted and therefore cannot be read from the database.                                                                               
    Procedure  :                                                                    
         Repeat the transaction at a later time.                                                                               
    Pls help on this issue.I assign full marks .
    Rgds
    Mahesh

    Dear Mahesh
    This is bcoz you have not assigned the Accounting Document type for your cancellation billing document.
    Go to VOFA, select the cancel billing document type S1 and [see whether S1 is maintained] against the field [Document Type]   Most probably, in your case, it is not maintained and hence the problem.
    Maintain S1 in the above field and retry to cancel the billing document.
    thanks
    G. Lakshmipathi

Maybe you are looking for