Selecting the best Price for a condition type but only for some customers
Hi All,
I have this situation where we have condition type ZPPR (COPY OF PR00) with 5-6 Condtion tables.
in Access sequence for ZPPR, we have Exclusion Indicator set for all the conditiona tables so if first price is found, it doesn't search for others.
Now I have a requirement that we should search for all the condition records and choose the lowest price. But this should happen for only a certain type of customers and not for everybody.
Spefically we have:
1. Contract Price
2. Plant/Material price
Normally, if contract price is found, it doesn't look for Plant/Mat price but we want to offer our customers(some of them) an option where they could choose the lower of the two price. We set both the prices every day based on some inputs.
Regards,
Luke
Edited by: Lukesh Singla on Dec 21, 2011 8:49 PM
Hi Luke,
We have multiple option for this implementation:
Option 1: If possible based on access sequence. Not sure if this is suitable considering you mentioned that ZPPR has 5-6 access sequence.
1) Store Contract price in condition type ZPPR and store Plant / Material Price in new condition type say, ZPPX.
2) Have separate pricing procedure and determine them based on customer type. In first pricing process XXXX01, configure Condition exclusion with the setting that ZPPX should be deactivated if ZPPR is present, condition exclusion procedure D (exclusive) . In second pricing procedure XXXX02, configure condition exclusion with the setting that compare ZPPX and ZPPR and activate best condition type for the customer by using condition exclusion procedure C (Best condition between two exclusion groups ).
Option 2:
1) Copy ZPPR and its access sequence to a new condition type and access sequence say ZPPX without checking exclusion indicator in the access sequence. In the condition type control for condition type ZPPX >> Master data section >> Reference Condition type = ZPPR so that master data records need not be duplicated.
2a) Assign the current procedure to the set of customers which should get the first price. Create a new procedure with condition type ZPPX instead of ZPPR keeping other parameters similar and assign the new procedure to other set of customers who should get the best price.
OR
2b) if 2a is difficult in terms of future maintenance, add condition type ZPPX in the same procedure and create 2 new pricing requirement validating the customer segments and assign them to respective condition type in procedure ZPPR and ZPPX.
3) Maintain condition exclusion for condition type ZPPX with B ( Best condition within Condition type).
Hopefully it helps. Let me know if you need any other help in implementation of the solution.
Regards,
Naveen Aggarwal
Similar Messages
-
Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email. It worked, but only for those with PC. However, I could not get it to work with Apple loaded with Yosemite even with reader installed . Is there a way i can make it work for apple / Mac? It worked fine on a mac using Mountain Lion and reader
ThanksLiveCycle = XFA forms.
afaik - These cannot be used in Apple OSs.
Be well... -
Copying the sales price data into Condition type
Dear SD Gurus,
Iam in a typical situation. my client is into Electrical Installation and services, so based on the tender documents, they quote the project.
they are doing costing (ie arriving at a supply rate) in quotation. To arrive at a supply rate, they are entering the cost price of the material ie (PR00) in the quotation and adding the profit (for eg : ZPRF condition type) for it. now my problem is i have to add these two condition types into one condition type to arrive at a selling price. how can i achieve this.
And also while creating the sales order with reference to quotation, these two condition types (ie cost price(PR00) and profit (ZPRF) should not get displayed in the sales order.
Is there any solution for this method.
eagerly waiting for your replies.
Thanking you all in advance
rgdsHi SD
First of all for project quotation the best practice documentation is available in SAP Discrete Manufacturing ,please go through it . that will help.
Secondly for getting costs in quotation level pricing u can use either of 2 conditions EK02 or VPRS that will give cost .
Add Profit condition to it .
U can use different pricing procedure for quotation and sales order and in copy controls give routine to redetermine manually.
Else if u r using the same pricing procedure ,take help of Abap developer for changing table controls in program.
Check whether u can use Transaction SHD0.
Hope this helps
Regards
Mandar -
Change pointer triggers for one order type but not for other with LOIPRO
Hi all,
We have old production order type ZP01 since last 3 years. Idoc LOIPRO are triggered properly. Now we introduced new production order type ZP02, but idocs are not triggereing for these prod. orders. They both are production orders with different order types but same message type LOIPRO
I noticed that change pointers are not getting written to CDHDR and CDPOS for this new order type. For old order type they are getting written to CDHDR/CDPOS. Does any one know where is the issue in config.
Currently BD52 contains following entries for LOIPRO
ORDER-AFKO-AUFNR
ORDER-AFKO-KEY.
Thanks in advanceAnyone with an idea.
The project went live by using RCCLORD or RCCLTRAN, but still the same orders keep triggering. How do we restrict the already processed production orders. -
Outlook asking for username and password, but only for some users
Hello, I'm
in an Exchange Server 2013 client
environment, two CAS servers
and two Mailbox.
Some users are having trouble in Outlook 2007
and 2012, which is directly
requesting the user name and password, not all,
just some.
The Active Directory is ok,
DNS and also own Exchange
servers apparently do not see errors.
Has anyone here ever experienced this?
How can I solve this problem?
As this happens only to some users
and the vast majority have no problems, so
difficult to find the cause.
Thank you!
Ivanildo Teixeira GalvãoHi Ivanildo,
From your description, only some users have an issue that Outlook prompts for username and password. In your case, I recommend you compare the normal and problematic Outlook settings. Here is the Outlook settings in my environment for your reference:
1. "Always prompt for logon credentials" isn't checked.
2. Logon network security using Negotiate Authentication.
3. "Connect to Microsoft Exchange using HTTP" is checked.
4. Use the NTLM Authentication when connecting to my proxy server for Exchange.
Hope this can be helpful to you.
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Amy Wang
TechNet Community Support -
Extensive Product selection @ the best prices w/Same-day shipping
DEAL OF THE WEEK- Cisco 3750 series 48 port PoE switches - $185 each, while stock lasts- http://www.cablesandkits.com/DOW
This topic first appeared in the Spiceworks CommunityDEAL OF THE WEEK- Cisco 3750 series 48 port PoE switches - $185 each, while stock lasts- http://www.cablesandkits.com/DOW
This topic first appeared in the Spiceworks Community -
I can't remove a specific person from find my friends. Everyone else I can, but when I try to remove THIS person I get a message saying there is a server error from Find my Friends.
The problem was resolved by erasing the entire contents of my phone and then restoring it, setting it up as a new phone.
-
Calculation formula userexit not working for multiple condition types
Hi,
we have a problem in the CRM ISA-B2B scenario where the custom user exit is only working for single condition type.
but we need it for multiple condition types .
the value of the subtotal is not being retrieved for multiple conditions. at a time only one condition value is being retrieved and shown in the webshop - shopping basket.
for ex:
we have scenario 1 where Y001 -Freight condition type is applicable for one customer.and Y002 is applicable for another customer.
when we are trying to show the subtotal condition value in the webshop by using a single custom user exit in the pricing procedure it is only working for either of the above 2 customers depending on the VMC cache status.
is there any problem if use the single user exit for both condition types?
and if it needs to be differentiated how exactly we can do that with the same logic in the java class.
Thanks in advance,
PSR.Hi Arshi,
below is the code:
public class ZValFormula_ZZWI1 extends ValueFormulaAdapter {
private static String zzwi = "ZZWI1";
private static char zzwiC = '@';
private static UserexitLogger userexitlogger = new UserexitLogger(
ZValFormula_ZZWI1.class);
public BigDecimal overwriteConditionValue(IPricingItemUserExit item,
IPricingConditionUserExit condition) {
ICurrencyValue val = condition.getConditionValue();
userexitlogger.writeLogDebug( "value saved for " + zzwi + " (" + zzwiC + ") = "
+ val.getValueAsString());
item.setSubtotal( zzwiC, val.getValue());
return val.getValue();
hope this would give more idea to look at the problem.
Thanks,
PSR -
Function Module for getting the Sales Price for a condition type
Hi,
I am looking for a standard function module to which I can pass my condition type(new customizing) and it will return the sales price. The customer is going to create some new condition type to manitain the sales price. I'll have the necessary information like material/sales org/distribution channel, customer and need the standard function module to read the condition records for that condition type(as configured) and give me the price. PLease help if you know of a standard function module performing this.
Thanks in advance.
Regards
MalthiHi malthi ,
welcome to sdn
for material sales area u can look for the validations is table MVKE.
the classification of the conditions is in tables like A901, a902 etc which in my opinion holds the condition types per classification .
put a A* in se11 and this will give the list of tables per classification .
u need to get the conditions as per kschl and dmbtr and
etc..
like this ..
Get Condition Values for Material/Plant combination
IF NOT i_a916[] IS INITIAL.
SELECT knumh kappl kschl krech
kbetr konwa kpein kmein
INTO TABLE i_konp
FROM konp
FOR ALL ENTRIES IN i_a916
WHERE knumh EQ i_a916-knumh AND
kappl EQ i_a916-kappl AND
kschl EQ i_a916-kschl AND
loevm_ko NE 'X'.
ENDIF.
Get Condition Values for Material/Plant/Ordertype/
Customer combination
IF NOT i_a925[] IS INITIAL.
SELECT knumh kappl kschl krech
kbetr konwa kpein kmein
APPENDING TABLE i_konp
FROM konp
FOR ALL ENTRIES IN i_a925
WHERE knumh EQ i_a925-knumh AND
kappl EQ i_a925-kappl AND
kschl EQ i_a925-kschl AND
loevm_ko NE 'X'.
ENDIF.
just check this Fm if u can apply ur condition over here ..
ME_GET_PRICE_CONDITION
regards,
VIjay. -
ME21N : Donu2019t copy the price for all condition types from last po
Dear.
When I create a purchase order the price for all condition types are copied from last purchase order inside the info-record.
But I have some condition types like FRA1 or FRA2 that I donu2019t want that system transfer price from last purchase order.
How can I do that ?
Thanks.Hi Cris,
Go to SPRO>MM>PUR>Info Record>Define Price History> Here with your Purchasing organization if the tick is active that
Specifies that the order price history (PO price history) is to be updated with the effective price.
Normally, the order price history is updated with the net price.
Procedure
Set this indicator if you want the order price history to be updated with the effective price.
Thanks
Diwakar -
Function module to change the value for pricing condition type
Hello experts,
I want to change the value for pricing condition type for an item in the transaction CRMD_ORDER.
I used many function modules but none are working.
Please kindly suggest a function module that will change the value for a condition type .
I have used the following function module but its not working, please correct the coding if anything needs to be changed or added. Please help me .
Thank you.
CLEAR PRCD_COND.
SELECT SINGLE * FROM PRCD_COND WHERE KPOSN = WA_ORDERADM_I-GUID AND
KSCHL = COND_TY.
IF SY-SUBRC = 0.
* MOVE-CORRESPONDING PRCD_COND TO L_COND_CHG.
* CLEAR L_COND_CHG-KBETR.
L_COND_CHG-STUNR = PRCD_COND-STUNR.
L_COND_CHG-KBETR = COND_PRC.
* L_COND_CHG-KSCHL = COND_TY.
INSERT L_COND_CHG INTO TABLE T_COND_CHG.
L_HEAD_GUID = CRMD_ORDERADM_H-GUID.
L_ITEM_GUID = WA_ORDERADM_I-GUID.
INSERT L_HEAD_GUID INTO TABLE HEAD_GUID.
INSERT L_ITEM_GUID INTO TABLE ITEM_GUID.
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
IT_HEADER_GUID = HEAD_GUID
IT_ITEM_GUID = ITEM_GUID
IMPORTING
ET_ORDERADM_H = LT_ORDERADM_H
ET_ORDERADM_I = LT_ORDERADM_I
ET_PRIDOC = IT_PRIDOC_RD
ET_DOC_FLOW = T_DOC_FLOW
* CHANGING
* CV_LOG_HANDLE =
* EXCEPTIONS
* DOCUMENT_NOT_FOUND = 1
* ERROR_OCCURRED = 2
* DOCUMENT_LOCKED = 3
* NO_CHANGE_AUTHORITY = 4
* NO_DISPLAY_AUTHORITY = 5
* NO_CHANGE_ALLOWED = 6
* OTHERS = 7
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRI_COND.
INSERT L_PRI_COND INTO TABLE PRI_COND.
LOOP AT IT_PRIDOC_RD INTO LS_PRIDOC_RD.
MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRIDOC_CHG.
L_PRIDOC_CHG-PRIC_COND = PRI_COND.
L_PRIDOC_CHG-REF_GUID = LS_PRIDOC_RD-GUID.
L_PRIDOC_CHG-COND_CHANGE = T_COND_CHG.
INSERT L_PRIDOC_CHG INTO TABLE PRIDOC_CHG.
ENDLOOP.
LOOP AT LT_ORDERADM_H INTO LS_ORDERADM_H .
MOVE-CORRESPONDING LS_ORDERADM_H TO L_HEADER.
INSERT L_HEADER INTO TABLE HEADER.
ENDLOOP.
LOOP AT LT_ORDERADM_I INTO LS_ORDERADM_I.
MOVE-CORRESPONDING LS_ORDERADM_I TO L_ITEM.
INSERT L_ITEM INTO TABLE ITEM.
ENDLOOP.
L_FIELD-FIELDNAME = 'STUNR'.
INSERT L_FIELD INTO TABLE FIELD.
L_FIELD-FIELDNAME = 'KBETR'.
L_FIELD-CHANGEABLE = 'X'.
INSERT L_FIELD INTO TABLE FIELD.
L_INPUT-FIELD_NAMES = FIELD.
L_INPUT-REF_KIND = 'E'.
L_INPUT-REF_GUID = LS_PRIDOC_RD-GUID.
L_INPUT-OBJECTNAME = 'PRIDOC'.
INSERT L_INPUT INTO TABLE INPUT.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
IT_PRIDOC = PRIDOC_CHG
IMPORTING
ET_EXCEPTION = EXCEPT
CHANGING
CT_INPUT_FIELDS = INPUT.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH EXCEPT.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
IT_OBJECTS_TO_SAVE = HEAD_GUID
* IV_UPDATE_TASK_LOCAL = FALSE
* IV_SAVE_FRAME_LOG = FALSE
* IV_NO_BDOC_SEND = FALSE
* IT_ACTIVE_SWITCH =
IMPORTING
ET_SAVED_OBJECTS = SAVED
ET_EXCEPTION = EXCEPT
ET_OBJECTS_NOT_SAVED = UNSAVED
* CHANGING
* CV_LOG_HANDLE =
* EXCEPTIONS
* DOCUMENT_NOT_SAVED = 1
* OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
COMMIT WORK AND WAIT.Hi,,
To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to Update with immediate start
Alternatively u can use this function module.
CRM_STATUS_DATA_SAVE_DB
BAPI_CUSTOMERCRM_CHANGE (If u wish to use a bapi for this).
Also , Let me know what error you got when implementing other function module.Does the function module didnt return any error but still the value is not changed for pricing condition type? -
What is the Best Price(Place to Buy) For 13" MB Pro(non-retina display)
What is the Best Price(Place to Buy) For 13" MB Pro(non-retina display)?
I am in PA, but close to Delaware, which is tax-free shopping.
Thanks!http://store.apple.com/us/product/FD101/refurbished-133-inch-macBook-pro-25ghz-d ual-core-intel-i5
You would have to web-order directly from Apple. Retail stores and resellers usually do not stock refurbs. All the Macs in our family that are in current use are refurbs and have provided excellent service. None have arrived with any cosmetic defects. -
Condition Types EDI1 EDI2 For Purcahse Order
Hi All,
The vendor sends a price change(855) that can be accepted automatically. The IDoc is updated but the purchase order is not updated with the confirmed price.
I found the below from SAP Market Place
Answer:
Prerequisites for the use of the price update are:
a) Condition types EDI1 and EDI2 must be maintained in the condition schema.
b) The price transfer must be activated in the confirmation control key.
I have configured EDI1 and i can see a different Vendor Price in in INBOUND IDOC Seg E1EDP01 -VPREI AND THE 855 is posted the Application and i see the Order Ack on the PO
T-Code M/06 : Condition Type
Cond. class B Prices
Calculat.type C Quantity
Cond.category d Confirmed purchase net price/value
Manual entries B Automatic entry has priority
Manual entries B Automatic entry has priority
Amount/Percent , Qty Relation ,Item Condition , Deletion check Boxes are Selected
Question 1 ) Acess Sequence is Blank
2) PricingProc is Blank ( i believe we are using ZM000 PricingProc)
T -Code M/08
Step 90 ( Its the last Step)
Counter 0
Condition Type EDI1 Vendor Price
Print = X
Another question is
1) Do i need to do anything at Vendor Level
After getiing the 855 , if i do an analysis on Pricing ,
I see EDI1 207 Condition has been found (without condition record)
I Don't see the Vendor Price Any where in PO
I would appreciate if anyone can provide any help
Thanks
Venki
ThanksHi Venki,
please check the notes 109273 and 456127.
Please see also the attachment in note 456127.
Could you please check if the condition formula for net price in the
pricing schema is set to 2 in your system. Transaction M/08 ->
select pricing schema (RM0000)-> in line for net price the field
V_T683S-KOFRM (AltCTy) should be set to 2.
Note 456127 Question 23:
23. Question:
Which settings are necessary to ensure that prices are copied from the
ORDRSP to the purchase order item?
Answer:
Consider the attachment of this note. In the attachment, all steps for
standard price schema RM0000 are documented.
Regards,
Edit -
Block Invoice creation for missing condition type
Hi,
We need to put a chek on the Invoice process, wherein if particular condition type is missing in the relation to sales order, than the Invoice should not get created.
For example-
If Order A - has condition type PR00 which gets fecthed from the condition record (VK11)
And while creating Invoice for the Order A, if someone has deleted the condition record , the invoice gets created without condition type PR00.
Now at this step a block has to be placed which can block the invoice from being created if PR00 is missing.
Please let me know what will be the best appraoch of IMPLEMENTING such check and how to do that.
Regards,
GauravHi Gaurav,
first if some deletes the condition record for a paricular condtion record,then ask ur users to uopdate the prices by goin to the condition screen.
second create a pricing procedure determination for your billing type in t code ovkk
and in that pricing procedure just maintain the settings as per mentioned by Mr.Lakshmipathy.
Revert if helpful
l
Mohit Singh -
Authorization object for manual condition type in sale order
Hi experts
I want ask them, If exist an authorization object for manual Condition type (KOMV-KSCHL) in the sales order (VA01/VA02), that the user don' t can create neither modify the sale orden with a specific manual condition type (payment term) by stardard way.
Best regards
John AnguloHI John,
I would be surprised to know that someone uses the Payment terms as a condition in the Pricing procedure for sales orders. The payment terms define when the customer agrees to pay, (15, 20, 45 ,....days or 5 years or 10 years....whatever it be)
this detail for what i know is in the sales order header,and ideally has nothing to do with the Item level material price conditions.
its ok, If you mean something else by payment terms.....in principle you can have a conditon type restrcited such that manual entries on the condition are not possible. this cane be done in SPRO customizing, i am sure your functional consultants would know what to do (SPRO->Sales and Distribution->Basic Function->Condition Types), in the tab "Changes that can be made" have a value that says manual Processing is not allwowed
The ABAP route mentioned above is for a different scenarion and i dont think it is necessary for your requirement
Maybe you are looking for
-
Upgraded to windows 8 and blue-ray no longer works
I have a HP pavilon elite hpe 570f and i upgraded to windows 8 and the blue-ray player doesn't work any more. This question was solved. View Solution.
-
Hi my bluetooth must b turnd off an now my keybord wont connect to my mac so now I cant put in my password to log into my computer can ne1 help please
-
1 profile in an OU not showing correct permissions
I have one user that just wont take the permissions that are set in a GPO. I have other users in the same OU and GPO and they work fine. I have deleted the profile from system / advance, I have went into the reg and deleted the SID, I have disabled
-
Can Bridge CC create a list of files in .txt format ?
hi all, i'd like to know if i can create a list of files in .txt format using Bridge CC It could be a good way to verify the integrity of an external database. thank you all rafa
-
System Audio Too Loud On Reboot
Everything running well with Mountain Lion except one annoying issue. Whenever I reboot the system, the default audio volume changes to the maximum level. Is there a way to control this? Jeff