Skip to Content
-5

I saw this piece of code involving ASSIGN COMPONENT in a program and don't know what it does?

It looks like this:

ASSIGN COMPONENT something-field1 of STRUCTURE struct_example to <field_sym>

What exactly is this statement doing and assigning to the <field_sym>?

Is it implying that 'something' is related to 'struct_example' in some way?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 10, 2018 at 09:22 AM

    Ask your support to repair the F1 key on your keyboard.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 09, 2018 at 06:19 AM

    Try reading the ABAP help on the statement.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 08, 2018 at 11:47 PM

    its assign component name ( which is value in something-field1 ) of structure struc_example to field symbol, that what supposed tobe...

    Add comment
    10|10000 characters needed characters exceeded