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.
Similar Messages
-
How can we use list box on selection screen
hi, howe can we use list box on selection screen and how can we populate the dat ainto the list box and how can we retrive data based on list box from ther database.
thanks in advance
rajuUse the VRM_SET_VALUES function module.
DATA: list TYPE vrm_values,
value LIKE LINE OF list.
AT SELECTION SCREEN OUTPUT
AT SELECTION-SCREEN OUTPUT.
name = 'P_OBJECT'.
CLEAR list.
REFRESH list.
CLEAR value.
value-key = '1'.
value-text = 'Development Class'.
APPEND value TO list.
CLEAR value.
value-key = '2'.
value-text = 'Program'.
APPEND value TO list.
CLEAR value.
value-key = '3'.
value-text = 'Function Module'.
APPEND value TO list.
CLEAR value.
value-key = '4'.
value-text = 'Database Table'.
APPEND value TO list.
CLEAR value.
value-key = '5'.
value-text = 'Structure'.
APPEND value TO list.
CLEAR value.
value-key = '6'.
value-text = 'View'.
APPEND value TO list.
CLEAR value.
value-key = '7'.
value-text = 'Data Element'.
APPEND value TO list.
CLEAR value.
value-key = '8'.
value-text = 'Table Type'.
APPEND value TO list.
CLEAR value.
value-key = '9'.
value-text = 'Class / Interface'.
APPEND value TO list.
CLEAR value.
value-key = '10'.
value-text = 'Type Group'.
APPEND value TO list.
CLEAR value.
value-key = '11'.
value-text = 'Domain'.
APPEND value TO list.
CLEAR value.
value-key = '12'.
value-text = 'Search Help'.
APPEND value TO list.
CLEAR value.
value-key = '13'.
value-text = 'Lock Object'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF. -
How can i pull alv layouts for selection screen ?
hello ,
i search way to give the user option to choose his layout,
i sow here examples that look good , but
all of tham talk about function :
"REUSE_ALV_VARIANT_DEFAULT_GET"
i run it in 'se37' and no data is pull ,
i know that there is layouts for my alv report ,
i use it like this in my report and in 'se37' :
CLEAR ls_variant.
ls_variant-report = sy-repid.
ls_variant-handle = 'LIST'.
MOVE ls_variant TO def_variante.
MOVE vari TO def_variante-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = def_variante
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
p_vari = def_variante-variant.
ENDIF.
thanksHi,
Try this.
INITIALIZATION.
Get Default display variant
PERFORM f200_display_default_variants.
Enable variant saving
data w_variant TYPE disvariant.
FORM f200_display_default_variants.
*initialize to default layout if one exist.
w_variant-report = sy-repid.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = w_variant
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
IF sy-subrc EQ 0.
p_layout = w_variant-variant.
ENDIF.
ENDFORM.
Try this and reward points by clicking the star on the left of reply,if it helps. -
Can i get multiple records if selection screen is 900 using PROVIDE
Hi All,
Iam using following statement for fetching MULTIPLE records from infotype 0008. In Attributes if i declare LDB as pnp and selection screen as 900, then iam not getting any records.
Instead of th selection screen 900 is empty. then records will getting properly.
How can i get multiple records if selection screen is 900?
PROVIDE * FROM p0008
between pn-begda and pn-endda.Hi Ranjith
You can use
PYBEGDA and PYENDDA instead of PN-BEGDA AND PN-ENDDA.
Regards
Muneer.VK -
How can I pre-define the default selection in a SelectOneChoice?
How can I pre-define the default selection in a SelectOneChoice?
(1) Here's my JSF-code:
<af:selectOneChoice label="#{res['usercreate.input.sex']}"
value="#{bindings.Sex.inputValue}"
binding="#{SelectListBean.sexlist}"
readOnly="false" autoSubmit="false">
<af:selectItem label="#{res['data.sex.women']}" value="1"/>
<af:selectItem label="#{res['data.sex.man']}" value="2"/>
</af:selectOneChoice>
(2): manged bean: to set the default value to be the first in the list, my managed bean as follows:
import oracle.adf.view.faces.component.core.input.CoreSelectOneChoice;
public class MBSListBean {
private CoreSelectOneChoice sexlist;
public MBSListBean() {
public void setSexlist(CoreSelectOneChoice sexlist) {
this.sexlist = sexlist;
this.sexlist.setValue(1);
public CoreSelectOneChoice getSexlist() {
return sexlist;
(3) when i launch the page, it often gives me such warnings:
WARNUNG: Could not find selected item matching value "1" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=_id7]
how to solve the problem ?
Thanks,
wzzdxYou could also set the default on your entity or viewobject, in the properties of your attribute.
-
How can you change your line access selection? I have found where you can change your plan selection, but can you change the line access fee or is that a set amount?
DIVAB71,
Great question. The line access fees for the account are a set amount and can not be changed unless you are going from a basic to a smartphone or vice versa. If you are wondering about adding the month to month discount if you are out of contract Ann154 has provided great information on how to access and add the feature.
LindseyT_VZW
Follow us on Twitter @VZWSupport -
HOW CAN I HAVE THE NUMBER OF SELECTED ROWS IN ALV GRID?
HI.
HOW CAN I HAVE THE NUMBER OF SELECTED ROWS IN ALV GRID????
GABRY =)You need to use
data : grid1 type ref to cl_gui_alv_grid.
call method grid1->get_selected_rows
importing
et_index_rows = i_sel_alvrows[].
a® -
How can i use SUM aggregate in select query?
HI,
GURUS,
How can i use SUM function in Select Query and i want to store that value into itab.
for ex:
TABLES: vbap.
types: begin of ty_vbap,
incluse type vbap,
sum type string,
end of ty_vbap.
data: i_vbap type TABLE OF ty_vbap,
w_vbap type ty_vbap.
SELECT sum(posnr) FROM vbap into table i_vbap up to 5 rows.
(or)
SELECT sum(posnr) FROM vbap into table i_vbap group by vbeln.
loop at i_vbap into w_vbap
" which variable have to use to display summed value.
endloop.
if above code is not understandable pleas give ome sample code on above query.
Thank u,
shabeer ahmed.Hi,
Check this sample code.
TABLES SBOOK.
DATA: COUNT TYPE I, SUM TYPE P DECIMALS 2, AVG TYPE F.
DATA: CONNID LIKE SBOOK-CONNID.
SELECT CONNID COUNT( * ) SUM( LUGGWEIGHT ) AVG( LUGGWEIGHT )
INTO (CONNID, COUNT, SUM, AVG)
FROM SBOOK
WHERE
CARRID = 'LH ' AND
FLDATE = '19950228'
GROUP BY CONNID.
WRITE: / CONNID, COUNT, SUM, AVG.
ENDSELECT.
Regards,
Sravanthi -
How can I use a where in Select clause?
How can I use a where in select clasue when the other part of the where I do not not.
I mean that
Select *
from mara
where MATNR = MT*
That means it can have MTA, MTB, MTC....and so on
I can I write this code.
Regards,
Subhasishhiii
you can use following query
SELECT * FORM mara WHERE matnr CONTAINING 'MT'
or use following
select * from mara WHERE matnr = 'MT%'
reward if useful
thx
twinkal -
How can I get width that multiple selected items?
How can I get width that multiple selected items? (Not grouped.)
//---------- source code ----------
var mm = 2.83464566929134 //unit conversion. (point->milimeter)
var W = docRef.selection[0].width/mm;
alert(W);
//---------- source code ----------That's right Carlos
@kimDino8,
my script in Carlos link creates a green rectangle around the selected items. If you don't need this rectangle than you can remove this lines:
var newRGBColor = new RGBColor();
newRGBColor.red = 0;
newRGBColor.green = 255;
newRGBColor.blue = 0;
and replace this:
var aRectangle = aDoc.pathItems.rectangle(vBounds_Ob, vBounds_Li, vBounds_Re - vBounds_Li, vBounds_Ob - vBounds_Un);
aRectangle.strokeColor = newRGBColor;
aRectangle.strokeWidth= 2;
aRectangle.filled = false;
aRectangle.stroked = true;
aDoc.selection = null;
with this:
var mmFactor = 2.83464567;
alert("width = "+ (vBounds_Re - vBounds_Li)/mmFactor);
alert("height = "+ (vBounds_Ob - vBounds_Un)/mmFactor);
Further you only have to do: create a function for rounding of the result. -
I have 28,000 unread e-mails on my iPhone 5. How can I delete without having to select each one under edit?
Sounds like the email account is a POP account and if so, you have 28K emails that remain at the incoming mail server for the account. If all received email has been downloaded with the email client on your computer used for accessing the account, delete all email that remains at the incoming mail server. You can do this via webmail access for the account using a browser on your computer.
Folllow this by deleting and recreating the account on the iPhone. -
How can I eliminate grid lines of selected cells when printing, in iOS numbers
How can I eliminate grid lines of selected cells when printing, using iOS numbers
Hi Cmlgfx,
Thanks for visiting Apple Support Communities.
You can style a table to remove grid lines and only show an "outline" around the table itself.
See this article for help with table styles:
Numbers for iOS (iPad): Place and style tables
http://support.apple.com/kb/PH3365
To show or hide the table name, table border, and grid lines, alternate row colors, or adjust fonts, tap Table Options at the bottom of the Table window (you may need to scroll up in the window to see it), and then set your preferences using the options in the Table Options window. (When you’re done, tap at the top of the window to see other options.)
All the best,
Jeremy -
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 -
How to pass a default value in selection screen of logical database pnpce
Dear All,
Can any one tell me how to pass a default value in selection screen of logical database pnpce .
Regards
Rakesh SinghHi Rakesh,
Go to SE36 (logical database Builder).First enter PNPCE in Logical Database and press documentation,here you will get the details of exactly what is PNPCE and how it works.After that select selections in subojects in se36 only and enter display ,there you have the include from where you acn get the idea.
Regards,
Rahul -
How to add profit center in fbl5n selection screen
how to add profit center in fbl5n selection screen
and
it is save to copy ddf from sap to cus
wll it affect anything elseWhen you are on selection screen of FBL5N, press (Shift + F4) DYNAMIC SELECTIONS, there you will see a Dynamic selection screen along with your normal FBL5N selection screen, you will find Profit Centre ther, if you don't find Profit Centre in Dynamic Selection Screen you can add the same from the list on the left, search for profit centre, place your cursor on Profit centre and press the Arrow Button(Copy Selected) on top of the list. Now you will find Prfit Centre in Dynamic selection screen, fill the field with values and press save, that's it.....
Reward points if useful, get back in case of query...
Cheers!!!
Maybe you are looking for
-
Having horrible service with 4GLTE I have had 3G for several weeks (I am not the only person I know having this problem), I have reset my network settings and it did not resolve the issue. I am also unable to send SMS and text messages without them
-
Can No Longer Sort New Files By Date!
Whenever I download new files and try to access them in finder by sorting by ANY of the date related fields, the new files always show up under "No Date" making them a pain to access. WHY??? Most other files show up in the different categories "Yeste
-
Downloading Premiere Pro CC Gives Me an Error!
For some reason, I can't seem to download Premiere Pro CC. Two weeks ago, I installed it and it stopped at 42% and gave me an error, saying that another Adobe program was open, so I had to close that up. After closing that up, it worked perfectly wel
-
Premiere CC doesn't display/update windows sometimes in Windows 8
Just recently, with Windows 8 and Premiere CC, I get a bug that makes Premiere unusable. Certain windows don't draw or update regularly. See attached screenshot (https://dl.dropboxusercontent.com/u/651378/premiere%20windows%20not%20showing.PNG). N
-
How to use Print Screen function?
I've seen various descriptions of how to use the print screen function. It would be nice to actually be told one that works. None have worked for me. [Fn] and Prt SCr does not work. Ctrl and Prt SCr does not work. Ctrl, Alt, and Prt SCr does not wor