Statement not accesible  : "MOVE-CORRESPONDING ebkn TO *ebkn."

hi guys,
(system upgraded from 4.6 to 6.0 and made unicode compatible)
                thr r two problems........
1. "MOVE-CORRESPONDING ebkn TO *ebkn." is not accessible, is it something related to mirror image......... how to resolve this.
2. Refresh it_tab - "Refresh and clear statements are not accesible" .
  These are present inside includes..... ( is it somewhere related to use of subroutines prior to the use of refresh or clear statement......)
Those tables are defined prior to the statement Refresh or Clear.......

Hi Mohd,
please paste error message(s) in detail:
source name(s)
source line(1)
full error message including message class, type and number
If you get W messages (warnings), you may ignore them.
Regards,
Clemens

Similar Messages

  • Change "MOVE-CORRESPONDING" statement to MOVE statement in FM

    Hello Guys,
    I have created a datasource based on FM standard template RSAX_BIW_GET_DATA. In the source code in this template, there is a LOOP statement and below that there is a "MOVE-CORRESPONDING" statement.
    LOOP AT g_t_select INTO l_s_select WHERE fieldnm = 'PGMID'.
            MOVE-CORRESPONDING l_s_select TO l_r_pgmid.
            APPEND l_r_pgmid.
    ENDLOOP.
    My customer does not allow MOVE-CORRESPONDING statement for performance reasons. Hence I need to change it to MOVE statement. But I do not know the structure of l_s_select and I am not well at ABAP. So How do I write MOVE statement here.
    Can anybody help on this?
    Regards
    Utpal

    Hi Tibollo,
    Thanks for your prompt reply. Your suggestion has solved my problem. One input to this from  my side. It will not accept FIELDNM because it is not present in l_r_pgmid. Remind you l_r_pgmid is declard as a range and ranges does not have FIELDNM.
    Anyway, that portion I have modified and it worked. Thanks a lot. I am rewarding u points.
    Regards
    Utpal

  • Weird situation with MOVE-CORRESPONDING in standard SAP include!!

    Hello Experts,
    We have a standard_SAP_field_1 (attached to a standard_SAP_data_element_1) in standard_SAP_structure_1, but unfortunately its NOT there in KOMP structure!! Hence I added this standard_SAP_field_1 with in customer name space as 'ZZ_standard_SAP_field_1' by attaching the same standard_SAP_data_element_1.
    The standard_SAP_data_element_1 attributes are as CHAR, 2.
    Now, in one of the standard SAP include of VA42.....we have a statement as below,
    MOVE-CORRESPONDING standard_SAP_structure_1 TO komp.
    Then the value (say, AA) should transfer from standard_SAP_field_1 of standard_SAP_structure_1  to ZZ_standard_SAP_field_1 of KOMP, right? but, its not happening!! pls. let me know the reason and how to fix it?

    Okay...
    Field one is called: FIELD1
    Your own created field two is called ZZ_FIELD1.
    And now... MOVE-CORRESPONDING. Do a F1 on that and tell me: do the two fieldnames correspond?

  • Move-corresponding Doubt

    Hello Experts,
        I am having 10 fields in say structure s_struct1 and another structure is having 12 fields.
      If i will use Move-corresponding from S_STRUCT1 TO S_STRUCT2.
    insted of Move statetement 10 time for 10 different fields.
    Which will take more time and how much more time?
    Neno sec, Micro sec, Mili sec, Sec, mins etc.
    Keep in Mind 10 move statements and 1 move-corresponding.
    Target 10 field value move.
    Regards,
    Preeti Gupta
    Message was edited by:
            Preeti Gupta

    The MOVE-CORRESPONDING is not performance issue. It has a slight overhead against the specified moves, this should be clear, if you think about it.
    The programmed moves specify something, which the MOVE-CORRESPONDING most find out.
    Use MOVE-CORRESPONDING, if you structures can change, otherwise you get an error later or you must the program again.
    Don't use MOVE-CORRESPONDING if your table is buffered, because the buffer select is so fast, that the MOVE-CORRESPONDING is in  the same range.
    But never forget, performance is determined by indexes, not by MOVE-CORRESPONDING!
    Siegfried

  • Move-corresponding in table type Field-Symbols

    Hi,
        I have to use one statement in field-symbol similar to "move-corresponding" in normal internal table.Is it possible to use statement similar to "Move-corresponding in field-symbols".
    For Eg:
    Field-symbols <FA_IT> type standard table.
    data:begin of wa_ekk,
       f1 type i,
       f2 type werks_d,
       f4 type posnr,
       end of wa_ekk,
    it_ekk  like standard table of wa_ekk.
    begin of wa_final,
       f1 type i,
       f2 type werks_d,
       f3 type i,
       f4 type n,
    end of wa_final,
    it_final like standard table of wa_final.
    assign it_ekk to <fs_it>.
    Loop at <fs_it>.
    *???????-i dont know how to move the value to it_final
    *---I know I can use assign component statement
    *-to move each field  to the target field
    but for that we need to know the field name or index position of the structure-
    Endloop.
    My requirment is now i want to move the content of <fs_it> into it_final internal table.
    I know that In normal itab we can use "move-corresponding" to move the value from it_ekk to it_final.
    In the same way how to use it in field-symbol concept.
    Requirement:Real time Processing of Internal table
    1) Content of it_ekk:
    f1   f2       f4
    12  1000  0023
    23  2000  0037
    2)After ASSIGN statement:
    Content of <fs_it> is:
    f1   f2       f4
    12  1000  0023
    23  2000  0037
    3)Now I want to move the content of <fs_it> to it_final
    Output of It_final:
    F1   F2    F3    F4
    12  1000   ---    0023
    23  2000   ---    0037
    Regards,
    Vigneswaran S

    Andrey's code is going to work only if you are running it in a non-unicode system.
    See code below for a Unicode system using similar effect to "Move-Corresponding" statement.
    FIELD-SYMBOLS: <fs_ekk> LIKE wa_ekk,
                   <fs_final> LIKE wa_final.
    ASSIGN it_ekk TO <fs_it> .
    LOOP AT <fs_it> ASSIGNING <fs_ekk>.
      ASSIGN <fs_ekk> TO <fs_final> CASTING.
      CLEAR <fs_final>-f3.
      APPEND <fs_final> TO it_final.
    ENDLOOP.
    Hope this solves your problem and please don't forget to reward points.
    Cheers,
    Sougata.

  • QM15 - MOVE-CORRESPONDING is not working

    Hi,
    I am executing a standard transaction QM15, in which workcenter (ARBPL) is not getting populated in the list output display.
    When I debugged the transaction, i found that there is a statement for moving ARBPL to the output table.
    MOVE-CORRESPONDING RQMQMEL TO OBJECT_TAB.
    After pressing F5 at this point, OBJECT_TAB remains the same.. its not getting appended with new value from RQMQMEL. Please help me out in understanding this. The Structure of RQMQMEL is same as OBJECT_TAB.
    Thanks,
    DhanaLakshmi M S

    Modify internal table has been written somewhere else in the program, depending on QMFE table. ARBPL was updated only in QMEL table.

  • Move-corresponding is not working

    Hi All,
      I have 2 structures like this.
    DATA: BEGIN OF ITAB1 OCCURS 0,
                    zuonr(18) TYPE c,               
                    group(10) TYPE c,             
                    s_amt     type invfo-WRBTR,
                END OF ITAB1.
    DATA : BEGIN OF TABC OCCURS 0,
                 ZUONR     LIKE ITAB1-ZUONR,
                GROUP     LIKE ITAB1-GROUP,
                SALE_AMT  LIKE ITAB1-S_AMT,
            END OF TABC.
    LOOP AT ITAB1.
         move-corresponding ITAB1 TO TABC.
         APPEND TABC.
         CLEAR TABC.
    ENDLOOP.
    I am getting zuonr and group values into TABC. But I am not getting values into Sale_Amt field.
    What is wrong in the above code??

    Hi ..
    MOVE-Corresponding <WA1> to <wa2>.
    This statement will assign the fields from WA1 to WA2 based on the Field names matching.
    So it is only copying where the Field names are same.
    Then you can change the code like this.
    DATA: BEGIN OF ITAB1 OCCURS 0,
    zuonr(18) TYPE c,
    group(10) TYPE c,
    s_amt type invfo-WRBTR,
    END OF ITAB1.
    DATA : BEGIN OF TABC OCCURS 0,
    ZUONR LIKE ITAB1-ZUONR,
    GROUP LIKE ITAB1-GROUP,
    SALE_AMT LIKE ITAB1-S_AMT,
    END OF TABC.
    LOOP AT ITAB1.
    <b>move ITAB1 TO TABC.</b>
    APPEND TABC.
    CLEAR TABC.
    ENDLOOP.
    <b>Reward if Helpful.</b>

  • Error in MOVE-CORRESPONDING  statement

    Hi all,
    I am facing issue in move-corresponding statement.
    Form:
    FORM get_first_data USING   it_lifnr TYPE ty_lifnr
                                 it_prdha TYPE ty_prdha
                                 it_matnr TYPE ty_matnr
                                 ct_list_struct TYPE yt_list_struct
                                 pd_datab LIKE sy-datum
                                 pd_datbi LIKE sy-datum.
    In loop statment:
    LOOP AT lt_eket.
      Liste mit EKET-Einträgen anreichern
        clear ld_subrc.
        CLEAR ct_list_struct.
        MOVE-CORRESPONDING lt_eket TO ct_list_struct.
    After this statement it is giving error that, ct_list_struct is not a structure or internal table with header line.

    Hi,
    Is ct_list_struct an internal table? if so, try to declare a work area for assigning data:
    FORM get_first_data USING it_lifnr TYPE ty_lifnr
    it_prdha TYPE ty_prdha
    it_matnr TYPE ty_matnr
    ct_list_struct TYPE yt_list_struct
    pd_datab LIKE sy-datum
    pd_datbi LIKE sy-datum.
    "In loop statment:
    data: wa_list_struct like lines of ct_list_struct
    LOOP AT lt_eket.
    * Liste mit EKET-Einträgen anreichern
    clear ld_subrc.
    CLEAR ct_list_struct.
    MOVE-CORRESPONDING lt_eket TO wa_list_struct.
    append wa_list_struct to ct_list_struct.
    thanks,

  • Syntax  of move corresponding

    hi
    Can anyone give me the syntax of move corresponding.
    I even want to know wat does this exactly do.
    Can I have some sample sof move corresponding.
    Its urgent.U'll get points.
    Thanking you
    Chandrika.

    hi,
    MOVE-CORRESPONDING
    Basic form
    MOVE-CORRESPONDING struc1 TO struc2.
    Effect
    Interprets struc1 and struc2 as structures. If, for example, struc1 and struc2 are tables, it executes the statement for their header lines.
    Searches for the sub-fields which occur both in struc1 and struc2 and then generates, for all relevant field pairs which correspond to the sub-fields ni, statements of the form
    MOVE struc1-ni TO struc2-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),
            NUMBER TYPE I,
            INDEX  LIKE SY-INDEX,
          END   OF INT_TABLE,
          BEGIN OF RECORD,
            NAME(10) VALUE 'not WORD',
            NUMBER TYPE I,
            INDEX(20),
          END   OF RECORD.
    MOVE-CORRESPONDING INT_TABLE TO RECORD.
    This MOVE-CORRESPONDING statement is equivalent to both the following statements:
    MOVE INT_TABLE-NUMBER TO RECORD-NUMBER.
    MOVE INT_TABLE-INDEX  TO RECORD-INDEX.
    Example
    TYPES: BEGIN OF ROW1_3,
             CO1 TYPE I,
             CO2 TYPE I,
             CO3 TYPE I,
           END   OF ROW1_3.
    TYPES: BEGIN OF ROW2_4,
             CO2 TYPE I,
             CO3 TYPE I,
             CO4 TYPE I,
           END   OF ROW2_4.
    TYPES: BEGIN OF MATRIX1,
             R1 TYPE ROW1_3,
             R2 TYPE ROW1_3,
             R3 TYPE ROW1_3,
           END OF   MATRIX1.
    TYPES: BEGIN OF MATRIX2,
             R2 TYPE ROW2_4,
             R3 TYPE ROW2_4,
             R4 TYPE ROW2_4,
           END OF   MATRIX2.
    DATA: ROW TYPE ROW1_3,
          M1  TYPE MATRIX1,
          M2  TYPE MATRIX2.
    ROW-CO1 = 1. ROW-CO2 = 2. ROW-CO3 = 3.
    MOVE: ROW TO M1-R1, ROW TO M1-R2, ROW TO M1-R3.
    MOVE-CORRESPONDING  M1 TO M2.
    The last MOVE-CORRESPONDING statement is equivalent to the statements:
    MOVE: M1-R2-CO2 TO M2-R2-CO2,
          M1-R2-CO3 TO M2-R2-CO3,
          M1-R3-CO2 TO M2-R3-CO2,
          M1-R3-CO3 TO M2-R3-CO3.
    Note
    The same runtime errors may occur as with MOVE.
    Note
    This statement assigns values based on pairs of fields with identical names. To avoid unwanted assignments, you should consider all fields of the source and target structures. If either is defined with reference to an ABAP Dictionary type (for example, a database table), remember that any subsequent extension to the type could cause coincidental pairs of identically-named fields, which could lead to incorrect program logic.
    Regards,
    Sourabh

  • Move Corresponding in AMDP Procedures

    Hi,
    Since Move Corresponding from internal table 1 to internal table 2 is not available in HANA SQL in AMDP, I can achieve the same using Selecting the respecting columns from the internal table 1 into internal table 2. Is there any other way through which we can achieve this?
    Regards,
    Ramesh

    Hi Ramesh,
    as alternative you could use the calculation engine function CE_PROJECTION to reach the same result. But I would not recommend to use the CE function because of the latest statement regarding the usage of CE functions in blog New SQLScript Features in SAP HANA 1.0 SPS9 (last paragraph). There it is (now!) recommended to use pure SQL instead of CE functions.
    Best regards,
    Florian

  • Itab move corresponding

    hello abap gurus,
    in my requirement,
    all the records in ITAB1 need to be moved to ITAB2  where
    both have a common key field which should match.
    Note: ITAB1 and ITAB2 have only few common fields. ITAB2 is completely empty.
    can someone tell the best way of coding this.
    thank you.

    check out this example.would be helpfull
    DATA: BEGIN OF INT_TABLE OCCURS 10,
            WORD(10),
            NUMBER TYPE I,
            INDEX  LIKE SY-INDEX,
          END   OF INT_TABLE,
          BEGIN OF RECORD,
            NAME(10) VALUE 'not WORD',
            NUMBER TYPE I,
            INDEX(20),
          END   OF RECORD.
    MOVE-CORRESPONDING INT_TABLE TO RECORD.
    This MOVE-CORRESPONDING statement is equivalent to both the following statements:
    MOVE INT_TABLE-NUMBER TO RECORD-NUMBER.
    MOVE INT_TABLE-INDEX  TO RECORD-INDEX.

  • Move n move corresponding

    frends please provide me the detail document and scenarios where we use with examples about move and move corresponding  statements?

    Hi,
    Please check this.
    Assigning Values with MOVE:
    To assign the value of a data object source to a variable destination, use the following statement:
    MOVE source TO destination.
    or the equivalent statement
    destination = source.
    The content of source remains unchanged, source does not therefore have to be a variable - it can also be a literal, a text symbol, or a constant. You must always specify decimal points with a period (.), regardless of the user’s personal settings.
    Multiple assignments
    f4 = f3 = f2 = f1.
    are also possible. ABAP processes them from right to left as follows:
    MOVE f1 TO f2.
    MOVE f2 TO f3.
    MOVE f3 TO f4.
    Assigning Values Between Components of Structures (MOVE-CORRESPONDING):
    The rules for value assignments between data objects also apply to structures. With the command
    DATA: struct1 TYPE structure,
          struct2 TYPE structure.
    struct1 = struct2.
    two structures of the same type can be assigned to one another without difficulty. Here, the entire source structure is seen as a unit and copied to the source structure. It is then possible to access the components individually again. If the structures in question are not compatible, see the conversion rules for structures.
    In practice, however, you will often only need to assign certain components of a structure to be certain components of another structure. ABAP has a special statement for this purpose:
    MOVE-CORRESPONDING sourcestruct TO destinationstruct.
    This statement assigns the contents of the components of structure sourcestruct to the components of the destinationstruct structure that have identical names.
    When it is executed, it is broken down into a set of MOVEstatements, one for each pair of fields with identical names, as follows:
    MOVE sourcestruct-comp1 TO destinationstruct-comp1.
    MOVE sourcestruct-comp2 TO destinationstruct-comp2.
    Regards,
    Ferry Lianto

  • MOVE-CORRESPONDING Alternative..

    It is recommended not to use the Move-corresponding statements in the code.
    Is there any alternative of that..which improves performance.
    ex.
    MOVE-CORRESPONDING WA_ITAB1 TO WA_SUCLOG.
    please suggest.
    Thanks.

    > It is recommended not to use the Move-corresponding statements in the code.
    Where is this recommended, except in posts here that are copied from previous posts that are copied from previous posts that are...
    As I stated on similar occasions, "corresponding" (in move and select statements) allows for very efficient programming techniques, whereas the performance aspect is neglectable (just compare yourself for heaven's sakes).
    My favourite example is an ALV list based on a DDIC structure with the field catalog. Two new fields from already accessed tables are required. If you programmed the list correctly all you need to do is add those two fields to the DDIC structure and that's it. Thanks to "corresponding".
    Thomas

  • Which is the best way...MOVE CORRESPONDING or MOVE work are to work area

    Hi Friends,
    I have two internal tables.
    IT1 with 20 fields.
    IT2 with 17 fields.
    Shall I use MOVE-CORRESPONDIN IT1 to IT2.
    or I can do like the below.
    IT2-FIELD1 = IT1-FIELD1.
    IT2-FIELD2 = IT1-FIELD2.
    IT2-FIELD3 = IT1-FIELD3.
    IT2-FIELD4 = IT1-FIELD4.
    IT2-FIELD5 = IT1-FIELD5.
    IT2-FIELD6 = IT1-FIELD6u2026.and so on.
    This is related with Performance Optimization.
    Kindly suggest a solution,
    Thanks.
    Viji.

    The runtime difference between these two is so minimal, it does not matter most of the time!
    MOVE-CORRESPONDING allows for shorter and more effective program code, e.g. when a new field is introduced to a program, often it only has to be added to a global structure and becomes effective throughout the code without further changes. Think about FI document postings, SAP itselfs moves data from BKPF and BSEG to BSIS using CORRESPONDING. When you add a ZZ-field to BSEG and BSIS, the content will also show in BSIS without any code modifications!
    I love CORRESPONDING, also in SELECT statements.
    Thomas
    P.S. when structures are the same, just a MOVE is better, obviously

  • About the move corresponding

    hi,
           can anyone say about the diff... between the  move corresponding  and move statment..
    wat is the diff.. move corresponding and append stmt.. in which situation we need to use this....

    Hi
    Reward if help.
    MOVE-CORRESPONDING wa_tab1 to wa_tab2.************ End
    MOVE: wa_tab1-fld1 to wa_tab2-fld1,      wa_tab1-fld2 to wa_tab2-fld2,      wa_tab1-fld3 to wa_tab2-fld3,
    Assigning Values with MOVE
    To assign the value of a data object source to a variable destination, use the following statement:
    MOVE source TO destination.
    or the equivalent statement
    destination = source.
    The content of source remains unchanged, source does not therefore have to be a variable - it can also be a literal, a text symbol, or a constant. You must always specify decimal points with a period (.), regardless of the user’s personal settings.
    Multiple assignments
    f4 = f3 = f2 = f1.
    are also possible. ABAP processes them from right to left as follows:
    MOVE f1 TO f2.
    MOVE f2 TO f3.
    MOVE f3 TO f4.
    In the MOVE statement (or when you assign one value to another with the equal sign), it is not possible to specify the field names dynamically as the contents of other fields. If you need to do this, you must use field symbols .
    The source and target fields can be of different data types. The result of the value assignment depends on whether these data types are compatible and whether a type conversion can be performed. If there is no conversion rule between the data types in question, no assignment can be made.
    DATA: t(10)  TYPE c,
          number TYPE p DECIMALS 2,
          count  TYPE i.
    t = 1111.
    MOVE '5.75' TO number.
    count = number.
    Following these assignments, the fields t, number and count have the values ‘1111      ’, 5.75, and 6 respectively. When you assign the number literal 1111 to T, it is converted into a character field with length 10. When you assign number to count , the decimal number is rounded to an integer (as long as the program attribute Fixed pt. arithmetic has been set).
    Assigning Values Between Components of Structures
    The rules for value assignments between data objects also apply to structures. With the command
    DATA: struct1 TYPE structure,
          struct2 TYPE structure.
    struct1 = struct2.
    two structures of the same type can be assigned to one another without difficulty. Here, the entire source structure is seen as a unit and copied to the source structure. It is then possible to access the components individually again. If the structures in question are not compatible, see the conversion rules for structures.
    In practice, however, you will often only need to assign certain components of a structure to be certain components of another structure. ABAP has a special statement for this purpose:
    MOVE-CORRESPONDING sourcestruct TO destinationstruct.
    This statement assigns the contents of the components of structure sourcestruct to the components of the destinationstruct structure that have identical names.
    When it is executed, it is broken down into a set of MOVEstatements, one for each pair of fields with identical names, as follows:
    MOVE sourcestruct-comp1 TO destinationstruct-comp1.
    MOVE sourcestruct-comp2 TO destinationstruct-comp2.
    Any necessary type conversions are performed individually.
    DATA: BEGIN OF address,
            firstname(20) TYPE c VALUE 'Fred',
            surname(20) TYPE c VALUE 'Flintstone',
            initials(4) TYPE c VALUE 'FF',
            street(20) TYPE c VALUE 'Cave Avenue',
            number TYPE i VALUE '11',
            postcode(5) TYPE n VALUE '98765',
            city(20) TYPE c VALUE  'Bedrock',
          END OF address.
    DATA: BEGIN OF name,
            surname(20) TYPE c,
            firstname(20) TYPE c,
            initials(4) TYPE c,
            title(10) TYPE c VALUE 'Mister',
          END OF name.
    MOVE-CORRESPONDING address TO name.
    In this example, the values of name-surname, name-firstname and name-initials are set to 'Flintstone’, ‘Fred’, and 'FF'. name-title always has the value ‘Mister’.
    Append Structure->Append structures are used for enhancements that are not included in the standard. This includes special developments, country versions and adding customer fields to any tables or structures.
    An append structure is a structure that is assigned to exactly one table or structure. There can be more than one append structure for a table or structure.
    The following enhancements can be made to a table or structure TAB with an append structure:
    · Insert new fields in TAB,
    · Define foreign keys for fields of TAB that already exist,
    · Attach search helps to fields of TAB that already exist,
    These enhancements are part of the append structure, i.e. they must always be changed and transported with the append structure.
    Pls Reward if help.

Maybe you are looking for

  • Itunes has encountered a problem and needs to close. we are sorry for the i

    ok so i installed itunes and i keep getting that error and it wont let me open itunes. i have uninstalled itunes and quicktime and installed the newest version and an old version as well and this error keeps comeing up. getting pretty ****** because

  • How can I have exact same tag information in Windows and i-Tunes???

    When I check the "properties" of my mp3 files in Windows I don't see the same information as when I click "get info" in i-Tunes. I've tried "convert ID3 tags" in i-Tunes, but it all just gets very complicated... Please, please help!!!

  • Repeat PO output

    Is there a way of repeating message output for Purchase Order for multiple POs. Any help is much apprecaited. Thanks

  • Question on "No Selection" Item for a dropdown data list?

    I'm trying to set a dropdown data list on an input form to have a default value. It appears that the first item in the list (which will show as the default) is always interpreted as a null value? Is there a way to display a default value that won't b

  • Time Machine flooding my external hD

    This thing is just the most useless softwear ever. I have a 1T external hard drive partitioned 2/3 for back up 1/3 for other. I did my first backup and then the hourly ones started running. the preferences says I have about 3T on my hard drive which