Submit program with selection screen parameters - getting blank values
Hi, I'm submitting a program with selection screen parameters. when I pass '000' (I_TPLSCN )value for Planning Scenario and when this goes to selection screen then I don't see value for Planning scenario as '000'(I_TPLSCN ) but the value is blank in selection screen. I'm using the below code for this.
SUBMIT RMCPAMRP WITH MATNR_GL EQ I_MATNR SIGN 'I'
WITH WERKS_GL EQ I_WERKS SIGN 'I'
WITH PLSCN EQ I_TPLSCN SIGN 'I'
via selection-screen AND RETURN.
Could anyone please help me how to display value '000' rather than blanks.
thanks in advance.
If I_MATNR, I_TPLSCN and I_WERKS are variable then try with
SUBMIT rmcpamrp
WITH matnr_gl = i_matnr
WITH plscn = i_tplscn
WITH werks_gl = i_werks
via selection-screen
AND RETURN .
If I_MATNR, I_TPLSCN and I_WERKS are of type range then try with
SUBMIT rmcpamrp
WITH matnr_gl IN i_matnr
WITH plscn IN i_tplscn
WITH werks_gl IN i_werks
via selection-screen
AND RETURN
Edited by: Pawan Kesari on Dec 24, 2009 3:33 PM
Similar Messages
-
How to create tcode for modulepool program with selection screen?
hi,
How to create tcode for modulepool program with selection screen?
thanks,
sagarHi,
We need to goto SE80.
In our program we right click on object name and goto create
-> transaction. Enter the module pool program and screen number and save and activate.
Or by SE93 also we can create a transaction code for our program.
Hope ths helps.
plz reward if useful.
thanks,
dhanashri..
Edited by: Dhanashri Pawar on Jul 22, 2008 8:29 AM -
Submit Program without Selection-Screen
Hi,
I am submitting the SAP Standard program, which contains selections screen.
i am passing values to standard program using via-selection screen.
Is there any way to suppress / skip the selection-screen what is appearing after submit
Thanks
UmaHi,
use like this...
call transacton 'Tcode' and skip first screen.
Regards
kiran -
Auto-populating the selection screen parameters for web report
hello
i am having a scenario where my web report is a link to another internet application (a BSP application) and it is called by clicking some link or button on the BSP page.
can i pass the selection values for BW Web report directly from BSP application through a query string or by setting some cookie values so that the user will directly view the report on click of that link?
Thanks in advance.
Regards
Rajeevwe can do this by adding a URL as the query-string with web template_id and with the selection screen parameters as key value pairs
-
After reading and resetting everything with Keyboard I still get blank white screen on 2nd? page of boot. The only way I can boot to Mavericks is unplug power cord, push and hold power button while plugging power cord in. Fans run at full speed, machine boots then runs normal except the dvdrw will not . The mid 2011 IMAC had the same problem with LION. I changed hard drives, formatted, and installed a clean install of latest os x mavericks. Any help would be greatly appreciated.
EtreCheck version: 1.9.15 (52)
Report generated August 30, 2014 at 6:56:41 PM EDT
Hardware Information: ?
iMac (21.5-inch, Mid 2011) (Verified)
iMac - model: iMac12,1
1 2.5 GHz Intel Core i5 CPU: 4 cores
4 GB RAM
Video Information: ?
AMD Radeon HD 6750M - VRAM: 512 MB
iMac 1920 x 1080
System Software: ?
OS X 10.9.4 (13E28) - Uptime: 0 days 0:16:53
Disk Information: ?
ST3120026AS disk0 : (120.03 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted>: 209.7 MB
Untitled (disk0s2) / [Startup]: 119.17 GB (87.12 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
HL-DT-STDVDRW GA32N
USB Information: ?
Apple Inc. FaceTime HD Camera (Built-in)
CHICONY USB NetVista Full Width Keyboard
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Apple Internal Memory Card Reader
Thunderbolt Information: ?
Apple Inc. thunderbolt_bus
Gatekeeper: ?
Anywhere
Kernel Extensions: ?
[loaded] com.nvidia.CUDA (1.1.0) Support
[loaded] com.sophos.kext.sav (9.0.61 - SDK 10.7) Support
[loaded] com.sophos.nke.swi (9.0.53 - SDK 10.8) Support
Startup Items: ?
CUDA: Path: /System/Library/StartupItems/CUDA
FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
Launch Daemons: ?
[loaded] com.adobe.fpsaud.plist Support
[running] com.arcsoft.eservutil.plist Support
[running] com.bjango.istatmenusdaemon.plist Support
[loaded] com.oracle.java.Helper-Tool.plist Support
[running] com.sophos.autoupdate.plist Support
[running] com.sophos.configuration.plist Support
[running] com.sophos.intercheck.plist Support
[running] com.sophos.notification.plist Support
[running] com.sophos.scan.plist Support
[running] com.sophos.sxld.plist Support
[running] com.sophos.webd.plist Support
Launch Agents: ?
[running] com.arcsoft.esinter.plist Support
[running] com.bjango.istatmenusagent.plist Support
[loaded] com.nvidia.CUDASoftwareUpdate.plist Support
[loaded] com.oracle.java.Java-Updater.plist Support
[running] com.sophos.uiserver.plist Support
User Login Items: ?
Macs Fan Control
Firefox
Internet Plug-ins: ?
FlashPlayer-10.6: Version: 14.0.0.176 - SDK 10.6 Support
Flash Player: Version: 14.0.0.176 - SDK 10.6 Support
QuickTime Plugin: Version: 7.7.3
JavaAppletPlugin: Version: Java 7 Update 67 Check version
Default Browser: Version: 537 - SDK 10.9
Audio Plug-ins: ?
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins: ?
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
3rd Party Preference Panes: ?
CUDA Preferences Support
Fan Control Support
Flash Player Support
Java Support
Time Machine: ?
Time Machine not configured!
Top Processes by CPU: ?
1% WindowServer
1% fontd
0% firefox
0% SystemUIServer
0% SophosWebIntelligence
Top Processes by Memory: ?
229 MB firefox
156 MB SophosScanD
152 MB InterCheck
131 MB com.apple.IconServicesAgent
115 MB SophosAntiVirus
Virtual Memory Information: ?
424 MB Free RAM
1.53 GB Active RAM
1.37 GB Inactive RAM
699 MB Wired RAM
1.26 GB Page-ins
0 B Page-outsI'd start by getting rid of the following software responsible for these extensions.
Kernel Extensions: ?
[loaded] com.nvidia.CUDA (1.1.0) Support
[loaded] com.sophos.kext.sav (9.0.61 - SDK 10.7) Support
[loaded] com.sophos.nke.swi (9.0.53 - SDK 10.8) Support
Startup Items: ?
CUDA: Path: /System/Library/StartupItems/CUDA
FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
Use the uninstaller provided with the Sophos software. You can uninstall CUDA via the preference pane. Be sure you remove the com.nvidia.CUDA extension which is located in the /System/Library/Extensions/ folder. Not sure if Fan Control has an uninstaller so you will have to do it manually:
Uninstalling Software: The Basics
Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Applications may create preference files that are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can look for them in the above location and delete them, too.
Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
Some software use startup daemons or agents that are a new feature of the OS. Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term. Unfortunately Spotlight will not look in certain folders by default. You can modify Spotlight's behavior or use a third-party search utility, EasyFind, instead.
Some applications install a receipt in the /Library/Receipts/ folder. Usually with the same name as the program or the developer. The item generally has a ".pkg" extension. Be sure you also delete this item as some programs use it to determine if it's already installed.
There are many utilities that can uninstall applications. Here is a selection:
1. AppZapper
2. AppDelete
3. Automaton
4. Hazel
5. AppCleaner
6. CleanApp
7. iTrash
8. Amnesia
9. Uninstaller
10. Spring Cleaning
For more information visit The XLab FAQs and read the FAQ on removing software.
Be sure to remove your two Login Items. Finally do this:
Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
Repair
When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
Reinstall Lion, Mountain Lion, or Mavericks
OS X Mavericks- Reinstall OS X
OS X Mountain Lion- Reinstall OS X
OS X Lion- Reinstall Mac OS X
Note: You will need an active Internet connection. I suggest using Ethernet
if possible because it is three times faster than wireless. -
Submit program B and return to program A selection screen
Dear all,
I have program A with selection screen and this program display listing.
In program A, when user choose the option to display another report listing in selection screen, then in program A, will have submit program B with ... and return
May I know how can make the program B after showing the listing go back to program A selection screen and not continue to display program A report listing?
Thanks
RgdsLike this
REPORT z_a.
PARAMETERS: pa_a(10) TYPE c,
pa_callb AS CHECKBOX.
IF pa_callb = 'X'.
SUBMIT z_b WITH pa_b = pa_a
AND RETURN.
EXIT.
ENDIF.
WRITE: / 'Here is program A, the parameter value is: ',pa_a .
REPORT Z_B.
PARAMETERS pa_b(10) type c.
write: / 'Here is program B, the parameter value passed from A is: ',pa_b .
Regards
Marcin -
Get selection screen parameters from sap query
Hello. I use SAP Query Reporting, so I added a report assignment for detailing (sq01 -> Change button -> Goto -> Report Assignment -> Insert row -> Other type row -> Abap Report Program)
and put there ABAP program.
When I run query and press CtrlShiftF1 (or double click) It calls my abap program.
So the question is: how to get selection screen parameters in my program ?
to be more precise I want to get date parameter (begda, endda)
Thanks a lot.There is a Z query which I can see in sq01. I set reporting period and run the query; when I run it, it gives me the employee list.
So I wrote the abap report to get an employee details, customized query as I mentioned above.
The query calls my report and I need to get parameters.
SELECTION-SCREEN BEGIN OF BLOCK frm1 WITH FRAME TITLE text-001.
PARAMETER : p_pernr LIKE p0001-pernr OBLIGATORY MATCHCODE OBJECT prem.
PARAMETER : p_date LIKE sy-datum.
SELECTION-SCREEN END OF BLOCK frm1.
Parameter
p_pernr
passes normal. ALV Query contains it, but I'd like to get one more parameter from selection screen of the query and don't know how to get it. -
How to clear all selection screen parameters before calling transaction?
Hi Experts
I have a ABAP report that displays data using ALV.
When I double click a cell it calls transaction MB51. Before calling the transaction I need to set some parameters of the selection screen of the transaction.
My code is like below:
<UL>
<LI>FREE MEMORY ID 'MAT'. <I>"material</I>
<LI> FREE MEMORY ID 'WRK'. <I>"plant</I>
<LI> FREE MEMORY ID 'CHA'. <I>"batch</I>
<LI><I>* Get the selected ALV row data</I>
<LI>READ TABLE i_recon INDEX p_selfield-tabindex INTO x_recon.
<LI><I>* If link MB51 is clicked then open tcode MB51</I>
<LI> IF p_selfield-sel_tab_field+8(4) = 'MB51'.
<LI><I>* Pass material, plant to the corresponding tcode</I>
<LI> SET PARAMETER ID 'MAT' FIELD x_recon-matnr.
<LI> SET PARAMETER ID 'WRK' FIELD p_plant.
<LI> CALL TRANSACTION 'MB51' AND SKIP FIRST SCREEN.
</UL>
The problem is:
<UL> <LI> 1. First, I run the given transaction before running the report in a separate session with some set of values in the selection screen. For example: plant = AB01, Material = 990001 and Batch = 10001.</LI>
</UL>
<UL>
<LI> 2. Then in another session I run my report. In the report ALV I have selected a record where plant = AB01, Material = 990001 but Batch is blank. But it opens the transaction with plant = AB01, Material = 990001 and Batch = 10001.
Even though in my ALV record the batch is blank yet it uses the batch value from the memory. That is, the batch value that was given in the transaction earlier. Why it is not getting cleared? I have also used FREE MEMORY ID code in the beginning. But still it is not clearing the values in the memory.
</UL>
<UL>
<LI>What shall I do to clear all the selection screen parameters before calling the transaction?</LI>
</UL>
<UL>
<LI>
Thanks
Gopal
</LI>
</UL>
Edited by: gopalkrishna baliga on Aug 11, 2010 10:29 AMIts because sap memory is globally shared.
Do it like this.
READ TABLE i_recon INDEX p_selfield-tabindex INTO x_recon.
IF p_selfield-sel_tab_field+8(4) = 'MB51'.
perform bdc_dynpro using 'RM07DOCS' '1000'.
perform bdc_field using 'BDC_OKCODE' '=ONLI'.
perform bdc_field using 'MATNR-LOW' x_recon-matnr.
perform bdc_field using 'WERKS-LOW' p_plant.
perform bdc_field using 'CHARG-LOW' p_batch.
perform bdc_field using 'DATABASE' 'X'.
call transaction 'MB51' with i_bdcdata mode 'E'.
endif.
form bdc_dynpro using program dynpro.
clear la_bdcdata.
la_bdcdata-program = program.
la_bdcdata-dynpro = dynpro.
la_bdcdata-dynbegin = 'X'.
append la_bdcdata to i_bdcdata.
endform.
form bdc_field using fnam fval.
clear la_bdcdata.
la_bdcdata-fnam = fnam.
la_bdcdata-fval = fval.
append la_bdcdata to i_bdcdata.
endform. -
Prob in Submit Report via Selection screen.
Hi,
I have to submit a report via selection screen.
The report name is detemined at run time.
This i am able to handle easily as we can use SUBMIT (V_PROG)...
WHERE V_PROG contains the name of the report that i get at runtime...
Now the issue :::::::
I have to also populate a select-options on the called report on submit.
usually this is done by :
SUBMIT (V_PROG)
name of select-option in itab...
However in my case the name of the <name of select-option> is also detemined at runtime say PNPPERNR.
Now if i use any variable / field symbol for the name of the select - option (like for the called program), it does not work (the called report does not have the values i populate in ITAB for the particular select-option)
I have also tried Macro but cant find solution...
ANY IDEAS ??Hi Anuj,
When you are getting the report name in runtime, you can also get the report selection screen information during runtime.
Now how are you going to decide which values you will move to which selection screen variables of which report? If you have a way to determine this, then here is a program that works on that assumption.
REPORT ztest1 .
DATA: i_seltab TYPE TABLE OF rsparams WITH HEADER LINE,
i_selections_info TYPE TABLE OF selinfo WITH HEADER LINE.
DATA: v_report LIKE sy-repid,
v_matnr LIKE mara-matnr.
PARAMETERS: p_rep1 RADIOBUTTON GROUP rad DEFAULT 'X',
p_rep2 RADIOBUTTON GROUP rad.
SELECT-OPTIONS: s_matnr FOR v_matnr.
START-OF-SELECTION.
IF p_rep1 = 'X'.
*-- some criteria to determine the name of the report
v_report = 'ZTEST2'.
ELSE.
v_report = 'ZTEST4'.
ENDIF.
*-- get the parameters for the report
CALL FUNCTION 'RS_SELECTIONS_DESCRIPTION'
EXPORTING
report = v_report
TABLES
selections_info = i_selections_info
EXCEPTIONS
no_selections = 1
report_not_existent = 2
subroutine_pool = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT i_selections_info WHERE name = 'S_MATNR'.
*-- some criteria based on which, move the values from this program
* to the called program
CLEAR i_seltab.
i_seltab-selname = i_selections_info-name.
i_seltab-kind = i_selections_info-kind.
i_seltab-sign = 'I'.
i_seltab-option = 'EQ'.
i_seltab-low = s_matnr-low.
i_seltab-high = s_matnr-high.
APPEND i_seltab.
ENDLOOP.
IF NOT i_seltab[] IS INITIAL.
SUBMIT (v_report) VIA SELECTION-SCREEN
WITH SELECTION-TABLE i_seltab .
ENDIF.
If this works for you, please reward and close the post.
Regards,
Srinivas -
Transfer of selection screen parameters
Hi,
I have a program in classic ABAP which is actually 2 programs:
Program 1:
This program is the program that contains the selection-screen and it calls the related program by SUBMIT, see below:
SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 2.
SELECTION-SCREEN COMMENT 1(40) text-s01 MODIF ID hdr.
SELECT-OPTIONS: s_werks FOR plko-werks,
s_plnnr FOR plko-plnnr.
PARAMETERS: p_write AS CHECKBOX,
p_update AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK bl1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'HDR'.
screen-intensified = '1'.
MODIFY SCREEN.
CONTINUE.
ENDIF.
ENDLOOP.
EXPORT p_write to memory id cst_mem_id.
EXPORT p_update to memory id cst_mem_id.
SUBMIT zzpp_inspchar_update
VIA SELECTION-SCREEN
AND RETURN.
Program 2 contains the selection of data like this:
SELECT fwerks fplnty fplnnr fzaehl fverwe fstatu psteus pvornr
INTO CORRESPONDING FIELDS OF TABLE gt_tasks
FROM plko AS f INNER JOIN plpo AS p
ON fplnnr = pplnnr
AND fplnty = pplnty
WHERE f~werks IN s_werks "
AND f~statu = '4'
AND f~plnty = 'N'
AND p~plnnr IN s_plnnr
AND p~steus = 'ZP04'
The 2 select-option, s_werks and s_plnnr has to come from program 1 and I have tried to use SET/GET parameter for this, but without luck.
How can I get these values filled ? EXPORT / IMPORT or ....?Hello,
If s_werks and s_plnnr are part of the selection screen of the second program, you can change the SUBMIT :
SUBMIT zzpp_inspchar_update WITH s_werks IN s_werks
AND s_plnnr IN s_plnnr
VIA SELECTION-SCREEN
AND RETURN.
For your problem using EXPORT/IMPORT, you do not show us the code you use so it is difficult to help you.
Cordialement,
Chaouki. -
SUBMIT RPCDTCU0_CE VIA SELECTION-SCREEN just wont work
Hi all,
I use SUBMIT RPCDTCU0_CE VIA SELECTION-SCREEN
with PNPTIMED = '1'
with PNPXABKR = 'US'
with PNPPABRP = '8'
with PNPPABRJ = '2009'
with PNPPERNR-LOW = '73265'
with PNPABKRS-LOW = 'US'
with ZLSCH-LOW = 'C'
with TEST = 'X'
with UPD_PCL2 = 'X'
with SW_ADV1 = 'X'
with NEWLOG_D = 'X'.
The moment I run the progrm, it receive "program terminated message"
Any other idea on how I should run the program and get to pass the value into the program?Hi,
Try using extension of selection table instead of wtih parameters..
[WITH SELECTION-TABLE rspar]
Nag -
Customised Back button in ALV loses selection screen parameters
Hi,
In my ALV output, the user interacts with the output. I had to program my own back button in the pf-status so that when the user hit back they didnt return to the original alv output. (if that makes sense)
I use LEAVE TO TRANSACTION 'ZZZZ' (user_command form) but the problem is that i lose all the selection parameters that the user has entered.
I have tried everything.........set screen 0, leave screen etc..........and searched the forum but cant find the answer.
Anyone know what i need i do..........
Cheers..........try submit ...
submit the report of ZZZZ tcode... with the selection parameters of your existing report....
e.g.
SUBMIT zbbp_sc_arch_initial_upload
VIA SELECTION-SCREEN
WITH p_r01 EQ p_r01
WITH p_r02 EQ p_r02
WITH p_mode EQ p_mode. -
How can i do submit to 2 selection screen ?
i try to do submit for program RKAEP000 ,
this program have few selection screen ,
how can i send parameters to prarameters in
more than one selection screen ,
i add exmple for what i need :
SUBMIT RKAEP000
USING SELECTION-SCREEN '100'
VIA SELECTION-SCREEN
WITH P_TCODE = 'KOB1'
WITH AUFNR IN SO_AUFNR
WITH KSTAR IN SO_KSTAR
WITH R_BUDAT IN SO_BUDAT
WITH BUKRS IN SO_BUKRS
USING SELECTION-SCREEN '110'
WITH P_DISVAR EQ 'DBW' sign 'I'Please check the following code
TABLES : aufk,
rkpln,
cskb,
cobk,
t001.
DATA: wa_rsparams TYPE rsparams,
i_rsparams TYPE STANDARD TABLE OF rsparams.
DATA: wa_cskb TYPE cskb,
i_cskb TYPE STANDARD TABLE OF cskb.
DATA: wa_cobk TYPE cobk,
i_cobk TYPE STANDARD TABLE OF cobk.
DATA: wa_t001 TYPE t001,
i_t001 TYPE STANDARD TABLE OF t001.
DATA: wa_aufk TYPE aufk,
i_aufk TYPE STANDARD TABLE OF aufk.
PARAMETERS : p_code TYPE sytcode,
p_disvar TYPE slis_vari.
SELECT-OPTIONS: s_aufnr FOR rkpln-aufnr,
s_kstar FOR cskb-kstar,
r_budat FOR cobk-budat,
s_bukrs FOR t001-bukrs.
wa_rsparams-selname = 'P_TCODE'.
wa_rsparams-kind = 'P'.
wa_rsparams-sign = 'I'.
wa_rsparams-option = 'EQ'.
wa_rsparams-low = p_code.
APPEND wa_rsparams TO i_rsparams.
CLEAR wa_rsparams.
wa_rsparams-selname = 'P_DISVAR'.
wa_rsparams-kind = 'P'.
wa_rsparams-sign = 'I'.
wa_rsparams-option = 'EQ'.
wa_rsparams-low = p_disvar.
APPEND wa_rsparams TO i_rsparams.
CLEAR wa_rsparams.
wa_rsparams-selname = 'AUFNR'.
wa_rsparams-kind = 'S'.
wa_rsparams-sign = 'I'.
wa_rsparams-option = 'BT'.
wa_rsparams-low = s_aufnr-low.
wa_rsparams-high = s_aufnr-high.
APPEND wa_rsparams TO i_rsparams.
CLEAR wa_rsparams.
wa_rsparams-selname = 'KSTAR'.
wa_rsparams-kind = 'S'.
wa_rsparams-sign = 'I'.
wa_rsparams-option = 'BT'.
wa_rsparams-low = s_kstar-low.
wa_rsparams-high = s_kstar-high.
APPEND wa_rsparams TO i_rsparams.
CLEAR wa_rsparams.
wa_rsparams-selname = 'R_BUDAT'.
wa_rsparams-kind = 'S'.
wa_rsparams-sign = 'I'.
wa_rsparams-option = 'BT'.
wa_rsparams-low = r_budat-low.
wa_rsparams-high = r_budat-high.
APPEND wa_rsparams TO i_rsparams.
CLEAR wa_rsparams.
wa_rsparams-selname = 'BUKRS'.
wa_rsparams-kind = 'S'.
wa_rsparams-sign = 'I'.
wa_rsparams-option = 'BT'.
wa_rsparams-low = s_bukrs-low.
wa_rsparams-high = s_bukrs-high.
APPEND wa_rsparams TO i_rsparams.
CLEAR wa_rsparams.
SUBMIT rkaep000 WITH SELECTION-TABLE i_rsparams AND RETURN. -
Selection screen / how to clear values in screen parameters parameters
Hello ,
I am developing report . It is simple one with standard screen 1000 ( Not Dynpro ).
On the screen I have several parameters and select options . When I run program , display list
and press the "Back" Button from tool bar ,entered values still remain in screen parameters.
I code I did 'clear' of parameters , so after pressing "back" button and before selection screen
is displayed the parameters show up as initial ( empty ) but once selection screen is displayed
the values are in parameters again .
Can you advice how I can clean up the values from screen parameters .
Thank youHi,
Try the below code....
DATA: executed TYPE n.
SELECT-OPTIONS : selop1 FOR sy-datum.
INITIALIZATION.
executed = 1.
AT SELECTION-SCREEN OUTPUT.
BREAK-POINT.
IF executed = 1.
executed = 0.
REFRESH: selop1.
CLEAR : selop1.
ENDIF.
Regards
Arbind -
Abt selection screen parameters
hi all
i have made a report with selection screen which has two parameters
but to run that report i have to fill that two fileds
is there any way that i can run my report without filling the two fields of my selection screen. Both the fields are used in the where condition in my inner join query.
thanx n regardsit is not mendatory to fill these two fields unless n until u'r not making them OBLIGATROY. n offcorse u'r query will run execute perfectly but just check the query whether there'r a huge recordset selected while u'r keeping these fileds blank. otherwise u should take them as OBLIGATORY parameters.
reward if useful
S@meer
Maybe you are looking for
-
Third Party Item on Billing Due List
Hi all, Is there any way to change the standard process of a TAS (Third Party) item as it relates to customer billing? The standard process only updates the Billing Due List when the vendor invoice is posted through MIRO. We would like the Billing
-
Is there a way to purchase itunes books for someone else as a gift (Christmas) and give them the codes or printout receiptwithout automatically downloading the purchase for me? Or is an itunes giftcard the only way to go?
-
Hi everybody, I want to know if the collaboration rooms works as it follows: If you use the role public and you create a public room the user that gets in will have the initial role, however if the room is set full access the user will get the public
-
Third Party Vista Drivers that w
If you want my advice, stop waiting for creative to ship drivers and get the third party drivers over at the kX Project Site. Unlike Creative they're actually releasing beta drivers for Vista and whats more they offer advanced settings that creative
-
Could not initialize photoshop, because the file name was not valid
Hello, my friend (not very good with computers) asked me to fix his Photoshop 8, because "it just stopped working one day". When I try to run it, I see splash screen, initializing photoshop, something about TWAIN, and then: Could not initialize Photo