‎2010 May 03 7:48 AM
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
‎2010 May 03 7:57 AM
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
‎2010 May 03 7:59 AM
Dear Sumit,
I am already passing the same to FM.
Do you have sample code with multiple subtype.
Thanks,
RP
‎2010 May 03 8:07 AM
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
‎2010 May 03 8:28 AM
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
‎2010 May 03 10:25 AM
‎2010 Aug 16 12:22 PM
Hi,
I guess it is limitation of FM.
We removed mandatory sign for 2 and 3 address.
Thanks