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 VF01 on Initial Screen

Former Member
0 Kudos
519

Hi,

I have a requirement to throw a warning message on the initial screen of vf01 when certain condition is met. I have included my logic in RV60AFZZ, however this userexit will be triggered x times (x = number of line items in the delivery doc). I've tried in RV60AFZC but same behavior. I need to show the warning message only once...

Thanks.

5 REPLIES 5

Former Member
0 Kudos
159

Hi ,

u put a flag when ever u give message for first time

and for next time check this flag if it is not set then give message else ignore

regards

m.a

0 Kudos
159

but the variable will be refreshed

0 Kudos
159

Hi Mawi,

You must be having some global table which will hold the total number of items. So you can set a counter and check if that counter is equal to total number of items, then display message. In between you can set flag each time if your required criteria is met.

Thanks,

Rupali

0 Kudos
159

Hi Mawi,

Create and set the flag then Export it to memory. Import the same everytime when your code gets executed. For example :



DATA : LV_FLAG(X) TYPE C.

IMPORT LV_FLAG FROM MEMORY ID 'VFFLAG'.

IF LV_FLAG IS INITIAL.

"Your code here

LV_FLAG = 'X'.

ENDIF.

EXPORT  LV_FLAG TO MEMORY ID 'VFFLAG'.

Thanks & Regards,

Faheem.

Former Member
0 Kudos
159

HI,

How you have found out the exit...

i found out the below exits... now u need to select the proper one as per your requirement and den write the code in it.

SDVFX007 User exit: Billing plan during transfer to Accounting

SDVFX008 User exit: Processing of transfer structures SD-FI

SDVFX009 Billing doc. processing KIDONO (payment reference number)

SDVFX010 User exit item table for the customer lines

SDVFX011 Userexit for the komkcv- and kompcv-structures

V05I0001 User exits for billing index

V05N0001 User Exits for Printing Billing Docs. using POR Procedure

V60A0001 Customer functions in the billing document

V60P0001 Data provision for additional fields for display in lists

V61A0001 Customer enhancement: Pricing

may be it is helpful for u.

With Best Regards,

VG