Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding fields to T001W (Plants table)

Former Member
0 Kudos

Hi,

We want to add some Z fields to the T001W table.

The only ref. I could find in the web regarding this topic was this one:

http://www.sapfans.com/forums/viewtopic.php?f=13&t=315984

and it doesn't give much hope.

Anyone has implemented it successfully?

TIA,

Limor

1 ACCEPTED SOLUTION

FredericGirod
Active Contributor
0 Kudos

Hi,

external link a prohibited

You just have to create an append structure to add your own fields

What do you need more than this ?

regards

Fred

8 REPLIES 8

FredericGirod
Active Contributor
0 Kudos

Hi,

external link a prohibited

You just have to create an append structure to add your own fields

What do you need more than this ?

regards

Fred

kiran_k8
Active Contributor
0 Kudos

Limor,

What is the scenario which necessitates adding new fields in the table T001W and how you intend to update the data in these fields ?

K.Kiran.

raymond_giuseppi
Active Contributor
0 Kudos

Why don't create you own z-table, with same primary key than T001W, and a foreign relation with T001W to insure database coherence, so everything will be developed in your namespace/package and you wont have to change standard maintenance dialog(s) ?

Regards,

Raymond

0 Kudos

Hi Raymond,

You prefer to create your own table with the additional fields than create an append structure ?  Append structure is not a standard modification: you don't need to ask SAP for an object key.

With an append structure you don't have to check for the key creation, deletion, .. 

regards

Fred

0 Kudos

I got the impression (from ref link) that the poster wanted to use the standard maintenance dialog ?

To create the maintenance dialog, he will also have to create a maintenance view in customer namespace/package, so will get two packages for one object, that will works, but caution.

Regards,

Raymond

0 Kudos

Thanks for reply guys.

We need to maintain for our plants some additional flags and since we don't want to maintain it in a seperate Z table (double maintenance, double trouble) we prefer to create a specific view on T001W that will include those fields only, and that will be accessed through SM30 (or maybe cust.??).

I am an MM consultant and our developer raised the problem that I've mentioned in my first post.

He tried to implement it with BADi that reached a dead end. Isn't there another way to do so?

TIA,

Limor

0 Kudos

Ask your developer to create a append structure with required fields in T001W table. then create a Module Pool program which allows maintenance of these added fields for plants in T001W table.

Its doable without badi.

DominikTylczyn
Active Contributor
0 Kudos

Consider using classification system - https://answers.sap.com/questions/13771703/t001w-custom-field-extension.html?childToView=13771823

Best regards

Dominik Tylczynski