This website is not affiliated with, sponsored by, or approved by SAP AG.
Logistics : SD and its sub-modules (Inquires, Quotes, Order Entry, SIS, Sales Contacts, Dist. & Billing)
Moderators: thx4allthefish, Snowy, mike_ac, Lost Identity
by alv38 » Fri May 11, 2012 3:46 am
Hello all.
In VA01- Débit Note Request-, when we have certains sold-to-party (stored in a Z-table), taxes need to be redetermined by going to Header => Conditions => Update and then G option (redetermine taxes).
How can i do that
automatically while saving our debit note ? (MV45afzb

userexit_new_pricing_vbap

which abap code

)
Regards,
Alv38
-
alv38
-
- Posts: 5
- Joined: Wed Mar 14, 2012 11:03 am
by Frank Lai » Sun May 13, 2012 9:51 am
Hi
yes MV45AFZB is where you want to induce new pricing. Set new_pricing = 'G' to redetermine tax. You need to add code to check against your Z table as well as check KUNNR against *KUNNR such that you only induce new pricing when there is a change for performance reasons.
Frank
-
Frank Lai
-
- Posts: 1584
- Joined: Mon Oct 21, 2002 8:03 am
- Location: Canada
Return to Logistics SD
Who is online
Users browsing this forum: No registered users and 14 guests