‎2014 Feb 14 2:35 AM
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.
‎2014 Feb 14 3:03 AM
hi,
can you check, using transaction VOFM, routines-requirement based on the condition type. try debugging the routine code. when wrong condition type triggering.
thanks
‎2014 Feb 14 3:25 AM
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.
‎2014 Feb 14 3:44 AM
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
‎2014 Feb 14 4:02 AM
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
‎2014 Feb 14 3:10 PM
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.
‎2014 Feb 14 3:31 PM
Check the include RV60AFZC too, it is similar to MV45AFZZ for the sales order