09-18-2009 11:46 AM
Hi all,
Any idea how to fetch values from Table DDSHPVAL50 based on sy-uname.
This table is used to store values for personal value list.
09-18-2009 11:51 AM
09-18-2009 12:06 PM
what is the problem?
data : gt_DDSHPVAL50 type standard table of DDSHPVAL50.
select * from DDSHPVAL50 into gt_DDSHPVAL50 where username = sy-uname.
09-18-2009 12:08 PM
Hi,
Will not a simple select query work..
data:
t_tab type table of DDSHPVAL50,
fs like line of t_tab.
select *
from DDSHPVAL50
into table t_tab
up to 10 rows
where username eq sy-uname.
if sy-subrc eq 0.
loop at t_tab into fs.
write:/ fs-username.
endloop.
endif.
Regards,
Deeba
09-18-2009 12:13 PM
hi,
there is one field record of char255. it has values for all the columns in a different format.
I was thinking if there was some standard FM / perform which would fetch the values of this Record into an internal table.
09-18-2009 12:16 PM
what is the problem again?
after getting the value into internal table, you can see the value of that char255 field i.e RECORD some thing like :
"FIELD:CTEXT000020000120C~000000"
09-18-2009 12:19 PM
how to interpret this value ?
Sometimes for one row to be inserted in DDSHPVAL50 , two rows are created in the table by standard perform
How would i know which two rows corresponds to one row of internal table ?
10-13-2009 2:15 PM
Solved using Standard perform:
PERFORM personal_values_select IN PROGRAM saplsdsd
TABLES t_record
USING p_shlp_descr .