on 09-18-2014 6:27 AM
Dear Gurus,
I am using the field MVKE-MTPOS (Item Cat Group) as part of my access sequence to determine the price.
During the creation of the sales order the value is getting populated and the correct condition record is picked.
However during the Invoice creation the field KOMP-MTPOS is blank and the condition record is not being picked.
On Analysis I see the message "Field is not initialized".
Do I need to change / populate this field in the RV60AFZZ program during the invoice generation.
Pl. advice.
Thanks,
Sunny
As per my understanding Item Cat group is not field that is part of std KOMP field catalog. And seems like you have append that same to pricing item structure. But, to fetch value you have to write code with desired logic in userexit USEREXIT_PRICING_PREPARE_TKOMP for the relevant include.
Thanks, JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks JP for your inputs..
My scenario is such that there are Goods / Services that are being offered by the client and they have different Tax Code for the VAT / CST conditions.. For me to be able to identify which type of material is being used in the order I have used the Item Cat Group in my Access Seq..
Pls. advice if this is the right approach.
Why not use material group or material number as a key field? These fields are already part of the standard field catalog.
Anyways, after adding the field Item category group, you have to create a condition table with this field.
Then create an access sequence with this new condition table. Double click on the condition table and go to fields. Once you go into the fields of the condition table, go back and save. This will initialize the field.
In the copy controls from delivery to billing, check the pricing field. Ensure that no new pricing is carries out and prices and taxes are copied unchanged. (assuming that this is your requirement)
Let me know if it works
Thanks All.. I have written the code in "USEREXIT_PRICING_PREPARE_TKOMP " and it is not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunny,
In KOMP Structure,
Material Number - MATNR and Plant - WERKS are availble,
Check VBRK has any enteries...like VKORG and VTWEG.if not available fetch AUBEL (Sales Document) From KOMP at the Time of invoice creation, with that from VBAK fetch VKORG and VTWEG.
Pass MATNR,VKORG and VTWEG to MVKE and fetch MTPOS. and store it in KOMP-MTPOS(or to MTPOS...which you added)....Just try this.
if it works...then ok...
Regards,
Vairavan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must have a customized field catalog.
refer to Thread: http://scn.sap.com/thread/1912691
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.