Application Development and Automation 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: 
Read only

how to create entry in T001

Former Member
0 Likes
11,427

hi all,

I am trying to create emtries in table T001(company codes), but i dont have create authorization.

Anyone knows how to make it through debugging mode or any other method ???

thanks and regards

Jijo

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
5,930

Hello.

- Goto se16n.

- Type table t001.

- type code &sap_edit in command field.

- Press F8, enjoy.

hi all,

I am trying to create emtries in table T001(company codes), but i dont have create authorization.

Anyone knows how to make it through debugging mode or any other method ???

thanks and regards

Jijo

8 REPLIES 8
Read only

Former Member
0 Likes
5,930

Hi,

directly we cannot insert to the database table using se11.

but wecan do it through report using INSERT statement.

Insert dbtab ABAP statement.

Syntax Diagram

INSERT dbtab

Syntax

INSERT { {INTO target VALUES source }

| { target FROM source } }.

Effect

The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.

regards,

vineela.

Read only

Former Member
0 Likes
5,930

HI

To specify the database table statically, enter the following for <target>:

INSERT INTO <dbtab> CLIENT SPECIFIED <lines>.

where <dbtab> is the name of a database table defined in the ABAP Dictionary.

To specify the database table dynamically, enter the following for <target>:

INSERT INTO (<name>) CLIENT SPECIFIED <lines>.

where the field <name> contains the name of a database table defined in the ABAP Dictionary.

You can use the CLIENT SPECIFIED addition to disable automatic client handling.

Read only

Former Member
0 Likes
5,930

hi,

u can also directly enter new company code using transaction spro->img->general settings->define country code.

This u can do only if u have authorization to define new company code

Regards,

Bhagyshree

Read only

Former Member
0 Likes
5,930

Hi,

You should create entries through SPRO not by writing code to insert into table.

SPRO>Enterprise Structure>Financial Accounting

Regards,

Ashok

Read only

0 Likes
5,930

hi all,

In se11 we can able to debug ('/h') the program and change the value of variables while debugging and

set the sy-subrc values, so we can tackle authorization checking, anyone know the steps to do??

regards

Jose

Read only

Former Member
0 Likes
5,930

Hi,

You should use SPRO transaction

path:

SPRO>Enterprise Structure>Financial Accounting->Define company

Read only

JozsefSzikszai
Active Contributor
0 Likes
5,930

hi Jijo Jose,

there is a way in SE16 to chnage/insert/delete entries, but it is not a good idea to do it. When you create a new company code in SAP, T001 is not the only table which will be written by SAP, there are some (many?) more. Modifing standard SAP tables through debug or pure ABAP is also not an advisable thing. On the other hand, if you have a company code, for what will it be enough? There are much more customizing you might need...

Best is to approach someone, who has proper auhtorization and ask him/her to create a new company code for you.

hope this helps

ec

Read only

Former Member
0 Likes
5,931

Hello.

- Goto se16n.

- Type table t001.

- type code &sap_edit in command field.

- Press F8, enjoy.