Skip to Content
0
Feb 11, 2016 at 03:44 PM

Validations for Financial Accounting - show several error messages + field BUZEI

110 Views

Hi experts,

we have created a validation for Financial Accounting->Line Item (GGB0) with several steps. Works fine with two exceptions:

1) For one line (BSEG) the validation stops after the first failed check. That's fine for e.g. FB01. In our business case we are using BAPI "BAPI_ACC_DOCUMENT_CHECK" (that also calls the validation at some point) and would like to display all failed checks for a document at once. Currently the user has to check the data, fix the input data (that caused the 1st failed check), check again, fix the input data (for the 2nd failed check) and so on until finally all checks have been passed for one line.

2) Is there any easy workaround (e.g. enhancement) to get the line item number (BSEG-BUZEI)? This field is not filled in the checks, thus the error message can't contain information on which line has caused the error.

Thanks,

Markus