Skip to Content
author's profile photo Former Member
Former Member

loggin intp BSP applications using SAP Dialog user

Hi,

I used SAP - service type user to log into my BSP applications in the following way:

========================================

data: usr type bapialias,

pwd type bapipwd.

data: return type table of bapiret2,

wa_return type bapiret2,

bname type USUSERNAME.

usr = request->get_form_field( 'username' ).

pwd = request->get_form_field( 'password' ).

CALL FUNCTION 'SUSR_INTERNET_USERSWITCH'

EXPORTING

ALIAS = usr

PASSWORD = pwd

IMPORTING

BNAME_AFTER_SWITCH = bname

TABLES

RETURN = return.

loop at return into wa_return.

err_msg = wa_return-message.

endloop.

if bname is not initial.

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

endif.

===========================================

From the above, i am able to log in successfully. INow i need to log in as SAP Dialog user. Is there any way where i can log into BSP where the sap users are dialog types..

Thx,

Rajesh

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 23, 2008 at 09:39 PM

    Change the User Type in Tcode SU01 as "Dialog" .

    Raja T

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.