cancel
Showing results for 
Search instead for 
Did you mean: 

validation for Tcode FBV0 not be able to perform parking & posting of same document

0 Kudos

Hi,

Client want to require validation for Tcode FBV0 (Vendor invoice Booking & Credit Notes) that same person should not be able to perform parking & posting of same document.

Kindly suggest me logic how to do validation.

Thanksℜgards

Gnana Prakash.

Accepted Solutions (0)

Answers (3)

Answers (3)

djchoosy
Active Participant
0 Kudos

Instead of using Validation, why not use Workflow? It is a more viable way for the control of user who should park and post.

But if you're stuck in using Validation, try to use '3' Complete document and make sure that Parked By is not equal to User name:

BKPF-PPNAM <> (NOT EQUAL) BKPF-USNAM

Else, throw out your error.

Thanks!

raymond_giuseppi
Active Contributor
0 Kudos

You could create an FI validation with a user exit, in the exit check the user name who parked the document (for an example by reading VBKPF-USNAM) and raise an error when same user (SY-UNAME) is trying to post it

What have you tried so far?

ajitkumar
Active Contributor
0 Kudos

You may be able to do this with authorization f_BKPF_BUK for company code level with activity, Another method may be to maintain a z table and use EXIT_SAPLFMR4_002 in user exit FMRESERV for checking whether the posting ID is maintained in the z table