G_RW_CHECK_REPORT_GROUP_STATUS

Hi All,
G_RW_CHECK_REPORT_GROUP_STATUS is obsolete in ECC 6.0, can any one  tell me what is the alternative FM for that..
Thanks in advance,
Vivek

Hi,
Refer to the following code and the corresponding replacement,
FORM get_progname
     USING     i_rgroup       LIKE t803j-rgjnr
               i_multisel
     CHANGING  e_progname     LIKE sy-repid
               e_subrc        LIKE sy-subrc.
  DATA: l_program_type(1) TYPE c.
      CALL FUNCTION 'G_RW_CHECK_REPORT_GROUP_STATUS'
           EXPORTING
                report_group = i_rgroup
                called       = l_program_type
           IMPORTING
                subrc        = l_subrc
                prog_name    = e_progname
           EXCEPTIONS
                OTHERS       = 1.
CALL FUNCTION 'GRW_JOB_SUBMIT_PREPARE'
        EXPORTING
          i_report_group             = i_rgroup
        I_FORCE_GENERATION         = ' '
        I_IGNORE_AUTO_GENER        = ' '
        I_MESSAGE_LEVEL            = 3
          I_PROGRAM_TYPE             = l_program_type
        I_NO_AUTHORITY_CHECK       = ' '
        I_NO_AUTO_IMPORT           = ' '
       IMPORTING
        E_GENERATED                =
          E_SUBRC                    = l_subrc
        ET_MESG                    =
          E_PROGRAM_NAME             = e_progname
       EXCEPTIONS
         REPORT_GROUP_INVALID       = 1
         NO_AUTHORITY               = 2
         REPORT_GROUP_LOCKED        = 3
         PROGRAM_TYPE_INVALID       = 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.
Regards,
Indu

Similar Messages

  • G_RW_CHECK_REPORT_GROUP_STATUS function

    Hello!
    I am in a migration project (to release 6 ECC), and this function is obsolete but I don't find the one which substitutes it.
    If you know something about it, let me know
    Thanks!

    Hi playita,
    Refer below code .
    FORM get_progname
         USING     i_rgroup       LIKE t803j-rgjnr
                   i_multisel
         CHANGING  e_progname     LIKE sy-repid
                   e_subrc        LIKE sy-subrc.
      DATA: l_program_type(1) TYPE c.
          CALL FUNCTION 'G_RW_CHECK_REPORT_GROUP_STATUS'
               EXPORTING
                    report_group = i_rgroup
                    called       = l_program_type
              IMPORTING
                    subrc        = l_subrc
                    prog_name    = e_progname
              EXCEPTIONS
                    OTHERS       = 1.
    Replacement:
    CALL FUNCTION 'GRW_JOB_SUBMIT_PREPARE'
            EXPORTING
              i_report_group             = i_rgroup
             I_FORCE_GENERATION         = ' '
             I_IGNORE_AUTO_GENER        = ' '
             I_MESSAGE_LEVEL            = 3
              I_PROGRAM_TYPE             = l_program_type
             I_NO_AUTHORITY_CHECK       = ' '
             I_NO_AUTO_IMPORT           = ' '
          IMPORTING
             E_GENERATED                =
              E_SUBRC                    = l_subrc
             ET_MESG                    =
              E_PROGRAM_NAME             = e_progname
           EXCEPTIONS
             REPORT_GROUP_INVALID       = 1
             NO_AUTHORITY               = 2
             REPORT_GROUP_LOCKED        = 3
             PROGRAM_TYPE_INVALID       = 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.
    Regards,
    Indu

Maybe you are looking for

  • Cannot send email to Yahoo from Macbook Pro

    Just started yesterday.   I have Yahoo mail Plus and all has been fine for 3-years. Outside of about a week ago my incoming mail to the Mac Book Pro stopped working (out going was fine). Lot's of posts here about that and then on Friday night it it s

  • Same computer 2 heard drives with windows 8.1 on them.

    Hello  Same computer 2 heard drives with windows 8.1 on both heard drives.  When I boot into one of them everything works great, but when I boot  into the other heard drive it say's at boot up,  (the number of connections to this computer is limited

  • Help Required @ some real time application developement help!!

    I have just started off with Jdeveloper and I need some very much real time examples so that I can give a head start and do applications as soon as possible can anyone show me the links to files and I will make the application learning where and when

  • RMAN backup in ORACLE RAC database

    Hi there, We are using RMAN backup strategy for taking backups from one node(eg.node1).Database is RAC database, version 9.2.3. and OS is Solaris 5.10. this is the configuration which we use, as follows: Connecting to Prod.Database using catalog data

  • Flash user interface

    Hi I have a Director project made in 10.1 with the main part of it being a Flash UI (flash01.swf ) and a five button that is linked to as an five dir. file. i use this code in flash intro_button.onRelease = function(){ getURL("Lingo:go"\test01\""); "