Skip to Content

Adding parameter to standard report

Hi Experts,

I need to enhance a CRM report and add custom selection screen parameters to this. The implicit enhancement is only at end of report . Also, there is an include used in that report, but that include is used in many other reports so I would refrain from enhancing that.

What is the other way to add selection screen parameters to this report?

Regards,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Mar 31, 2015 at 08:43 AM

    Closing the thread as only option is to enhance the include of the report to add parameter. Also enhance underlying classes for logic.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 23, 2015 at 12:09 PM

    Hi,

    I do not know if this is applicable in your case .

    Using cl_salv_bs_runtime_info you get the data from the called program ALV and continue

    from there .

    Also see:

    Gain Programmatic Access to Data of SAPGUI ALV Reports

    Code fragment:

    cl_salv_bs_runtime_info=>set(

    EXPORTING display = abap_false

    metadata = abap_true

    data = abap_true ) .

    SUBMIT rmsrvr10

    WITH srvpos IN srvpos

    WITH p_banf EQ p_banf

    WITH p_anfr EQ p_anfr

    WITH p_best EQ p_best

    WITH p_kontr EQ p_kontr

    WITH p_erfbl EQ p_erfbl

    WITH werks IN r_werks

    AND RETURN .

    DATA: it_r_data TYPE REF TO data.

    FIELD-SYMBOLS <it_r_data> TYPE ANY TABLE.

    DATA: metadata TYPE cl_salv_bs_runtime_info=>s_type_metadata .

    TRY.

    cl_salv_bs_runtime_info=>get_data_ref(

    IMPORTING r_data = it_r_data ) .

    ASSIGN it_r_data->* TO <it_r_data> .

    metadata = cl_salv_bs_runtime_info=>get_metadata( ) .

    CATCH cx_salv_bs_sc_runtime_info.

    MESSAGE 'Unable to retrieve ALV data' TYPE 'E'.

    ENDTRY.

    cl_salv_bs_runtime_info=>clear_all( ) .

    Regards .

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 25, 2015 at 07:14 AM

    Hi,

    This technic is not for Mass change in Background .

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.