Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9182

FBL5N with dynamic selection field "Special GL indicator"

$
0
0

Hello experts.

I have  significant problem.

I have added the "special GL indicator" field to the FBL5N report successfully.

When entering the transaction directly it acs as expected.

The problem occours when calling this program from an ABAP source code. It doesn't take in account this parameter. Only once I enter this transaction directly it seems to work fine (one direct transaction entering for a spesific user+session).

The code for activatign the FBL5N is the following:

              trange_line-tablename                = 'BSID'.
              trange_frange_t_line-fieldname       = 'UMSKZ'.
              trange_frange_t_selopt_t_line-sign   = 'I'.
              trange_frange_t_selopt_t_line-option = 'EQ'.
              trange_frange_t_selopt_t_line-low    = ' '.
              APPEND trange_frange_t_selopt_t_line TO trange_frange_t_line-selopt_t.
              trange_frange_t_selopt_t_line-low    = 'A'.
              APPEND trange_frange_t_selopt_t_line TO trange_frange_t_line-selopt_t.
              APPEND trange_frange_t_line TO trange_line-frange_t.
              APPEND trange_line TO trange.
              CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
                EXPORTING
                  field_ranges = trange
                IMPORTING
                  expressions  = texpr.
              SUBMIT rfitemar AND RETURN
                WITH dd_bukrs IN lr_bukrs
                WITH dd_kunnr IN lr_kunnr
                WITH x_aisel = abap_true
                WITH so_budat IN lr_budat
                WITH x_norm    = abap_true
                WITH FREE SELECTIONS texpr.

 

BSID-UMSKZ is the special GL indicator field.

Please assist..

Thanks in advance.


Viewing all articles
Browse latest Browse all 9182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>