cancel
Showing results for 
Search instead for 
Did you mean: 

help in metod

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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