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

Getting error message in F4 help

Hi Exports,

I m facing a issue in F4 help, F4 help is coming correctly, when I want to search the items in that F2 function is not working..

when I click on down arrow at customer field I m getting following error

"Field- F0002 is not defined in the ABAP dictionary"

bellow is my code and screen shot

SORT LT_INVOICE_F4 BY INVCE KUNNR.

DELETE ADJACENT DUPLICATES FROM LT_INVOICE_F4

COMPARING INVCE KUNNR.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

* DDIC_STRUCTURE = ' '

RETFIELD = 'INVCE'

* PVALKEY = ' '

DYNPPROG = LV_DYNAME

DYNPNR = LV_DYNUMB

DYNPROFIELD = LV_DYNPFLD

* STEPL = 0

* WINDOW_TITLE =

* VALUE = ' '

VALUE_ORG = 'S'

* MULTIPLE_CHOICE = ' '

* DISPLAY = ' '

* CALLBACK_PROGRAM = ' '

* CALLBACK_FORM = ' '

* MARK_TAB =

* IMPORTING

* USER_RESET =

TABLES

VALUE_TAB = LT_INVOICE_F4

* FIELD_TAB =

RETURN_TAB = LT_RETURN

* DYNPFLD_MAPPING =

* EXCEPTIONS

* PARAMETER_ERROR = 1

* NO_VALUES_FOUND = 2

* OTHERS = 3

.

IF SY-SUBRC <> 0.

* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

READ TABLE LT_RETURN INTO LW_RETURN INDEX 1.

IF SY-SUBRC = 0.

P_INVOIC = LW_RETURN-FIELDVAL.

ENDIF.

Thanks in advance

error.jpg (43.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Aug 30, 2012 at 12:35 PM

    Hiii,

    Just do one thing - in your z table field ZFI_BILL-KUNNR assign Explicit search help DEBI or make foreign key relationship.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 30, 2012 at 06:49 AM

    Could you post the definition of internal table LT_INVOICE_F4.

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 31, 2012 at 08:50 AM

    If nothing else works, as SAP does not like your table definition, you should fill the FIELD_TAB parameter...

    Regards,

    Raymond

    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.