cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict billing document from saving

gino_babu2
Participant
0 Kudos

Dear Gurus,

One our clients' demand is that they need to restirct billing docuements from saving if accounting documents cannot be generated. In standard process as you know, if a proper GL account is not assigned, or an inappropriate condition type is given we are able to save a billing document, but with an accounting error. In such case, is there any way to stop this document from being generated if its gonna result in an accounting error?

Regards

Sidhu

Accepted Solutions (0)

Answers (2)

Answers (2)

PhaniKalvagunta
Contributor
0 Kudos

Hi ,

Change the warning message to error for the message number VF050 with the help of your abap consultant.

Phani Prasad

jignesh_mehta3
Active Contributor
0 Kudos

Hello Sindhu,

I doubt whether the functionality you need is available in SAP Standard.

You will have to apply a User Exit which will check the succesful Account Determination & only then create (save) Invoice.

Probably the following Ueser Exits will help:

1. EXIT_SAPLV60B_001

2. USEREXIT_ACCOUNT_PREP_KOMKCV

Hope this helps,

Thanks,

Jignesh Mehta