Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Transaction GR55

Former Member
0 Likes
1,215

Hi everyone,

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

Thanks

Eduardo Campos.

Hi everyone,

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

Thanks

Eduardo Campos.

3 REPLIES 3
Read only

andreas_mann3
Active Contributor
0 Likes
965

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

Read only

0 Likes
965

Hi Andreas,

But this no returns the data, I need the data for a web application, another RFC or BAPI?

Read only

0 Likes
965

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.