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 for Standard Report

Former Member
0 Likes
8,171

Hello Gurus.

My Requirement is: I have to create a Z-Transaction code(There is no T.code in sap)  for Standard Report-RMMDDIBE .

When I run the Z.Tode, the output is displaying with No tab description(means the output is having tabs.). But with the normal report execution  it is showing the Tabs with its  descriptions.

Can You please give some idea how to resolve this issue whether it is in program level or T.CODE creation level problem?

Here is the screen shots for both cases:

with the Z-Tcode:

Thanks in advance,

Shivaraj A.

13 REPLIES 13
Read only

former_member202818
Active Contributor
0 Likes
6,528

Hi Shivaraj,

Since it is a program belongs to SAP namespace,How could you created T_code?

Have u copied this report and create a t code for copied program?

Remember that while copying a program the code inside Enhancement will not get copied to the new program.

Those code you have to manually copy to the new program.

&

Make sure that all text symbols get copied..

The below text symbols are used to give tab name.

  tabs1 = text-030.

   tabs2 = text-031.

   tabs3 = text-032.

   tabs4 = text-033.

   tabs5 = text-034.

   ptxt1 = text-011.

   ptxt2 = text-012.

I think this is why ur screen looks like that.And this is not because of t-code issue.

Regards

Sreeknath

Read only

0 Likes
6,528

Hi Sreekanth,

Thank you for the response.

As You suggested  I copied the from std report. then i create a new t.code, it is showing all the tabs with description.

But, After copying, I changed the enhancement points and enhancement spots  to  Z-form ( ZRMMDDIBE4 , ZES_RMMDDIBE) . after copied and saving  the enhancements; It is asking to change the enhancement point name and enh. spot name: what  i need to give in this pop up .  as below  is  the screen shot:


there are 4 enhancement points with one enhancement spot. It asking for each ENH point.

Can you suggest how to work on with these?

thanks.

shivaraj.

Read only

0 Likes
6,528

Hi,

You no need to copy the syntax for enhancement options, just copy the code inside it.

for example..

ENHANCEMENT.....

*Copy This code only

ENDENHANCEMENT.

Check for all text symbol..

Read only

0 Likes
6,527

Hi,

I just now copied this program.. its works fine..

1.se38

2.copy to z program

3.choose all elements

4.Copy includes

Now you have to give package and request id and activate the program.

Regards

Sreekanth

Read only

0 Likes
6,527

Thank you sreekanth, i did it.

what about the enhancement code, as I asked in previous post, do i need to change the enhancement point and spot names?. Can you give idea how to work with it.

regards,

Shivaraj

Read only

0 Likes
6,527

Since now it is a customer program.

You no need to have or copy the Enhancement syntax. copy the implemented code only to the respective positions in copied program.

Read only

ThomasZloch
Active Contributor
0 Likes
6,527

I bet there is some important customizing stored under the original name of the transaction code, which is not found any more when called from your copy. You can find out yourself by debugging or running an SQL trace.

What would be the reason to copy the standard transaction code?


Thomas

Read only

Former Member
0 Likes
6,527

Hi Shivaraj,

Make sure you select 'Program & selection screen (report transaction) in SE93 and also select GUI support for all 3.

-Srini

Read only

former_member730258
Participant
0 Likes
6,527

The standard program given that it uses tabs is most likely a dialog program. Create a transaction code using start object 'Program and screen (dialog transaction)'. It should work.

Read only

Former Member
0 Likes
6,527

Hi Shivaraj,

I had just tested in my office server and the result is positive.

Step:

Se93 create a new tcode <ZMRP> with the with program name RMMDDIBE.

Make sure you choose Program and selection screen ( report ) because RMMDDIBE is a report and not a dialog programming.

It works for me and no need to worry about enhancement.

Thank you,

regards,

S.Saravannan

Read only

0 Likes
6,527

HI Saravanan,

thanks for the response,

I have tried with std report and created a Z tcode, but didn't work in my server.

when i copy the code into z-report with z-tcode - then it is working fine.

Regards,

Shivaraj

Read only

0 Likes
6,527

Hi,

What error you are getting? Maybe i can figure out something for you.

Thank you.

Read only

ThangaPrakash
Active Contributor
0 Likes
6,527

Hello Shivaraj,

First I created a transaction with transaction type "Program and screen (dialog transaction)" and I too faced the same problem.

After changing the transaction type to "Program and selection screen (report transaction)", I got the description of the tabs.

Follow the steps below:

1) Created a dialog transaction.

2) Save it and execute, you will get below message, press on YES and proceed, the output will not have description in tabs as you faced.

3) Goto edit--> Change transaction type (Shift+F1) and change it to Report transaction.

4) Now save the transaction and execute it, you will get description as shown below.

Regards,

Thanga