Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Only Using Search Help Value When Entry Value

former_member212713
Contributor
0 Likes
875

Hi Experts,

I'm using search help at my screen field for entry value. But I dont want to entry value with using hand/finger/manuel.

I want to use only search help at my field.

Is this possible?

Best regards.

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
841

Hello Melih,

May be you're trying to achieve something similar

BR,

Suhas

PS: If you have a static search help you want to use, you can call the FM F4IF_FIELD_VALUE_REQUEST instead of F4IF_INT_TABLE_VALUE_REQUEST

7 REPLIES 7
Read only

Former Member
0 Likes
841

Hi Melih,

Its not possible.

Either u have to provide the value by search help or manual otherwise leave blank.

Regards,

S.C.K

Read only

Former Member
0 Likes
841

Hi,

Can send your code and be clear with your requirement. And your functionality can be achived using FM 'F4IF_INT_TABLE_VALUE_REQUEST'.

Try refer the previous threads based on that FM.

Regards,

Goutam Kolluru.

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
841

Yes you can disbale the button and value can be populated via search help you can see this happening when you save variant just click on disabled fields f4 and it works

Nabheet

Read only

0 Likes
841

But I dont use at report program.

I want to use Screen Program when entry value.

Best regards.

Read only

Clemenss
Active Contributor
0 Likes
841

Hi Nabheet,

please explain. I do not get it.

Regards

Clemens

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
842

Hello Melih,

May be you're trying to achieve something similar

BR,

Suhas

PS: If you have a static search help you want to use, you can call the FM F4IF_FIELD_VALUE_REQUEST instead of F4IF_INT_TABLE_VALUE_REQUEST

Read only

0 Likes
841

Thanks All for answers.

I mixed your solution and I find new way for my issue.

I did like this.

I added Input/Output Field at screen and I did input properties false.

And I added button near the I/O Field.

I wrote at PAI - User_Command for button on click.

May there is different way but so my solution.

My draft code below.


    WHEN '&BTN_PREPARE'.
   DATA : BEGIN OF ITAB OCCURS 0,
      KTANIM TYPE CHAR9,
      IPTPKOD LIKE ZKZN_004-IPTPKOD,
      KYPTYPEID LIKE ZKZN_004-KYPTYPEID,
      FIILOLS LIKE ZKZN_004-FIILOLS,
 END OF ITAB.
      CLEAR : ITAB.
      REFRESH : ITAB.
      SELECT IPTPKOD KYPTYPEID FIILOLS
      INTO CORRESPONDING FIELDS OF TABLE ITAB
      FROM ZKZN_004
      WHERE SILINDI = ''.
      LOOP AT ITAB.
        CONCATENATE ITAB-IPTPKOD ITAB-KYPTYPEID
        INTO ITAB-KTANIM SEPARATED BY SPACE.
        CONCATENATE ITAB-KTANIM ITAB-FIILOLS
        INTO ITAB-KTANIM.
        MODIFY ITAB.
      ENDLOOP.
      DATA : DFIES LIKE DFIES OCCURS 0 WITH HEADER LINE,
             DDSHRETVAL LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE,
             DSELC LIKE DSELC OCCURS 0 WITH HEADER LINE.
      CLEAR   : DFIES, DDSHRETVAL, DSELC.
      REFRESH : DFIES, DDSHRETVAL, DSELC.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD        = 'KTANIM'
          VALUE_ORG       = 'S'
        TABLES
          VALUE_TAB      = ITAB
          FIELD_TAB         = DFIES
          RETURN_TAB      = DDSHRETVAL
          DYNPFLD_MAPPING = DSELC.
      BREAK MELIHM.
      READ TABLE DDSHRETVAL INDEX 1.
      IF SY-SUBRC = 0.
        ZKZN_DATA01_S01-IPRJSCR01 = DDSHRETVAL-FIELDVAL.
      ENDIF.