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

Create T.code for Reports

Former Member
0 Likes
682

Hi Experts

I have 3 new Customize reports. Now i need to create T.code to Run these reports in singale screen.

If i click report1 it should go to report1

pls advise me

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
653

Hi,

Create a customized program, in which you write

If radbutton1 eq 'X'.

SUBMIT report1 and return.

elseif radbutton2 eq 'X'.

SUBMIT report2 and return.

elseif radbutton3 eq 'X'.

SUBMIT report3 and Return.

endif.

Attach the above program to your Single screen customized TCODE.

Regards

Kannaiah.

4 REPLIES 4
Read only

Former Member
0 Likes
653

Hi,

transaction SE93.

You can implement the transaction with "call transaction NEWTRANS" inside your PAI-module.

Regards

Nicole

Read only

Former Member
0 Likes
653

Hi

Hope it will help you.

Reward if help.

Tcode for Report Painter

To create a TCode, follow the steps below.

1) Go to Transaction code SE93, Enter TCode Name and Press Create.

2) Give short Description and select Parameter Transaction, Press Enter

3) Select Transation Radio Button and write START_REPORT in the next text

box Also Check the box Skip Initial Screen.

4) On the bottom of Screen (default Values), Enter Parameters

i) Name = D_SREPOVARI-REPORTTYPE. Value = RW

ii) Name = D_SREPOVARI-REPORT Value = Your Report Group Name (Say 1SIP)

5) Save and Execute.

Read only

Former Member
0 Likes
654

Hi,

Create a customized program, in which you write

If radbutton1 eq 'X'.

SUBMIT report1 and return.

elseif radbutton2 eq 'X'.

SUBMIT report2 and return.

elseif radbutton3 eq 'X'.

SUBMIT report3 and Return.

endif.

Attach the above program to your Single screen customized TCODE.

Regards

Kannaiah.

Read only

Former Member
0 Likes
653

Hi,

It is only possible thru Module pool program.

First create tcode(using se93) in which give the program name (ZPROG4,type of module pool).here i give you the code of ZPROG4.jst for your ref,make the required chages to suite ur needs.


PROGRAM  ZPROG4.

TABLES: *********.
DATA  OKCODE(4).

*&---------------------------------------------------------------------*
*&      Module  USER_COMMAND_0100  INPUT
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE USER_COMMAND_0100 INPUT.

CASE OKCODE.

    WHEN 'CANC'.
      LEAVE TO SCREEN 0.
    WHEN 'BACK'.
      LEAVE TO SCREEN 0.
    WHEN 'EXIT'.
      LEAVE TO SCREEN 0.
    WHEN 'PROG1'.
      CALL TRANSACTION  'ZPROG!'.
    WHEN 'PROG2'.
      CALL TRANSACTION  'ZPROG2'.
    WHEN 'PROG3'..
      CALL TRANSACTION  'ZPROG3'.
ENDCASE.
ENDMODULE.

*&---------------------------------------------------------------------*
*&      Module  STATUS_0100  OUTPUT
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE STATUS_0100 OUTPUT.

  SET PF-STATUS 'MDATA'.
*  SET TITLEBAR 'MDT'.

ENDMODULE.                 " STATUS_0100  OUTPUT

You need to customize your screen(both PAI and PBO) (USER_COMMAND_0100 INPUT and STATUS_0100 OUTPUT by using screen painter SE51).

If you have any doubt,feel free to ask.

Warm Regards,

Mohandoss P.