Symptom
Approval not triggered in supplier invoice when approval condition has "Random exception check percentage"
Environment
SAP Business ByDesign
Reproducing the Issue
Pre requisite: Approval condition has "Random exception check percentage"
then Person A Creates an invoice such that exception comes up that he can accept.
so he accepts the exception and click on Post and invoice goes for approval as expected.
however if a person B withdraws the invoice and no new exception is created, he then Post the invoice.
you will see that approvals are not triggered and is Posted skipping approvals
Below are scenarios we considered for testing and analysis:
1. Person A created, accepted, posted - goes for approval
2. Person A created, accepted , but B has posted- no approval
3. Person A created, person B excepted, Posted-no approval
4. Person A created, person B accepted, person A posted- no approval
5. Person A created, accepts, posts then person B withdraw, edited, accepted and post - goes for approval
6. Person A created, accepts, posts, then person B withdraw ,edited, and posts- no approval.
Cause
Condition: 'random exception check percentage'
This particular condition has this behavior confirmed by developers
Cause its is completely a code-based validation. A complex routine was written considering different scenarios for the validation at the time of development of the product.
Resolution
As per system development, system behavior is such that only when all three actions of SIV that is creation, acceptance of exception and posting of done by same person then it goes for approval.
however when another person involved that is like withdraw and Post or withdraw,edit and Post(no new exception) or withdraw and save .then system not considering the approval process thus its not going for approval.
However this scenario seems to be very rare thus may be its not considered while developing this feature initially the system was developed. Thus we request you to put it as new requirement in the Customer influence forum at https://influence.sap.com/sap/ino/#campaign/886
or
Ask partners to try an achieve this and do let us know if you face issue in doing it .
See Also
Keywords
KBA , SRD-SRM-SI , Supplier Invoicing , Problem