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

Where SAPSCRIPT variable gets declared

0 Likes
1,895

Hello Experts,

I would like to turn to you regarding a very interesting problem, I have never seen anything similar before. I have a working printing program and sapscript, that displays a form in MM area (customized in NACE). My task it to copy this printing program and sapscript into the destination system, which I did. But somehow a few data is missing from the form in the destination system (which were there in the source system). If I check in debug mode, there is a variable called "Z_H1_LFPLAN" which has the value in the source system (in the sapscript), but empty in the destination system (sapscript). This variable is in the sapscript. So I need to find out from where this variable receives the data, but I cannot find the source of the variable's data anywhere. I checked the following, nothing worked:

- variable cannot be found in the printing program at all

- variable does not receive any data/value in any of the sapscript windows

- there isn't any piece of code in any of my windows  like "Perform 'form' in Program 'prgram' USING... CHANGING Z_H1_LFPLAN"

- nowhere "DEFINE Z_H1_LFPLAN" in any of the sapscript windows

- nowhere in the constants of the printing program

So my question is: is there any other way in sapscript how you could give data/value to a certain variable? Where the data is coming from?

One small addition:

When I debug the sapscript, right at the moment when the sapscript debugger pops up (not the ABAP, but the sapscript debugger), my Z_H1_LFPLAN variable already has a value! So it's coming from somewhere 'outside' (but in the ABAP debugger this variable doesn't even exist.)

Thanks,

Tamas

1 ACCEPTED SOLUTION
Read only

D_Chia
Active Participant
0 Likes
1,119

maybe it's a custom added Standard symbol defined in table TTDTG?

2 REPLIES 2
Read only

D_Chia
Active Participant
0 Likes
1,120

maybe it's a custom added Standard symbol defined in table TTDTG?

Read only

1,119

Thank you, Chia, yes, it was!!

Tamas