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

regenerate tcode for queries

Former Member
0 Likes
3,550

Dear all,

We have a query created in the Globla area with a toce assigned to it. Everything is ok, but now we must add a new field, we have changed the infoset, and the query. If I run the query in SQ01 the field is there, but if I run the tcode, the field is not there, which means the tcode has not been updated.

How to regenerate it?

Thanks.

8 REPLIES 8
Read only

Shahid
Product and Topic Expert
Product and Topic Expert
0 Likes
2,344

Select the query in Sq01 >> choose goto more functions >> Generate the Program.

regenrating the program will resolve the issue. try it.

Read only

Former Member
0 Likes
2,344

Hi,

I regenerated the program, but the tcode is not working yet.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
2,344

Hello Alberto,

Can you check is SE93 if the tcode is directly attached to the Query or to the report program generated from this query?

BR,

Suhas

Read only

Former Member
0 Likes
2,344

Hi,

The tcode is linked to transaction START_REPORT

REgards.

Read only

Clemenss
Active Contributor
0 Likes
2,344

Hi Alberto,

if you don't find a better way: Delete the transaction and re-create it.

Regards

Clemens

Read only

Former Member
0 Likes
2,344

Hi,

Did you generate the infoset?.

Are the parameters for tranasction are like below

D_SREPOVARI-REPORTTYPE = AQ

D_SREPOVARI-REPORT = precisely the first 12 characters - query user group (including trailing spaces), 13-th character is G for global queries

D_SREPOVARI-EXTDREPORT = Query name as shown in SQ01.

Thanks,

Venkatesh.

Read only

Shahid
Product and Topic Expert
Product and Topic Expert
0 Likes
2,344

i assume there should be one more option like ADJUST in the MORE FUNCTIONS...have u tried it...

it worked for me sometime back...

Read only

kiran_k8
Active Contributor
0 Likes
2,344

Everytime you regenerate a query the program name of that query changes.So,you need to tag the newly generated program name of that query to the transaction code.Did you checked the program assigned to the transaction code and the program name of the newly generated query.

Thanks

K.Kiran.