on 07-04-2007 10:13 AM
hallow
i use this metod for some infotype(0000,0008....) but when i have in some infotype with field that empty and type decimal i get 202.00 20002.000 .... insted of empty field
why?
FIELD-SYMBOLS: <ls_pnnnn> TYPE ANY.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = ls_prelp
IMPORTING
pnnnn = <ls_pnnnn>.
regards
Hello
before call method assign field symbol for infotype you are using then you may get proper data
for ex if ur using it-0008
then use
assign ((MP000800)P0008) to <ls_pnnnn>.
similarly for other Infotypes.
before call method check if <ls_pnnnn>. assigned. else may give dump if not assigned
reward if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.