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.
Similar Messages
-
Replaced version of Function Module PFL_COPY_OS_FILE in ECC 6.0
Hi everybody,
Can anybody tell me what is the replaced name of function module PFL_COPY_OS_FILE in ECC 6.0. This function module was used in 4.6C version and become obsolete in ECC 6.0. It is basically used for copying OS files.check CL_GUI_FRONTEND_SERVICES=>FILE_COPY
new_file = P_FILE.
app_full_name = R_FILE.
CALL METHOD cl_gui_frontend_services=>file_copy
EXPORTING
SOURCE = new_file
DESTINATION = app_full_name
overwrite = 'X'
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
wrong_parameter = 3
disk_full = 4
file_not_found = 5
destination_exists = 6
unknown_error = 7
path_not_found = 8
disk_write_protect = 9.
IF sy-subrc NE 0.
EXIT.
ENDIF. -
Replacement of Function Module 'www_get_mime_object' in ECC 6.0
HI,
I need an exact replacement for the Function Module 'www_get_mime_object' in ECC 6.0.
Please help it out.
Regards,
Ashok.hey
-
How can I call the function module of the ECC when I save the campaign?
HI Experts!
I want to call function module of the ECC when I click the save button in the campaign view,A badi or userexit is needed,but I don't find, can you tell me which badi or userexit is used to implement?Thanks a lot.
I have tried,but it can't do.
who can tell me which badi and detailed implementation step?
waiting on line. -
Obselete function module replacement in ECC 6.0
Hi SDN,
Pls let me know the replacement for FM GRAPH_SET_CUA_STATUS. in ECC 6.0.
Regards,
Rahul WaghHi Rahul,
in [this blog |/people/andrea.olivieri/blog/2010/04/30/community-call-obsolete-function-modules-replacement-matrix-for-ecc-60]published several months ago, I collected my thoughts on this persistent issue.
In my opinion you can continue to use the FM GRAPH_SET_CUA_STATUS without any problems, confirming that the presence of numerous standard programs that use this method.
Regards,
Andrea -
Alternative for Function module 'F4_CHOOSE_MCID' in ECC 5.0?
Hi,
Can any one tell me the Alternative for Function module <b>'F4_CHOOSE_MCID'</b> in ECC 5.0?
Helpful answers will be rewarded.
Thanks
KiranHi,
Please use this FM UMC_NOTIF_SEND_EMAIL to send an email in ECC 5.0.
Regards,
Ferry Lianto -
Replacement for Function Module 'SEND_TABLE_TO_EXCEL' in ECC 6.0
Hi Friends,
Can anybody help me to find the replacement of Function Module <b>'SEND_TABLE_TO_EXCEL'</b> in ECC 6.0.
The Function Module exists in 4.6b. But it is no longer available in ECC 6.0.
Regards,
Vaitheeswaran.If you want to download an internal table to excel format you can use the <b>"GUI_DOWNLOAD"</b> function.Some sample code is as below.
types: begin of gs_xcel,
vkorg type vbak-vkorg,
del1(1) type c,
vtweg type vbak-vtweg,
del2(1) type c,
zzposmgr type zzsdacspo-zzposmgr,
del3(1) type c,
zz_region type zzsdaregn-zz_region,
del4(1) type c,
ename2 type pa0001-ename,
del5(1) type c,
zzcsospos type vbak-zzcsospos,
del6(1) type c,
ename type pa0001-ename,
del7(1) type c,
vbeln type vbfs-vbeln,
del8(1) type c,
text type t100-text,
del9(1) type c,
msgv1 type vbfs-msgv1,
del10(1) type c,
auart type vbak-auart,
del11(1) type c,
erdat type vbsk-erdat,
del12(1) type c,
wadat_ist type likp-wadat_ist,
end of gs_xcel.
data: gt_xcel type table of gs_xcel,
gws_xcel type gs_xcel.
data: v_tmp_name type string,
v_tmp_name = 'c:\sdrinver.xls'.
call function 'GUI_DOWNLOAD'
exporting
BIN_FILESIZE =
filename = v_tmp_name
FILETYPE = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ','
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = gt_xcel
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 -
Remote Function Module call from ECC to CRM (how to pass parameters?)
Hi there,
I have a remote FM that I would like to call from ECC to CRM. The FM is remote-enabled, so I assume that I can call this from CRM. However, in CRM some of the table structures that is required are not available. Hence, my export/import parameters won't be match, unless I create those types in CRM, but this is going to major work!!
How do we pass/import the parameters since the data type in ECC is vastly different/not available in CRM?
CheersThe structure will need to be defined in CRM.
-
Obsolete function module in ECC 6.0 - BAPI_COSTESTIMATE_CREATE_SPLIT
Hi Guys,
The above function module obsoleted in ECC 6.0, I need related function module in ECC 6.0.
Could you please suggest me, which is the related function module in ECC 6.0?
Please take a high priority. Advance thanks guys.
Thanks,
Gourisankar.Hello,
Take a look at class CL_GUI_FRONTEND_SERVICES.
Regards,
John. -
This Funtion POSTING_INTERFACE_START is Obsolete in ECC 6.0
Hi,
Someone know if this function is obsolete in ECC 6.0
Wait you help.
ThanksNo, it's still used, but it's not released for direct customer use either...
-
Function modules for User check and Product search
Hi,
Please give me the names of function module which are used for user login check, and Product search.
Thanks,
Devender VHi,
For User login check belwo Function module,
SUSR_LOGIN_CHECK_RFC for ECC/R3
CRM_ISA_LOGIN_R3USER_CHECKS for CRM
For product try below Function module.
BAPI_MATERIAL_GET_DETAIL
I hope this information will help you.
Regards.
eCommerce Developer -
Function module - Create Customers in ERP
Hi Gurus,
I am working on an implementation of ISA for ERP and I need to create customer in ECC 6.0 from a web page that will be included in the ISA application.
Can anybody suggest me a standard function that can be leverage for this purpose?
Thanks in advance.Thanks again Cristoph.
Sorry, but I have another question. what I am trying to do is giving the possibility to the agent of a B2B Order On Behalf scenario to create a customer on the ERP (ECC 6.0) (when the customer itself is not created in the master data yet) directly from the ISA application (maybe adding a custom page that is calling a function module directly on ECC).
Since I know that in this kind of scenario the standard is not covering this requirement, I was wandering whether you knew a "workaround" or a re-usable solution that I can leverage to satisfy the requirement.
I would appreciate a lot any help you might give me.
thanks a lot! -
Clarification on some reading: Datasource and Function Module extraction
Hi,
I found a link on Help.sap which explains how to create a function module and I have some questions after my review:
It basically uses function module to read some filght data from the table SPFLI
1.
I got into this research since one of the methods for data extraction from R3/ECC to BW is through Function Modules.
Why couldn't that extraction be based on a view of the table SPFLI.
i.e. why is this complication of writing an ABAP code to achieve something which could be done with a DB view or table?
2.
Any example or scenario where you think a datasource could NOT be created based on a table, Database View or Sap Query and that it must be done with a Function Module?
3.
So, once the function module is successfully created; how to do create a Datasource based on this function modeule to take care of the delta's on the source data?
4.
There was a discussion about "remote function call" which I did not get completely. Will extracting data from R3/ECC to BI be regarded as "remote call"
Thanks1. Why couldn't that extraction be based on a view of the table SPFLI. i.e. why is this complication of writing an ABAP code to achieve something which could be done with a DB view or table?
A DataSource could have been created directly from table SPFLI. It was used as an example in the case of the document is my guess. There are some table types, however, that you cannot create a DataSource directly off of.
2. Any example or scenario where you think a datasource could NOT be created based on a table, Database View or Sap Query and that it must be done with a Function Module?
Pool/Cluster tables cannot be directly read and therefore must use a Function Module for extraction. Another reason for using a Function Module, even against a single table, is in the case that you have more than one field that you want to create a generic delta against. SAP delivers the capability in the application to set a generic delta on only one field within the DataSource. If there is more than one, say created on and changed on dates, a Function Module is require in order to enable that.
3. So, once the function module is successfully created; how to do create a Datasource based on this function modeule to take care of the delta's on the source data?
Go to tocde RSO2, enter the DataSource name, click on the Create button. In the next screen, there are three buttons toward the top to tell what is the source of the DataSource: 1) Extraction from View (default); 2) Extraction from Query; and 3) Extraction from Function Module. When you click on the Extraction from Function Module button, the View/Table field will gray out and the Function Module and Extraction Structure fields will un-gray.
4. There was a discussion about "remote function call" which I did not get completely. Will extracting data from R3/ECC to BI be regarded as "remote call"
I think that this is referring to a process whereby you create a remote-enabled Function Module on the source R3/ECC system and then create an ABAP program in BW that calls that remote-enabled Function Module. Basically, the ABAP program on BW would send some parameters through to the remote-enabled Function Module on R3/ECC. The Function Module would extract data into an internal table and then pass that internal table back through to the ABAP program in BW for further processing.
Edited by: Dennis Scoville on Aug 20, 2009 8:18 AM -
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 -
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
Maybe you are looking for
-
Is there a way of getting your photos off your lost or stolen phone using any type of app?
hi my phone was stolen last couple of days and i was wondering.. i know icloud had it to where you can still see all of your contacts but is there a way of getting all of your pictures back?
-
Customer Hierrachy not displayed in XD02 or XD03
When you create customer with XD01, you can assign hierarchy customer on the sales tab of the sales view. This created the hierarchy tree automatically. However, when you display the customer through XD03, you cannot see the hiearchy customer in the
-
Why can't I wake up my mac book pro
Why does my mac book pro keep going to sleep? I can't wake it up.
-
Hi Friends, I am doing a BDC for VK11. i will be getting 3 condition types, based on that, i have to create 3 internal tables and have to call Transaction VK11 3 times. how to proceed this? when the program is calling second time its not showing the
-
Security Exception from Java stand-alone program on Linux
Hi All, I am getting the following exception while running a Java stand-alone program on Linux. The stand-alone program internally calls the JCE (Java Cryptography Extension) library for Encryption of data. Does anybody have the solution for this err