Default marketing attribute not assigned by BAPI.

Hi,
I have a requirement where I am creating Person type BPs in CRM from
XApps. I am using the standard bapis for this purpose.
In CRM, I have created a Marketing attribute set. I have made this
marketing attribute set default for Person type BP.
When I create a new person type BP in SAP GUI, this Marketing Attribute
set is getting assigned to the BP.
However , when I create a person BP using the
BAPIs 'BAPI_BUPA_CREATE_FROM_DATA' and 'BAPI TRANSACTION COMMIT', the
BP is created but the marketing attribute set is not getting assigned.
I think the configuration should work in both the cases.Please let me know whether I am missing out something.
Thanks,
Samrat..

Hi,
i am trying to upload characteristics data for class using BAPI_OBJCL_CHANGE module. Now when people who knows this function module ,they must be knowing that we have 3 tables there for Char data,numeric data and currency data. Now when i upload the data from excel sheet in to SAP ,i put space in some of the cell with numeric data type but this function module put 0 in those characteristics instead of space.Now user want to see space there instead of 0. Is there any way around to have space rather than 0.
i am updating the customer classification with the function module BAPI_OBJCL_CHANGE:
call function 'BAPI_OBJCL_CHANGE'
exporting
objectkey = w_objkey
objecttable = 'KNA1'
classnum = w_classnum
classtype = '011'
keydate = sy-datum
tables
allocvaluesnumnew = i_ze_valnum
allocvaluescharnew = i_ze_valchar
allocvaluescurrnew = i_ze_valcurr
return = i_return.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = c_x.
In addition, I am checking with ENQUEUE_EXKNA1/DEQUEUE_EXKNA1 whether or not the customer master is locked before executing the code above.
Thanks&regards,
Naresh

Similar Messages

  • Marketing attribute not assignable with language PL

    Hi *,
    I have detected a strange behaviour when maintaining "some/special" marketing attributes for BP in logon language PL.
    The affected attributes are configured as follows.
    Format                   No. Chars      Dec.Places      Meas. unit      Sing-val
    Numeric Format         3                    0                    %                    X
    The usage for EN/DE is fine but when trying to maintain a value like '30' using logon language PL the below mentioned error occurs. But obviously I don't use intervals etc. Just a single figure.
    Attributes with the following settings do not lead to an issue:
    Format                   No. Chars      Dec.Places      Meas. unit      Sing-val
    Numeric Format        10                    0                                          X
    DETAILS ON ERROR-MESSAGE
    Diagnosis
    Possible causes:
    Intervals can only be specified if you have set the indicator Intervals
    Allowed.
    You must specify the interval in the form value 1 - value 2 (there must be a
    space both before and after the hyphen). No other character except a hyphen may
    be used to separate the values.
    A value can contain up to the same number of decimal places as specified in
    the Decimal Places field.
    The value in the field Number of Chars defines the total number of
    characters, including decimal places (for example: If the number of characters =
    3, and the number of decimal places = 1, then 20.1 is valid, but 300.1 is not
    valid).
    You must define the decimal point and the thousand separator according to
    your user settings.
    Procedure
    Use the value help, if available, to select a permitted
    value. If there is no value help available, check the data type of the marketing
    attribute."
    To exclude the possibilty the attribute could be "damaged" I created a new one with same options and got the same language dependend behaviour.
    Any ideas?
    Kind regards
    Thomas

    Any ideas/impressions?

  • Marketing Attributes not updating in BP through Suvery

    Hi friends,
    I m working in CRM 5.0, i want to update marketing attribute of BP using survey response, i have created survey which include marketing attributes, in survey setting i have maintained
    Callback to PBO    CRM_MKTBP_SVY_ATTRIBUTE_PBO
    Callback to PAI      CRM_MKTBP_SVY_ATTRIBUTE_PAI
    further i have generated survey url using BSP option, next i have assign this survey url  to  mail form, Customers/BPs can open the mail and able to fill the survey successfully, but when i checked in master data of BP no marketing attributes are assign to them(Marketing attributes are not updating).
    Please help me to resolve this,do  i will have to add marketing attribute anywhere in FM code ?? i have also read sap note : 638320 but no success.
    Thanks,
    Vivan

    Hello together,
    I would like to describe my own problem with updating Marketing Attributes in a Business Partner via a CRM Survey.
    Currently I am working with SAP CRM 7.0 EHP1. The Survey is maintained in SAP Survey Suite in the Application "Marketing".
    Furthermore I am using the following function modules:
    Callback to PBO CRM_MKTBP_SVY_ATTRIBUTE_PBO
    Callback to PAI CRM_MKTBP_SVY_ATTRIBUTE_PAI
    The Marketing Attributes should be updated within a Contact. This contact have assigned the role "Internet User". Behind this role I have defined my CRM User name.
    For testing the Attribute update I have generated an URL with BSP. Afterwards I opened this URL and logged in with my CRM User name. After filling in the survey and submitting no business partner were updated. It seems that the "conversion" from my CRM User to the CRM contact doesn't work. I think there could be a problem with the PBO and PAI modules. Because the functionality "Evaluation" within the Survey Suite shows a number of evaluated questionnaires and answers after submitting my survey.
    So my questions:
    Are the mentioned PBO and PAI modules up to date? (Last change date was in 2005)
    Is the Application "Marketing" within the SAP Survey Suite the correct one?
    I would be glad if anyone could give me tip for my problem. Thanks a lot and best regards,
    Oliver

  • Description of marketing attribute not transfered to MSA

    Hello,
    we have created new BPs in CRM Online 4.0 and assigned marketing attributes.
    After replication we've seen that the description of some attributes is not visible on mobile clients and clients on the workgroup server.
    Only the value of the attribute is shown but not the description. In CRM Online everything is still fine.
    I have found out that this happens obviously always with one special attribute set.
    Kind regards
    Thomas

    Hi,
    is this a different issue as already mentioned in thread
    [Table SMOAUSP not filled]?
    Long texts is customizing data and therefore doesn't come along with the BP master data but needs to be synchronized manually (in case it has been changed).
    Regards,
    Wolfhard

  • Default Marketing Attribute set for BP

    Hello,
    Is there a way to default the Marketing attribute set for a business partner record in CRM UI? I tried DO_PREPARE for BP_DATA/MarketingAttributesEL but it does not seem to be working. Any ideas?
    Thanks
    Rodney

    Try with BADI : BADI_CRM_BP_UIU_DEFAULTS

  • Navigational attribute: "not assigned"

    Hi all,
    I have a strange situation where I have a characteristic (0NOTIFICATN) in a cube (0QM_C10), where the (navigational) attributes of 0NOTICATN show up as "# not assigned" when I try to report on them.
    I have checked under master data maintanence for 0NOTIFICATN that for all notification the attributes have the value I expect.
    The attribute I am most interesed in is notification type (0NOT_TYPE), and I have found out that if I add the infoobj 0NOT_TYPE to the cube I can report on it. That means that instead of getting the notification type as an navigational attribute on notification I have to add it to the cube...
    (The same argument holds for several other infoobjects and several cubes.)
    Am I missing something obvious here?

    Thank you. That solved the problem.
    That is, it works in other cubes, that had the same problem, but it does not work with the cube 0QM_C10 that I have modified several times during my debugging...
    I get the error, that the infoobject 0NOTIFICATN__0NOT_TYPE does not exist. I have checked that 0NOTIFICATN is in the cube and that it is a navigational attribute.... 
    Regards,
    Christian

  • Data for navigational attributes # Not Assigned

    Hello friends,
    Our report is based on Multiprovider which is based on 5 cubes.
    These five cubes has one particular Characteristics which hasnavigational Attribute .
    We are using the navigational attribute directly under free characteristics Tab in Query.
    We are also using Characteristic in Query - for characateristic data is shown in report.
    In report we are able to see data as # Not Assigned for navigational attributes.
    When we checked data at info object level for that characateristic, correct data is shown for that navigation attributes.
    We have checked following settings
    At characteristic level - Uncheck Attributes only
    At cube level all navigational attributes are checked
    In Multi provider identification table - This navigational attribute is checked for all five cubes
    In Multi provider Navigational Attributes Tab - This naviagtional attributes is checked
    Activation of Master data was done once again
    we are not getting any other ideas, can any one please suggest us where the problem is?
    Thanks
    Tony.

    Hi Tony
    I have  the exact same problem. Did you find out what the problem was?
    KR Nete
    Edited by: Nete Grøn Jacobsen on Jul 14, 2008 1:51 PM
    I solved my problem
    1. Activate the navigation attribute(s) on the underlying basiscube, from which the query displays data
    2. Choose the navigation attribute(s) for all relevant basiscubes (multicube -> Change -> Button Identification)
    See also:
    KR Nete

  • No parameter tab for marketing attribute form in IC Web Script

    Hello Experts,
    When I am creating a survey as part of a script, there is a tab "parameters" where I define, which survey to use.
    I do not find parameter tab for marketing attributes in script construcion screen (SE80 - CRM_IC_ISE).
    So how do I define which attribute to use?
    Hoping for help. Points will be awarded.
    Best regards,
    Cristina

    Hi,
    The Marketing Attributes are there in the answers.
    In the repository try using
    Answers >> Dynamic Answers >> Default >> Marketing Attribute
    When you use this in the script (Question), you will see one of the Tabs below called 'Dynamic Content Parameters', here you can specify the details.
    Hope this helps you.
    Regards,
    Rajiv

  • Marketing Attributes BP relationship Table

    HI CRm Experts,
    Can you please help me in knowing table in which Marketing attributes and BP relationship gets stored. I am aware of all table for Marketing attributes my requirement is when a marketing attributes is assigned to a BP what table it gets stored and also if some one can give me list of all tables then it would be helpful
    Thanks,
    Ashutosh

    Hi,
    INOB: Object ID, BP Number
    KSSK: Object ID, Attribute set ID
    CABN: Attribute ID and name
    CAWN: Attribute name and values
    AUSP: BP GUID, Attribute Name, Value, Object ID
    KLAH: Attribute Set Name, ID
    Regards,
    DD's

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

  • Problem in making Marketing Attribute set Default

    Hi Experts,
    I am facing some issue while making selection of marketting attribute set during BP creation
    I was able to make a default set in individual account but there is some other set for corporate account which i need to default while
    making the account..
    As both individual and corporate accounts are going to same componet and views and context nodes i am not able to differntiate
    which to select when...
    Pls suggest some solution,its urgent..
    Reward points will be awarded...
    thanks,
    SA

    Hi,
        In BuilHeader which is the root object for Business partner has one field named Category. If it is 1 then it is a person so it is an individual account. If It is 2, then it is an organization, so it is a corporate account.
          So please check the category in your marketing attribute defaulting logic and default different marketing attribute set.
    Regards,
    Manas.

  • Can not delete marketing attribute set

    I am trying to delete an 'Attribute Set' & Attribute.  I have managed to delete the attribute but when trying to delete the attribute set i get the error - Attribute Group ZIC_PTS_BP Still Contains Business Partners.
    I have ran - CRM_MKTPFTPL_DELETE_ATSET which seemed to delete all the assigned entries but I still can't delete the attribute set
    any ideas?
    regards
    Barry

    The attribute set is not geeting deleted since it has been assigned to some buisiness partners, which can be seen in the marketing attributes tab page of the business partner.
    Delete the assignment first, than only you will be in a position to delete your attribute set.
    *If helpful, Do reward points*
    Regards,
    Shalini Chauhan

  • Marketing Attribute Sets - BP Assigned

    Can anyone help:-
    I need to locate the table where Marketing Attribute Sets are assigned to the Business Partners
    I can see where attribute vales are stored but not attribute sets
    regards
    Barry

    Hi Barry,
    Tables are related with Markting attributes:
    CABN
    CABNT
    CAWN
    CAWNT
    AUSP (relation between business partner and assigned marketing attribute values)
    KLAH
    Function modules:
    CRM_MKTBP_READ_ALL_BPS - returns all the BPs which have a specific attribute set assigned
    CRM_MKTBP_READ_BP_DATA - returns the mkt attribute values for each partner.
    parameters:
    IV_GUID - BP Guid
    IV_PROFILE_TEMPLATE_ID - must be the content of KLAH-CLASS
    Reward Points if Helpful
    Cheers
    Manohar

  • Urgent: How to Remove assignment of a marketing attribute for an BP

    Hi Guys,
                In my project we are  maintaining two marketing attributes for all the business partners.
    But there is a need now based on some condition we want to remove one of the assignment for the BP (I.e which ever BP matching the condition)..
    I dont want to remove this manually  using the transaction code..
    Is there  any function module to remove the assignment of the marketing attribute  for the BP.
    Would appreciate an early reply...Since it is very urgent...
    Regards,
    Sundar

    HI Sundar you should follow the following steps.
    1. Create a target group in the segment builder selecting all the business partners that meet your criteria.
    2.  Go to the Expert tools (transaction CRMD_MKT_TOOLS)
    3. Select the Deletion of an Attribute for All BP Assignments to a Target Group  option.
    4. enter in the name of your target group, the attribute set and attribute you want to remove.
    Nima

  • URGENT: How to remove the assignment of marketing attributes for an BP

    Hi Guys,
    In my project we are maintaining two marketing attributes for all the business partners.
    But there is a need now based on some condition we want to remove one of the assignment for the BP (I.e which ever BP matching certain condition written in my BP upload program)..
    I dont want to remove this manually using the transaction codes or the segment builder
    Is there any function module to remove the assignment of the marketing attribute for the BP which i can use in my upload program
    Would appreciate an early reply since it is very urgent...
    Regards,
    Sundar

    Hi Sundar,
    Most Easier approach is to code a BDC based on trasaction : CRMD_PROF_BP. in the search field pass BP ID, you will get the BP attributes and you can delete it their and then.
    Save.
    Data is back in Database.
    All will happen in BDC in background.
    Else you can use
    FM 'CRMT_MKTBP_WRK' to delete the assignments.
    This is the basic FM called to delete marketing attributes assignment.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

Maybe you are looking for

  • Missing module help, Please :)

    Hope someone here can help.  I have an old Blackberry, 8800 with OS 4.2.1.72   It's still a great phone and I don't want to replace it, (it's unlocked) and I currently use T-Mobile for my provider, but after downloading an App I'd like to use (Mercha

  • ITunes 10.1 now updated, trying to update contacts on iphone 3

    Hi, I have a friend who has a Powerbook G4 12" and an iphone 3. There are no contacts on the Powerbook, but all the contacts on the iphone. The iphone is currently synced to a PC and they want the contacts on the phone to be transferred to the Powerb

  • User Profiles across multiple hosts

    I have three Macs: iMac 27 MBPr13 MBA13 All running OSX Mavericks 10.9.4. We also run a home network with a LaCie 5BigPro 10TB NAS. All my user profiles on the hosts are set up for administrator privileges. Lately, we have had trouble with document f

  • Pictures lost in book after upgrading to ilife

    I made a book the past 6 months and I just went to order it and a lot of my pics are coming up with an "!" error. The book won't let me add them, and they aren't showing up in the book. I bummed cause this took forever, I don't wanna have to redo the

  • Refresh Servlets in WLS 7

              We recently upgraded from a 6 to 7 weblogic environment, and I cannot get my servlets           to reload without stopping and restarting the server. I have tried everything           and this problem is driving me crazy.           I had th