Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

UserExit or BADI for Posted FI document change in FB02

Former Member
0 Kudos

All Gurus,

Can anybody tell if there exists any User exit/BADI that can be used for screen 750 in transaction FB02 that is used for a Posted FI document change.

Our requirement is to prevent user from making any changes to a Posted FI document of type Down Payment Request (with Status BKPF-BSTAT = 'S' - Note Items) via FB02. For similar requirement on a Parked FI document (Status = 'V'), I was able to find a std. FORM  "BELEG_ANZEIGEN" that i could implicitly enhance to prevent the user from making any changes to Parked document via FB02 / FBV2 or FBV0. Even though both Parked and Posted FI documents go thru' the initial screen of 100, the succeeding screen / program (Screen # - 0750) for Posted Down Payment Request document of status 'S' is different from that of other Posted documents or a Parked document.

Has anybody had similar requirement and resolved it?. If yes or if you have any idea on how to achieve this, please reply with details. I understand we can use BTE's (1110 for example) while Saving the Posted Document Changes, but the user requirement is to prevent the user from making the changes in the first place rather than allowing the user to make changes and then validate these when the corresponding BTE is triggered.

We are using SAP ECC 6.0 with

SAP_BASIS7010010SAPKB70110SAP Basis Component
SAP_ABA7010010SAPKA70110Cross-Application Component

Thanks in advance..

Venu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Have you looked at using FI Validations instead (try TCode OB28 or GGB0) ..? Do a quick web search on "FI Validation" for more info, or SAP Note 842318... you should be able to set up a check for SYST-TCODE = 'FB02' and BKPF-BSTAT = 'S' pretty easily.

Jonathan

4 REPLIES 4

Former Member
0 Kudos

Have you looked at using FI Validations instead (try TCode OB28 or GGB0) ..? Do a quick web search on "FI Validation" for more info, or SAP Note 842318... you should be able to set up a check for SYST-TCODE = 'FB02' and BKPF-BSTAT = 'S' pretty easily.

Jonathan

0 Kudos

Hi Jonathan,

Appreciate your reply. As you know the validations kick in based on your input on the screen, kind of mostly part of PAI of the screen (0750 in this case). But my requirement is to prevent this change in the first place, not validating the user's input after a change option is given to the user.

If you know if and how we can achieve this, please share your thoughts.

Thanks & Regards,

Venu

0 Kudos

All,

I found a subroutine (In main program SAPMF05L – FORM “BELEG_SUCHEN) to implicitly enhance and achieve my goal.

Thank you all for your input. Closing the thread.

Regards,

Venu

Former Member
0 Kudos


Hi Venu,

  Please check the PAI code of the screen 0750 you will get some implicit or explicit enhancement.

You can use that. But same time I will suggest go with FI Validation GGB0 (Given by Jonathan) since this is first thing as exit which will get trigger.

BR,

Prakash