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

0CUSTOMER need new attribute - How to setup for extraction?


Currently we load attribute data for 0Customer. It has been requested that another attribute be loaded for 0Customer.

I looked at the table KNVV and i see the attribute that I want to extract. It is KDGRP.

I look at the 0CUSTOMER_ATTR datasource, but this field is not listed in the datasource.

How do i proceed to begin extracting this new attribute of 0CUSTOMER that the business now requests? Please let me know if you need more information from me.



That is one resource I found, furthur explanation, clarification, and guidance always helps

Message was edited by: Nick Bertz

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 19, 2006 at 05:50 PM

    Hi Nick,

    The field you need is in customer master sales data table. This means that for each customer you may kave several entries in the table, since you can have a record for the combination of customer, sales organization, distribution channel and division (check the key of the table).

    For this purpose you have characteristic 0CUST_SALES, which has its corresponding datasources. In datasource 0CUST_SALES_ATTR you may find the field you need.

    In case you have a record for each customer in table KNVV, you can use this datasource to update the required field, with no need to make an enhacement of 0customer_attr datasource.

    Hope it helps.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Nick, Customer Sales attributes are keyed by Customer number, Sales Org, Division, and Distribution Channel. So, theoretically, you could have many different "customer groups" for each Customer number.

      However, if you only have one Sales Org, Division, and Distribution Channel set up in your system, or if "customer group" is the same for all Sales Orgs, Divisions, and Disctribution Channels for each Customer, then you could extract "customer group" from KNVV. There are a few ways to do this. The best way is to add the "customer group" to the 0CUSTOMER_ATTR extract structure in R/3 (use an append structure and call it ZZKDGRP). Then add ABAP code in the user exit for master data (EXIT_SAPLRSAP_002), and populate ZZKDGRP from the KNVV table.

      Hope this helps.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.