Skip to Content
author's profile photo Former Member
Former Member

Submit of FBL1N RFITEMAP with dynamic field problem

Hello gurus,

I am trying to submit the report FBL1N from one of my custom reports, one of the parameters i need is dynamic, the Gl Account number HKONT field of BSIK, as this field is part of the document in the Dynamic field i implement FREE SELECTIONS followed all the steps but i have a problem, the parameters are sent but the report display the message : No items selected ( see long text), just when i add VIA SELECTION-SCREEN and then click the dynamic button, then the multiple selection, and range tab and press the button copy (F8) the dynamic selection works, so i think my code is sending the parameters but not activating the dynamic selections, please help me i have one week working on this, thanks in advance, next my code:

**************************************** DYNAMIC SELECTION***************************************    trange_frange_t_selopt_t_line-SIGN = 'I'.    trange_frange_t_selopt_t_line-OPTION = 'BT'.    trange_frange_t_selopt_t_line-LOW = ZZHKONT_L.    trange_frange_t_selopt_t_line-HIGH = ZZHKONT_H.    APPEND trange_frange_t_selopt_t_line TO trange_frange_t_line-selopt_t.    trange_frange_t_line-fieldname = 'HKONT'.     APPEND trange_frange_t_line TO trange_line-frange_t.    trange_line-TABLENAME = 'BSIK'.     APPEND trange_line TO trange.    CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'    EXPORTING    FIELD_RANGES = trange    IMPORTING    EXPRESSIONS = TEXPR.    SUBMIT RFITEMAP VIA SELECTION-SCREEN    WITH KD_BUKRS-LOW  = '1000'    WITH X_OPSEL EQ ' '    WITH X_CLSEL EQ ' '    WITH X_AISEL EQ 'X'    WITH X_NORM EQ 'X'    WITH X_SHBV EQ 'X'    WITH FREE SELECTIONS texpr    AND RETURN.
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 06, 2012 at 09:42 PM


    texpr must be an internal table of the type RSDS_TEXPR from type group RSDS.

    You should declare it without header line.

    The code looks alright except things like trange_frange_t_selopt_t_line - please copy and paste.



    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.