Change in Pricing of product family.
Hi Gurus,
I want information on getting change in pricing lists during past 2 years for given list of product families. Can anyone help for this ?
Thanks in Advance,
Swapnil
Hi,
I think BOM is created In Master Recipe and not individually that's why you are facing this problem.So
go to C202 (Change Master Recipe) and change your BOM here manually.For this go to Material screen.If select the required production version (in case of more then one Prod. Version).You will find the BOM tab here.Go to this tab and change your BOM.
Change the Massage Control via below path,
SPRO ---> Production ---> Basic Data ---> Bill of Material ---> General Data ---> Change Message Type ---> Here select Massage no. 29 - 358 (BOM can only be changed via &) and change it to warning or Dialog .
Regards,
Dhaval
Similar Messages
-
IPC Pricing routine for Product Family Margin in Quotation is not working
Hi,
I am working on the IPC Pricing Routine to calculate Item's Product Family Margin in the Quotation.
Process followed:
Step 1: Created a Group condition ZPFM for Product Family Margin and assigned to the pricing procedure.
Step 2: Created a Value Routine to determine ZPFM's Condition Rate and Condition Value.
Logic:
1. Collect (Sum Of) the Cost (ZSVC) and the Subtotal 3 of the items which are in same Material Group.
2. Assign the ZPFM Condition Value = Sum of Subtotal 3 - Cost.
Issue: The condition value for ZPFM is calculating correct for all line items except the last item. I am getting some junk value always to the last item. If I delete the last time, again next last item is giving wrong value. The calculation value in the routine debugging log (SM53) is showing correct value. However, assigning the wrong value. No other routines have been assigned to this condition type in the pricing procedure.
Routine Code:
package stanley.pricing.userexits.val;
import java.math.BigDecimal;
import com.sap.spe.pricing.customizing.PricingCustomizingConstants;
import com.sap.spe.pricing.transactiondata.PricingTransactiondataConstants;
import com.sap.spe.pricing.transactiondata.userexit.IPricingConditionUserExit;
import com.sap.spe.pricing.transactiondata.userexit.IPricingItemUserExit;
import com.sap.spe.base.logging.UserexitLogger;
import com.sap.spe.pricing.transactiondata.userexit.ValueFormulaAdapter;
//import com.sap.spe.pricing.transactiondata.userexit.IPricingCondition;
public class Z_CondValueRoutine730 extends ValueFormulaAdapter{
private static UserexitLogger uelogger =
new UserexitLogger(Z_CondValueRoutine730.class);
public BigDecimal overwriteConditionValue(IPricingItemUserExit pricingItem,
IPricingConditionUserExit pricingCondition) {
// Variable Declarations.
BigDecimal conditionValueZCVC=PricingTransactiondataConstants.ZERO;
BigDecimal conditionValueZCVCAccrual=PricingTransactiondataConstants.ZERO;
BigDecimal subTotal3=PricingTransactiondataConstants.ZERO;
BigDecimal subTotal3Accrual=PricingTransactiondataConstants.ZERO;
if(pricingCondition.getConditionTypeName().equalsIgnoreCase("ZPFM")){
IPricingItemUserExit[] prItems;
prItems = pricingItem.getUserExitDocument().getUserExitItems();
String materialGroup = pricingItem.getAttributeValue("MATL_GRP");
uelogger.writeLogDebug(" Material Group :"+materialGroup);
for (int i=0;i<prItems.length;i++){
String materialGroup1 = prItems[i].getAttributeValue("MATL_GRP");
if (materialGroup1.equalsIgnoreCase(materialGroup)){
subTotal3 = prItems[i].getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_3).getValue();
subTotal3Accrual = subTotal3Accrual.add(subTotal3);
IPricingConditionUserExit[] conditionsForCumulation = prItems[i].getUserExitConditions();
for (int j = 0; j < conditionsForCumulation.length; j++) {
if(conditionsForCumulation[j].getConditionTypeName()==null) {
continue;
else if ( conditionsForCumulation[j].getConditionTypeName().equalsIgnoreCase("ZCVC")){
conditionValueZCVC = conditionsForCumulation[j].getConditionValue().getValue();
conditionValueZCVCAccrual = conditionValueZCVCAccrual.add(conditionValueZCVC);
BigDecimal conditionValueZPFM=PricingTransactiondataConstants.ZERO;
conditionValueZPFM = subTotal3Accrual.subtract(conditionValueZCVCAccrual);
BigDecimal conditionRateZPFM=PricingTransactiondataConstants.ZERO;
conditionRateZPFM = conditionValueZPFM.multiply(new BigDecimal ("100"));
conditionRateZPFM = conditionRateZPFM.divide(subTotal3Accrual,7,BigDecimal.ROUND_FLOOR);
uelogger.writeLogDebug(subTotal3Accrual+"-"+conditionValueZCVCAccrual+" = "+conditionValueZPFM);
uelogger.writeLogDebug("Condition Rate :"+conditionRateZPFM);
pricingCondition.setConditionRateValue(conditionRateZPFM.setScale(2,BigDecimal.ROUND_HALF_UP));
pricingCondition.setConditionValue(conditionValueZPFM.setScale(2,BigDecimal.ROUND_HALF_UP));
return null;
return null;Hi,
I think you should change xkwert variable instead of komv-kwert.
Standard routines does the same.
Aslo check in SPRO settings that routine is attached and
getting triggered by putting break-point.
Regards,
Vishal -
Support message and change requests only for production system
Hi guys,
I would like to connect the solman helpesk with CHARM ( CHARM is still running ).
In CHARM I have to create a CR only for production system. ( don't know why - but works as designed).
In SAP helpdesk I can create support messages for every kind of system type but if I want to connect both (HD and CR) , the source system (ibase component) of the issue will copied to the CR and runs in error because of the rule (only p-system) of CHARM.
Of course I can change the ibase to production system manually in SDCR but it seems a very error-prone method.
Now my question: is it possible to change the ibase component due to the creation of CR by copy rule or something like this?
Kind regards
RaykoHi Rayko,
We do not have this option.
Once in ChaRM, we assume that the changes will always correct an issue in the PROD system.
I would recommend to open the tickets directly with the PROD system IBase, once the issue is also happening there.
Best Regards,
Fernando -
Change the Pricing Type during billing
We are facing an issue with the rebate conditions which needs to be resolved asap..
User has created a credit memo request in VA01.
Credit memo request is created for the change in the Price.
(Note: Order reason for such specific credit memo requests is ZXX (e.g.))
Due to price change rebate accruals value is also reduced in proportion to the reduced price.
The rebate accruals should not be reduced in this case, since there is no material return and rebate condition is quantity based.
As a solution to this u2013
We created a new routine AAA and assigned to the rebate condition types in Pricing procedure.
This routine will function when order reason entered in the Credit memo request is ZXX.
Therefore all the rebate condition types (assigned with routine AAA in Pricing) will get deactivated in Order Conditions tab.
This is working correctly in creating credit memo (VA01).
The issue is u2013
When the credit memo is created in VF01, these rebate condition types are again activated and accruals are posted.
This should not happen. Pricing from the CM request (VA01) should get copied in Credit memo (VF01) completely. The same issue
with VF02..
Please suggest a user exit in which the pricing type can be changed during billing..Tried coding in the form
USEREXIT_PRICING_PREPARE_TKOMP in RV60AFZZ by changing the Pricing Type KNPRS..But didnt work out..
Is there any way to meet this requirement. I have checked the user exit RV61AFZA having two forms:
FORM USEREXIT_PRICING_RULE &
FORM USEREXIT_PRICING_COPY.
I would be interested to know how this can be coded to meet the requirement. Coding displayed will be of great help to
implement.
Any pointers / solutions to the issue will be highly appreciated..
Moderator message - Please do not offer points or rewards
Edited by: Rob Burbank on Jul 29, 2010 12:34 PMHello Sean
1) Firstly I don't think the Credit Memo for this case or any case in your situation should be relevant to rebate. That's becasue your rebate is tied to quantity. So you should deactivate rebate processing for that Billing Doc type. T Code OVB0. That should close the issue.
2) Pricing type 'D' in copy control from sales to Billing documents should ensure that Pricing from the CM request (VA01) gets copied in Credit memo (VF01) completely. Why do you need user exits for that? T code VTFA.
3) If you need to change pricing type selectively for some conditions, then you should configure the condition type with condition category X,Y or Z ( Customer Reserve) and then use USEREXIT_PRICING_RULE (module pool SAPLV61A, program RV61AFZA to ensure that those conditions are copied (or otherwise) from source. But I don't think you need this. -
Change header pricing condition in sales order
Hi,
I have an requirement in VA01 and VA02 to automatically edit one header pricing condition. The user can able to change the value of that condition type in header not in items . Does anyone know what user exit I can use for this requirement.
ThanksHi Sunil,
Plealse find below 2 methods to change header pricing conditions in sales order.
1.Goto SE38, give prog name as MV45AFZZ and in that write logic under USEREXIT_PRICING_PREPARE_TKOMK . (OR)
2) The same can be done by creating a Alt Calculation type routine through VOFM and writng the logic in the routine, which will then be assigned to the pricing procedure in the condition type which will automatically calculate the condition.
Try with the options mentioned above..
Regards,
KK -
Change of pricing condition in sales after delivering or invoicing of a sub
Hello,
I have to change the pricing condition of a sales order item, condition type PR00, after a sub quantity had been delivered or invoiced to the customer. BAPI_SALES_ORDER change I tried with did not work but also I got no error.
w_inx-updateflag = 'U'.
w_cond-itm_number = '000010'.
w_cond-cond_type = 'PR00'.
w_cond-cond_value = 999.
w_cond-currency = 'EUR'.
APPEND w_cond TO t_cond.
w_condx-itm_number = '000010'.
w_condx-cond_type = 'PR00'.
w_condx-updateflag = 'U'.
w_condx-cond_value = 'X'.
w_condx-currency = 'X'.
APPEND w_condx TO t_condx.
w_vbeln = p_in. <--- from input parameter
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = w_vbeln
order_header_inx = w_inx
TABLES
return = t_ret
conditions_in = t_cond
conditions_inx = t_condx.
How can I change the price and trigger a new pricing for the sales order?
Thank you for your time
Regards
NorbertHi
In the transaction VOFM, tab -> Formulas -> Condition Value , create a new routine, no need to copy from existing as you will be writing your own logic.
In this new routine, set xkwert to your required value.
Ask your SD functional to assign this formula to ZAS2 condition in the transaction V/08.
I hope this might help.
Best Regards,
Nikhil Patil -
How to change the pricing rate of Sales Order after delivery is created?
Is it possible to update(change) the pricing rate which belong to a specific condition type, of the "Sales Orders" after corresponding delivery is created ?
number of the Sales Order to be changed is huge. How can I handle this situation ?
immediate replies would be rewardedRepricing is only possible if your pricing record has a valid from date that is equal to or before the pricing date on the order. Otherwise, your pricing rate change will be applicable only from the begin date of that record.
Assuming that it is allowed by config, you can go to VA02, go to conditions, and then there is small button at the bottom, that says 'Update'. By pressing that, your system will automatically reprice the sales order, provided, as I said, all pre-conditions are met. Once you know that you can do this, then you can adopt any of the technical solutions that Rich had suggested above to do the mass changes. -
Changing the pricing conditons for a trading contract (Trnx WB22)
Hi Gurus,
I want to change the pricing condition amount (KBETR) for a given item in a trading contract using a BAPI.
I already used BAPI_TRADINGCONTRACT_CHANGE and tried to change the amount field for a given
condition Type, But was not successful in doing so.
Although I was able to change item details in the same trading contract but could not change the condition prices although I was able to do it manually.(WB22)
Could anyone please help me on this because I need the information urgently.
Thanks in Advance....I had solved it myself by using table parameters VENDORCONDIN and VENDORCONDINX.
-
PO - Change Condition pricing date
Can we change Condition pricing date in PO.If Yes , then How??
Thanx,
ViruDear Viru,
You can change the price date at the condition control tab. However, you still need to press
the update button from the condition tab to update the condition price follow the price date
that you had changed.
Best Regards,
Ian Wong -
Want to change BOM usage from production 1 to design 2
Dear Experts ,
Is it possible to change BOM usage from production 1 to design 2 ? Any mass change T code ?
NealIf I make BOM universal , I need to ,make alternative BOM as Engineering BOM will have several levels and production BOM has all the components and assy on single level .
MRP might pick up wrong BOM .
Is there any T.code by which we can make mass copy or change BOMs . AS in system there are many BOMs which needs to be copied as is with new usage .
Neal -
Function module to change price of uploaded product
Hi Gurus,
is there any function module to change price of uploaded product info in crm
regards
Naveen
Edited by: Naveen Kumar on Feb 13, 2009 12:05 PMcondition record can modify using FM 'CNFPR_RECORD_PUT'
-
Hi All,
I have 1000 of billing doc which is to be post to accounting . but before that i want to make mass change in pricing as there is some changes in price & discount
how to do this.......?????
ThanxxxxxxxxxxxHi,
Is it same price and dicount change in all the billing document ?
ie.
if pr00 is 95 and change is to 100 for all
and like same for discount
thn do the changes in the condition record which will reflect automaticaly in the billing change mode.if its open billing . -
Customize the changes in pricing as per the SAP for Domestic and Import
HI FRIENDS ,
To customize the changes in pricing as per the SAP for Domestic and Import Material cycle
how to handle it ,
thanks
samalHi,
Two template pricing procedures (one for domestic and another for import) are available as part of standard.
you need to tailor them to your needs.
Hope this helps. -
Table Name and Column name for Product Family Field under the Product Famil
Hi,
Please help me finding the table name and the column name for the 'Product Family' field and the 'Item' field under the Product families form. The navigation to this form is as follows:
Material Planner Responsibility -> Setup -> Product Family
Please help.
Thanks,
KM2 months ago, you asked a very similar question... and Markus gave you a good answer. His 2-months old answer still applies here.
I recommend that you read it a again at Table name for backorder qty on sales order.
When you have read his answer, please close both threads. -
FM to change Confirmation number of Production order
Hello Experts,
I have a requirement where I need to change the confirmation number ( which is already created for a production order) AFVC-RUECK. I could see that the confirmation number is not modifiable once it is created and no opition to change it by BDC. But my requirement is to change it for a production order.
1. Is there any FM or BAPI to change it?
2. Or directly changing in the database table AFVC is the only option?
3. Or is there any other method in which we can do it.
Awaiting your reply,
BalajiHi Balaji,
Please check whether the below link is helpful,
Re: How to modify a wrong confirmation of a production order
Also for the relevant tables, check the link,
confirmation number of production order
Best Regards.
Maybe you are looking for
-
I have an iPod Touch and want to transfer apps and games from my Mac. Is it possible? Thanks thanks again
-
Convert Multiple Rows in a single Comma Seprated value
Is is possible to convert miltiple rows in a single value by concatenating each row value in OBIEE. I think OI had seem a blog post relted to this by I'm not able to to find it again. Basically Here is what I would like to do: Customer number Locatio
-
Recovering files external hard drive
Wasn't sure where to post this. I haven't been on here for awhile, and I'm not used to the "new" structure. My 1TB LaCie external hard drive - which had my Time Machine backups on it (multiple ones unfortunately) no longer mounts. I downloaded some
-
Hi All, I want to change the text for all line items of a particular document. For eg Document No is 1000000010 Entry is Dr GL 120030 Dr GL 120040 Dr GL 120050 Dr GL 120060 Dr GL 120080 Cr Vendor X Now narration or text to be put in all line items of
-
When I try to send a message, I can choose a contact ok but theres no info under the name, phone number, email etc. Anybody have any ideas?