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

unicode error

Former Member
0 Likes
757

Hi,

I have declared one parameter:

SELECTION-SCREEN COMMENT 1(31) TEXT-026 FOR FIELD P_COMQTY.

PARAMETERS: P_COMQTY type SY-TABIX DEFAULT 10000.

SELECTION-SCREEN END OF LINE.

I am than using this parameter in one include , but its showing syntax error in include that P_COMQTY does not exist , I have alreay activated program and include . how I can remove this error.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
726

Hi,

The include command is placed before the parameter in the program? If yes, can you put it after parameter ?

Can you put some lines of code?

Best regards,

Leandro Mengue

6 REPLIES 6
Read only

Former Member
0 Likes
727

Hi,

The include command is placed before the parameter in the program? If yes, can you put it after parameter ?

Can you put some lines of code?

Best regards,

Leandro Mengue

Read only

0 Likes
726

Hi,

The include command is placed after after parameter.

SELECTION-SCREEN BEGIN OF BLOCK BVAR WITH FRAME.

PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT.

SELECTION-SCREEN END OF BLOCK BVAR.

INCLUDE YSD9G_PROFCENTER_UPDATE_F01.

Read only

0 Likes
726

Hi,

Try the below code:

SELECTION-SCREEN : BEGIN OF LINE,

COMMENT 1(31) TEXT-026 FOR FIELD P_COMQTY.

PARAMETERS : P_COMQTY type SY-TABIX DEFAULT 10000.

SELECTION-SCREEN : END OF LINE.

Regards

Shruti

Read only

0 Likes
726

It is giving syntax error . Plz tell me some othere method . Parameter is used like this .

IF P_COMQTY IS INITIAL.

P_COMQTY = 10000.

ENDIF.

Read only

0 Likes
726

Hi,

Where is P_COMQTY in this your code???

SELECTION-SCREEN BEGIN OF BLOCK BVAR WITH FRAME.
PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT.
SELECTION-SCREEN END OF BLOCK BVAR.

The "PARAMETERS P_COMQTY ... " is placed in the include ? If yes, try to put it in the master program (below "parameters p_vari")

Best regards,

Leandro Mengue

Read only

Former Member
0 Likes
726

Moderator message - duplicate locked