cancel
Showing results for 
Search instead for 
Did you mean: 

Need error msg when adding wrong account assignment

SAPSupport
Employee
Employee
0 Kudos

We need a error msg when user added a wrong account assignment in PR this assignment coming from custom table.
We have check the Badi MM_PUR_S4_PR_CHECK but this is not fetching the values for account assignment (GL ac & Cost Center).

Please provide the solution or Badi on how we can insert a error msg when selecting the account assignment details in PR.

Thanks,
------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

Dear Customer,

The best custom check enhancement can be coded in BADI ME_PROCESS_REQ_CUST. In your case with a check needed on account assignment within the BADI there is Method PROCESS_ACCOUNT.

This can be used to perform a custom check and error determination.

Kind Regards,
Lisa

SAP Support

lisa_sheil
Contributor
0 Kudos

Please note, this BADI will also work for Fiori App's and PR checks from Fiori.

Answers (0)