2014 Jul 31 10:08 AM
Hi,
When i given the task value in selection screen the description of the task need to be taken from the table hrs100
this is my code
IF NOT s_task[] is INITIAL.
SELECT stext
FROM hrs1000
INTO TABLE lt_hrs1000
WHERE otype = lv_type AND
objid = lv_ojid and
langu = 'E'.
ENDIF.
but values not fetched
2014 Jul 31 11:36 AM
Hi,
before coding , please check the table for values.
Regards,
Sivaganesh
2014 Jul 31 2:18 PM
Have you tried using 'EN' as suggested in the same question you have onw asked twice? i.e. LANGU = 'EN'.
Or try leaving the LANGU out of the SELECT statement and see if you get anything.
Do you have an abap person there that can help you quickly because this is very basic stuff i'm sure they can quickly solve for you?
2014 Jul 31 2:35 PM
Hi,
look at the table -what entries are in it?
try to select without where-statement. add 1 where-statement by another to figure out what line causing the error. sometimes leading 0 or SPACE in the ID field can be the issue.
go to transacion SE16 and enter your conditions. if you find something you should find something via programm too. If not - watch the data convertions to internal format.
regards
Stefan Seeburger
2014 Jul 31 3:02 PM
Hi,
You can try to use system variable for language: sy-langu.
WHERE otype = lv_type AND
objid = lv_ojid and
langu = sy-langu.
Regards.