ENDIF. *3> 将gt_data用销售主管和销售雇员分别放到两个内表并输出(使用FILTER关键字语法) "使用多个值筛选 DATA: gt_filter TYPE SORTED TABLE OF CHAR10 WITH NON-UNIQUE KEY table_line. ***INitialize filter Table gt_filter = VALUE #( ( c_xszg ) )."
SAP Managed Tags: ABAP Development hi chandra, SELECT budat hkont belnr shkzg wrbtr FROM bsas APPENDING CORRESPONDING FIELDS OF TABLE it_temp WHERE hkont = w_glacct "wa_cb-gl_account AND bukrs IN (so_bukrs-low) AND budat < so_date-low. thanks, kcc Reply Former Member In response ...
*Select all datasets from database table SFLIGHT corresponding to *carrier PA_CAR Select carrid connid fldate seatsmax seatsocc FROM sflight INTO CORRESPONDING FIELDS OF wa_flight Where carrid = pa_car. *Calculate occupation of each flight wa_flight-percentage = 100 * wa_flight-seatsocc / ...
SAP Managed Tags: ABAP Development HI , IF U R TABLE HAS FIELDS WHICH ARE NOT IN THE ORDER IN THE ACTUAL D/B TABLE AND IF U R TABLE HAS FIELDS FROM DIFFERENT D/B TABLES THEN U USE CORRESPONDING... EG TYPES: BEGIN OF GS_ITAB, MATNR TYPE MARA-MATNR, MATKL TYPE MARA-MATKL, ...
MOVE-CORRESPONDING用于将一个结构中的数据赋予另一个结构中的对应字段,只能存一行数据。 所以使用时应该是如下形式: TABLES: spfli. DATA: yp_waLIKE spfli, yp_tabLIKETABLEOF spfli. TYPES:BEGINOF sp, selTYPEc. INCLUDESTRUCTURE spfli. TYPES:ENDOF sp. ...
SAP ABAP MOVE-CORRESPONDING ... TO ...的使用 1.MOVE-CORRESPONDING itab1 TO itab2. 清空原来的数据,添加新的数据 2.MOVE-CORRESPONDING itab1 TO itab2 KEEPING TARGET LINES. 保留原来的数据,并添加新的数据
The other fields remain unchanged. With more complex structures, the complete names of the field pairs must be identical. Example DATA: BEGIN OF MONEY, VALUE_IN(20) VALUE ‘German marks’. USA TYPE I VALUE 100, FRG TYPE I VALUE 200, ...
SAP Managed Tags: ABAP Development Dear All, Please see my code. Here, I had the GRN values in IT2 table and use loop in IT2 then i got the information about INVOICE details. After, the fields move-corresponding to IT4 table. But it's working properly. IT4 table getting the value...
statements of the form MOVE rec1-ni TO rec2-ni. The other fields remain unchanged. With complex structures, the full names of the corresponding field pairs must be identical. Example DATA: BEGIN OF INT_TABLE OCCURS 10, WORD(10),
1. configure mapping information using CL_ABAP_CORRESPONDING=>CREATE, a mapping executor instance is returned. 2. call mapping executor's method execute to get mapped internal table. The mapped result in this example looks as below: CL_JAVA_CORRESPONDING ...