cancel
Showing results for 
Search instead for 
Did you mean: 

Add a Tab in the Customer Master

Former Member
0 Kudos

Hi Experts,

I am working on the SAP R/3 4.6C .

I have around 27 new fields to be added to the customer Master(XD01) in three new tabs.

Can any one pls advise how can i achieve this?

Can you pls forward the doc if any one of you have to the id durgadmath@hotmail.com

Thanks in advance.

Muraghendra D

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Customer Master provides around 10 fields that can be utilized.

Extras-> Additional Data

Table KNA1 and the fields are

KATR1

KATR2

KATR3

KATR4

KATR5

KATR6

KATR7

KATR8

KATR9

KATR10

Former Member
0 Kudos

Hi Naresh Ganesan ,

How can i add the Z fields to the XD01 screens?

Is there any Wizard which i can use.

Pls send me if you have any doc for the same.

durgadmath@hotmail.com

Answers (2)

Answers (2)

Former Member
0 Kudos

I needed to add one field to KNVV, to be updated via the sales area screen - extras - additional data. Based on Mr Valtin's posts I found it to be very simple:

1. create new data element and new field in SE11.

2. edit table KNVV in SE11

3. do “append structure” button then create the append structure

4. in SE80 bring up function group V02Z

5. hit the layout button for screen 0200. Use the screen editor to set up the new field.

6. edit table KNVVEXIT in SE11, add the new field to it

Former Member
0 Kudos

Hello,

the are two function modules you could use to achieve this - SD_KNA1_MAINTAIN_EXIT (to extend the customer master) and SD_KNVV_MAINTAIN_EXIT ( to extend customer master on the level of sales organisation ). Both are quite old exit - so they need a object registration. You even use one or more own tables inside these exit's.

Regards WOlfgang

Former Member
0 Kudos

Hi Wolfgang Valtin ,

Let me reframe my question.

I have around 27 new fields to be created in 3 new different tabs in the cistomer master (XD01).

My question would be

1)How do i create the 3 new tabs

2)How am i going to add the fields in these tabs.

Could you pls guide me on this ?

Thanks.

Muraghendra D

Former Member
0 Kudos

Hello Muraghendra Durgadamath,

the first thing is data design. You really need three own transparent tables ? Do you need different key fields ? If yes, it's ok. If not, it would be easier do define all your own fields in a own structure and append this structure to Table KNA1 or KNVV - depending, if this information is specific to customer or to customer and sales org..

Define your own tables or your own appends using SE11.

If you use appends, you'll have to append the structure KNA1EXIT or KNVVEXIT and the tables KNA1 or KNVV.

Next thing is to change the sources

LV02ZTO1 , LV02ZOKA, LV02ZIKA,LV02ZFKA (if you have own fields on KNA1-Level) or the corresponding sources with 'V' at the end ( if you have own fields on KNVV-level). Best you use SE80 - function group V02Z.

Your own coding will reside in these Includes. Since i had only append-fields to table KNVV, my change rtesides simply in fthe subroutine 'KNVV_CHANGE_EXIT' with a call

on an own function :

IF ...

  • Begin handling of additional fields

CALL FUNCTION 'Z_DEBI_ADD_V02Z'

EXPORTING

i_kna1 = kna1

i_knvv = knvv

i_m_mode = m_mode

i_u_sign = change_in_CP

IMPORTING

E_CHANGED_KNVV = knvv

E_UPDATE_SIGN = change_in_CP

tables

tab055 = y055.

else.

  • else Standard

CALL SCREEN 200 STARTING AT 2 2 ENDING AT 78 18.

endif.

CLEAR FCODE.

ENDFORM.

in this own function all own dynpros were processed.

If you really need own tables, you'll have to fill the form's KNA1_CHANGE_UPDATE or KNVV_CHANGE_UPDATE too.

Regards Wolfgang

Former Member
0 Kudos

Hi Wolfgang Valtin,

Thanks for the detailed mail.

I need to add the fields to the customer fields in KNA1 and they are not key fields.

I have added the fields in the table KNA1 as apend structure.

As per your suggestion i need to change the exit for the

KNA1.

My only concern was that i needed add 3 different tabs to the customer Master.

Thanks your advise.

Pls do not mind if i get back to you again with querries.

Thanks in advance.

Muraghendra D

Former Member
0 Kudos

In continuation of the message i would like to say that i need to add thes tabs in the main screen of the XD01.

The std XD01 gives 7 tabs. I should be adding 3 more to this.

Thanks.

Muraghendra D

Former Member
0 Kudos

Hi

did you find the solution to this problem

if yes let me know

i want to add 16 fields to KNVV table

and add one tab to the screen in module pool program.