cancel
Showing results for 
Search instead for 
Did you mean: 

Global Variable problem in Smartform

Former Member
0 Kudos

Hello,

I have declared a global variable and it is not recognized in my program lines node. Here is the code:

SELECT SINGLE adrnr

INTO gv_addnr_cc

FROM t001

WHERE bukrs EQ is_ekko-bukrs.

I have the field declared under global definitions like this:

GV_ADDNR_CC TYPE AD_ADDRNUM

Also, this node is not recognizing IS_EKKO-BUKRS in my code which is definitely available and being used in other program lines nodes. Something simple like this is waisting time. Please help.

Thank you,

JR

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

There is an option in the program lines to specify the import and export parameters - just look at the two table controls above the program lines. Specify your variables in the importing part.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Joseph Ritzik ,

Unless you import the variable in <b>input paraameters,</b> of program lines control of smartf form that wont be available.

Once you modifed the values of variables, pass the same variables in <b>"Output Parameters</b>".

Regards,

Bhasha