Obsolete FM ws_query
Hi all,
Can you please say me how am i to change this obsolete FM to class CL_GUI_FRONTEND_SERVICES
PARAMETERS: PCPATH LIKE RLGRAP-FILENAME
DEFAULT 'c:\temp\rbe_extract.txt'.
DATA: PATH LIKE PCPATH.
CALL FUNCTION 'WS_QUERY'
EXPORTING
ENVIRONMENT = ' '
FILENAME = PATH
QUERY = 'DE'
WINID = ' '
IMPORTING
RETURN = ERR_CODE
EXCEPTIONS
INV_QUERY = 1
NO_BATCH = 2
FRONTEND_ERROR = 3
OTHERS = 4.
Hi,
Use this F.M
CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXIST (if the query is 'DE')
or CL_GUI_FRONTEND_SERVICES=>FILE_EXIST (if the query is 'FE')
IF U_QUERY = 'DE'.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXIST
EXPORTING
DIRECTORY = W_FILENAME
RECEIVING
RESULT = W_RETURN
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
WRONG_PARAMETER = 3
NOT_SUPPORTED_BY_GUI = 4
others = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSEIF U_QUERY = 'FE'.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_EXIST
EXPORTING
FILE = W_FILENAME
RECEIVING
RESULT = W_RETURN
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
WRONG_PARAMETER = 3
NOT_SUPPORTED_BY_GUI = 4
others = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
IF W_RETURN = 'X'.
C_RETURN = '1'.
ELSE.
C_RETURN = ' '.
ENDIF.
Cheers,
Simha.
Reward all the helpful answers...
Similar Messages
-
"WS_QUERY" is obsolete in ECC 6.0
Hi Guys
Which is the correct Function module in ECC 6.0 is related to "WS_QUERY"
Thanks,
Gourisankar.Refer to this thread in sdn
CALL FUNCTION 'WS_QUERY'
or refer
Use the appropriate module from the function group SFES.
The appropriate function modules from funciton group SFES.
GUI_GET_DESKTOP_INFO
GUI_GET_FILE_INFO
GUI_EXEC
GUI_RUN etc
The Equivalent Function Module for in ABAP 4.7 is
WS_QUERY-File Exist is CL_GUI_FRONTEND_SERVICES=>FILE_EXIST , or ,
WS_QUERY-Directory Exist is CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXIST.
Reward if useful. -
Ws_query function module obsolete in ECC 6.0
HI experts,
V r upgrading system from 4.6 to ecc 6.0 . In one of the programs FM ws_query is obsole, pls let me know the replacement of it.
form process_selections_filen.
call function 'WS_QUERY'
exporting
filename = p_filen
query = 'FE'
importing
return = g_subrc
exceptions
others = 1.
check syst-subrc ne 0 or g_subrc ne 1.
message e000(zz) with p_filen text-e01.
endform.You must OO ABAP.
You can use a method of CL_GUI_FRONTEND_SERVICES class to do the same process. This is the new class for handling files. -
Obsolete Function Modules in ECC 6.0
hi all,
Can anyone provide me alternative function modules or Methods for below mentioned FM.
WS_QUERY
WS_ULDL_PATH
WLK1_CHECK
CARD_CHARACTERISTIC_READ
F4_SEARCH_HELP
WS_EXCEL
Regards,
AnuragGo to SE37. Enter the name of the obsolete function module - e.g. WS_QUERY
Click on "Function Module Documentation". This will tell you where to find the replacement.
If that doesn't help, look at class CL_GUI_FRONTEND_SERVICES.
matt -
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
Sandeephere are replacement function modules for the obsolete ones.
award points in case u feel this useful
1. Obsolete Function Module: WS_UPLOAD.
Replacement FM: GUI_UPLOAD.
Note:
1. If the FM WS_UPLOAD' has file type as ASC, then we can use same file
type ASC for GUI_UPLOAD also.
2. But if the FM 'WS_UPLOAD' has file type as DAT, we can not use DAT for
'GUI_UPLOAD' as it will give short dump.
In this case we need use file type as ASC
and
HAS_FIELD_SEPARATOR = X.
3. If the file name or file type of ws_upload have variables or constants
Instead of hard coding, then dont use hard code values for gui_upload.
3. The data type of file name always should be of character type for gui_upload
The file type should be of Type Character and length 10.
4. Always uncomment the exceptions for gui_upload.
5. And also uncomment the code inside IF SY-SUBRC <> 0. and ENDIF after
gui_upload if the customer has not handled any exception in 46c version.
If there is any code inside IF SY-SUBRC <> 0 and ENDIF for ws_upload in 46c
version, Please use the same code in ECC also after gui_upload.
Example:
Example for File type ASC:
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = P_FILE
FILETYPE = 'ASC'
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = P_I_DATA
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TABLE_WIDTH = 4
INVALID_TYPE = 5
NO_BATCH = 6
UNKNOWN_ERROR = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
Replacement FM:
DATA L_P_FILE TYPE STRING.
L_P_FILE = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = L_P_FILE
FILETYPE = ASC
TABLES
DATA_TAB = P_I_DATA
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC NE 0.
MESSAGE E033 WITH P_FILE ' could not be opened'(E03).
ENDIF.
Example for file type DAT:
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = P_FILE
FILETYPE = 'DAT'
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = P_I_DATA
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TABLE_WIDTH = 4
INVALID_TYPE = 5
NO_BATCH = 6
UNKNOWN_ERROR = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
Replacement FM:
DATA L_P_FILE TYPE STRING.
L_P_FILE = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = L_P_FILE
FILETYPE = ASC
HAS_FIELD_SEPARATOR = X
TABLES
DATA_TAB = P_I_DATA
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
Else.
2. Obsolete FM : WS_DOWNLOAD
Replacement FM: GUI_DOWNLOAD.
Note:
1. If the FM WS_DOWNLOAD' has file type as ASC, then we can use same file
Type ASC for GUI_DOWNLOAD also.
2. If the FM 'WS_DOWNLOAD' has file type as DAT, we can use DAT for
'GUI_DOWNLOAD'
3. If the file name or file type of ws_upload have variables or constants
Instead of hard coding,then dont use hard code values for gui_download.
Declare variables and assign the ws_download variables to new variables
and use These in the new FM.
4. The data type of file name always should be of character type for gui_upload
The file type should be of Type Character and length 10.
5. The data type of file name always should be of character type for gui_ download.
6. Always uncomment the exceptions for gui_download.
7. And also uncomment the code inside IF SY-SUBRC <> 0. and ENDIF after
Gui_upload if the customer has not handled any exception in 46c version.
If there is any code inside IF SY-SUBRC <> 0 and ENDIF for ws_ download in
46c version, Please use the same code in ECC also after gui_download.
Example:
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
FILENAME = P_FILENM
FILETYPE = 'DAT' " split into records
TABLES
DATA_TAB = L_ITAB
FIELDNAMES = T_HEAD
EXCEPTIONS
FILE_OPEN_ERROR = 01
FILE_WRITE_ERROR = 02
INVALID_FILESIZE = 03
INVALID_TABLE_WIDTH = 04
INVALID_TYPE = 05
NO_BATCH = 06
UNKNOWN_ERROR = 07.
Replacement FM for above FM:
DATA L_P_FILE TYPE STRING.
L_P_FILE = P_FILENM.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = L_P_FILE
FILETYPE = DAT
TABLES
DATA_TAB = L_ITAB
FIELDNAMES = T_HEAD
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22.
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
*EXPORTING
*defaultoption = 'N'
* extline1 = 'Soll das Include überschrieben werden?'(034)
* extline2 = i_inc-include
* itel = 'Include existiert bereits!'(039)
START_COLUMN = 25
START_ROW = 6
CANCEL_DISPLAY = 'X'
IMPORTING
answer = answer
EXCEPTIONS
OTHERS = 1.
Replacement Method :
DATA : l_question type string.
Concatenate 'Soll das Include überschrieben werden?'(034)
i_inc-include
into l_question.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Prepack deletion'(019)
DIAGNOSE_OBJECT = ' '
TEXT_QUESTION = l_question
TEXT_BUTTON_1 = 'Yes'(020)
*ICON_BUTTON_1 = ' '
TEXT_BUTTON_2 = 'No'(021)
*ICON_BUTTON_2 = ' '
*DEFAULT_BUTTON = '2'
DISPLAY_CANCEL_BUTTON = 'X'
*USERDEFINED_F1_HELP = ' '
*START_COLUMN = 25
*START_ROW = 6
*POPUP_TYPE =
*IV_QUICKINFO_BUTTON_1 = ' '
*IV_QUICKINFO_BUTTON_2 = ' '
IMPORTING
ANSWER = answer
TABLES
*PARAMETER =
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2 .
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Note :
In FM POPUP_TO_CONFIRM_STEP' , the value for import parameter ANSWER is
J (YES),
N (NO).
But for POPUP_TO_CONFIRM , the value for import parameter ANSWER is
1 (YES),
2 (NO).
So, please change these values accordingly while replacing with the new FM.
CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
EXPORTING
DIAGNOSETEXT1 = TEXT-900
DIAGNOSETEXT2 = SY-MSGV1
DIAGNOSETEXT3 = TEXT-901
TEXTLINE1 = TEXT-902
TEXTLINE2 = TEXT-903
TITEL = TEXT-904
IMPORTING
ANSWER = UP_ANSWER.
replacement:
The Diagnose object parameter Z_ZIMPCHK1_POPUP_TO_CONFIRM'
is created in SE61 transaction as DIALOG TEXT object
DATA: W_PARAM TYPE SPAR,
I_PARAMETERS TYPE STANDARD TABLE OF SPAR,
W_TEXT_Q TYPE STRING.
MOVE TEXT-900 TO W_PARAM-VALUE.
MOVE 'TEXT1' TO W_PARAM-PARAM.
APPEND W_PARAM TO I_PARAMETERS.
WRITE SY-MSGV1 TO W_PARAM-VALUE.
MOVE 'TEXT2' TO W_PARAM-PARAM.
APPEND W_PARAM TO I_PARAMETERS.
WRITE TEXT-901 TO W_PARAM-VALUE.
MOVE 'TEXT3' TO W_PARAM-PARAM.
APPEND W_PARAM TO I_PARAMETERS.
CONCATENATE TEXT-902
TEXT-903
INTO
W_TEXT_Q.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = TEXT-904
DIAGNOSE_OBJECT = 'Z_ZIMPCHK1_POPUP_TO_CONFIRM'
TEXT_QUESTION = W_TEXT_Q
IMPORTING
ANSWER = UP_ANSWER
TABLES
PARAMETER = I_PARAMETERS
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
call function 'UPLOAD'
exporting
filename = umsfile
filetype = 'ASC'
tables
data_tab = umsatz.
replacement :
DATA : I_FILE_TABLE1 TYPE TABLE OF FILE_TABLE,
W_FILETABLE1 TYPE FILE_TABLE,
W_RC1 TYPE I,
W_P_DEF_FILE1 TYPE STRING,
W_P_FILE1 TYPE STRING,
w_usr_act1 TYPE I.
W_P_DEF_FILE1 = umsfile.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
EXPORTING
WINDOW_TITLE =
DEFAULT_EXTENSION =
DEFAULT_FILENAME = W_P_DEF_FILE1
CHANGING
FILE_TABLE = I_FILE_TABLE1
RC = W_RC1
USER_ACTION = w_usr_act1
FILE_ENCODING =
EXCEPTIONS
FILE_OPEN_DIALOG_FAILED = 1
CNTL_ERROR = 2
ERROR_NO_GUI = 3
NOT_SUPPORTED_BY_GUI = 4
others = 5 .
IF sy-subrc = 0
AND w_usr_act <>
CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.
LOOP AT I_FILE_TABLE1 INTO W_FILETABLE1.
W_P_FILE1 = W_FILETABLE1.
EXIT.
ENDLOOP.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = W_P_FILE1
FILETYPE = 'ASC'
TABLES
DATA_TAB = umsatz
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
CALL FUNCTION 'DOWNLOAD'
EXPORTING
BIN_FILESIZE = ' '
CODEPAGE = ' '
FILENAME = PT_FILE
FILETYPE = 'DAT'
ITEM = ' '
MODE = ' '
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
FILEMASK_MASK = ' '
FILEMASK_TEXT = ' '
FILETYPE_NO_CHANGE = ' '
FILEMASK_ALL = ' '
FILETYPE_NO_SHOW = ' '
SILENT = 'S'
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
ACT_FILENAME =
ACT_FILETYPE =
FILESIZE =
CANCEL =
TABLES
DATA_TAB = BELEGE
FIELDNAMES =
EXCEPTIONS
INVALID_FILESIZE = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7.
replacement:
DATA: l_filename TYPE string,
l_filen TYPE string,
l_path TYPE string,
l_fullpath TYPE string,
l_usr_act TYPE I.
l_filename = PT_FILE.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
EXPORTING
DEFAULT_FILE_NAME = l_filename
CHANGING
FILENAME = l_filen
PATH = l_path
FULLPATH = l_fullpath
USER_ACTION = l_usr_act
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4.
IF sy-subrc = 0
AND l_usr_act <>
CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
FILENAME = l_fullpath
FILETYPE = 'DAT'
TABLES
DATA_TAB = BELEGE
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF. -
Hi can you please provide alternate replacement function modules for the following obsolete function modules in ECC.
LOG_SYSTEM_GET_RFC_DESTINATION
NAMETAB_GET
VALUES_GET
VALUES_DISPLAY
WS_QUERY
HELPSCREEN_NA_CREATEfor WS_QUERY replacement are...
GUI_GET_DESKTOP_INFO
GUI_GET_FILE_INFO
GUI_EXEC
GUI_RUN
CL_GUI_FRONTEND_SERVICES=>FILE_EXIST or WS_QUERY-Directory Exist is CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXIST
also, check...
http://help.sap.com/saphelp_46c/helpdata/en/d2/42f955cafe11d1ad0c080009b0fb56/content.htm
Message was edited by:
Ramesh Babu Chirumamilla -
Hi,
what is the purpose of ws_query function module??
Thanks & Regards,
abc xyzShort Text
OBSOLETE: Execute Query Functions on Presentation Server
This module is obsolete. Use the appropriate module from the function group SFES.
Queries the file parameters and environment variables on the presentation server. The length or the existence of files can be determined.
Parameters
ENVIRONMENT
FILENAME
QUERY
WINID
RETURN
Exceptions
INV_QUERY
NO_BATCH
FRONTEND_ERROR
Function Group
GRAP
Thanks,
Max -
Hi Experts, replace function module WS_QUERY to return the name of OS?
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
DawsonHi Dawson,
You can use the static method GET_PLATFORM of the class CL_GUI_FRONTEND_SERVICES.
Regards,
Jeevan -
Ws_query inEcc 6.0
hi friends,
can anyone tell me what is the replacement Callfunction
for WS_QUERY and WS_FILENAME_GET.this is both are obsolete
in ECC 6.0
thanks in advance
regards,
sooryaHi Soorya,
You can use ABAP Objects.
Copy paste the code below it works fine.
PARAMETER : p_file LIKE rlgrap-filename.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR path.
DATA: directory TYPE string,
filetable TYPE filetable,
line TYPE LINE OF filetable,
rc TYPE i.
CALL METHOD cl_gui_frontend_services=>get_temp_directory
CHANGING
temp_dir = directory.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'SELECT THE FILE'
initial_directory = directory
file_filter = '*.XLS'
multiselection = ' '
CHANGING
file_table = filetable
rc = rc.
IF rc = 1.
READ TABLE filetable INDEX 1 INTO line.
P_FILE = line-filename.
ENDIF.
The WS_* functions are replaced by class CL_GUI_FRONTEND_SERVICES.
More info: -->
Old...
> New !
POPUP_TO_DECIDE...
> POPUP_TO_CONFIRM
POPUP_TO_GET_VALUE...
> POPUP_GET_VALUES
RH_USERS_OF_ACTIVITYGROUP_GET...
> RH_ACTIVITYGROUP_USER_VIEW (??Check it) !
WS_EXEC...
> CL_GUI_FRONTEND_SERVICES=>EXECUTE (or, FM: GUI_EXEC) !
WS_FILE_DELETE...
> CL_GUI_FRONTEND_SERVICES=>FILE_DELETE (or, FM: GUI_DELETE_FILE)!
WS_QUERY...
> Various methods in CL_GUI_FRONTEND_SERVICES (like GET_PLATFORM etc...)!
WS_FILENAME_GET...
> CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
Cheers
VJ
Message was edited by: Vijayendra Rao -
1933985 NF-e new layout 3.10 - Versão Obsoleta
Caros,
Estou com uma dúvida em relação a aplicação da nota 1933985 - NF-e new layout 3.10.
Há 2 meses aplicamos completamente a nota 1933985, porém ao baixarmos novamente esta note via SNOTE, seu status não está mais como "Completamente Aplicada" e sim como "Aplicada Versão Obsoleta". Sendo assim, gostaria de saber se o correto neste caso, é voltar o status de implementação desta nota e executar a SNOTE novamente para ela? Ou se há alguma sugestão para este caso?
Temos outra nota na mesma situação e não temos certeza se podemos voltar seu status para executarmos novamente a SNOTE.
Muito ObrigadaOlá Cristiane.
Boa tarde.
A última versão lançada para esta nota 1933985 , é a versão 9, do dia 22 de Agosto de 2014.
Acredito não ser possível implementar apenas a diferença entre as versões. Então, tente verificar qual versão foi implementada em seu sistema e atente aos detalhes de mudanças entre as versões, como descrito na nota.
O que acontece é que algumas outras notas foram inseridas como pré requisitos, assim como parte da solução e dos textos, mudaram ao longo das versões.
Então, verifique a possibilidade de reverter a sua aplicação feita anteriormente para proceder, desde o ínicio, com a última versão (9).
Atenciosamente,
Felipe Silveira -
No way for us to know for sure (without similar product/issues) but the
HP Support site suggests that with the current Mavericks OS X 10.9.x
their drivers should be available through Apple Software Updates:
http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/HP-Product-Support-using- Apple-Software-Updates-for-new-OS-X/td-p/3086229
However that may be limited to certain models of printers or scanners that
already had been known to be working under OS X as of that date in a
prior OS X (such as 10.8.5, 10.7.5, 10.6.8, etc) with earlier product support.
•Drivers and Downloads for Printers, Scanners, & More - HP Support:
http://www8.hp.com/us/en/drivers.html
A link to Mac OS X Support's List Printer & Scanner software (HP+ Other)
•OS X: Printer and scanner software available for download
HP Officejet t65 All-in-One Printer
{According to this page, your old printer has only Windows & Linux drivers
but you may or may not look into third-party driver support through such
sites as Gimp; though unlikely to be available with Mavericks, or Yosemite}
•HP Support Forum - Home:
http://h30434.www3.hp.com/psg/?lang=en&cc=us
You may be able to get a deal on a new printer as they are rapidly obsoleted.
PS: edit to add... there was a Gutenprint driver reference for T65 Printer here:
Mac OS X 10.5: Included printer drivers
Yet a driver for ancient Leopard 10.5.x may not be suitable for Mavericks 10.9.x
but the Gutenprint lead may be helpful to locate whatever may exist; or not.
https://www.google.com/?gws_rd=ssl#q=gutenprint+mavericks
Good luck & happy computing!
edited -
I have flash 5. I want to continue using it. (I cannot afford
to buy a new version)
I am used to using "tell target" and other obsolete scripting
tools.
If I make a website with flash 5 old school scripts, will the
Internet continue to play these old code?
Will the current, and future flash players support these old
scripts?Yes, new players include support for movies published under
older versions. The only problem is taking your old fla files and
publishing them with a newer version. That's when you have to
update your code. -
[OBSOLET]Automatically logging in different sessions in KDM via kdmctl
I recently found comfort in KDE, so I try to use KDM on my mediacenter to manage both, a KDE session, as well as an XBMC session.
What I want to do: Log in as $USER on two different sessions, one with XBMC and one with the KDE desktop automatically on boot without the need to provide a password.
After playing a bit with the control center, I came as far as automatically logging in a user and/or allowing a user a passwordless login. This is a good first step. I cannot, however, find a way to define the session it should use, the control center setting for auto login will always use the default session (which is the last session I manually logged in to). There is no way to configure multiple sessions at once in the controlcenter.
So I looked for cli tools and discovered kdmctl. It has a number of features, for example will "kdmctl activate :1" jump to the display :1. Another step closer to my goal is "kdmctl reserve", which opens a new login prompt on the next free $DISPLAY. Now it seems like kdmctl is very session-sensitive. I need root access to call it from a tty, while a normal user is sufficient inside a KDM managed X session. Calling kdmctl in a tty will give me more options, than calling it in X, even with sudo. Upon "# kdmctl" in a tty, I can see resume, manage and login options, which are not there in a KDE session.
What I have so far:
1. I can use the KDE control center to log in a user automatically on :0, but I cannot specify the session (Plasma, XBMC, etc.).
2. I can run "# kdmctl reserve" to create a new login prompt at :1
3. I can login to :1 by issuing "# kdmctl login :1 now USERNAME PASSWORD", but only from a tty (which would be sufficient, as I intend to write a systemd unit).
What I cannot do:
1. I cannot specify the session. I have found http://docs.kde.org/stable/de/kde-works … opics.html, but it is not really helpful. It says I need "[session_arguments]" in the "format of printf specified .dmrc". I assume this is how I could specify my session, but I cannot find any documentation. Maybe I'm using the wrong keywords. There is neither a man page for kdmrc nor for dmrc. This is what I'd like to have some help with.
EDIT: It's not actually solved but has become obsolete. KDE4 is fading away and, according to the wiki, KDE5/plasma5 prefers SDDM. Besides that, I stopped using KDE, stopped switching sessions, stopped working on this a long time ago.
Last edited by Awebb (2015-03-29 11:55:33)Anybody any clues?
-Mahendra. -
ORA-32004: obsolete and/or deprecated parameter(s) specifiedORACLE instance
Hi friends,
i am trying to install BIW 3.0b (win-2000, oracle 9.2.0.1.0 (patch 9.1.0.4.1)& j2sdk 1_4_1)
while installing database instance i am getting this problem.
INFO 2007-09-26 15:57:09
Copying file C:/SAPinst ORACLE KERNEL/keydb.xml to: C:/SAPinst ORACLE KERNEL/keydb.1.xml.
INFO 2007-09-26 15:57:09
Creating file C:\SAPinst ORACLE KERNEL\keydb.1.xml.
INFO 2007-09-26 15:58:14
Processing of host operation t_HostInfo_SHARED succeeded.
INFO 2007-09-26 15:58:35
The 'saploc' share exists at directory 'E:\usr\sap'. Choosing drive E: as SAP System drive.
INFO 2007-09-26 16:00:26
Copying file C:/dump/export1/DB/ORA/DBSIZE.XML to: DBSIZE.XML.
INFO 2007-09-26 16:00:26
Creating file C:\SAPinst ORACLE KERNEL\DBSIZE.XML.
INFO 2007-09-26 16:00:26
Copying file system node C:\dump\export1/DB/ORA/DBSIZE.XML with type NODE to DBSIZE.XML succeeded.
INFO 2007-09-26 16:00:26
Processing of all file system node operations of table tORA_filecopy succeeded.
INFO 2007-09-26 16:00:26
Copying file C:/SAPinst ORACLE KERNEL/DBSIZE.XML to: C:/SAPinst ORACLE KERNEL/DBSIZE.1.XML.
INFO 2007-09-26 16:00:26
Creating file C:\SAPinst ORACLE KERNEL\DBSIZE.1.XML.
INFO 2007-09-26 16:00:26
Copying file C:/dump/export1/DB/DDLORA.TPL to: DDLORA.TPL.
INFO 2007-09-26 16:00:26
Creating file C:\SAPinst ORACLE KERNEL\DDLORA.TPL.
INFO 2007-09-26 16:00:26
Copying file system node C:\dump\export1/DB/DDLORA.TPL with type NODE to DDLORA.TPL succeeded.
INFO 2007-09-26 16:00:26
Processing of all file system node operations of table tORA_filecopy succeeded.
INFO 2007-09-26 16:00:33
Moving file C:/SAPinst ORACLE KERNEL/DDLORA.TPL to: orig_ddl_ora_tmp.tpl.
INFO 2007-09-26 16:00:33
Moving file C:/SAPinst ORACLE KERNEL/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
INFO 2007-09-26 16:00:33
Removing file C:/SAPinst ORACLE KERNEL/orig_ddl_ora_tmp.tpl.
INFO 2007-09-26 16:02:00
Package table created
PHASE 2007-09-26 16:02:10
SAP Business WareHouse
PHASE 2007-09-26 16:02:10
SAP Web Application Server
PHASE 2007-09-26 16:02:10
Request common parameters of SAP System
PHASE 2007-09-26 16:02:10
Create operating system accounts
INFO 2007-09-26 16:02:10
Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1004 ACCOUNTNAME=biwdev\SAP_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2007-09-26 16:02:10
Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1005 ACCOUNTNAME=biwdev\SAP_BWD_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2007-09-26 16:02:10
Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1006 ACCOUNTNAME=biwdev\SAP_BWD_GlobalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Global Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2007-09-26 16:02:10
Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1007 ACCOUNTNAME=ORA_BWD_DBA ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Operator Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2007-09-26 16:02:10
Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1008 ACCOUNTNAME=ORA_BWD_OPER ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2007-09-26 16:02:10
Processing of all account operations of table t_SAPComponent_Accounts_Accounts_SHARED succeeded (operation CREATE).
INFO 2007-09-26 16:02:15
Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1009 ACCOUNTNAME=biwdev\bwdadm ACCOUNTTYPE=USER DESCRIPTION=SAP System Administrator MEMBERSHIP=biwdev\SAP_BWD_GlobalAdmin,biwdev\Users,Administrators,ORA_BWD_DBA,ORA_BWD_OPER,biwdev\SAP_LocalAdmin,biwdev\SAP_BWD_LocalAdmin MEMBERSHIPSEPARATOR=, OPMODE=CREATE USERPASSWORD=*... succeeded.
INFO 2007-09-26 16:02:15
Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1010 ACCOUNTNAME=biwdev\SAPServiceBWD ACCOUNTTYPE=USER CONDITION=YES DESCRIPTION=SAP System Service Administrator MEMBERSHIP=biwdev\SAP_BWD_GlobalAdmin,Administrators,ORA_BWD_DBA,ORA_BWD_OPER,biwdev\SAP_LocalAdmin,biwdev\SAP_BWD_LocalAdmin MEMBERSHIPSEPARATOR=, OPMODE=CREATE USERPASSWORD=*... succeeded.
INFO 2007-09-26 16:02:15
Processing of all account operations of table t_SAPComponent_Accounts_Accounts_SHARED succeeded (operation CREATE).
PHASE 2007-09-26 16:02:16
Request operating system user information
PHASE 2007-09-26 16:02:16
Request operating system user information
PHASE 2007-09-26 16:02:16
Request operating system user information
PHASE 2007-09-26 16:02:16
Request operating system user information
PHASE 2007-09-26 16:02:16
Request operating system user information
PHASE 2007-09-26 16:02:16
Request operating system user information
PHASE 2007-09-26 16:02:16
Request operating system user information
PHASE 2007-09-26 16:02:16
Request operating system user information
PHASE 2007-09-26 16:02:16
Request operating system user information
PHASE 2007-09-26 16:02:17
Request operating system user information
PHASE 2007-09-26 16:02:17
Request operating system user information
PHASE 2007-09-26 16:02:17
Request operating system user information
PHASE 2007-09-26 16:02:17
Request operating system user information
PHASE 2007-09-26 16:02:17
Request operating system user information
PHASE 2007-09-26 16:02:17
Request operating system user information
PHASE 2007-09-26 16:02:17
Request operating system user information
PHASE 2007-09-26 16:02:17
Request operating system user information
PHASE 2007-09-26 16:02:17
Request operating system user information
INFO 2007-09-26 16:02:17
Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1844237615-963894560-725345543-1009' on host 'biwdev'!
INFO 2007-09-26 16:02:17
Successfully added privileges 'SeServiceLogonRight SeNetworkLogonRight' to account 'biwdev\SAPServiceBWD' on host 'biwdev'!
INFO 2007-09-26 16:02:17
Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'biwdev\bwdadm' on host 'biwdev'!
INFO 2007-09-26 16:02:18
Evaluating all 'tNT_RegistryEntries' table rows succeeded.
INFO 2007-09-26 16:02:19
Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
INFO 2007-09-26 16:02:20
Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
INFO 2007-09-26 16:02:21
Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
INFO 2007-09-26 16:02:21
Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
INFO 2007-09-26 16:02:22
Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
INFO 2007-09-26 16:02:23
Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
INFO 2007-09-26 16:02:24
Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
INFO 2007-09-26 16:02:24
Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
INFO 2007-09-26 16:02:53
Creating directory E:\oracle\BWD\sapdata1\system_1.
INFO 2007-09-26 16:02:53
Creating file system node E:\oracle\BWD/sapdata1\system_1 with type DIRECTORY succeeded.
INFO 2007-09-26 16:02:53
Processing of all file system node operations of table tORA_SapdataNodes succeeded.
INFO 2007-09-26 16:02:53
Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
INFO 2007-09-26 16:02:53
Processing of all file system node operations of table tORA_SapdataNodes succeeded.
INFO 2007-09-26 16:02:55
Copying file C:/dump/master/NT/COMMON/INSTALL/INITSID.ORA to: E:\oracle\ora92\database\initBWD.ora.
INFO 2007-09-26 16:02:55
Creating file E:\oracle\ora92\database\initBWD.ora.
INFO 2007-09-26 16:02:55
Copying file system node C:\dump\master/NT/COMMON/INSTALL/INITSID.ORA with type FILE to E:\oracle\ora92\database\initBWD.ora succeeded.
INFO 2007-09-26 16:02:55
Copying file C:/dump/master/NT/COMMON/INSTALL/INITSID.SAP to: E:\oracle\ora92\database\initBWD.sap.
INFO 2007-09-26 16:02:55
Creating file E:\oracle\ora92\database\initBWD.sap.
INFO 2007-09-26 16:02:55
Copying file system node C:\dump\master/NT/COMMON/INSTALL/INITSID.SAP with type FILE to E:\oracle\ora92\database\initBWD.sap succeeded.
INFO 2007-09-26 16:02:55
Copying file C:/dump/master/NT/COMMON/INSTALL/INITSID.DBA to: E:\oracle\ora92\database\initBWD.dba.
INFO 2007-09-26 16:02:55
Creating file E:\oracle\ora92\database\initBWD.dba.
INFO 2007-09-26 16:02:55
Copying file system node C:\dump\master/NT/COMMON/INSTALL/INITSID.DBA with type FILE to E:\oracle\ora92\database\initBWD.dba succeeded.
INFO 2007-09-26 16:02:55
Processing of all file system node operations of table tORA_ServerConfig_FORMS succeeded.
INFO 2007-09-26 16:02:57
Processing of adapt operation tORA_ServerConfig succeeded.
INFO 2007-09-26 16:02:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-09-26 16:03:02
Moving file E:/oracle/ora92/database/initBWD.ora to: orig_init_ora_tmp.txt.
INFO 2007-09-26 16:03:02
Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: E:\oracle\ora92\database\initBWD.ora.
INFO 2007-09-26 16:03:02
Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
WARNING 2007-09-26 16:03:02
PROBLEM: 'E:\oracle\ora92/bin/oradim' not found. CAUSE: Unable to find application via absolute path in filesystem. Application could perhaps be found using environment variable path or is really missing. Trying to call the application nevertheless.
WARNING 2007-09-26 16:03:02
PROBLEM: 'E:\oracle\ora92/bin/oradim' not found. CAUSE: Unable to find application via absolute path in filesystem. Application could perhaps be found using environment variable path or is really missing. Trying to call the application nevertheless.
INFO 2007-09-26 16:03:02
'E:\oracle\ora92/bin/oradim -new -sid BWD -STARTMODE auto' returned with '20'.
INFO 2007-09-26 16:03:04
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-09-26 16:03:06
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2007-09-26 16:03:13
CJS-00084 SQL Statement or Script failed. Error Message: ORA-32004: obsolete and/or deprecated parameter(s) specifiedORACLE instance started.
ERROR 2007-09-26 16:03:13
FJS-00012 Error when executing script.
Please let me know, what was tha problem.
Regards,
satishI suggest you upgrade your Oracle installation to 9.2.0.7 or 9.2.0.8 and then try again.
Markus -
How to find the Obsolete function module in ECC 6.0
Hi Guys,
How we can find the all obsolete function in ECC 6.0, is any T-code to finding the obsolete function modules, or any other way to find.
Could you please help me.
Thanks,
Gourisankar.Hi Gouri,
If you are looking at determining whether a single FM is obsolete or not is by this method:
Go to FM in SE37 -> Goto Attributes Tab -> General Data section -> look above the Edit Lock field ... where SAP places the release status and date of the FM, if the FM is obsolete, the text Function Obsolete appears
This is one way of finding out one FM @ a time
However if you want to check on a mass scale, I dont have a SAP system here hence cant confirm, however, all FMs are stored in TFDIR database table. Please scroll through the fields of the DB table to check whether any field relates to release status or the like. If it does, then from SE16, you can put the value corresponding to "Obsolete" in the field and run to check all FMs.
Cheers,
Aditya
Maybe you are looking for
-
How to change default page in webclient
Hi, For business role Ic_agent, the default page is identify account when you login. I wanna change the default page to interaction record.How to configure? Thanks! BR, ROBERT
-
Unable to configure LUN in Solaris 10 (T3-1)
Hi everyone, While trying to configure a LUN on Solaris 10u9, I'm running into a problem getting it configured and available in 'format'. These are the things I tried: -bash-3.00# cfgadm -o show_FCP_dev -al c5 Ap_Id Type Receptacle Occupant Condition
-
My computer is doing everything perfect, but not launching front row. I have no clues as to why. When I click and hold down over the front row icon in my doc the only options are "Show Front Row" and "Remove from Doc". Edit: The "About this mac" will
-
The submit button is grayed out on two of the 8 surveys sent. Why would this be the case when the survey is still active. I am testing this product before purchasing and I can't have this problem with a live survey.
-
Mobile app based on web service data control and VO with VC runtime error
Hi, Jdev 11.1.2.3.0 + mobile extension. Windows 7, 64 bit. Reproduceable with Android emulator but not on iOS and iOS emulator. I can not test on real Android device because we do not have it in our office. So I don't know wether this issue is relate