whats the difference between range & select-option??
Answer / parthan_feb25
mainly Select-options is used for selection screen..
where as ranges is used inside the program..
Ranges cannot visible in selection screen
Functionality wise there is no difference except SELECT-
OPTIONS are visible in the selection screen while Ranges
are not visible.
Both have same structure.
One restriction in Ranges is u can't use Range in Select
query if it has more than 2000 entries.
Ranges are used just like we use temporary internal tables.
eg: If u want to check for say 10 ranges in select query
for some field which is not there in ur selection screen
then u will populate the ranges and use it in the select
query. Syntax will remain same as select option.
RANGES: r_vbeln FOR vbak-vbeln.
r_range-sign = 'I'.
r_range-option = 'BT'.
r_range-low = 123.
r_range-high = 321.
APPEND r_range.
like this append all the ranges u want.
SELECT field list FROm vbak INTO TABLE i_vbak
WHERE vbeln IN r_vbeln.
Is This Answer Correct ? | 23 Yes | 4 No |
How BAPI is Different from call Transaction/Session
which state ment is used to move identically named fields between structures?
How to analysis Background Job for performance Issue?
what are the events in Module pool Programming?
18 Answers HCL, Mahle, TCS, Wipro,
in a loop of an internal table, what is the use of at first & at last statements?
What is alv programming in abap?
What is repository info. Systems?
what technology used at presentation layer for displaying GUI to SAP user ? and where those files were put?
Can you create a Lock Object? What are Lock Objects?
I am trying to automate a manual processing of iDOCs in BD87. I used the following code to pass idoc-id to global variable 'DCN' and then skip the first screen of BD87 to go to processing directly. After running this code SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id. CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN. it takes me to the first screen because it cannot recognize my idoc-id. How I can pass idoc-id to global? I have used the above code to goto VA02 with VBELN and it worked perfectly.
HOW CAN WE MODIFY STANDARD TABLES?
if i want to insert 10 laks MM records and for inserting one record it takes 1 min by using call transaction or session method . so here is there any alternative