‎2012 Jan 12 1:02 PM
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.
‎2012 Jan 12 5:42 PM
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
‎2012 Jan 12 1:18 PM
Hi Melih,
Its not possible.
Either u have to provide the value by search help or manual otherwise leave blank.
Regards,
S.C.K
‎2012 Jan 12 1:21 PM
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.
‎2012 Jan 12 1:41 PM
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
‎2012 Jan 12 3:07 PM
But I dont use at report program.
I want to use Screen Program when entry value.
Best regards.
‎2012 Jan 12 3:33 PM
‎2012 Jan 12 5:42 PM
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
‎2012 Jan 13 8:55 AM
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.