Application Development and Automation 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: 
Read only

selection screen

Former Member
0 Likes
865

I run report with parameters matnr 1 BT 999

when the report is running i want to save the data of matnr 1 2 3 ...

how could i do it

8 REPLIES 8
Read only

Former Member
0 Likes
569

Dear Rani,

Saving data from the report output depends on the type of report.

a. ALV report - Save option

b. ABAP report - System -> List -> Save

c. SmartForm/SAPScript - other techniques

Regards,

Deva.

Read only

0 Likes
569

soryy i will explain agian.

in selection screen i have

matnr ________ __________

lgort ________ __________

i enter lgort 1 - 900

and the out put is

matnr..............

but i dont get lgort, i want to save the lgort how could i make it

Read only

Former Member
0 Likes
569

Rani,

If you are talking about saving the values on the selection screen, after entering the values, press the save button and the values can be stored as a VARIANT for the report.

Regards,

Ravi

Read only

Former Member
0 Likes
569

Rani,

Press SAVE on the selection screen and you can save the values of the parameters as a VARIANT.

Once that is done and click on GET VARIANT button to get the values back.

Regards,

Ravi

Read only

0 Likes
569

i need in code

because i sending the data of lgort

SUBMIT rm07mlbd

WITH datum IN r_datum

<b>WITH lgort IN r_lgort</b>

WITH werks IN r_werks

EXPORTING LIST TO MEMORY AND RETURN.

Read only

0 Likes
569

First save the selection-screen values in a variant like Ravi suggetsed above.. lets say you named your variant as 'TEST', then you can uss the following SUBMIT statement..


SUBMIT rm07mlbd
using selection-set 'TEST'
EXPORTING LIST TO MEMORY AND RETURN. 

Regards,

Suresh Datti

Read only

0 Likes
569

You can use the function RS_CREATE_VARIANT to create a variant for a report dynamically.

You can take a look here for a example code.

http://www.4ap.de/abap/save_selection.php

Regards,

Ravi

Message was edited by: Ravikumar Allampallam

Read only

Former Member
0 Likes
569

Dear Rani,

Which values you want to save and where you want to save?

Do you want to save the related field values of matnr or any other input values??

please be specific.