Skip to Content
0
May 11, 2015 at 06:31 AM

get_client_environment from NWBC in WD4A

32 Views

Hi Expert,

Thread http://scn.sap.com/thread/3736801 referred.

However, When an WDA4 is called with following detailed.

lo_cmp_api = wd_this->wd_get_api( ).

lo_wd_appl = lo_cmp_api->get_application( ).

ld_client = lo_wd_appl->get_client_environment().

* Determine Client Type

If ld_client = 4.

lv_isnwbc = 'X'.

ElseIF ld_client = 2.

lv_isportal = 'X'.

Else.

Clear lv_isnwbc.

ENDIF.

May I know why the result return 2 rather than 4 when call from NWBC?

Regards,

Matthew

Attachments