05-01-2006 9:30 AM
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
05-01-2006 9:42 AM
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.
05-01-2006 9:46 AM
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
05-01-2006 9:46 AM
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
05-01-2006 9:49 AM
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
05-01-2006 9:57 AM
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.
05-01-2006 10:06 AM
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
05-01-2006 10:07 AM
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
05-01-2006 10:16 AM
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.