Skip to Content
0
Former Member
Aug 22, 2008 at 10:10 AM

prob in HR_MAINTAIN_MASTERDATA

365 Views

Hi

am using fm HR_MAINTAIN_MASTERDATA to upload Hire data and am getting two drop downs on personnel data screen one is Titel and other is DOB for me DOB data is coming properly but Titel is not coming and in technical details its name is Q0002-ANREX .

i have tried lot ways but dont know why data is not coming to this field and there is not check table for this structure .but still it is showing 4 values eg Mr,Miss,Mrs and all.

code is like ....

Data VALUES LIKE Pprop OCCURS 0 WITH HEADER LINE.

VALUES-INFTY = '0002'.

VALUES-FNAME = 'Q0002-ANREX'.

VALUES-FVAL = '2'.

APPEND VALUES.

clear values......

VALUES-INFTY = '0002'.

VALUES-FNAME = 'Q0002-GBPAS'.

VALUES-FVAL = '01021990'.

APPEND VALUES.

clear values.

etc...

CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'

EXPORTING

PERNR = p_pernr

MASSN = '03'

ACTIO = 'INS'

TCLAS = 'A'

BEGDA = SY-DATUM

ENDDA = '99991231'

OBJPS =

SEQNR = '000'

SPRPS =

SUBTY =

WERKS = 'DE10'

PERSG = '1'

PERSK = 'DC'

PLANS = '00000001'

DIALOG_MODE = '1'

LUW_MODE = '1'

NO_EXISTENCE_CHECK = 'X'

NO_ENQUEUE = 'X'

IMPORTING

RETURN =

RETURN1 = w_bapireturn

HR_RETURN =

TABLES

PROPOSED_VALUES = values.

MODIFIED_KEYS =

.

I have doubt that in this FM the table Values has type Pprop ,which is having INFTY field so may be this FM will not update data for a structure like Q0002-ANREX.

but at other side its taking values for 'Q0002-GBPAS' which is Birthday field but may be because its not an drop down and Titel field is drop down

pls share your input on this ..if am missing some thing.

Regards

Meeta