Skip to Content

FM HR_MAINTAIN_MASTERDATA - MASSG PG316 Invalid combination of action type action reason ?

Hi,

Getting

PG316 Invalid combination of action type action reason

when trying to create an action using

FM HR_MAINTAIN_MASTERDATA

See attached screenshot of my proposed values from debugger session.

It populates the rest of the fields fine. when I step thru in the foreground I can manually enter '01' without error as the action reason.

Any insight appreciated

bg

lyhdi.png (19.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Apr 18, 2017 at 02:21 PM

    OK

    FNAME incorrectly populated in PROPOSED_VALUES table (screen shot above) - should have ben prefixed with P000

    bg

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 14, 2017 at 12:14 PM

    Not sure what you are asking or what you are trying to do with this FM. That would help....some context.

    But yes, an action (MASSN) has assigned reasons (MASSG). For example, an action might be...

    "Job Change"

    ....with possible reasons....

    • Promotion
    • Demotion
    • Reclassification
    • Title Change

    .....so you could only pick from those "reasons" for that "action"....and you could not create a IT0000 without an action/reason.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 14, 2017 at 12:59 PM

    Some context.

    I am modifying an ABAP we use for up loading info type data, to allow us load actions.

    The ABAP uses Function Module HR_MAINTAIN_MASTERDATA for posting the data.

    The action reason provided in the example is '01' which is a valid reason for the org-reassignment action being processed.

    For whatever reason the P0000-MASG field is not getting populated by the FM. all other provided fields are getting populated fine.

    Cheers

    bg

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 21, 2017 at 05:36 PM

    so clearly you are missing an entry for field MASSN in PROPOSED_VALUES tables... since it's a mandatory field; SAP throw an error.

    This entry should be manually filled in PROPOSED_VALUES table before processing FM HR_MAINTAIN_MASTERDATA. You probably need to review your customer report coding to see where it is falling to add this entry.

    Add comment
    10|10000 characters needed characters exceeded