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 sap locking?
What do you mean by cluster tables in sap abap? Also explain what do you mean by table cluster? : abap data dictionary
What are conversion routines? : abap data dictionary
Explain the differences between at selection-screen and at selection-screen output?
Explain the different types of mode (run code) in call transaction method?
Explain what are the various types of selection screen event?
Explain the inside concept in select-options?
What is the function of the correction system? : abap data dictionary
How many ways can a sap system be accessed?
Write the bdc table structure? : abap bdc
What has to be done to the packed fields before submitting to a BDC session.
Can you print decimals in type n? What is difference between float and packed data type?
What happens if only one of the commands set screen and leave screen is used without using the other?
What is the difference between pnp and pnpce? : abap hr
What are authorization objects and what statement is used to perform an authorization check in an abap program?