cancel
Showing results for 
Search instead for 
Did you mean: 

How to update table T166P ?

Former Member
0 Kudos

Dear All,

Can anyone tell me how to insert an record in table T166P.

Is there any transaction for it or i have to create an ABAP program ?

Regards,

B.Siddhesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

1.You can Insert By Writing report.

2.Or By maintining the Table maintenace for it.

i.e:TCODE:SM30.

table maintanance Generator is used to manually

input values using transaction sm30

follow below steps

1) go to se11 check table maintanance check box under

attributes tab

2) utilities-table maintanance Generator->

create function group and assign it under

function group input box.

also assign authorization group default &NC& .

3)

select standard recording routine radio in table

table mainitainence generator to move table

contents to quality and production by assigning

it to request.

4) select maintaience type as single step.

5) maintainence screen as system generated numbers

this dialog box appears when you click on create

button

6) save and activate table

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm

http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm

/message/2831202#2831202 [original link is broken]

One step, two step in Table Maintenance Generator

Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.

Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.

Regards,

If helpful reward with points(Don't forget).

Answers (3)

Answers (3)

SPRO -> Materials Management / Purchasing / Message / Text for Messages / Define Texts for Purchase Order / Texts for Document Item.

This is the only correct way! Change it in the SPRO.

Do not change Customization Tabels with SM30!

Former Member
0 Kudos

Before even considering modifying the table via custom program or creating a table maintenance dialog for it, take a look at the "Delivery and Maintenance" settings for the table. This should give you a clue.

T166P is a customizing table and as such should only be updated through SPRO. The path is SPRO -> Materials Management / Purchasing / Message / Text for Messages / Define Texts for Purchase Order / Texts for Document Item.

Cheers.

Wil_Wilstroth
Active Participant
0 Kudos

Yes, I agreed with Dan Katkic. This is the proper way, and I fixed it using Dan's way.

0 Kudos

This is the correct way!

Former Member
0 Kudos

Hi Shiva,

Could you please tell me the use of this table ?

Regards,

B.Siddhesh

Former Member
0 Kudos

Hi,

it stores The item text which is to be displayed during PO printout.

Regards

Sandipan