Skip to Content
author's profile photo Former Member
Former Member

Assign a unstructured string to a dynamic generated structure

Hello,

i want to assign a unstructured string to a dynamic generated structure, sp that i have acsess to the specific fields. How to do that?

Best regards,

TomSd

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2006 at 02:04 PM

    Hi Thomas,

    You can use Field Symbols for that purpose.

    Use the following syntax:

    ASSIGN unstructured string TO <fs_table> CASTING TYPE (INT_TBL_NAME).

    Where <fs_table> can be declared as follows:

    FIELD-SYMBOLS: <fs_table> TYPE ANY.

    And INT_TBL_NAME is a variable that holds the name of the dynamic structure.

    Regards,

    Urmila

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2006 at 02:17 PM

    Please reward points if this was useful.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thomas,

      ASSIGN LS_RESULTDATA-DATA TO <FS_RESULTDATA_LINE>

      Looking at it closely, you are already assigning a specific column of LS_RESULTDATA to the field synbol. So, the field symbols will point only a column of the work area. Why would DATA column again other columns like BASE_UOM?

      Regards,

      Ravi

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.