Skip to Content
0
Former Member
Apr 21, 2009 at 01:53 PM

wat is &PNO&

66 Views

Hi experts ,

i am new to sap script and smartform.now i am modifying the smartform.

In existing sap script, page number window editor has following code

/: PERFORM GET_PAGE3 IN PROGRAM ZSUBPROG.

/: USING &W_PAGE1&

/: CHANGING &PNO&

/: ENDPERFORM.

ZP &PNO&

if the user enter page no. in selection screen as 9999, the output will be 9,999 thats y they are using above perform. but i have seen the code there is no data decleration for PNO in both programs.

Wat is PNO?.

in driver program.

Data: w_page(5) type n.

PARAMETERS p_page(4) type n OBLIGATORY DEFAULT '1'.

w_page = p_page.

2, Above same code i have written in smart form page no. window editor, it is not accepting the PNO it show error as PNO is unknown field.

3,Wat is PNO? (is it system variable for script)

4. Wat should i give for page no. in smartform instead of PNO?.

thanks