Application Development and Automation 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: 
Read only

VF01 User exit

0 Likes
1,585

Hi all,

I'm facing a problem in vf01 when creating an invoice.

Case: Company has different billing types. So when creating an invoice user has to select corresponding billing type to Order type. But in some busy situations , accidentally they missed to select correct billing type. So then everything will go wrong.

To overcome this, using a using user exit I have set automatic billing type set based on order type. But event it takes correct billing type calculations are go wrong because it has picked wrong pricing procedure.

More Clearly: Order type - VT21 -> Billing type -VT21 -> Pricing Procedure - Zp1(correct)

Above is the correct way its working if user select correct billing type.

but if he couldn't select the correct billing type;

Order type - VT21

user exit check set billing type to VT21 but programs pick wrong pricing procedure Zp


So i debugged vf01 and got to know that pricing procedure is picked before i set the correct billing type from user exit.

So I want a user exit in VF01 before setting the Pricing procedure I mean in the initial...

Thank you.

6 REPLIES 6
Read only

lakki1979
Explorer
0 Likes
1,207

hi,

Read only

0 Likes
1,207

Dear luck

Actually is user select correct document type its working fine. But he couldn't pick correct one system will automatically set billing type to F2. Thats why problem is coming. What I want is a user exit where I can set billing type based on order type .

Thank you.

Read only

arivazhagan_sivasamy
Active Contributor
0 Likes
1,207

Hi pathum,

Check with below user exits...

J_3RSINV

SDVFX001

SDVFX002

SDVFX003

SDVFX004

SDVFX005

SDVFX006

SDVFX007

SDVFX008

SDVFX009

SDVFX010

SDVFX011

V05I0001

V05N0001

V60A0001

V60P0001

V61A0001

Arivazhagan S

Read only

dibyajeeban_jena
Active Participant
0 Likes
1,207

Hi ,

I think it can be resolved through a Functional consultant , Some copy control issue . Need to check the

cofig of copy  control for Delivery to Billing .

But, if u want to  change it programmatically , then  debug & check for Implicit/Explicit enhancement  .

Rgards

Read only

0 Likes
1,207

Dear All,

I found a solution for this, which is instead of user exit there is a configuration.

In VOV8 we can define defualt billing types for each order types.

Thank you all.

Read only

Former Member
0 Likes
1,207

Check the include RV60AFZC too, it is similar to MV45AFZZ for the sales order