BADI CRM_MKTPL

Hi,
In transaction CRM_MKTPL - Marketing Planner I need to set by default the field Profile (CRM_JSTO-STSMA).
I'm trying to use the method MODIFY_FIELD_ATTR in the badi CRM_MKTPL.
But.... i'm a bit confused.
Has someone already done this kind of thing? Can someone help me understand a bit more this method on this BADI?
Thanks a lot.
BR

Hi,
Arjun Pawar. Can you show me an example how did you used the BADI CRM_MKTPL to defaulting the value of status profile please???
Is really what i need.
Thanks in advance
BR

Similar Messages

  • BADI CRM_MKTPL and Status Change button! (Hide the standard system status)

    Hello,
    In transaction CRM_MKTPL, i need to delete some status that appears when i click on button Change status.
    I am trying to use the BADI: CRM_MKTPL using the method 'GET_DROPDOWNBOX_VALUE', but i didn't get what i
    want because this method is only valid (i think) for Listboxes for a field and not for a button, that is my
    requirement.
    Also i am trying to use the method 'p_fill_dropdown_listbox', but i don't know how to use this, and where, in
    whick part of the BADI CRM_MKTPL.
    I want to hide the standard system status in the dropdown list.
    Any ideas?
    Thanks in advance
    Best regards
    Message was edited by:
            yukimai maio

    just check in your badi there is any option is there for menu area customization or not in the implementation you can find attribute,interface ,subscreen like tab there check any menu area tab is there or not.. if it is not there then try for any menu exit and lastly you can try for transaction variant tcode SHD0.
    regards
    shiba dutta

  • CRM_MKTPL System and User Status coding

    In Market Planner (CRM_MKTPL) you can change system status (this is different from other areas of CRM)
    I've set up a status profile with system status.
    I've coded a BADI CRM_MKTPL to make sure users can only pick system status.
    But how (in the BADI) can I change the system status (There is a Status_change method in this badi) but I can't see the system status or see how to change it.

    sounds like you only want to show user status and not system status
    In the badi, there is a method status_change
    data: ls_bal_s_msg type          BAL_S_MSG
    if im_user_status is initial AND
         im_check_mode = 'X'.
        ls_bal_s_msg-msgty = 'E'.
        ls_bal_s_msg-msgid = '???'.
        ls_bal_s_msg-msgno = '???'.
        append ls_bal_s_msg to et_return.
        exit.
      endif.
    Where ??? is your own message id and number defined in SE91.  The system never shows the message, but takes the hint that you don't want the system status displayed.

  • Transaction CRM_MKTPL and Profile

    Hi,
    In transaction CRM_MKTPL - Marketing Planner I need to set by default the field Profile (CRM_JSTO-STSMA).
    I'm trying to use the method MODIFY_FIELD_ATTR in the badi CRM_MKTPL.
    But.... i'm a bit confused.
    Has someone already done this kind of thing? Can someone help me understand a bit more this method on this BADI?
    Thanks a lot.
    BR

    Hi,
    Arjun Pawar. Can you show me an example how did you used the BADI CRM_MKTPL to defaulting the value of status profile please???
    Is really what i need.
    Thanks in advance
    BR

  • Is there a badi at deleting a campaign

    I creat a Ztable whose key field is compaign id.  IF a compaign is in the Ztable , the user can delete the campaign in standard TCODE.
    BADI : CRM_MKTPL
    METHOD : STATUS_CHANGE
    METHOD : CHANGE_ICON
    After activing the two methods , the program can be broken in deleting a campaign.
    But i dont like the method names. 
    Is there any good solutions?

    Hi,
    Try these badis
    <b>
    CRM_MKTPL_ALLOC_UI
    CRM_MKTPL_ALLOC_BADI
    CRM_MKTPL_ALRULE</b>
    all these badis are called during deletion process.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • CRM_MKTPL get SALES_ORG data

    Hi,
    I'm creating Trade Promotions from the Marketing Planner and I'm implementing the Badi CRM_MKTPL.
    I cannot find where to get sales area data.
    There is the structure IM_MKTELEMENT I can access from the methods but the fields SALES_ORG, DIS_CHANNEL, DIVISION are not filled.
    Also I know I can make an instance of class CL_CRM_MKTPL_APPL_BASE and from there I can access buying dates but I cannot find sales area data.
    Could you help me?
    Thanks in advance,
    Piercarlo

    We found.
    In the attributes class.
    Bye,
    Piercarlo

  • Re: marketing plan and campaign element

    Hi Dipesh
    Iam facing somewhat similar issue.
    My requirement is that everytime i want to create a new number for the campaign element. We are using the BAdi CRM_MKTPL to generate the Marketing/Campaign Plan number. And using the Coding Mask to generate the campaign elements. But when we delete some campaign elements and create new ones, the system used the same Ids that are previously deleted. I want only new number to be generated, i do not want to use the deleted Ids.
    How to solve this issue? Please suggest me some solution.
    Thanks,
    Raju

    Hi Rajesh,
    This is happening b'cos the Marketing Projects (Plans, campaigns and elements) which u r trying to upload are with same name (External ID) which u have deleted, try either (Rename)change the name of u r marketing Projects while uploding in system.
    System error : The external ID is already used in the description of another marketing project. To avoid data inconsistencies in SAP BW, the external ID cannot be reused.
    Regards,
    Dipesh.

  • Note 724295, cl_crm_mktpl_appl_bas- partner_assign_create, partner process

    Hello together,
    in Marketing Planner you can customize a partner sheme but the rules are not computed automatically.
    The SAP note 724295 describes that the BAdI CRM_MKTPL with method set_attributes has to be implemented.
    To run the partner processing you have to call cl_crm_mktpl_appl_bas->partner_assign_create.
    I get problems with filling the parameters and the documentation of the class doesn't help.
    Does anybody implemented a solution?
    Especially the usage of parameter IM_PARTNER is interesting for me.
    Regards
    Arndt

    Please see if this helps 642305 Dump ITAB_ILLEGAL_SORT_ORDER
    regards.

  • BADI for PRODUCT tab in CRM_MKTPL

    Hi,
    we have to control the entered products and maybe delete after this check in Product tab in transaction <b>CRM_MKTPL</b> - trade promotion.
    I need a BADI when the products are entered in this tab. I find the badi definitions like <b>PRODUCT_ID_R3_ADJUST</b>,  <b>COM_PRD_ECM_ACTIVE</b>, <b>COM_PRODUCT_ADD_DATA</b> but implementation can't created for these definitions, the error message returned like this <b>"BAdI definition COM_PRODUCT_ADD_DATA is only provided for SAP internal use"</b>.
    Is there any BADI that controls the entered products? Or is there any other way to control the products??
    I need an urgent help

    yes..you can use  above Badi..
    check this thread for sample..
    Re: New tab and it's updation in VL31n

  • Userexit/BAdi to run custom code on "Save" in CRM_MKTPL

    Hi,
    I am trying to identify a userexit or BAdi I can use to run some custom code during the SAVE event of the CRM_MKTPL transaction.
    My background is mainly with ECC and I have no experience doing this in CRM. What steps are required to achieve this?
    Thanks,
    Will

    Hello
    I can see it by entering SE18-> Badi Name CRM_MKTPL_OL_OBJ -> Open the dropdown in the left hand pane and choose "Interface".
    How did I find it? Experience, I had a similar issue, but didn't remember the name, so I went to SE18, open the matchcode and chose "information system". Since transaction CRM_MKTPL belongs to package CRM_MKTPL, I enter this as a search criteria. I found 10 hits, but only CRM_MKTPL_OL* ones sounded right to me. A little navigation and...voilà!
    Sometimes, you can also run report SNIF, but it didn't help in this case.
    Regards
    Joaquin

  • CRM_MKTPL BADI

    We have couple of custom fields (added by EEWB) at Marketing Plan and Campaign level.
    Few custom fields on Marketing Plan level need to be inherited and greyed out at Campaign level.
    I am not able to figure out which method in CRM_MKTPL badi should be used (for inherit and grey out).
    Which method will have details about Marketing plan (parent) as well as Campaign (child) custom field data?
    Thanks
    Message was edited by: Jitendra dagur

    You should be able to use Check_Attribute & Set_Attribute. Check attribute is called each time information is fetched of a particular marketing plan object. Set attribute is called whenever you try to save something for a marketing plan object.
    You should be able to fetch all info about child & parent objects even if they are not available directly.
    Hope this helps.
    Regards,
    Kaushal

  • BADI for CRM_MKTPL

    Hi everyone,
    I want a BADI for transaction CRM_MKTPL that, when I push save bottom execute the BADI. I try with others interfaces (IF_EX_CRM_MKTPL) but they have many methods and they execute many times quen push "SAVE" (I want that only execute one time, becase y want to do an insert into a Z-table)
    Thanks

    I ran the crmd_mktpl application in PCUI which has a save exit but never found it in the GUI.
    How did you solve this one?

  • Userexit, Badi, ... for the SAP Solution Manager: SOLAR02

    Dear community,
    i need to find a badi or a userexit for the SAP SolutionManager in the transaction code SOLAR02. I have no idea how to find theses things on my own. Has anyone an idea or can give me an advice how to find them or which Badi I can use?
    Many thanks in advance.
    Christian

    Dear ALL,
      I have got he table ARCDEL_OBJ ( Control Table for Archiving / Deletion) table I guess in this table  the archiving objects will be stored.
    The objects i got in this table are
    CA_BUPA
    CMS_PRJASM
    CRM_ACT_ON
    CRM_COMP
    CRM_IPMCON
    CRM_IPMPUC
    CRM_IPMSAC
    CRM_LEAD
    CRM_LEAS
    CRM_MKTPL
    CRM_MKTSC
    CRM_OPPT
    CRM_RAGR
    CRM_SACONT
    CRM_SALDOC
    CRM_SDBPBL
    CRM_SDBSOL
    CRM_SERORD
    CRM_SRCONT
    CRM_SRVCON
    CRM_SUR
    CRM_UBBPOL
    CRM_WTYCLM
    PRODUCT_MD
    CAN I ARCHIVE ALL THESE OBJECTS OR WHICH OBJECT HAS TO TO BE ARCHIVED IN THIS..............?????
    PLEASE LET ME KNOW THE  IMPACT OF ARCHIVING THESE OBJECTS.
    Regards,
    umesh

  • Reading dates in asic sata tab of CRM_MKTPL

    Hi, I enter the plan start date and plan end date in basic data tab of CRM_MKTPL and I want to use this data in Key Figures tab. In Key Figures tab, we use a badi that is copied from the CRM_MKTPL_COND_IF definition, we use the method COND_READ_AFTER_GET. How can I get the plan start date and end date in this badi?
    Thanks..

    Hi YGG,
    It would of help if you would of specified the CRM Release you are running on.
    Since you are using SAP Gui transaction CRM_MKTPL I assum you are using either 3.0 or 4.0.
    In both cases you can use FM <b>MKT_ELEMENT_READ</b> where you pass in the Guid of your mkt project and look back the exporting parameter. For example for a campaign you will look at exporting paremeter <b>EX_CAMPAIGN</b> (field <b>PLANSTART & PLANFINISH</b>)
    Sincerely,
    Alain Gauthier

  • BADI for changing fields during Creation of BP in CRM

    Hello to everyone,
      I need to find a BADI (or other way) to default several fields during BP creation in CRM (4.0 SR1 SP9). The fields I will like to set are TAX TYPE, TAX NUMBER, TAX CATEGORY, etc.. I have found the BADI BUPA_TAX_UPDATE but i dont see any suitable parameters (structures) to changes these fields. Please advice and thanks in advance.

    Hi
    If you use function BUPA_NUMBERS_GET then your BP number will already be buffered and you can avoid a DB read. It may also be that the BP is not in the DB yet anyway.
    You can only pass one GUID in at a time - loop through IT_CHANGED_INSTANCES into a variable of type BU_PARTNER_GUID and pass that into the function as input parameter IV_PARTNER_GUID.
    Cheers
    Dom

Maybe you are looking for

  • Error in Installing Adobe Reader

    I'm trying to install Adobe Reader and everytime, it gets to 96% and an error message pops up telling me that it can't finish installation until I close Adobe Reader- however there is nothing open except for the installation window and the error mess

  • Printing/View options for iCal

    Is there any way to only view content on the weekends, in a printer ready format? Is there a way to only print specific dates (for example weekends only) to view on a print out?

  • Missing fonts in font book

    Not sure what has happened after I restarted my iMac - I have lost the majority of the fonts in Font Book. Is there a way of finding or reloading them?

  • Can anyone see why this isnt working...?

    for line in $(grep "^333#" payRec* | cut -d# -f2); do ((total+=line)); done grep/cut pipeline is returning three integers, 38, 20, 20. I want $total to keep a running total, adding them as it goes along. Instead it gets the value of some seemingly un

  • Locking SqlText

    Hi, I want to know the Sql Statement (DML) which needs to be commit / rollback and may cause the other sessions locking the record. In V$Session view's Sql_Id, I unable to find out the Id of this specific query (here I found Null Id for this query).