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: 

selection screen

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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.

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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.