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

use variable value in other program

Former Member
0 Likes
734

hi all,

thanks.

i am using alv program,

after seleting the perticular column and its value i would like to pass it to another program. How i can do it?

please tell me the solution.

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
707

hi,

get the parameter id in the calling program.

syntax :

GET PARAMETER ID 'PID' FIELD <xxxx>.

and set it in ur main program.

SET PARAMETER ID 'PID' FIELD <xxxx>.

on the event of selction of the field value in the column u will get that value in the selection screen of the calling program if u use CALL TRANSACTION <tcode of calling program>.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Feb 21, 2008 5:50 PM

4 REPLIES 4
Read only

Former Member
0 Likes
707

You can handle it in different ways.

1. Pass the value if the other program has selection screen.
2. Set the value using Paramter-ID's
3. EXPORT'ing to and IMPORTing from Memory.

Read only

0 Likes
707

hi thanks for reply,

i am having the confusion ,

how to use parameter id in another program

please guide me.

thanks

Read only

Former Member
0 Likes
707

first program variable store on one variable.

step 2

call another program.

using sytax set parameters.

second program prameters id check in technal setting.

parameter field press f1,see set paramters id.

check syntax set parameter press f1

Read only

Former Member
0 Likes
708

hi,

get the parameter id in the calling program.

syntax :

GET PARAMETER ID 'PID' FIELD <xxxx>.

and set it in ur main program.

SET PARAMETER ID 'PID' FIELD <xxxx>.

on the event of selction of the field value in the column u will get that value in the selection screen of the calling program if u use CALL TRANSACTION <tcode of calling program>.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Feb 21, 2008 5:50 PM