Skip to Content
author's profile photo Former Member
Former Member

Partner Marketing attributes

Hello,

I am trying to find a function module/BAPI that retrieves the Marketing attributes for a specific Partner. Please can you let me know if there is one.

Many thanks

Calvin

Add comment
10|10000 characters needed characters exceeded

5 Answers

  • Best Answer
    Posted on Aug 01, 2006 at 10:03 AM

    Hello Calvin,

    have a look at:

    CRM_MKTBP_READ_CHAR

    Regards

    Gregor

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 10:00 AM

    Hi Calvin,

    Maybe not quite what you're looking for, but the data you need can be found in the following tables:

    KLAH: Attribute Set Name, ID

    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

    You could make a query on these tables using SQVI. Perhaps somebody else can provide you with a FM that does this already.

    Kind regards,

    KZ

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 11:23 AM

    Thanks for the reply Gregor.

    This Function module does retrieve the attributes set and the attributes associated to the attribute set. It does however not retrieve the values assigned to the attributes. do you know how to retrieve these?

    many thanks

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 11:30 AM

    Hi Daniel,

    We have created an attribute set called zpassword for a partner. To this attribute set we have added 2 attributes called zquestion(with a value eg. what is your name) and zanswer(with a value eg. calvin).

    The function module that Gregor supplied me with i.e.CRM_MKTBP_READ_CHAR retieves these attributes but not the values. (i.e "what is your name" and "Calvin".)

    Do you know how i can retrieve these values?

    Many thanks

    calvin

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Calvin

      The FM that Gregor gave you works perfectly. You have to enter the IC ID for parameter <i>IV_BP_GUID</i> and the name of your attributes set for parameter <i>IV_PROFILE_TEMPLATE_ID</i> (here in your case: ZPASSWORD)

      Regards

      Pablo

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 11:55 AM

    Hi All!!

    Thanks very much for your help. The FM that Gregor gave me does in fact work perfectly!!

    Many thanks

    Calvin

    Add comment
    10|10000 characters needed characters exceeded