cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hello,

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.

Thanks

Nick

http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm

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

Message was edited by: Nick Bertz

Accepted Solutions (1)

Accepted Solutions (1)

dielom
Active Contributor
0 Kudos

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.

Regards,

Diego

Former Member
0 Kudos

Hi Diego,

Thank you very much for the information. So if I did want to grab "customer group" KDGRP from 0CUST_SALES_ATTR and put it into 0CUSTOMER as an attribute, how would i go about doing that?

Thanks,

Nick

Former Member
0 Kudos

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.

Answers (0)