Skip to Content

How to identify user log in with desktop browser or iPad apps?

Hi guys,

Does anyone know how to identify the user log in with desktop browser or iPad apps?

Any suggestion are welcome.

Thanks.

Chris

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 02, 2014 at 11:20 AM

    Hi Chris,

    I assume my suggestion is not the best approach, but you can use an UI Script with a dummy logic to check it, since it is not compatible with iPad, e.g. populate an indicator field... if the script runs it means that the user triggered the script from a laptop 😉

    Best regards,

    Fernando

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 30, 2014 at 03:14 PM

    Please using code as below

    m_user_agent-useragentcode = wdr_task=>request->get_header_field(
    if_http_header_fields=>user_agent ).


    DATA: value TYPE abap_bool.

    clur_nw7_server=>detect_user_agent(
    EXPORTING
    useragentcode = m_user_agent-useragentcode
    IMPORTING
    supported = value
    platform = m_user_agent-platform
    useragentversion = m_user_agent-useragentversion
    useragentname = m_user_agent-useragentname
    device = m_user_agent-device
    ).



    Add comment
    10|10000 characters needed characters exceeded