Skip to Content
author's profile photo
Former Member

Help on Value Request

hi

i am developing a simple screen program. in this program when i give a customer no. i/o field (kna1-kunnr) then i should get his relavent order details from vbak table ( in a screen table).

and i want to give the F4 help on kna-kunnr field.

i have gone through the sample programs in abapdocu which he has given for sflight-connid field but i am unable to do it for my program.

when i press the f4 key it gives the following messg.

Error messg:- no active external product for the fuzzy search.

at the domain level for the data element kunnr there is a value table given (kna1).

and one more query. there are two buttoms in my screen program Ok & cancel and the kna1-kunnr is a mandatory field what should be the logic i should follow so that the with out entering the mandatory feild i should get out of the program when i press cancel buttom. can u example this with a simple code.

regards,

maqsood

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Sep 30, 2005 at 01:36 AM

    Hi

    When you create a file dof name KNA1-KUNNR , system will prompt you to accept the dictionary attributes. If you accept it the serach help will automatically be called from screen. Delete your i/o field , create a new field with name KNA1-KUNNR. Make sure your program has

    " Tables : KNA1 ." declared in TOP Include.

    For function code "Cancel" in GUI status just mark the function type as "E" . Default is space.

    In the SCREEN PAI

    MODULE PROG_EXIT AT EXIT COMMAND.

    In program.

    MODULE PROG_EXIT.

    SET SCREEN 0.

    LEAVE SCREEN.

    ENDMODULE.

    Cheers

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      you do it in this way.

      in the screen painter

      previous to attributes button , there is one more button.

      click that . a new screen comes here you enter the table kna1 and select the field required and press enter now the field will be selected place it where ever required

      by doing that automatically the search help will be added

      if not clear pls come back

  • author's profile photo
    Former Member
    Sep 30, 2005 at 04:25 AM

    Hi Maqsood,

    Why not you use the default search help available for this field "<b>DEBI</b>?".

    Regards,

    Siva

    Add comment
    10|10000 characters needed characters exceeded