Populating marketing attribute of bp in new field created by eew in crm

Hi all,
    I have created new field in transaction types(lead opp, quotation and order) through eew.
    how do i populate a value of a marketing attribute that i have maintained for a business partner(TABLE for marketing attribute:- AUSP) in the new fields created in all the transaction types.
    Can anyone help me in how to achieve this as it is an high priority issue for me?
    I have tried doing by writing a code in pbo of the screen in which fields are created but it gives me a dump at item level if item is maintained otherwise it works but item is compulsary.
Regards,
Rahul

Hi Rahul,
Check the BADI 'CRM_CUSTOMER_H_BADI'
Implement the method 'CRM_CUSTOMER_H_MERGE'
First of all select the data from the table.
Fill in the appropriate corresponding field in the structure 'CS_CUSTOMER_H_BADI',of the method, with the data extacted. Finally(very important), In the table 'IT_INPUT_FIELD_NAMES', of the method, append a line with the field FIELDNAME containing the name of the field in the Customer_h structure and field CHANGEABLE containing space.
I think this should solve your problem.

Similar Messages

  • What are the steps for adding a new field to the ST for CRM 2007?.

    Yeah, I know it's a basic question. I'm fairly familiar with CRM 5.0 but 2007 is new to me and there a good few changes.
    If I need to add a new field (probably with some processing to set its value) to the Service ticket what would be the steps I need to take to achieve this in CRM  2007?.
    Your help would be much appreciated.
    Jas.

    Are we talking about the EEW Business objects displayed in the EEWB as there is no business object called 'CRM OPPORTUNITY', but there is one called 'OPPORTUNITY'. Just wanted to make sure I was on the right track.
    So, as I need to change the service ticket it would mean that my transaction type will be service request,or whatever the shorted value is, is that correct?.
    I can see the transaction types in table CRMC_PROC_TYPE_T, although it looks like I need to pick SRVO (Service order) at a guess, and if this is right I'm looking for the EEW Business object to match. But it feels like guesswork to me. For example, I could choose EEW Business object 'SERVICE_TRANSACTION' which has an Extension type of 'CUSTOMER_H', or I could choose EEW Business object 'SERVICE_CONTRACT' or 'SERVICE_CONFIRMATION', although the last is unlikely. But, my point is there is so much open to interpreatation, and I'm expecting it to be more exact. Perhaps I'm just missing something.
    Jas.
    Edited by: Jason Stratham on Sep 4, 2009 2:30 PM
    Edited by: Jason Stratham on Sep 4, 2009 2:39 PM

  • Extractor (2lis_11_vaitm) does not takes new field created with new domain

    Hi,
    I created a new data element and domain in ECC
    Source system ECC:
    1. I created a new Z data element and Z domain (char 60) in ECC.
    2. I created a new Zappend Strcuture and added a new field with the above data element to a extract structure of 2LIS_11_VAITM.
    3. In RSA6, I unchecked hide column and checked Field column.
    4. I wrote an ABAP code in CMOD to populate tis field.
    5. I can see the data in that field in RSA3 of this extractor.
    BI side:
    1. I replicated the datasource.
    2. I could see that field in the fields tab of the datasource. (NOTE: In the field tab, against the column u201Ctransferu201D that field value is unchecked.)
    3. When I check the PSA table, I donu2019t see this field.
    4. Plus I donu2019t see this field in the right hand side of the update rule also (3.5 flow) or in the transformation (7 flow).
    I unchecked the field column and activated the datasource in RSA6 and replicated it in BI. Then also the same problem.
    Is there anything that needs to be done for this Datasource so that I can get this field in the update rule and transformation.

    Hello.
    I was checking this issue, and all the enhancements with fields need to have a customer-exit to populate this fields,otherwise they will come BLANK.
    As those fields are not delivered by SAP and are not in the original datasource(RSA5) from Business content, this is related to customer's enhancements.We can only see these fields in the datasource enhanced by customer(RSA6).
    To have the proper values assigned to those field, you should write an User Exit program. This program must be created to fill the enhanced fields as they are not filled in the same way as the SAP delivered
    fields.More details about this process you can check note 576886.
    576886-Change to user-defined fields not extracted.
    This note is an example for some datasources regarding what need to be done.
    Thanks.
    Walter Oliveira.

  • New fields created in MDM Console not visible on Portal iViews

    Hi All
    I would like to ask you. I recently encouraged very strange and annoying problem. We are developing Vendor repository. Menatime we have created some iViews and pages on the Portal. All of them are displayed from Main table. We can see all fields and added/deleted records.
    However I can not add any new fields (from MDM Console main table) we have created. That is whired because I only can see all fields beeing in repository for long time now, but all new fields (from that same table) ar not visible on portal.
    I tried few options with creating new and different iViews. No help. All the time I can vise old fields from repository but new one are not available.
    Can you plase advice what is/ may be wrong?
    Thank you in advance.
    BR
    Rafal

    Hi All
    After restarting server problem solved. That mean there is a casching problem. After investigation here is service to restart:
    J2EE engine
    Thank you for help.
    BR
    Rafal
    Edited by: Rafal Paczynski on Sep 29, 2011 12:21 PM

  • Text not visible for the new fields created for Data Source Enhancement

    Hi .... I am working on Data Source Enhancements. I created few fields and append then to the Data SourceStructure . I also have populated the fields with data. The problem with a field is that I am not getting the text displayed in RSA3 ..Instead I am getting the field name itself.
    Example:
    FieldName       DataElement    Datatype  length  dec           Text
    ZZDOCTY                AUART         CHAR      4         0      Sales Document Type
    ZZNOODL                ZD_NODL     NUMC      1         0      Number of Deliveries
    In the above example the field ZZDOCTY is showing me the description in RSA3 i.e. Sales Document Type whereas the field ZZNOODL is not showing the text. Instead it is directly giving the fieldname ZZNOODL. Is it because of the fact that I created a Data Element for that field ??? and as I did not use the predefined data element as I did for ZZDOCTY???? Please reply me soon.....I need to display the text as "Number of Deliveries"  instead of ZZNOODL........I am working on 7.0.....

    May be the fields are hidden.
    Go to RSA6 select your data source and on the tool bar there will be a pencil butonto change. Click that and at the bottom, you will lots of check boxes.
    You go the field that you have enhanced and see whether the HIDE boxes are checked. If so, uncheck them, save and execute RSA3.
    Ravi Thothadri

  • Marketing Attribute in Condition Table (Listing)

    Hi Guys !!
    Usage in a condition table for listings. Can a marketing attribute be added to the field catalog and used as part of the access seq when proposing a listing in an order or activity journal?
    Urgently Help needed.

    Hi Jacob,
    For any application,
    Go to the field catalog screen and click add new field button.
    Now just enter the field called Test and then Enter.
    Now it will say that "Field test doesnot exist in tables KOM, KOMK, KOMP* etc where * can change with the application.
    Your duty is to include your new fields in all these structures. This can be done with the help of a technical guy in SE11 or SE12. For example if you want to include a field called Item category, then include the field say ITCG in these structures in SE11/12. Make sure that the new field shd start with Z.
    Now for the structures to update this field with the item category of the material, the technical coding needs to be taken in some of the user exits like
    userexit_pricing_prepare_tkomp in the include program MV45AFZZ for order transactions in pricing or userexit_pricing_prepare_tkomp user exit in the include RV60AFZZ for billing transactions.
    For other applications,like outputs, etc, the user exit and the include may vary.
    Once this is done, during pricing, the new field will be updated with the value in the pricing communication structures as per the code written in the includes, and using that value, we can base our condition records.
    Reward points if it helps you.
    If you need further info, please let me know.

  • Craetion of custom marketing attribute

    I want to create a custom marketing attribute.
    Whenever i am clicking on create marketing attribute in UI, the screen which opens in that i create a new marketing attribute set and assign marketing attributes from selecting the F4 help in attribute field, but i want to add a custom marketing attribute and select that from the F4 dropdown, But am unable to do that,
    Can anyone please let me know how to solve the same.

    Hi Suvadip,
    For creation of marketing attribute set,
    1. Select Create marketing attribute option and maintain the required details eg: Valid for etc
    2. Use the F4 option to use the existing marketing attributes
    3. For New Attributes, select the option "Insert" and maintain the details eg: Format, entry required etc
    4. Select the option "insert" in  "Values" Assignment block (corresponding to the above marketing attribute) and maintain
    the ID & Value. And Save.
    This creates new marketing attributes.
    Hope this info helps.
    Regards,
    Rashmi

  • Getting error while creating new fields

    hi all,
    i am getting an error when i am adding a new field thru eewb to a txn.
    error message "Definition CRM_BTX_ADD_NEW_FIELDS is of the type 'TSK' and should run on an external system. This is not permissible. Only definitions of type 'SEQ' may be created for external systems."
    plz helep me out
    and i have few doubts
    1 in web ui to display these new fields do we need to write a program
    2. new field values are stored in table do weneed to create any table ?
    3. do we need to write any program so that the values will be stored in tht table?
    thanks
    madhuri
    Edited by: madhuri pasupuleti on Apr 27, 2009 1:33 PM

    Hi Madhuri,
    For error message "Definition CRM_BTX_ADD_NEW_FIELDS is of the type 'TSK' and should run on an external system. This is not permissible. Only definitions of type 'SEQ' may be created for external systems."
    - Check SAP Market Place for any notes on "CRM_BTX_ADD_NEW_FIELDS"
    1 in web ui to display these new fields do we need to write a program
    - No need to write any program to display new fields in WEB UI. Using the EEWB will automatically create code behind the screens. All new fields created will be available in base table (example: for business partner - BUT000). You can explore the fields available functionality in WEB UI to populate them
    2. new field values are stored in table do we need to create any table ?
    - No, EEWB will automatically creates customized structure in code behind the screens
    3. do we need to write any program so that the values will be stored in tht table?
    - No, I don't know how to add values to the particular field(s) but sure that you don't need to write any program to store the values in customized tables
    Cheers,
    Peter J.

  • Marketing Attribute Mass not working with CRM_MKTBP_BPS_OF_TG_ASSIGN_ATT

    Hi,
    I am trying to assign a marketing attribute to target groups I have created and saved in Web UI but the assignment is not working in SE38.
    => The program CRM_MKTBP_BPS_OF_TG_ASSIGN_ATT runs but displays "the charachteristic has been evaluated for 0 business partner(s)".
    Knowing that
    - the target group was saved un Web UI
    - the target group was selected in the program CRM_MKTBP_BPS_OF_TG_ASSIGN_ATT
    - the old and new values set as input
    Any ideas of what might have gone wrong?
    Thanks in advance,
    Eli

    Hi,
    check notes:
    Note 1585130 - ATT: Problem with report:CRM_MKTBP_BPS_OF_TG_ASSIGN_ATT
    Note 1561548 - SEG: problem with report CRM_MKTBP_BPS_OF_TG_ASSIGN_ATT
    Denis.

  • Alert for Marketing Attributes

    Hi
    I am sorry but I donu2019t understand the solution presents in the last questions on this issue.
    I am using CRM 2007 and I have marketing attributes maintained on the Sold-to party business partner. I want this marketing attribute to be displayed in the interaction center when the agent confirms the account.
    The alert for bringing standard First Name, Last Name & City works fine.
    My Question is How and Where can i add the marketing attributes parameter so when I will create ALERT I can choose it from the list of attributes that appear in the Current costumer (beside First Name, Last Name & City)?
    Thanks & Regards
    Merav

    Hi Merav,
    Create Marketing attributes using the transaction CRMD_PROF_CHAR
    Maintain the Attribute set using the transaction CRMD_PROF_TEMPL
    And assign the Set to a Business Partner
    Define Business Data Context (BDC) Attributes for the field Group BUSINESS_PARTNER create an attribute with Xpath Xpression
    //CURRENTCUSTOMER/BuilMktAttributeRel/VALUE
    For Ex  ZMKTATTRIBUTE
    Now create an alert using this attribute ( you have to select this Business Partner list in the attibute list of the alert )
    Then create a rule for ex if the current event is BP confirmed then trigger the alert
    This should work!!!
    Regards,
    Kiruthika

  • Adding new field to sale order BDOC and replicate to R3

    Hi all,
    I'm trying to map the new customize field in CRM to field VBKD-VSART in R3.
    The reason behind this  was because my customer would like to have field shipping type appear in CRM order, but since this field is not provided by SAP, I've to create it. 
    What I did was:
    1) Create new field VSART via EEWB in CRM. This is done and working fine, the field appeared in 'customer fields' tab.
    2) Put this new field to BDOC in CRM.  I believe this is done when I created via EEWB. I think it use BADI CRM_BTX_EXTENSIONS , implementation CRM_GEN_OBJECTS for this part.
    3) Put BDOC into BAPI in CRM.  This is the part that I'm having a problem with.
    I found that I need to use BADI CRM_DATAEXCHG_BADI for that and I've checked example from implementation CRM_BTX_EEW_DATAEXCH. However, it only contain example to input field in VBAK, VBAP and VBEP.  Can anyone guide me on this part?
    4) Map BAPI to R3. I think that I need to use userexit MV45AFZZ form USEREXIT_MOVE_FIELD_TO_VBKD for that. But what is the incoming structure that I could use to map with VBKD.
    Any help would be appreciate, Thank you in advance.
    Gilbert

    Hello Gilbert,
    Please find if this helps,
    BDOC's to update the custom fields in R/3 from the CRM sales order
    Replication of new customer fields in order to R/3
    regards,
    Muralidhar Prasad Chatna.

  • New field for tax classification (Pricing)

    Hi
    The scenario is - we need to map a taxes from R/3 to CRM. for this we cant use MWST , as this tax condition is already being used in the current process.
    If we use another condition type then the tax classification for Material doesnt get picked in CRM. So according to the SAP note -336235, we have done the development.
    +The developments includes + - new field created for material tax classification purpose and this field assigned to Pricing structure KOMP and KOMG. we have also maintained condition record by using this field , but the data is not being read by this field during the calculation of taxes in sales order (R/3).The data is exist in material master -Sales org1 tab -Tax classification (1 or 0).
    Could anyone let me know, that how the tax classification data can be read from material master for this new customized field.
    Thanks in advance.

    To use a custom field in pricing, you need to do two things:
    1.  Add the field to KOMP and KOMG and
    2.  Move the appropriate value in a user-exit.
    Your post says that you have done 1. above.  Have you coded the user-exit for 2. above?  The user-exits are in MV45AFZZ.

  • How to create an marketing attribute for the busines partner

    hi guys,
    can any body help.
    how to assign/create the marketing attribute set to the business partner.
    is there any function module which to create the marketing attribute for the business partner by passing the BP GUID.
    if any body is having an sample code can u please post it.
    regards
    viswag

    Hi Viswa,
    In CRM 4.0, marketing attributes set can be created at T-code [CRMD_PROF_TEMPL]
    The created attribue set can be assigned to BP at T-code [CRMD_PROF_BP]
    The other way you can open the BP, in marketing at marketing attributes tab your can assign the created attribute set.
    regards
    satish kumar
    *-Reward points if found helpful.

  • Adding new field at leasing contract using EEWB and using it for pricing

    Using the Easy enhancement workbench, I have created a new tab containing a new field at the item level of contract. Then in SPRO, in the field catalog, I added a new entry using the same field name and data element name. Created a new condition table with this new field. created access sequence and assigned it to a condition type.
    I tried to maintain condition record for the condition type but initially it was showing some error for which I had to implement a new method for the BAdi /SAPCND/ROLLNAME.
    Now. condition record is also maintained successfully.
    But, the problem is that the value is not reflected at the contract.
    Somehow, the condition record is not being picked up.
    Please suggest some solution.
    Regards,
    Anindita RoyChowdhury.

    Hi Anindita,
    Stpes mentioned in your questions are fine.
    You have created new Screen @ item level in Order txn, right?
    Did u checked value passed to the method of BAdI ?
    As per my knowledge, pricing call must have happened before you fill the Zfield which u added in new screen. Hence no value in field and no effect on pricing.
    Regards,
    Deven

  • Adding new field using EEWB and using it for Pricing

    Using the Easy enhancement workbench, I have created a new tab containing a new field at the item level of contract. Then in SPRO, in the field catalog, I added a new entry using the same field name and data element name. Created a new condition table with this new field. created access sequence and assigned it to a condition type.
    I tried to maintain condition record for the condition type but initially it was showing some error for which I had to implement a new method for the BAdi /SAPCND/ROLLNAME.
    Now. condition record is also maintained successfully.
    But, the problem is that the value is not reflected at the contract.
    Somehow, the condition record is not being picked up.
    Please suggest some solution.
    Regards,
    Anindita RoyChowdhury.

    Hi Anindita,
    Stpes mentioned in your questions are fine.
    You have created new Screen @ item level in Order txn, right?
    Did u checked value passed to the method of BAdI ?
    As per my knowledge, pricing call must have happened before you fill the Zfield which u added in new screen. Hence no value in field and no effect on pricing.
    Regards,
    Deven

Maybe you are looking for