08-26-2015 6:45 PM
Hi SAP Expert,
I have an requirement to create a interface / upload program that update the infotype PA0000, PA0001, PA0002, PA0007, PA0008, PA0105 and PA0016. I just want to seek help regarding how to use this FM: HR_MAINTAIN_MASTERDATA to upload / append the data on these Infotypes on a upload text file (Tab delimited).
Can i use this at once or to use this on each infotypes?
Thank you for your help.
Ryan
08-27-2015 5:56 AM
Hi,
You can upload as many records as you want and also different Infotypes you can upload using this FM. Pass all the values in the Proposed tables parameter in the FM.
Check the FM documentation for more details.
Hope this helps.
08-27-2015 5:56 AM
Hi,
You can upload as many records as you want and also different Infotypes you can upload using this FM. Pass all the values in the Proposed tables parameter in the FM.
Check the FM documentation for more details.
Hope this helps.
08-27-2015 9:37 AM
Hi Gaurav,
thanks for the answer, Another question, how i can pass all the infotypes i need in Proposed tables parameter in FM?
08-27-2015 11:04 AM
Just append the values in the table as below.
data: t_prop type standard table of pprop,
w_prop type pprop.
w_prop-infty = '0001'.
w_prop-fname = 'WERKS'. (Give the fieldname )
w_prop-fval = '1100' . (Give the value).
append w_prop to t_prop.
the same way you can append for other infotype changing the value of INFTY and append.
Keeping the data consistent is your responsibility.
check the FM HR_INFOTYPE_OPERATION which in turn uses your FM, you will find sample code also to refer.
Hope this helps.
08-27-2015 4:22 PM