Contract(Trade Promotion) Tables

Hi Experts,
In CRM, Can you please let me know contract(Trade Promotion) related tables(contract, contract status and so on) and foreign keys among these.....
I have a requirement like to delete the contract which have status as "Created/Draft" only. Can you please guide me on this.
Thanks and Regards,
Balakrishna.N
Edited by: balakrishna nagabhairu on Dec 1, 2010 11:09 AM

Hi Sanjeev,
I would recomend to post this question to the CRM - Marketing forum to reach out to the right experts.
Best regards.

Similar Messages

  • Table link to Trade Promotion ID

    Hi Gurus,
    I am new to CRM and trying to understand table structure. I can see promo campaign attributes in table CRM_MKTPL_ATTR, but how do I find the trade promotion id link to GUID? Also the username link to RESPONSIBLE?

    cgpl_project contains the information you are looking for for the promotion guid.  Also you can link the crm_mktpl_attr.responsible to the but000 table on partner_guid to get the Employee Responsible name.

  • 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

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

  • Trade promotion

    Hi ,
    How to link deal registration to Trade promotion .
    How to  find discount based on deal registration and  trade promotion .

    Hello,
    I'm still not aware of the term 'deal registration'. However if you refer to the earlier mentioned process to generate a trade promotion from a deal the following information will help:
    Generate trade promotion from deal:
    Deal reference is stored in table CRM_MKTPL_TPATTR - this however only stores the GUID but not the ID:
    On UI level the field is available for the view TPMOE/HeaderEOF within the TRADE context node:
    Is this answering your questions? If not please provide further information about the process.
    best regards,
    Johannes

  • Trade Promotion/ Deal Product Filtering

    Hi All,
    while creating a trade promotion / Deal, i need to restrict the list of products displayed in the Products Tab. Is there some user-exit or a method that is called when we try to select a product ?(in the drop-down list)
    Regards,
    Ravi

    Hello,
    I'm still not aware of the term 'deal registration'. However if you refer to the earlier mentioned process to generate a trade promotion from a deal the following information will help:
    Generate trade promotion from deal:
    Deal reference is stored in table CRM_MKTPL_TPATTR - this however only stores the GUID but not the ID:
    On UI level the field is available for the view TPMOE/HeaderEOF within the TRADE context node:
    Is this answering your questions? If not please provide further information about the process.
    best regards,
    Johannes

  • Trade promotion and agreement relationship

    Hi friends,
    I am trying to find a table which stores the link between trade promotion and agreement. I checked CGPL_PROJECT,CGPL_MKTPL_TPATTR and CGPL_MKTPL_ATTR already but didn't find entry for agreements.
    If you know the table, please let me know.
    Thanks.

    You have to use a combination of the CRMD_MKTGS_LINKS table and the SRRELROLES table.  It is kind of tricky because it is recursive.
    if you use SE16, then do the following
    1. SRRELROLES.objkey = TPM GUID
    2. CRMD_MKTGS_LINKS.roleb = value of SRRELROLES.RoleID  (Use the BRELTYPE = AGTP)
    3. SRRELROLES.RoleID = CRMD_MKTGS_LINKS.rolea
    4. SRRELROLES.ojbkey = AGR GUID
    I'm unable to paste in the code I have for a query, otherwise I would provide you a query.

  • 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

  • Trade promotion management-condition generation

    Hi Folks,
    I understand in order for transaction to determine appropriate trade promotion we need to define campaign determination.Similaraly, to determine prices we need to maintain campaign condition type in price determination. Kindly correct me if I am wrong here.
    There is also configuration of condition maintenence group required for condition generation.
    Could some one elaborate me what does condition genereation means.
    regards,
    Sidharth

    You create a TP, it VTS tab or Planning Assignment block (CRM2007 & 7.0), you enter some discounts, then selecting the row, you push GENERATE CONDITIONS button, the system sends conditon records to ERP when you save it. And when you release the TP, it activates the condition records.
    Condition generation : it generates condition records, and fill your condition tables. (e.g. for condition type : Z001)
    for determining the relevant campaign : there is another cond. type : e.g. Z0CD (Campaign Determination)
    you assign a condition maintenance group to the Marketing application, (you can copy it)
    when the sales order pricing works, e.g.
    Z0CD : Campaign 000008 determined
    Z001  :  for determining the discount (%3)
    BR,
    Cenk Sezgin

  • Trade Promotion read buffer

    Hi Experts,
    When Im creating a Trade Promotion I want to read the buffer to find the PRODUCT_GUID and CATEGORY_ID. But it's ok if only I got the PRODUCT_GUID
    I can do that search in DB looking at table CRMD_MKTPL_PROD,  but my problem is that in the moment that I want to read it the Trade Promotion is not saved yet.
    I'm using BAdI definition CRM_MKTPL_R3_INT, in method CHANGE_R3_ATTRIBUTES, because with those values I want to modify some attributes.
    Thanks a lot for your help,

    Hi,
    I found the solution
    Using this BAPI
      CALL FUNCTION 'BAPI_MKTPL_PROD_ASSIGN_READ'
        EXPORTING
          im_marketingelement = im_marketingelement "<--- Trade Pormotion GUID
        TABLES
          tab_product         = lt_tab_product
          return              = i_return.

  • 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

  • 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

  • Error occured while saving trade promotion if a control message is given

    Hi all,
    While creating a trade promotion, we want to control the products and if there is/are not available for our criteria, we want to give an error message and stop the application. I put this control message in the BADI ( EXEC_METHODCALL_PPF -> method : EXECUTE ) that generates a form for the event. In GUI there is no problem, it gives the error message and stops. But in PCUI if this message is given, error page appears like that :
    Message E SPPF_MEDIA 052 cannot be processed in plugin mode HTTP
    Class     -> CX_SY_MESSAGE_IN_PLUGIN_MODE
    Program -> CL_CRM_BSP_FRAME_MAIN ==...CP
    ABAP Class -> CL_CRM_BSP_FRAME_MAIN
    Method        -> DO_REQUEST
    thanks,

    Preferences > Plug Ins & Scratch Disks ( you can select up to 4 sources or drives starting with your startup drive ).  You found Web Settings, but what you want is Illustrator Preferences ( should be found in a source file titled Preferences on you C Drive ).  You may or may not have to delete the Preferences file which will automatically be rebuilt at default settings upon restart.  Your RAM requiremnts may be as low as 256mb, but that is just a starting put.  You need enough RAM to run your operating system and peripherals, as well as other apps you want open the same time you have Illustrator open.  Deleting the Illustrator Prefertences file may not be necessary in your case.  Setup the scratch disks first.

  • " Campaign determination " error in Trade Promotions

    I am working on the Trade Promotion functionality on a Target Group . The conditions are getting generated and appearing in the discounts tab. Also the target group is picking up only the relevant BPs and showing them in the Volume/Trade Spend Tab but while releasing the Trade Promotion,I am receiving n error . "Campaign Determination records cant be generated "and "enter a hierachy business partner" . Since the Trade promotions on the BP hierarchy are being realased without errors , I am wondering ,is there any particular configration which needs to be done in specific for the Target Group as customer . Could anybody please help me in this regard?

    Look into this and see if it helps: http://help.sap.com/saphelp_crm50/helpdata/en/c1/e60741375cf16fe10000000a1550b0/frameset.htm

Maybe you are looking for