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

Transaction Code Creation for a Table/View

Former Member
0 Likes
3,617

Hi All,

1. Can anyone tell how to create a Transaction code for ZTABLE/View..Iam creating Tcode using SE54 (Environment->Transaction code). But when i am trying to excuting Tcode, it giving me the dump saying Field Symbol not yet assigned...Can any plz give the steps to create Tcode ...

2. When i created a Ztable, Delimit button on Application tool bar is not appearing...can anyone tell what would be the reason...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,914

hi,

Goto se93 - > specify tcode - > select last option (transaction with parameters (parameter selection) - > specify transaction (SE16/Sm30) - > in the bottom select name of the screen field as DATABROWSE-TABLENAME and specify the table name in the value column.

hope this will help you

Cheers,

sasi

10 REPLIES 10
Read only

Former Member
0 Likes
2,914

hi,

You can assign a transaction code to any executable program. This allows users to start it as they would an normal transaction.

To define a transaction code:

From the ABAP Workbench, choose Development - Other tools - Transactions. The Maintain Transactions screen appears.

Enter a transaction code and choose Create.

In the dialog box, choose Program and selection screen (report transaction).

It is important to choose Report transaction to ensure that the executable program is started by the same processors in the ABAP runtime environment as when you start it directly from the ABAP Editor. If you choose Dialog transaction from the above screen, the program has to be controlled using screen logic, like a module pool.

On the next screen, enter a transaction text, the program, and the selection screen.

Save the transaction code and assign it to the relevant development class.

hope this helps you.

regards,

venu.

Read only

0 Likes
2,914

Hi Venu,

My problem is how to assign Transaction code to Table/View, not to a report program..

Read only

0 Likes
2,914

hi,

check with my solution, it is for table/view only.

cheers,

sasi

Read only

Former Member
0 Likes
2,915

hi,

Goto se93 - > specify tcode - > select last option (transaction with parameters (parameter selection) - > specify transaction (SE16/Sm30) - > in the bottom select name of the screen field as DATABROWSE-TABLENAME and specify the table name in the value column.

hope this will help you

Cheers,

sasi

Read only

Former Member
0 Likes
2,914

Can you give us some details? What values did you enter, when you were creating the transaction code?

What transaction did you use to create the table? I am not sure I understood what you meant by 'Delimit' button. I don't recollect seeing any such button in SE11? Which version are you on?

When you create/generate the table maintenance, you are asked to give a function group name. Assuming that you gave ABCD there, your program name will be SAPLABCD. Also, you would have entered a screen number. Let us assume it is 100. So, in order to create the transaction code, go to SE93, enter the name and description. For the program name, enter SAPLABCD and for screen, enter 0100. That should be all.

Please let us know.

Srinivas

Read only

0 Likes
2,914

Hi srinivas,

Sasi had given solution to how to create Tcode to table/view. And regarding 2nd qtn "Delimit", Iam creating table tusing SE11 and for some ztables i can able to see delimit buttion in SM30 when i press Display then Change Button and for my ztables i did't get ,even I have given all info in Maintenence screen. can u tell the reason

Read only

0 Likes
2,914

Hi all,

Other option to create a transaction code to call a table view, is creating a program(report) that call the function module VIEW_MAINTENANCE_CALL. You have to send the name of the table, and if you want, using the tables parameters, you can put a condition to select the records you want to show/change, and what function code you want to exclude.

Regards

PabloX.

Read only

Former Member
Read only

Former Member
0 Likes
2,914

Check the answers in this thread

Read only

Former Member
0 Likes
2,914

If these answers helped you, please reward and close the post.

Thanks,

Srinivas