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: 

report RM07DOCS

Former Member
0 Kudos

HI

I am executing the standard report RM07DOCS in my zrepor through SUBMIT stat.

In the output of RM07DOCS, one table button is there for detail report.. I want that data into my zreport final internal.

I am getting the intial output RM07DOCS in my zreport. but details report of the material document list.

please help me in this.

Regards,

Krupa

6 REPLIES 6

0 Kudos

Create a layout for the report containing all the necessary values and submit the report using that layout.

Regards

Farzan

0 Kudos

after fetching data from standard report i want to store these all data in my zreport internal table so how to store?

Former Member
0 Kudos

solved my self

using FM 'LIST_FROM_MEMORY' and 'LIST_TO_ASCI'

0 Kudos

Hi Krupa,

How did you provide the vlist details with fillers in them?

Please help.

rgds,

Madhuri

0 Kudos

HI,

I am facing the same problem what you faced early.

Can plz tel me the details of the sloution what you used in your case...

Can you please tel me how to use the FM's LIST_FROM_MEMORY and LIST_TO_ASCI.

Thanks In Advance.

Regards

Ansumesh

0 Kudos

Hi ,

I did not follow that logic , Instead of that did as follows:

please go through the thread :

Thread: call transaction mb51 : performance issue

TYPES: BEGIN OF is_export_list ,

matnr TYPE mseg-matnr,

maktx TYPE makt-maktx,

werks TYPE mseg-werks,

name1 TYPE t001w-name1,

lgort TYPE mseg-lgort,

charg TYPE mseg-charg, "351455

bwtar TYPE mseg-bwtar, "351455

bwart TYPE mseg-bwart,

sobkz TYPE mseg-sobkz,

btext TYPE t156t-btext,

mblnr TYPE mseg-mblnr,

mjahr TYPE mseg-mjahr,

zeile TYPE mseg-zeile,

budat TYPE mkpf-budat,

erfmg TYPE mseg-erfmg,

erfme TYPE mseg-erfme,

lifnr TYPE mseg-lifnr,

vgart TYPE mkpf-vgart,

END OF is_export_list.

DATA: it_export_list TYPE SORTED TABLE OF is_export_list

WITH UNIQUE KEY matnr budat werks lgort charg bwtar bwart mblnr

mjahr zeile lifnr vgart.

DATA: f_date TYPE mkpf-budat, l_date TYPE mkpf-budat.

DATA: no_list(1),flag(1).

DATA:f_rec TYPE i VALUE 1.

no_list = 'X'.

flag = 'X'.

EXPORT flag TO MEMORY ID 'MB51_FLAG'.

EXPORT no_list TO MEMORY ID 'MB51_NOLIST' .

LOOP AT it_months INTO w_months.

IF f_rec = 1.

f_date = w_months-f_day.

ENDIF.

f_rec = 0.

ENDLOOP.

IF sy-subrc EQ 0.

l_date = w_months-l_day.

ENDIF.

IF s_matnr IS INITIAL.

LOOP AT it_mb51_parameter INTO w_mb51_parameter.

s_matnr-sign = 'I'.

s_matnr-option = 'EQ'.

s_matnr-low = w_mb51_parameter-matnr.

APPEND s_matnr.

ENDLOOP.

ENDIF.

SUBMIT rm07docs

WITH budat BETWEEN f_date AND l_date

WITH werks IN s_plnt

WITH matnr IN s_matnr

WITH bwart IN s_mtyp

WITH mb51_flag EQ flag

WITH mb51_nolist EQ no_list

AND RETURN EXPORTING LIST TO MEMORY.

IMPORT export_list FROM MEMORY ID 'MB51_EXPORT_LIST'.

it_export_list = export_list[].