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

alv error

Hi exports,

it is going dump please help me an find the attached code.

run time Errors GETWA_NOT_ASSIGNED

BAP Program SAPLSLVC

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 20, 2015 at 08:58 AM

    Hi,

    Change the following in your code

    ts_fieldcat-col_pos = 0 .
    ts_fieldcat-fieldname = 'F_LIFNR'. "Change the field name LIFNR to F_LIFNR
    ts_fieldcat-seltext_l = 'Vendor'.
    * ts_fieldcat-outputlen = 10.
    APPEND ts_fieldcat TO ta_fieldcat.
    CLEAR : ts_fieldcat.



    Like this change the all fields names in fieldcatlog mentioned in ty_final.

    And also check the ts_fieldcat-seltext_l in fieldcatlog there is duplicate column names.


    Regards,

    Chandu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 20, 2015 at 08:57 AM

    Hello Praveen,

    Please attach a screeshot of the dump showing the place in ABAP code.

    I t may be linked to your field catalog definition (field name error ? or other error...), have you deactivated most of fields and added them one by one testing between each change.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 20, 2015 at 09:02 AM

    Hi Praveen,

    After read statement check if field symbol is assigned instead of sy-subrc.In the code if ta_lfm1 table does not contain any data then is not assigned and you are checking read ta_t024e table with the value which is not assigned. End your f statement after completion of usage of that variable.

    Hope this solves your problem.

    Regards

    Pallavi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2015 at 09:23 AM

    hi exports,

    Thank you for your quick response it is working when i change below

    ts_fieldcat-fieldname = 'F_LIFNR'. "Change the field name LIFNR to F_LIFNR



    Regards,

    praveen.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 20, 2015 at 11:02 AM

    Hi Praveen,

    the field catalog in alv is missing the field tabname field.

    Please added to field catalog with this statement : ts_fieldcat-tabname = 'ta_final'.

    ex:

    ts_fieldcat-col_pos = .

    ts_fieldcat-fieldname = ' '.

    ts_fieldcat-seltext_l = ' '.

    ts_fieldcat-tabname = 'ta_final'.

    APPEND ts_fieldcat TO ta_fieldcat.

    CLEAR : ts_fieldcat.

    Thanks & Regards,

    K.Manoj.

    Add a comment
    10|10000 characters needed characters exceeded

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.