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

Passing values between two program

Former Member
0 Likes
832

Hi

I have a problem, i want to pass select-options value to another report.

For ex,

select-options s_matnr like mara-matnr memory id mat.

here i will enter range of material, the samething need to pass another report.

I am using call transaction to call another program.

Is it possible to do that.

Thanks

Venkat

3 REPLIES 3
Read only

Former Member
0 Likes
796

Hi,

Check out this,

SUBMIT...

.

These additions have the following effects:

· VIA SELECTION-SCREEN

The selection screen of the called executable program appears. If you transfer values to the program using one or more of the other options, the corresponding input fields in the selections screen are filled. The user can change these values. By default, the system does not display a selection screen after SUBMIT.

· USING SELECTION-SET

This addition tells the system to start the called program with the variant var.

· WITH sel criterion

Use this addition to fill individual elements sel of the selection screen (selection tables and parameters) with the help of the language elements criterion.

· WITH FREE SELECTION freesel

User dialog for dynamic selections. To use this option, the called program must be connected to a logical database that supports dynamic selections.

· WITH SELECTION-TABLE rspar

Dynamic transfer of different values. An internal table rspar with the Dictionary structure RSPARAMS is created. This table can be filled dynamically in the calling program with all the required values for the selection screen of the called program.

Reward if useful!

Read only

Former Member
0 Likes
796

Hi Venkat,

It is not possible to pass select-option using call transaction.

Use SUBMIT for that.

Regards,

Atish

Read only

Former Member
0 Likes
796

Hi,

You need to use the ITAB with the Call transaction,

CALL TRANSACTION TCODE USING ITAB.

Here you need to pass the ITAB as same as BDCDATA structure and the fill the smae data

Regards

Sudheer