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 does an exec sql statement do in abap? What is the disadvantage of using it?
Where are you used type casting?
What are the types of parameters in the function modules?
What is a table pool? : abap data dictionary
What are the types of subroutines?
– Programming using BAPI : Create Debit Memo Request (DMR) with reference to Sales Order and update the delivery number and PO number in the newly created DMR. Send the spool of the report by E-mail if the E-mail option is enabled. Selection Screen Required: Sales Org Delivery type Sales document type Optional: Planned Goods movement date Option to choose E-Mail E-mail Address Output device Output Output should display both successful and unsuccessful creation of DMR with the following fields, Success/Error (S/E) Sales Document number Delivery number New Debit memo request number Error message Tables TVAK, TVCPA, VBAK, LIKP, LIPS
What is the difference between skip and new-line?
What is the difference between a structure and an append structure?
Difference between stand alone CRM and back-end CRM
HOW CAN YOU USE A PAGE COUNT IN CALLING A PAGE IN SMARTFORM?
What is the definition of modification in an sap system and how do they impact an upgrade?
We have got some values for Field F1 say 1,2,3,4 and F2 say 10,10,10,10.Now can you tell me what would be the output for F1 if we use At End Of event?and what would be the output for F2 if we use At Last event?Also i want to know what is the difference between Total calculation for At end event and grand total for At last event???
What are the different methods of passing data? : abap modularization
How will you define posting procedures?
How table control cn be generated using bdc? : abap bdc