Application Development 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: 

Fm 'REPORT_DIRECTORY_READ' field WAERS_T1,WAERS_T2 upto t6 Value blank

former_member182040
Active Contributor
0 Kudos

Hi,

I use FM ' REPORT_DIRECTORY_READ' to fetch data form t.code S_ALR_87012168

but Field WAERS_T1,WAERS_T2 upto t6 Value come zero so can you tell me where do i mistake?


TABLES:  rkb1d.
rkb1d-APPLCLASS = 'FBRD'.
rkb1d-SUBCLASS = '01'.
rkb1d-TABNAME = 'RFRRD20'.
rkb1d-REPID = '0SAPDUEAN-01'.
rkb1d-FORM =  '0SAPDUEAN-01'.
rkb1d-RNAME = 'GPD5VFO3JUM56YYL8HWV78Y5H1I'.

CALL FUNCTION 'REPORT_DIRECTORY_READ'
  EXPORTING
    monitor = ''
    report_parameter_in = rkb1d
  IMPORTING
    report_parameter = rkb1d.

Edited by: Krupaji on Dec 4, 2010 12:43 PM

11 REPLIES 11

Former Member
0 Kudos

Hi Krupa,

Report_parameter is structure with MANDT(Client Id),APPLCLASS, SUBCLASS and REPID. So, create internal table and stored value in it and pass that internal table in parameter.

Paryank

0 Kudos

PARYANK its not work

Former Member
0 Kudos

Hi Krupajani,

Try making SUPPRESS_CONVERTING = 'X' in export parameters.

Manas

0 Kudos

Hi, K.manas,

as u told i pass SUPPRESS_CONVERTING = 'X' but same output u can also check rkb1d which is in importing parameter


CALL FUNCTION 'REPORT_DIRECTORY_READ'
  EXPORTING
    monitor = ''
    report_parameter_in = rkb1d
    SUPPRESS_CONVERTING = 'X'
  IMPORTING
    report_parameter = rkb1d.

former_member182040
Active Contributor
0 Kudos

Any one can solve this issue?

0 Kudos

Hi Krupaji,

can you please post what exactly is definition and use (filling of) rkb1d?

Without this nobody knows but j...

Regards,

Clemens

0 Kudos

Hi Clemens Li

from T.code S_ALR_87012168 i try to fetch data and i already give code

Edited by: Krupaji on Jan 18, 2011 7:08 AM

former_member201275
Active Contributor
0 Kudos

Have you had a look at standard programs that use this FM with success, for eg: RKEBATSM

0 Kudos

Hi Gemini Twin ,

I pass same parameter as standard report which u suggest but then after i got same result . I already given full code you can also run in your system. pl u run it and give some solution

Former Member
0 Kudos

Why not take a programmer's approach: execute in debug and discover what your error is?

0 Kudos

Hi BreakPoint ,

Already done but not find any solution that why i put this issue in SDN.