Replacement for obsolete 'FM NAMETAB_GET'
Hi,
We have been upgrading SAP from 4.6B to ECC6.0...During this process we have encountered an obsolete 'FM NAMETAB_GET', but as no documentation is available for the same, we are looking for an alternative / replacement for the 'FM NAMETAB_GET'...All suggestions are welcome...
Thanks in advance
Hi Nishant,
here is the sample code for the function module NAMETAB_GET
data: begin of nametab occurs 60.
include structure dntab.
data: end of nametab.
call function 'NAMETAB_GET'
exporting
langu = sy-langu
tabname = table
tables
nametab = nametab
exceptions
no_texts_found = 1.
REPLACEMENT
data: begin of nametab occurs 60.
include structure DFIES.
data: end of nametab.
CALL FUNCTION 'DDIF_NAMETAB_GET'
EXPORTING
TABNAME = table
TABLES
DFIES_TAB = nametab
EXCEPTIONS
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.
rewards if useful......
Similar Messages
-
Replacement for Obsolete Payroll schemas 'KARMC' and 'XEDT' in ECC 6.0
Hi Experts,
I am working in a upgradation project. In HR Module (Payroll schema). Any one can help me out what are the replacement for obsolete payroll schemas 'KARMC' and 'XEDT' in ECC 6.0. (These two are there in 4.6C but, not in ECC 6.0)
Thanks in Advance,
Ramesh.Hi Experts,
I am working in a upgradation project. In HR Module (Payroll schema). Any one can help me out what are the replacement for obsolete payroll schemas 'KARMC' and 'XEDT' in ECC 6.0. (These two are there in 4.6C but, not in ECC 6.0)
Thanks in Advance,
Ramesh. -
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 obsolete function modules and their replacements ready.
SSHi,
RODIR table gives not only FM, all obsoletes types.
if you dont find, best way is when we check EPC for the program,
in call function interface warnings shows, obsolete function modules.
or do UCCHECK it will both obsolete and suggested replacements.
Thanks
Vinod -
Replacement for obsolete field groups in ECC 6
Hi ,
I am working in a upgrade project from ecc4.7 to ecc6
So i am finding difficulties for
replacing FIELD groups.
FIELD-GROUPS : HEADER, DETAIL.
INSERT : w_EBAN_TMP-EKORG
w_EBAN_TMP-EKGRP
w_EBAN_TMP-BANFN "Requisition Number
INTO HEADER.
INSERT w_EBAN_TMP-EBELN "Purchase Order Number
w_EBAN_TMP-EKORG "Purchase Org.
w_EBAN_TMP-EKGRP "Purchase Group
w_EBAN_TMP-BEDAT "Purchase Order Creation Date
w_EBAN_TMP-BADAT "Requisition Creation Date
w_EBAN_TMP-ESTKZ "(Manually or MRP)
w_EBAN_TMP-MATNR "Part number
w_EBAN_TMP-BANFN "Requisition Number
w_EBAN_TMP-BADAT "PO Creation Date
w_EBAN_TMP-NAME1 "Vendor Name
TOT "used to get the avg
TOTAL05 " <= 05 days
TOTAL10 " <= 10 days
TOTAL15 " <= 15 days
TOTAL20 " <= 20 days
TOTAL25 " <= 25 days
TOTAL30 " <= 30 days
TOTAL31 " >= 31 days
VALUE05
VALUE10
VALUE15
VALUE20
VALUE25
VALUE30
VALUE31
VIAMAN "Created Manually
VIAMRP "Created via MRP
w_EBAN_TMP-URGENT "Urgent mark "AB25385
INTO DETAIL.
WHILE ,IN EXTENDED SYNTAX CHECKING A MESSAGE IS GIVING THAT .
" " FIELD-GROUPS ARE NO LONGER USED.
The current ABAP command is obsolete
Field groups cannot be created in the OO context.
Internal Message Code: FIELD-GROUPS 000
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON) ""Extract from [Type Definitions and Data Declarations|http://help.sap.com/abapdocu_70/en/ABENABAP_OBJECTS_DIFF_TYPES_DATA.htm]
No Definition of Field Groups in Methods
The statement FIELD-GROUPS is not allowed in methods.
Error message in methods if the following syntax is used:
METHOD ...
FIELD-GROUPS fg.
ENDMETHOD.
Reason:
An [extract dataset|http://help.sap.com/abapdocu_70/en/ABENEXTRACT_DATASET_GLOSRY.htm] currently exists only as a global object of the [main program|http://help.sap.com/abapdocu_70/en/ABENFRAME_PROGRAM_GLOSRY.htm]. Therefore the field groups can only be defined globally in the main program. However, the definition of the field group structure, which is enerated at runtime by the statement INSERT ... INTO fg, can also be executed in methods.
(SCI is "picky")
Regards,
Raymond -
Better replacement for Obsolete statement
Hi ,
During upgradation to ECC 6.0 , at many places in order to correct the Unicode error we need to use the Move statement. Since the Move-Corresponding is an obsolete statement now , so we can't use it any more. It is very difficult and highly time consuming to move huge structures and internal tables field by field . Is there any alternative to this ?Move-Corresponding is an obsolete statement now
Who said ????
at many places in order to correct the Unicode error we need to use the Move statement
What type of error ? -
Replacement for FM WS_MSG as it is obsolete in ECC6.0
HI ALL,
can you please suggest me the replacement for obsolete FM WS_MSG.Try with
HELP_VALUES_GET_WITH_VALUE
POPUP_TO_DISPLAY_TEXT
Regards. -
While upgrading to ECC6.0 (unicode enviromnent), what should be replacement for
obsolete funciton module HR_DISPLAY_BASIC_LIST ??
(if suggesting REUSE_ALV_GRID_DISPLAY, please check the parameters and feedback).
thanks,
SusanHi Remi,
can you help me in replacing the below , as facing problem in pameter matching:
CALL FUNCTION 'HR_DISPLAY_BASIC_LIST'
EXPORTING
BASIC_LIST_TITLE = SY-TITLE
FILE_NAME = MYREPORT
HEAD_LINE1 = P_RECORD_CONTROL-RECORD_TITLE
HEAD_LINE2 = HEADLINE2
FOOT_NOTE3 = P_TEMSE_OBJECT-FULL_NAME
LAY_OUT = 1 "Table ctrl error for 20+ cols
LIST_LEVEL = P_RECORD_CONTROL-SCREEN
CURRENT_REPORT = MYREPORT
TABLES
DATA_TAB = T_INPUT_TABLE
FIELDNAME_TAB = P_FIELD_NAME_TABLE
EXCEPTIONS
DOWNLOAD_PROBLEM = 1
NO_DATA_TAB_ENTRIES = 2
TABLE_MISMATCH = 3
PRINT_PROBLEMS = 4
OTHERS = 5.
thanks & regards,
Susan -
Replacement for 'WS_MSG'
Hi All,
Can anyone suggest a replacement for obsolete FM "WS_MSG".?
Thanks ,
VasukiRefer to the below thread -
is 'POPUP_TO_DISPLAY_TEXT' obsolete ..if so how to check
Please refer to the earlier threads in the Forum before posting a new thread. -
Replacement for these Obsolete Function Modules
Hi,
Can anyone tell me the replacement for these Obsolete Function Modules .
1) K_BUSINESS_PROCESS_READ
2) HELP_VALUES_GET_WITH_TABLE_EXT
3) G_SET_AVAILABLE
Regards,
Arunhi check thes for any function modeules...
http://www.erpgenie.com/abap/functions.htm
http://www.sap-img.com/abap/function-list.htm
regards,
venkat. -
Replacement for HELP_VALUES_GET_WITH_MATCHCODE in ECC 6.0
Hi Friends,
should the FM HELP_VALUES_GET_WITH_MATCHCODE bereplaced with the new one in ECC 6.0 or not.if so what is the replacement for it.Please provide.
Regards,
Pradeep PHi,
HELP_VALUES_GET_WITH_MACO is the one which is obsolete but is called from within the HELP_VALUES_GET_WITH_MATCHCODE function module which is not obsolete. I don't why it is like that, but may be for compatibility reasons, they left it out like that.
But as of now your function module is not obsolete.
Regards
Kiran Sure -
Need replacement for function module "WWW_GET_SCRIPT_AND_HTML"
Hi,
We are upgrading the system from 4.6c to ECC 6. "WWW_GET_SCRIPT_AND_HTML" is flagged as obsolete in the ECC 6 version.Can you please give me a replacement for the above FM.The code is as follows.......thanks in advance
CALL FUNCTION 'WWW_GET_SCRIPT_AND_HTML'
EXPORTING
obj_name = 'SDCAS_XML_TEMPLATE'
TABLES
html = xml_output.
Thanks n regards,
InduHi Indu,
Did you find the answer? If so could you post it?
Thanks in Advanced!
Kind Regards,
Gerardo J -
Replacement for QSIMG, AU015 and XEDT in payroll schema Q000 in ERP 6.0
Hi SAP Gurus,
I am involved in SAP HR upgrade from R/3 4.6c to ERP 6.0 for country AU.
Now, there are three functions - namely QSIMG, AU015 & XEDT - that have become obsolete in payroll schema Q000 in ERP 6.0. Can anyone please let me know what are the replacements for these functions in payroll schema Q000 in ERP 6.0.
How is SAP handling the functionalities of these functions - QSIMG, AU015, XEDT in payroll schema Q000 in ERP 6.0
Any pointers in this regard will be highly appreciated.
Regards,
VivekI`d say contact SAP . I did check following OSS notes , but no-luck !
FYI
1. 0.760 PY-AU 1003724 IT0014 wagetype processed differently in QSIMG and P0014 13.12.2006
2. 0.400 PY-AU 931854 Termination Payment incorrect because of Infotype 14 15.03.2006
3. 0.290 PY-AU 626989 Taxation on Lump Sum Payments as Arrears 27.04.2004
4. 0.570 PY-AU 369575 Termination using delimited infotype 14 records 09.07.2001
5. 0.340 PY-AU 210623 PY-AU: Bonus combined with Adv Pays causing problems 04.07.2000
6. 0.470 PY-AU 208953 PY-AU: WPBPC not working in termination simulation -
Word Replacements for Non- English Characters
Hi
Does anyone have an idea on implementing Word Replacements for non- english characters in TCA- DQM 11i.
We are trying to identify, capture and cleanse common accented characters like à, â , ê
However, the default language for replacement is American English , So even if we add these in the existing lists it will not take any effect
Is creating a new Word replacement list for every language the solution ?? any patch recommendations???
Thanks in advanceIt seems that this is an issue that has popped up in various forums before, here's one example from last year:
http://forum.java.sun.com/thread.jspa?forumID=16&threadID=490722
This entry has some suggestions for handling mnemonics in resource bundles, and they would take care of translated mnemonics - as long as the translated values are restricted to the values contained in the VK_XXX keycodes.
And since those values are basically the English (ASCII) character set + a bunch of function keys, it doesn't solve the original problem - how to specify mnemonics that are not part of the English character set. The more I look at this I don't really understand the reason for making setMnemonic (char mnemonic) obsolete and making setMnemonic (int mnemonic) the default. If anything this has made the method more difficult to use.
I also don't understand the statement in the API about setMnemonic (char mnemonic):
"This method is only designed to handle character values which fall between 'a' and 'z' or 'A' and 'Z'."
If the type is "char", why would the character values be restricted to values between 'a' and 'z' or 'A' and 'Z'? I understand the need for the value to be restricted to one keystroke (eliminating the possibility of using ideographic characters), but why make it impossible to use all the Latin-1 and Latin-2 characters, for instance? (and is that in fact the case?) It is established practice on other platforms to be able to use characters such as '�', '�' and '�', for instance.
And if changes were made, why not enable the simple way of specifying a mnemonic that other platforms have implemented, by adding an '&' in front of the character?
Sorry if this disintegrated into a rant - didn't mean to... :-) I'm sure there must be good reasons for the changes, would love to understand them. -
Replacement for FUNCTION 'DYNP_VALUES_UPDATE'in ecc 6.0
Hi all!
Can any one please tel me the replacement for FUNCTION 'DYNP_VALUES_UPDATE'which is oboselete in ecc 6.0. I need the revised function module for this in ecc 6.0.Where do you have the information from that this function module is obsolete in ECC6. Neither the shortext nor any comments in the code nor the function module documentation states that this is obsolete (which is usually does if it is).
The only thing that the function module documentation says is that the solution was revised as well as the docu, therefore I can't see why this function module would be obsolete.
Hope that helps,
Michael -
Replacement for a function module in 6.0
Hi
I am in the process of upgrading from 4.7 to 6.0 . The function module SAPWL_STATREC_READ_FILE is flagged as obsolete . Am unable to find a documentation for this function module . So which is the replacement for this function module . ?
Please help . .hi,
the replacement is SAPWL_STATREC_DIRECT_READ
next time check the source code of the FM, probably you'll find the answer...
hope this helps
ec
Maybe you are looking for
-
Since installing PS CC 2014 I have had serious problems. Problems one could expect from a 'new' software. However, having my drives' directories damaged due to Scratch Disks is something I have never seen before. I had PS use an SSD as Scratch Disk.
-
Why is my symbol loaded dynamically from library not working?
Hope someone could help, The code in "Example1" work fine if the video symbol is located on the stage. But what I'm trying to do is load the video symbol from the library dynamically and that doesn't work as illustrated in "Example2". My question is
-
hello when i install SOA Suite10.1.3.1.0 in my windows XP, Configuration Assistant "Oracle Web Services Manager Configuration Assistant" failed, the following is the log: install.configApps.setUpLogging: [copy] Copying 1 file to D:\Oracle\10.1.3.1\Or
-
Losing network drive since updating itunes
running snow leopard runnign latest itunes and this problem started at the last prior update i have a time machine and itunes loses the network path to it after like 5 minutes, i connect using a rj 45 and even tried wireless but that made no differen
-
Contraindre la taille d'un chaîne de caractère
Bonjour, je travailles sur un projet de ballon sonde, l'exploitation des données se faite sur labview. Nous faison un suivi GPS en temps réel et voulon l'afficher grâce à google map, ce qui nécessite la création d'une chaîne de caractère qui sera l'U