Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR_MAINTAIN_MASTERDATA Multiple Address is not getting generated

Former Member
0 Likes
777

Hi All,

I am using HR_MAINTAIN_MASTERDATA for creating employee it's working fine but i am not able to handle multiple sub type.

For example sub type for Address it's having multiple values 1 Permamant address 2 Office address 3 Emergency Address.

Anybody know how to handle such multiple sub type in function module. How to provide values to sub type.

What id the significance of SEQNR?

Thanks in advance.

RP

6 REPLIES 6
Read only

Former Member
0 Likes
725

Hi,

while you pass your internal table(PROPOSED_VALUES) in FM,

pass these values--

WA-fname = 'P0006-ANSSA'. "( ADDRESS TYPE)
        WA-fval  = '1'.  "1"- PRESENT RESIDENCE"
                                  "2"- PERMANENT RESIDENCE"
                                  "3"- EMERGENCY RESIDENCE
APPEND WA TO ITAB.

Then pass it to FM.

Regards,

Sumit

Read only

0 Likes
725

Dear Sumit,

I am already passing the same to FM.

Do you have sample code with multiple subtype.

Thanks,

RP

Read only

0 Likes
725

No I have worked on single type of Subtype before. But I dont think it should give any problem.

What error is it giving?

Regards,

Sumit

Read only

0 Likes
725

Hi Sumit,

It's stop at Subtype '2' while i am executing in DIALOG_MODE = '1'.

And my FM is unable to pass values to Address Type 2. Whereas for Address Type 1 it's passing values.

Address Type 1, 2 and 3 are mandetory for my Action Type 29.

Thanks,

RP

Read only

0 Likes
725

Hello Experts,

Any input for above question???

Thanks,

RP

Read only

0 Likes
725

Hi,

I guess it is limitation of FM.

We removed mandatory sign for 2 and 3 address.

Thanks