Hi Experts, replace function module WS_QUERY to return the name of OS?

Advertisement
Hi Experts,
the function WS_QUERY can return your computer operating system, you can try it SE37(WS_QUERY), and only give value 'OS' to the QUERY parameter and execute the function, you can see it in RETURN parameter, but now this function is obsolete and I must replace it with another function or method, can anyone of you tell me which function can totally(the return value need to be the same, but any valuable feedback is also welcome) replace it? thanks in advance!
Kind regards
Dawson
Advertisement

Replay

Hi Dawson,
You can use the static method GET_PLATFORM of the class CL_GUI_FRONTEND_SERVICES.
Regards,
Jeevan

Replacement function modules/method for obsolete Funtion Modules in ECC 6.0

We are working on Upgrade Project and need your help in finding the replacement Function module/ Methods for following obsolete Function Modules:    1.   GET_FIELDTAB    2.   WS_EXCEL    3.  HR_DISPLAY_BASIC_LIST    4.  LOG_SYSTEM_GET_RFC_DESTINATION

Any function module to read all the values in Tcode-PPQD?

Hi all Is there any function module to read all the values in Tcode-PPQD (Display Qualifiaction Catalog). and any idea what tables are involved to get these values like parent and child relationship? Thanks in advance. Murali.Murali, you can use the

Function Modules for Format Date, Month Name and Quarter value.

Hi All, 1. I am getting the date field from the Flatfile, so i need to format the date to YYYYMMDD. Is there any Function module for that in BW. 2. Based on the above Formated Date i have to find out the Name of the Month like JANUARY, FEBUARY etc. 3

WS_DELIVERY_UPDATE Function Module is not updating the Handling unit

Hi Experts, I am using the Function Module WS_DELIVERY_UPDATE  for PGI and packing outbond delivery . I am getting the PGI date , Route. but i am not getting the time in delivery field-WAUHR and i am getting the message 'Reqiured HU could not be foun

Remote function module to wait untill the response came from webmethods

hi all. here i have got a situation that the remote function module created in SAP-R/3 to wait untill the response came from webmethods : i have created the remote function module by assigning one structure in tables(tab) and 3 parameters in changing

Can any one suggest me a function module or BAPI for the below requirement.

Hi all, I have a requirement in which i need to send an IDoc for each item of  the delivery document linked to the shipment document. previously i have called the function module in a BADI, but now the requirement has changed.No BADI or USEREXIT has

Question about cursors in a function and how to return the results

Hi all, Some tech info: I'm using Oracle 11G database and APEX 4.0.2.00.06 I use three cursors in a function. My function is called in an APEX standard report, like this by example: SELECT fnc_exp(tab.arg1, tab,arg2) FROM table_exp tab; My question i

Function Module for finding all the users in an org unit?

Hi, is there a function module or a table by which we can find all the users within a purchasing group of purchasing organisatiopn unit. Looking for a quick response. Regards, NehaPlease use the function module BBP_OM_STRUC_GET_USER_FROM_ORG.  You ha

Hi Experts, replace function SALC_MC_GET_ALL_CONTEXTS?

Hi Experts, does anyone know which function can replace SALC_MC_GET_ALL_CONTEXTS? thanks in advance! Kind regards DawsonCheck Replace for WWW_GET_MIME_OBJECT Kanagaraja LRead other 2 answers

Function Module /BAPI for changing the components in Production order

Hi, We are in ECC5.0. We have requirement wherein we want to change /delete the existing component of the production order and add new component through RFC call from an external system. We tried to use CO_XT_COMPONENT_ADD FM for adding new component

Replacement for function modules

can anyone let me know the replacement for these function modules POPUP_TO_CONFIRM_STEP POPUP_TO_CONFIRM_WITH_MESSAGEIt says the name of the replacement right there in the Attributes of the above FMs: POPUP_TO_CONFIRM. Hope this helps. SudhaRead othe

Function module to return INVOICE DETAILS

Helo All. I am printing invoice details using smartforms. Can anybody tell me a function module which will return the invoice details by taking invoice number as input? Thanks in advance.Hi, LB_BIL_INV_OUTP_READ_PRTDATA. This FM will return u a deep

Function Module to get Manager

Hi Friends,   Is there any function module available that gets the manager using PERNR? Can i use SWX_GET_MANAGER? Thanks in advance. Nathan.Hi,    Thanks. I tried to use this FM. Couldnt get the manager using PERNR. If i use  US<userid> of an emplo

Replacement of Function module in ECC 6.0

Hello All, The Function module 'NAMETAB_GET' is shown to be obsolete in ECC 6.0 . Please suggest which of the function modules among 'DDIF_FIELDINFO_GET'  and 'DDIF_NAMETAB_GET' can be used as a replacement for the same. Also ,it would be helpful if

Authorization check on Function module return values

Hi, I have a tricky situation. In our BW implementation, many of the FI infoobjects are authorization relevent. One of the objects is 0COSTCENTER.  A user has been assigned with authorization profile, in which the user is authorised for COST CENTER =

L_WMPP_WM_POST Function module not returning TO number

Hello Friends, I am using this function module L_WMPP_WM_POST  to create the transfer order.I am not able to get the no of transfer order since the function module is not returning that. Is there any method to get the transfer order created. Thanks &

Function module (Z_USR_INSTANT_CREATION1)

Hi Experts, Please look into below coding and solve  my problem. FUNCTION Z_USR_INSTANT_CREATION1. ""Local Interface: *"  IMPORTING *"     VALUE(USERNAME1) LIKE  BAPIBNAME-BAPIBNAME *"     VALUE(ACCTNO) TYPE  /BIC/OIZCUSTOMER *&qu

Exceptions in function module.... for beginner......

Dear all experts, I am new to ABAP.  Can anybody please tell, how to use the exceptions in function module ? and if any exception happens, then how to link some messages to that exceptions? I will also like to know, how to create those messages ? <b>

Regarding Obsolete Function Modules

Hi all,         can anybody tell me the alternative ECC6.0 function modules of the following Obsolete function modules DOWNLOAD UPLOAD WS_DOWNLOAD WS_UPLOAD WS_FILENAME_GET WS_QUERY POPUP_TO_CONFIRM_STEP POPUP_TO_CONFIRM_WITH_MESSAGE thnks Sandeepher