Skip to Content
avatar image
Former Member

Transaction GR55

Hi everyone,

Do you know, if there is RFC or BAPI, for the information that returns the transaction GR55.

Thanks

Eduardo Campos.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • May 18, 2006 at 09:46 AM

    Hi ,

    try fm GRW_JOB_SUBMIT_PREPARE

    CALL FUNCTION 'GRW_JOB_SUBMIT_PREPARE'
           EXPORTING
                i_report_group   = 'A123'
                i_program_type   = 'X'
                i_no_auto_import = 'X'
           IMPORTING
                e_subrc          = gen_subrc
                e_program_name   = program_name
           EXCEPTIONS
                OTHERS           = 4.
    
          SUBMIT (program_name) VIA SELECTION-SCREEN AND RETURN.

    Andreas

    Add comment
    10|10000 characters needed characters exceeded

    • So create your own fm:

      CALL FUNCTION 'GRW_JOB_SUBMIT_PREPARE'
             EXPORTING
                  i_report_group   = 'A123'
                  i_program_type   = 'X'
                  i_no_auto_import = 'X'
             IMPORTING
                  e_subrc          = gen_subrc
                  e_program_name   = program_name
             EXCEPTIONS
                  OTHERS           = 4.
       
            SUBMIT (program_name) VIA SELECTION-SCREEN 
      EXPORTING LIST TO MEMORY
      AND RETURN.
       
          CALL FUNCTION 'LIST_FROM_MEMORY'
               TABLES
                    LISTOBJECT = LISTE
               EXCEPTIONS
                    NOT_FOUND  = 1
                    OTHERS     = 2.