Application Development 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: 

Regarding Calling a Report Program

Former Member
0 Kudos

Hi Gurus,

1. I have an Requirement in which i need to call Program CATSSHOW.

I need to Pass the Selection screen values from calling program by skipping the Selection screen of Called Program.

or

2. Can i call the Transaction CADO(which is T-CODE for CATSSHOW Program)

by passing selection screen values from calling program to call program skipping selection screen.

I used a. SUBMIT catsshow

WITH so_pers IN r_pernr

WITH so_datum IN r_datum

AND RETURN.

which goes to the called program and does not pass the values to the ranges in called program.

a. SUBMIT catsshow VIA SELECTION-SCREEN

WITH so_pers IN r_pernr

WITH so_datum IN r_datum

AND RETURN.

which goes to the called program and pass the values to the ranges in called program and displays the selection screen. (which i needs to skip).

Please help regarding this.

Thanks and Regards

Sanath

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

You can check syntax of CALL TRANSACTION command for your requirement.

Regards

Raj

4 REPLIES 4

Former Member
0 Kudos

Hi

You can check syntax of CALL TRANSACTION command for your requirement.

Regards

Raj

0 Kudos

You can call another program without displaying its selection screen .

Use the same 'SUBMIt' command .

use :

Submit USING SELECTION-SCREEN Selection_screen number .

Ex:

Submit Program_name USING SELECTION-SCREEN '1000' .

and pass the sleection screen parameters accoringly . Hit 'F1' on the Submit command .

Hope this helps .

former_member156446
Active Contributor
0 Kudos
SUBMIT catsshow
WITH so_pers IN r_pernr
WITH so_datum IN r_datum
AND RETURN.

this should work.. make sure r_pernr and r_datum are filled properly the option and sign fields...

MOVE wa_parameter-parva TO s_vkorg-low.
MOVE 'I'  TO s_vkorg-sign.
MOVE 'EQ' TO s_vkorg-option.   "<<<<< this varies
APPEND s_vkorg.

MOVE wa_parameter-parva TO s_vkorg-high.
MOVE 'I'  TO s_vkorg-sign.
MOVE 'EQ' TO s_vkorg-option.    "<<<<< this varies
APPEND s_vkorg.

look at the padded zeros or conversion exits available for the field...

Former Member
0 Kudos

Hi,

What you need to pass is a selection table that refers to structure rsparams

Check the example given [here|http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm].

regards,

Advait