Skip to Content
0
Former Member
Sep 14, 2005 at 11:38 AM

Error retrieving field value

28 Views

Hi,

I am facing a problem when passing a field value. Let me explain my requirement first.

I have a login page (login.htm) where i will get the user name and password. Then once this is entered i will validate the same and pass it to homepage.htm or errorpage.htm based on the validation.

Now the problem is homepage.htm has 3 frames only say homef1.htm, homef2.htm and homef3.htm and in these pages i require the user name.

in login page i perform this validation,

WHEN 'validate'.

SELECT userid userpassword username FROM z_users INTO

CORRESPONDING FIELDS OF i_user WHERE userid = p_userid

AND userpassword = p_password.

ENDSELECT.

IF sy-subrc = 0.

navigation->set_parameter( 'p_userid' ).

navigation->goto_page( 'homepage.htm' ).

ELSE.

navigation->goto_page( 'errorpage.htm' ).

ENDIF.

Even after declaring the p_userid field as automatic in the homef1.htm i am not able to get the value.

Any help?

Thanks in advance,

Kathirvel

Message was edited by: Kathirvel Balakrishnan