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

Problem with Dynpro'sTcode

Former Member
0 Likes
1,174

Hi;

I have the next problem, i´ve create a Dynpro with a table control, for this i´ve create a Tcode. this program points to a Z table with data that will be displayed in the table control.

in DEV client, if i run the Tcode it gets no data, but, if i run the program with SE80 it gets data.

What i´ve tryied.... and doesn't work for this Tcode problem

1) in SE93 copy a working dynpro tcode to a new name and assign it to the problem dynpro

2) delete and recreate the Tcode for the problem dynpro

The tcode is created for dynpros not for reports

thanks on advance

David Fúnez

10 REPLIES 10
Read only

Former Member
0 Likes
1,134

How do you run it in SE80? Is it a module pool program or a report program?

Rob

Read only

0 Likes
1,134

type executable program.

Read only

0 Likes
1,134

Have you debugged both to see where it goes wrong?

Rob

Read only

0 Likes
1,134

Hi,

For executable programs, t-code type should be selected as report transaction (second radio button). Just see if u have created in the same way or different.

Thanks,

Vinod.

Read only

0 Likes
1,134

yes,

Here is the problem:

******************

START-OF-SELECTION.

******************

SELECT * INTO CORRESPONDING FIELDS OF TABLE tuser FROM zuserweb.

SET SCREEN 100.

Running Tcode the select returns sy-subrc = 4.

Running from SE80 the select returns sy-subrc = 0 and works fine.

Thanks on advance

Read only

0 Likes
1,134

Its looks fine

Im not sure whether this deals with any authorization.

Read only

0 Likes
1,134

Hi,

modify and activate again your program.

T-code executes active version of program, since executing in SE80 runs current version.

If you have difference in execution - this is probably the reason.

Regards,

--

Przemysław

Read only

0 Likes
1,134

Problem solved;

The error was The selec inside the SELECT-OPTIONS, i just put it out at the begin of program and work Ok, now the Table control displays data.

Thank a lot for the answers.

Read only

0 Likes
1,134

I don't see any SELECT-OPTIONS in the code you posted.

Rbo

Read only

0 Likes
1,134

sorry, i mean ... START-OF-SELECTION.