Repalcing Obsolete command STOP in ECC 6.0

Hello all,
I am working on the upgrade from 4.6 to ECC 6.0.
Can any one of you tellme the replacement for the command STOP in ECC 6.0 as it is obsolete in ECC 6.0.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Regards,
Arun
Edited by: Alvaro Tejada Galindo on Jan 8, 2009 4:34 PM

hi,,,,,,,,,,,,
too dont remember the exact solution for this.......one i have found it ...just check whether this will work or not!!
Replace the STOP statement with the statement LEAVE TO SCREEN SY-DYNNR if the STOP statement is within a steploop.
Execute the program in previous version and replace the STOP statement with an appropriate LEAVE TO SCREEN statement.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
cheers,
rekha
Edited by: Alvaro Tejada Galindo on Jan 8, 2009 4:35 PM

Similar Messages

  • Replace the obsolete statement STOP

    Hi expert ,
    I am working for a upgrade project fron 4.7 to ECC. We need to replace the obsolete statement STOP. Which is the best statement to replace STOP(RETURN or  EXIT)
    Thanks and Regards
    Joby Jacob

    HI STOP leaves the current event block and trigger END-OF-SELECTION.
    SAP recommend using EXIT only within loops (see EXIT - loops ). Instead, use RETURN to leave processing blocks.
    So RETURN seems to be better option.
    Edited by: Anurag_n on Apr 14, 2010 8:31 AM

  • Stop in ECC 6.0

    Hi Every 1,
    Please anybody let me know ,
    which statement replaces the STOP command  in ECC6.0.
    Bcos STOP is showing unicode error in ECC 6.0.
    Let me know anyone , urgent please.
    Regards

    Hi Sapna,
    Please check the code below.
    comment the stop with pseudo codes "#EC *.
      IF pa_upd EQ gc_x.
        SEARCH pa_file FOR '.csv'.
        IF sy-subrc NE gc_zero_num.
          MESSAGE i008. "DISPLAY LIKE 'E'.                        "#EC *
          STOP.                                                 "#EC *
        ENDIF.
      ENDIF.
    Regards
    Kannaiah

  • Obsolete keywords/techniques in ECC 6

    Hi Experts,
    I have developed few HR Payroll reports in R/3 4.7.
    Currently I am developing Payroll reports for ECC 6.
    I found that most of Hr keywords/techniques I used with R/3 4.7 are obsolete with ECC6.
    If so, are there any alternative techniques proposed for these obsolete techniques?
    If LDBs obsolete, what is the alternate solution?
    When performed an extended check for report in ECC6, following are few errors...
    u2022     The current ABAP command is obsolete
    Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary
    types, not "LIKE" or "STRUCTURE".--->refers to line in code "NODES: pernr."
    u2022     The current ABAP command is obsolete
    "INFOTYPES" is not supported in the OO context.
    Internal Message Code: INFOTYPES 004--->refers to line in code INFOTYPES :
    I have been through few threads on forum but could not come to any  solution.
    Points will be rewarded.
    Achyut

    I have several custom payroll reports that were developed back in 4.6 and 4.7 and they work fine in ECC 6.0 systems. They use the logical database - both PNP and PNPCE - for employee selection, and then some custom function modules that in turn call standard SAP function modules and methods. Yes, the extended syntax check in ECC 6.0 warns about a few things, but everything runs fine.
    My longer term goal is to move all the custom function module work to classes & methods, as time allows. That is definitely the more standard, new way to program HR/Payroll reports. But... the older methods should still work fine for now.

  • 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 Tables in SAP ECC 6.0

    Dear All,
    Please let me know the ways to find out obsolete Tables in ECC 6.0 Version.
    I checked for the details in table RODIR providing the Object type and Obsolete field to 'X', but RODIR table provides me only Function module (Object type 'FUNC') Information.
    Kindly input your valuable suggestions.
    Thanks
    Senthilkumar L

    Hi,
    The obsolete objects(Function Modules & Tables) can be traced by using the table RODIR in which the Object Type should be selected and Obsolete feild as 'X'.
    Regards,
    Madhu

  • FM 8p273 control commands stop working

    Hello,
    Recently upgraded to 8p273 due to known bug with indexing; this solved that problem.
    However--I find that from time to time (increasingly frequently, it seems) control commands (cntl-c, cntl-v, cntl-m, etc.) stop working, in an erratic fashion. I.e. one will stop working properly (seemingly cntl-c to copy things), but cntl-v still works, then after a while cntl-v will paste, but in the main frame not in the marker dialogue box, etc. (difficult to describe all this accurately).
    Eventually, I close FM and restart it, and I'm good for a few minutes.
    I've tried downloading p277 (in case it fixes this) but only 7Mb of 32 download, and when I try to run it, as far as I can see, nothing happens. So not getting anywhere there.
    I'm running this on Win XP SP3 under Parallels 8.0.18494, but I don't know that that's the problem; cntl-c and cntl-v still work in other applications.
    Any ideas?
    I'm near the end of a project (well, if I can get the work done!) so it doesn't make sense to upgrade to a new version just now....
    Thanks for any help!
    K

    Thanks very much for these suggestions. I doubt either malware or Parallels are to blame, though, because....
    a. It's an institutional computer, with daily updated virus files, and I don't download anything EVER through Windows (except software updates). No guarantee, of course, but I doubt that this would be the cause.
    b. When the problem surfaces (which is some time after entering FM), it is *local* to FM. I've never had the problem in MS Access, the only other product I use frequently on Windows, and when it happens, I've loaded Word and other things, and the problem is not duplicated there.
    c. The problem is discussed on Parallels forums (for an older version, however), but in those cases, it is global to all apps....
    KF

  • How to know NAMETAB_GET FM Obsolete or not  in ECC 6.0

    HI All,
    How to know NAMETAB_GET FM OBSOLETE or not ECC 6.0?
    thanks,
    kishore

    Go to SE37,  enter the name of the function module, click display, now click the "Attributes" tab.  There should be a field called "Function Obselete".  If there is a date in this field,  it is obselete.
    Regards,
    Rich Heilman

  • 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
       5.  HELPSCREEN_NA_CREATE
       6. TR_RELEASE_COMM
    Thank in Advance.
    Sarita.
    Edited by: Sarita Yalamati on Mar 28, 2008 1:23 PM

    Hi sarita,
    for GET_FIELDTAB use 'DDIF_NAMETAB_GET'..here is sample code
      CALL FUNCTION 'GET_FIELDTAB'
           EXPORTING
                LANGU               = SY-LANGU
                TABNAME             = C_STRUCTURE_NAME
                WITHTEXT            = ' '
           TABLES
                FIELDTAB            = IDFIES
           EXCEPTIONS
               INTERNAL_ERROR      = 01
                NO_TEXTS_FOUND      = 02
                TABLE_HAS_NO_FIELDS = 03
                TABLE_NOT_ACTIV     = 04.
    Replacement :
    CALL FUNCTION 'DDIF_NAMETAB_GET'
      EXPORTING
        TABNAME           =  C_STRUCTURE_NAME
      ALL_TYPES         = ' '
      LFIELDNAME        = ' '
      GROUP_NAMES       = ' '
      UCLEN             =
    IMPORTING
      X030L_WA          =
      DTELINFO_WA       =
      TTYPINFO_WA       =
      DDOBJTYPE         =
      DFIES_WA          =
      LINES_DESCR       =
    TABLES
      X031L_TAB         =
       DFIES_TAB         = IDFIES
    EXCEPTIONS
       NOT_FOUND         = 1
       OTHERS            = 2
    For WS_EXCEL  use GUI_DOWNLOAD.. here is sample code
    CALL FUNCTION 'WS_EXCEL'
    EXPORTING
       FILENAME            = 'D:\FILE1.xls'
      SYNCHRON            = ' '
      TABLES
        DATA                = itab
    EXCEPTIONS
       UNKNOWN_ERROR       = 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.
    Repalcement :
    data : l_filename type string.
    l_filename  = 'D:\FILE1.xls'.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        FILENAME                        = l_filename
      FILETYPE                        = 'ASC'
    IMPORTING
      FILELENGTH                      =
      TABLES
        DATA_TAB                        = itab
      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.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
      EXPORTING
        DOCUMENT               = 'D:\FILE1.xls'
       APPLICATION            =
       PARAMETER              =
       DEFAULT_DIRECTORY      =
       MAXIMIZED              =
       MINIMIZED              =
       SYNCHRONOUS            =
        OPERATION              = 'OPEN'
      EXCEPTIONS
        CNTL_ERROR             = 1
        ERROR_NO_GUI           = 2
        BAD_PARAMETER          = 3
        FILE_NOT_FOUND         = 4
        PATH_NOT_FOUND         = 5
        FILE_EXTENSION_UNKNOWN = 6
        ERROR_EXECUTE_FAILED   = 7
        SYNCHRONOUS_FAILED     = 8
        NOT_SUPPORTED_BY_GUI   = 9
        others                 = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • List of Obsolete BAPI'S in ECC 6.0

    Hi,
    we are doing an upgrade from 4.7 to ECC 6.0,
    kindly provide the list of obsolete function modules and BAPI's
    many thanks.

    Hi,
    Go to transaction SE16
    Enter the table name RODIR and press ENTER
    Enter the object type as "FUNC" and the Obsolete field as 'X'.
    Press EXECUTE.
    The obtained list is the obsolete function modules in the SAP system.
    Check this links:
    http://help.sap.com/saphelp_46c/helpdata/en/d2/42f955cafe11d1ad0c080009b0fb56/content.htm
    Regards
    Adil

  • Obsolete dictionary objects in ECC 6.0

    Hi all,
          Will you tell me where i can find the obsolete dictionary objects along with the replacement in ECC 6.0. I got it for FUNCTIONAL MODULES ,  need it for other dictionary objects. Thanks in advance...
    Thanks & regards,
          Navina.V.

    Hi navina,
    If you are looking it for Upgrade purpose, you can find the dictionary objects which are obsolete in transation SPDD/SPAU under deleted objects.
    But there wont be any replacements given, if you still have the objects used in some programs you need to take a Zcopy of the same and adjust the program.
    Regards,
    Karthik D

  • WS_FILENAME_GET is obsolete function module in ECC 6.0

    Hi Guys,
    The function module "WS_FILENAME_GET" was obsolete in ECC 6.0, could you please suggest me which is relevant function module in ECC 6.0.
    Thanks,
    Gourisankar.

    Hello,
    Take a look at class CL_GUI_FRONTEND_SERVICES.
    Regards,
    John.

  • 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.

  • Drop down commands stopped working.

    My drop down commands suddenly stopped working in the middle of working on a document. I was changing fonts of certain parts of the document by selecting the text and using the right click command. I noticed I could still change it using the tools at the top of the page. Nothing in my right click command works and neither does anything in the drop down tabs at the top like file, edit, layout etc. For example I can't save or print without using the keyboard shortcuts. It allows me to select the action but doesn't do anything. I don't believe I would have accidently hit anything since what I was doing is a pretty simple task. Any suggestions?

    http://helpx.adobe.com/indesign/kb/indesign-tools-panels-dont-respond.html

  • 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

Maybe you are looking for

  • Macbook Pro Wifi Issue

    I incorrectly posted this in the wrong thread this morning. I'm hopeful you might be able to help me diagnose a problem I'm having. I'll provide as much detail as possible. I have a first generation MacBook Pro. As of this morning I was running 10.5.

  • Java field imported to ABAP RFC

    Hello, I'm using the following code in a User Defined Function within XI 3.0 and I'm having difficulty getting the correct "message id" imported into the RFC.  I've tried changing the data type of I_MESSAGEID.  Using this message id and the following

  • XY Graph Axis's autoscale but no plot shows?

    I just don't undestand XY Graphs. I have folowed the examples, tried the xy graph express vi,  even gone as far as copying and pasting the example vi right into my own program. The axis's autoscale but the plot never shows on the graph?

  • Links change color when Email is Received

    Hi, I have created an html email in Dreamweaver with "pink" links. The problem is after I email it I look at it in my sent email and ithe links are "blue" when they should be pink. So in other words the recipients get the HTML email with blue linkd i

  • Can I set a destination object with command line

    I have installed sun java system message queue 3.5 with sp1. Course of I can not run admin console, I want to know if I can set destination object with command. Thanks