Replacement of Function module in ECC 6.0

Advertisement
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 the use of these function modules is mentioned.
Best Regards,
Lavanya.
Advertisement

Replay

use          'DDIF_NAMETAB_GET'
Functionality
This function module reads the runtime information (nametab) of a table or in general of any type of the ABAP Dictionary. However, the runtime information does not contain any text. You should use the function module DDIF_FIELDINFO_GET to read the runtime information including text (or to determine the domain for table fields).
The types of the ABAP Dictionary are divided into data elements, structured types and table types.
A structured type consists of a sequence of components that are each identified by a unique name. A type is defined for each of these components. In addition to the types of the ABAP Dictionary, you can also use the built-in types of the R/3 System (CHAR, NUMC,...) to define the types of the components.
All its components as well as the fields of its structured components are called the fields of a structured type. The name of a field no longer uniquely identifies it within a structured type. For example, a structured type S could have a structured component F, which itself has a component called F. In this case S would have two fields with the name F. For this reason, its long field name is used to identify a field within a structured type. The long field name is the same as the name of the components for the components of the structured type itself. For the fields of a structured component, the long field name is a concatenation of the name of this structured component, the separator '-' and the long field name of the field in the structured component.
A field whose type is defined by a data element or a built-in type is also called an elementary type. A structured type whose components are all defined as elementary types is called flat. All other structured types are called deep.
This module gets the runtime information for the type whose name is defined in the IMPORT parameter TABNAME. If there is no such type, the exception NOT_FOUND is triggered.
Caution: If the IMPORT parameter ALL_TYPES is not set, only flat structured types are taken into consideration. In this case the exception is also triggered if the specified type is a data element, deep structure or a table type.
If the IMPORT parameter LFIELDNAME is not initial, only structured types having a field with the long name defined by LFIELDNAME are taken into consideration. The exception NOT_FOUND is triggered for all other types.
The internal representation of the runtime object is returned in parameters X030L_WA and X031L_TAB. Depending on the type category, this information is then edited in the corresponding parameters (see documentation about the parameters).
Notes
1. If parameter LFIELDNAME is not initial, X031L_TAB nevertheless contains the description of all fields of the structured type. The decoded form is only determined for the specified field, and the result is copied to DFIES_WA instead of DFIES_TAB. Since decoding for all the fields often takes up most of the runtime for this module, you should set parameter LFIELDNAME if you only need information about one field of the structured type.
This module gets the runtime information about a type. This means that only the currently active version of the type is taken into consideration. If none exists, the exception NOT_FOUND is triggered.
The corresponding function module DDIF_<object type>_GET is used to read the actual definition of a type of the ABAP Dictionary.
Caution: These read modules are much less efficient than the modules for defining the runtime information. You should therefore only use them if the runtime information is not sufficient.
2. The documentation for IMPORT parameter GROUP_NAMES describes how to handle named includes.

Alternative Function module in ECC 6.0

Hi, The function module FI_DOCUMENT_ARCH_JUMP_HEAD_SGL  and FI_DOCUMENT_ARCH_READ_DETAILS  is available in 4.6c but is not available in ECC 6.0. I have to import a progam from 4.6 to ECC 6.0.with uses this function module . Please let me know alterna

Absolete Function Modules for ECC 6.0

Hi guys, iam doing upgrade project, i want know absolete for this function modules CALL FUNCTION 'NAMETAB_GET' EXPORTING TABNAME = 'BKPF' TABLES NAMETAB = HNAMTAB EXCEPTIONS OTHERS = 0. CALL FUNCTION 'WWW_USER_AUTH_MESSAG' plz give me suggestion for

Has anyone used the FORMAT_MESSAGE function module in ECC 6.0 ??

We've upgraded to ECC 6.0 and now I have a BDC program using FORMAT_MESSAGE function module that has a problem.  The number after the & (&1, &2, &3, &4) in the function mod isn't replaced, it stays as a literal and only the & is re

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

Enhance standard function module in ECC 5.0 System

Hi All, My requirement is to add the custome fields in the standard screen.there is no screen exit for this screen. The screen is calling by using the standard function module CALL_SCREEN_HU_DISPLAY Iam working on ECC 5.0 System, Is it possisble to e

Replacement of Function Module RH_AHQ_INT_BUILD_WHERE_CLAUSE

In 4.5B ver I am using Function module <b>RH_AHQ_INT_BUILD_WHERE_CLAUSE</b> for generating dynamic where clause for select statement. But In 4.7 ver this Function does not exit please let me know any other FM is there which will satisfies my r

Function module EBBS_ITEMS_READ doesn't exist in ECC 5(SAPNetweaver)!

Hi, In our 4.6B system we have a few programs that use function module EBBS_ITEMS_READ. Unfortunately this function module no longer exists in ECC 5 and our programs no longer work! SO I've tried to find what SAP has done to replace these function mo

Replacement of  obseleute function modules

Hi,     We are upgrading our system from ECC 4.6 to ECC 6.0. For that we are Replacing the below obseleute function module shown in below. TZ_USER_SYSTEMCLOCK TZ_LOCATION_TIMEZONE        ADDRESS_GET_DATA      HELPSCREEN_CREATE      HELP_DOCU_SHOW_FOR

How to Use ECC function Module

Hi Experts - We need to execute the function module in ECC and need to write data in Oracle table. We are using BODS 4.0. How to use function module in data flow ? how it can work as a source ? I just need some basic steps how to use function module

RFC function module in bI

hi all, 1.is it possible to write a function module  in BI transformations to call a function mod. in ECC side? Then how. 2. can we create a cluster table in BI?1.is it possible to write a function module in BI transformations to call a function mod.

Crystal Report Connectivity to Function module

Hi, I have a crystal report which is connected to a Function module in ECC(dev). After the function module moved to Quality I could repoint the crystal database to Quality. Later, some changes were made in the function module fields (eg: change in fi

Functional module name of smartform

Hi, I have created a smartform and generated it. what will be the name of the Functional module? how to use it in abap Thanks, Mounika.hi, Use You trigger form printing by calling as few as two function modules. The first module uses the name of the

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

Replacements for obsolete function modules

Hi, What is the best way to find out the replacement for the obsolete function modules? We are starting an upgrade project and are required to replace the obsolete function modules used in that. So before starting that I want to keep a list of obsole

Replacement for a Function module

Hi all, There is a function module '<b>HELP_VALUES_GET_NO_DD_NAME'</b> to display possible values for a database field. This FM is getting obsolete in near future. Does anyone know any replacement provided by SAP for this FM?Hi, <b>repla

HR TEM - Function Module  to Replace Attendee in the Background

Hi Experts, We are on SAP 4.7. We have a requirement to automate the Replace Attendee process(T code PV03) in TEM. I need to ask, if there is any standard function module or BAPI like we have for Booking (BAPI_BOOK_ATTENDANCE) and for pre booking (BA

Create BW datasource on standard ECC function module MCEX02_02_SCL_GR

Hello Experts, I plan to use standard ECC function module MCEX02_02_SCL_GR to get the GR dates for the PO Schedule Lines. I copied this function module with the BW function group and tried to create a datasource in RSO2. However I receive the followi

Replace of  FM 'HELP_VALUES_GET_WITH_TABLE' in ECC 6.0

Hi Friends,               As iam working in the upgradation project,I wanted to know which function module is replaced in ecc 6.0 for the FM  'HELP_VALUES_GET_WITH_TABLE' that is used in 4.6cCheck with FM, F4IF_INT_TABLE_VALUE_REQUEST   This FM is us

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