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

Reading global Variable of other program

Former Member
0 Likes
879

Hi All ,

i would like to read/change parameter of other program

for Example in CRM i want to fill the values for this internal table

prgram name SAPLBUTX_BUTC_DIALOG

intermal table GT_SCREEN_TABLE

the syntax i am trying and is not working is

((SAPLBUTX_BUTC_DIALOG) GT_SCREEN_TABLE)

am i missing some thing ?

Regards

Hi All ,

i would like to read/change parameter of other program

for Example in CRM i want to fill the values for this internal table

prgram name SAPLBUTX_BUTC_DIALOG

intermal table GT_SCREEN_TABLE

the syntax i am trying and is not working is

((SAPLBUTX_BUTC_DIALOG) GT_SCREEN_TABLE)

am i missing some thing ?

Regards

4 REPLIES 4
Read only

uwe_schieferstein
Active Contributor
0 Likes
739

Hello

Have a look at the article written by Jeff Goldstein:

<a href="http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8">SAP® User Exits And The People Who Love Them</a>

The situation he describes is a following: we are within a user-exit which has a predefined interface given by the SAP standard. Jeff shows how we can access additional variables from the "surrounding" SAP application that are not exposed at the user-exit interface.

The crucial point is that "we" are surrounded by a running SAP application and, thus, have a chance to access the "living" variables of this application.

In your case there is no "living" SAP application around and therefore your approach cannot work.

Regards

Uwe

Read only

0 Likes
739

Hi ,

Is there any that i can push values in the program ?

Read only

0 Likes
739

Hello

You can "push" values into the application since you are dealing with a <b>BDT </b>application (BDT = Business Data Toolset). However, this is by no means an eays task and requires thorough understanding of BDT.

Regards

Uwe

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
739

Hi,

If the program SAPLBUTX_BUTC_DIALOG is using import statement for filling the internal table,then you can use export statement from your program.