How to move the even records of one internal table to other
Answer Posted / ariv
types : begin of ty_vbak,
vbeln type vbeln_va,
erdat type rdat,
end of ty_vbak.
DATA: it TYPE TABLE OF ty_vbak,
it1 TYPE TABLE OF ty_vbak,
wa type ty_vbak.
data: LO type I VALUE 1.
SELECT vbeln erdat FROM vbak INTO TABLE it UP TO 10 ROWS.
LOOP AT it INTO WA.
IF SY-TABIX = LO.
APPEND WA TO IT1.
LO = LO + 2.
ENDIF.
endloop.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is lock objects? : sap abap data dictionary
What are the page headers for secondary lists?
What is the use of 'for all entries'?
What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary
Can you print decimals in type n?
what is diff between ECC 5.0 AND ECC 6.0
What are secondary indexes. How can we know which index is being used in a select query?
What is database utility? : abap data dictionary
What kind of financial periods exist in sap? What is the relavent table for that?
what is the transaction transaction for setting parameters rdisp/buffermode
how to create module pool program using table controls based on selection criteria specified for sales document item in the first screen and item details in the second screen. plz mention the detail coding Tahnks, Rahul
hi..i hav developed an interactive report in which alv list display in basic list and 1st secondary list in alv grid display.I want to get summation(total) of the columns in the secondary list.I hav used 'do_sum' but i couldnt get.is there any other way to get summation(total) in secondary list which is an alv grid display
A function module can be called from a transaction screen outside an abap/4 program. State true or false. : abap modularization
What is direct input method ?
What is view? Explain the different types of view?