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: 

VF01 Userexit or BADi at the time of Save

Former Member
0 Kudos

HI all,

I am searching for an userxit or Badi at the time of Save in VF01.

Actually the requirement is as below:

When user is trying to create a bill with net value is zero though quantity is not initial.

The system should prevent the user to save the document.

So I need an enhancement which include net value and quantity both.

3 REPLIES 3

former_member193737
Participant
0 Kudos

Pls  try to do it by user-exit

USEREXIT_FILL_VBRK_VBRP (in program RV60AFZC)

or enhancement SDVFX008.

0 Kudos

Hello Selva,

I tried both the options.

The SDVFX008 is getting triggered.

*if cvbrp-netwr is INITIAL and cvbrp-fkimg is NOT INITIAL.

*  MESSAGE 'Not Valid' TYPE 'S' DISPLAY LIKE 'E'.

* ENDIF .


this is my logic but the values are initials.

Is there nay other method which I can use?

Former Member
0 Kudos

HI,

You are doing to this scenario for Batch Split item?, i.e, when batch split happens at the delivery level main item is 0010 is having zero m where as sub items 9001 area having qty.

if yes let me know so that i will provide the solution regarding this.

Regards,

Abdul Rahim