Hello,
I would greatly appreciate any help here. I have to create a process to import Employee Master Data changes into SAP. To do this, I am using FM HR_MAINTAIN_MASTERDATA. But, I have a problem. I have a value that I am able to see as my MASSG (Action Reason) field value in PROPOSED_VALUES. However I am missing this in PSPAR-MASSG. I see a CLEAR PSPAR command on line 183 and a rebuild of PSPAR starting around line 198. But, I do NOT see any setting of PSPAR-MASSG in the FM. I do see the PSPAR-MASSN (Action Type).
What then happens is when I continue the FM it eventually returns an error message '316' (Invalid combination of action type ZA/action reason) because there is no corresponding relationship with the MASSN (Action Type) and MASSG (Action Reason) in T530. Again, the condition is I have a valid MASSN (e.g. 'ZA') but no MASSG (e.g. '01') in PSPAR. I am stuck here. I need PSPAR to have the corresponding MASSG I pass in PROPOSED_VALUES. How do I do this without changing SAP Original Source Code in HR_MAINTAIN_MASTERDATA? Thank you!
Erik Isaacs
Haas Automation Inc.
Oxnard, CA 93030
USA