How to set condition according to accumulative PO quantity?
Hi,
Is there a way to maintain purchasing price according to <b>accumulative purchase order quantity</b>??
For example:
Material : M6286412
Vendor : 1600
PurOrg.: T001
accumulative po quantity: 10000 pcs ---> Price:10.0 US$ per 100 pcs
accumulative po quantity: 30000 pcs ---> Price: 8.20 US$ per 100 pcs
accumulative po quantity: 31000 pcs above ---> Price: 7.00 US$ per 100 pcs
Thanks and best regards.
Hi,
I am not sure either that I have understood the question.
I have just seen your last repsonse relating to "Historical" PO values and so I think that you did NOT mean multiple lines on the asme PO.
If you really mean scales that apply over a period of time and across many POs for the same item, then this is possible, but you have to use "Subsequent settlement".
You set up the settlement agreement and specify the date range that applies and then set up the scales of discounts that you would achieve (you don't set up prices, you set up discount percentages).
So you would set up the agreement as follows
Over the period XX/XX/XXXX to YY/YY/YYYY the vendor will giove you the following discounts
If you spend more than 111111 you will get an extra G% discount
If you spend more than 222222 you will get an extra H% discount
And so on.
This is retrospective discounts and you can only ever use this type of solution because until all of the orders have been raised you cannot know which scale to apply.
So if you mean an extra discount for spending more than X (on one material or across a whole range of items) over a set period, then yes, use subsequent settlement.
Steve B
Similar Messages
-
How to set condition scale according to accumulated purchasing quantity?
Hi,
I want to set different condition scale for a material according to the accumulated purchase quantity against a vendor (includeing historical purchase order), just like follows:
Accumulated purchasing qty (including hostorical PO): 100 pcs ---> 1.5$/pc
Accumulated purchasing qty (including hostorical PO): 200 pcs ---> 1.4$/pc
Accumulated purchasing qty (including hostorical PO): 300 pcs ---> 1.3$/pc
Accumulated purchasing qty (including hostorical PO): 400 pcs ---> 1.2$/pc
Accumulated purchasing qty (including hostorical PO): 400 pcs ---> 1.1$/pc
So, how to realize this by standard functions?
Please kindly advise.
Thanks and best regards.Hi, Sanjay,
Thank you very much for your answer.
But manybe I had not described my qustion more clear, my requirement is, to control the quanaity-based scale according to accumulated purchasing quantity including historical purchase order but no the one/individual purchase order.
So, please kindly advise again.
Thanks and best regards. -
How to set date according to hjrah calender : nls_calender='English Hijrah
Hello frnds
how to set dates according to "English Hijrah".
I have set my database nls_calender='English Hijrah' ,
as many people aware that Hijrah dates are depend on moon ,
so I want to know how to set the calender for next month date in the database according to "English Hijrah"
I have set my database calender like this :
Example 3-17 NLS_CALENDAR='English Hijrah'
Set NLS_CALENDAR to English Hijrah.
SQL> ALTER SESSION SET NLS_CALENDAR='English Hijrah';
SELECT SYSDATE FROM DUAL;
You should see output similar to the following:
SYSDATE
24 Ramadan 1430
now I want to set the next month calender ...
I think my question is litte bit confusingmy db version 10.2.0.3
and above metalink id 121061.1 , I have tried from this document , but the change is not effected ,
the steps what I have down ;
1) shutdown the database
2)$oracle_home/nls/lxecal.nlt
i have created new file , and the contents is: syntax or algorithm
DEFINE calendar
calendar_name="English Hijrah"
DEFINE calendar_deviation
deviation_data= {
<"MAY-30-2009 ad">:11
ENDDEFINE calendar_deviation
ENDDEFINE calendar
note: i have to subract 1 day from current month
3) run the file
$ lxegen
4) sql>startup
5) sql>ALTER SESSION SET NLS_CALENDAR='English Hijrah';
6) sql>select sysdate+2 from dual;
SYSDATE+2
30 Jamada El Oula 1430
but my expected output should be like this
SYSDATE+2
01 Jamada El Thaniah 1430
note: that is after 2 days from today I need 1 st of next month , but its showing 30 th of present month , bcoz according to arabic month , present month is for 29 days only... -
How to set condition in CFL which are alredy assign in EditText
Hi
All
I create a Screen Printer Form where i assign a edit text to ChooseFromList as follow-
1)1st create a CFL using Collection Tab in screen printer and set the Object type=2 and Unique Id=CFL_2
2)Then assign CFL_2 to EditText in Item Tab window.
In that case CFL show All the Business partners. so my question is how i set the Condition in CFL_2 according to CardType.
thanks
SubhasHi,
Give a new Unique Id and assign that to edittext
Dim oCons As SAPbouiCOM.Conditions
Dim oCon As SAPbouiCOM.Condition
oCons = New SAPbouiCOM.Conditions
oCon = oCons.Add()
oCon.Alias = "U_CLEARED"
'oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
oCon.CondVal = val
Dim oCFL As SAPbouiCOM.ChooseFromList
Dim oEdit As SAPbouiCOM.EditText
Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
oCFLs = oForm.ChooseFromLists
oitem = oForm.Items.Item(ItemUID)
oEdit = oitem.Specific
Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
oCFLCreationParams.MultiSelection = False
oCFLCreationParams.ObjectType = "AUCTIONS"
Try
oCFLCreationParams.UniqueID = "CFL1_ACV" & val
Catch ex As Exception
End Try
Try
oCFL = oCFLs.Add(oCFLCreationParams)
Catch ex As Exception
End Try
Try
oCFL.SetConditions(oCons)
Catch ex As Exception
End Try
oEdit.ChooseFromListUID = "CFL1_ACV" & val
oEdit.ChooseFromListAlias = "Code" -
How to set conditions as a query in cfl?
i have a combo box and a matrix. i have a cfl in the matrix column, once i select the particular value in the combobox the corresponding values must appear in the cfl. how can this be done?
Hi Metilda,
You can try this, i'use this code to set conditions in a CFL for item list. I put this code in the et_CHOOSE_FROM_LIST event in beforeaction=True :
SAPbouiCOM.EditText oEdit;
oEdit = (SAPbouiCOM.EditText)oForm.Items.Item("7").Specific;
string typeMag = oEdit.Value.ToString().Trim();
oCons = oCFL.GetConditions();
if (oCons.Count == 0)
if (typeMag.Substring(0, 1) == "C")
oCon = oCons.Add();
oCon.BracketOpenNum = 2;
oCon.Alias = "SellItem";
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
oCon.CondVal = "Y";
oCon.BracketCloseNum = 1;
oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_AND;
oCon = oCons.Add();
oCon.BracketOpenNum = 1;
oCon.Alias = "U_IFC_CAT";
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
oCon.CondVal = typeMag;
oCon.BracketCloseNum = 2;
oCFL.SetConditions(oCons);
else
oCon = oCons.Add();
oCon.BracketOpenNum = 2;
oCon.Alias = "SellItem";
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
oCon.CondVal = "Y";
oCon.BracketCloseNum = 1;
oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_AND;
oCon = oCons.Add();
oCon.BracketOpenNum = 2;
oCon.Alias = "U_IFC_CAT";
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_IS_NULL;
//oCon.CondVal = null;
oCon.BracketCloseNum = 1;
oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_OR;
oCon = oCons.Add();
oCon.BracketOpenNum = 1;
oCon.Alias = "U_IFC_CAT";
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
oCon.CondVal = "";
oCon.BracketCloseNum = 3;
oCFL.SetConditions(oCons);
else
oCons = null;
oCFL.SetConditions(oCons);
oCons = oCFL.GetConditions();
if (typeMag.Substring(0, 1) == "C")
oCon = oCons.Add();
oCon.BracketOpenNum = 2;
oCon.Alias = "SellItem";
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
oCon.CondVal = "Y";
oCon.BracketCloseNum = 1;
oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_AND;
oCon = oCons.Add();
oCon.BracketOpenNum = 1;
oCon.Alias = "U_IFC_CAT";
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
oCon.CondVal = typeMag;
oCon.BracketCloseNum = 2;
oCFL.SetConditions(oCons);
else
oCon = oCons.Add();
oCon.BracketOpenNum = 2;
oCon.Alias = "SellItem";
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
oCon.CondVal = "Y";
oCon.BracketCloseNum = 1;
oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_AND;
oCon = oCons.Add();
oCon.BracketOpenNum = 2;
oCon.Alias = "U_IFC_CAT";
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_IS_NULL;
//oCon.CondVal = null;
oCon.BracketCloseNum = 1;
oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_OR;
oCon = oCons.Add();
oCon.BracketOpenNum = 1;
oCon.Alias = "U_IFC_CAT";
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
oCon.CondVal = "";
oCon.BracketCloseNum = 3;
oCFL.SetConditions(oCons);
It's work fine for me. -
How to set condition for my Choose From List
hi ..plz check my code...i want to set a condition on my CFL which opens GL Accounts..it has to show only Active Accounts...but when i run the program iam able to see all accounts..what might me the proble..
my code is as follows
'''''''''' load form
private sub loadform()
'' here iam loading form which is designed in Screen painter where i have a textbox (uid = 19) and CFL_2 as its choosefromlist and object type = 1 alias name = ActCode
conditionCFL()
oform.visble = true
end sub
'''''''''' end of load form
'''''''''setting condition
private sub ConditionCFL()
Try
Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
Dim oCons As SAPbouiCOM.Conditions
Dim oCon As SAPbouiCOM.Condition
oCFLs = oForm.ChooseFromLists
Dim oCFL As SAPbouiCOM.ChooseFromList
Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
' Adding 2 CFL, one for the button and one for the edit text.
oCFLCreationParams.MultiSelection = False
oCFLCreationParams.ObjectType = "1"
oCFLCreationParams.UniqueID = "CFL1"
oCFL = oCFLs.Add(oCFLCreationParams)
' Adding Conditions to CFL1
oCons = oCFL.GetConditions()
oCon = oCons.Add()
oCon.Alias = "Postable"
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
oCon.CondVal = "Y"
oCFL.SetConditions(oCons)
oCFLCreationParams.UniqueID = "CFL2"
oCFL = oCFLs.Add(oCFLCreationParams)
Catch
MsgBox(Err.Description)
End Try
end sub
'''''''''end of setting condition
i have still more code...plz follow the next code which is posted below.....continuation from above code...plz foloow complete code
'''''''''''item event
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
Dim EventEnum As SAPbouiCOM.BoEventTypes
EventEnum = pVal.EventType
Try
Select Case pVal.EventType
Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST
If pVal.BeforeAction = True Then
Dim oCFLEvent As SAPbouiCOM.IChooseFromListEvent = DirectCast(pVal, SAPbouiCOM.IChooseFromListEvent)
Dim oDataTable As SAPbouiCOM.DataTable = oCFLEvent.SelectedObjects
Dim val As String
Try
If pVal.ItemUID = "19" Then
Me.oDBDataSource.SetValue("U_BalenceSheet_Acct", 0, oCFLEvent.SelectedObjects.GetValue(0, 0))
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End If
Exit Select
End Select
Catch ex As Exception
MsgBox(ex.ToString)
End Try
end sub
''''''''''end of item event
Edited by: Shenaz Sultana on Nov 13, 2009 2:18 PM -
How to set condition scale according to accumulated consignment quantity?
Hello,
We have different consignment prices for the same material vendor depending on the quantity.
For example:
First 100 pcs -->1.5$/pc
Following 100 pcs -->1.4$/pc
Following 100 pcs --> 1.3$/pc
So, I want to set different condition scale for a material according to the accumulated quantity transferred from vendor consignment to own.
So, how to realize this by standard functions?
Everything that I have tried with the scale condition type in consignment info record only works with the quantity that I am transferring in that moment from consignment to own. Is there any anything that I can setup to take into account the accumulated quantity?
Please kindly advise.
Thanks and best regards.Look at the Group Condition settings of your Condition Type. You'll need to some ABAP resource to create a Requirement.
-
Vofm: how to set condition value.
i complete a formula routin.and would like to set the price condition value . but when i set the value to
xkomv-kbetr, the result don't save. it seems like that xkomv is replaced by rettkomv.Hi there,
Try to check this site.
Re: creating new formula via tcode VOFM, Formulas->Condition base value
To set the condition value, you should populate XKWERT variable.
Regards,
Kezia -
How to set condition in choose from list based on the combo selection
Dear Members,
i have a requirement to filter the item based on the itemgroup. After choosing the itemgroup in the dropdown list i have to filter the item for the particular group in the choose from the list.since i have tried in the combo select it doesnt work out for me.any body can suggest me is it doable. if so pls tell me the work around.
My coding is as follows..
Case SAPbouiCOM.BoEventTypes.et_COMBO_SELECT
if pval.itemUID="Cmb"
objChooseCollection = objForm.ChooseFromLists
objChooseFromList = objChooseCollection.Item("CFL1")
objConditions = objChooseFromList.GetConditions()
objcondition = objConditions.Add()
objcondition.Alias = "itmsgrpcod"
objcondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
objcondition.CondVal = Form.items.item("Cmb").specific.selected.value
objChooseFromList.SetConditions(objConditions)
End if
With Regards,
jai.
Edited by: JaiShankarRaman on Dec 23, 2009 10:47 AMHello,
Following is a code sample which I am using:
Dim oForm As SAPbouiCOM.Form
Dim oMatrix As SAPbouiCOM.Matrix
Dim oChooseFromList As SAPbouiCOM.ChooseFromList
Dim oConditions As SAPbouiCOM.Conditions
Dim oCondition As SAPbouiCOM.Condition
Dim CodeType As Integer
Try
oForm = oPayOn.SBO_Application.Forms.GetForm(CflEvent.FormTypeEx, CflEvent.FormTypeCount)
oMatrix = oForm.Items.Item("AC_MATRIX").Specific
oChooseFromList = oForm.ChooseFromLists.Item("ACC_CFL1")
CodeType = oMatrix.Columns.Item("AC_MC00").Cells.Item(CflEvent.Row).Specific.Selected.Value
oConditions = oChooseFromList.GetConditions
If oConditions.Count > 0 Then
oCondition = oConditions.Item(0)
Else
oCondition = oConditions.Add
End If
oCondition.Alias = "U_CodeType"
oCondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
oCondition.CondVal = CodeType
oChooseFromList.SetConditions(oConditions)
Catch ex As Exception
'oPayOn.SBO_Application.SetStatusBarMessage(ex.Message, SAPbouiCOM.BoMessageTime.bmt_Medium, True)
End Try
End Sub
I am calling this in the CFL event - before action. So when the user clicks on CFL button - but before it opens - this code is called and the condition is applied. Here AC_MC00 is a combo column in a matrix.
Regards
Rahul Jain -
How to set condition to display page
In adobe form ,I want to display page only if term konda=02
can anone guid me the steps needed for the result
thank'sHi Shaul,
To display the Body Page based on the condition then we must write the code in the FormCalc or JavaScript under the event :initialization or Form Ready or Layout Ready event for the Root Node in the Heirarchy Palette of the Layout Designer.
For Example:
Consider JavaScript under the Initialization event for root node "Data"
if (konda.rawValue == "02")
bodypage.presence = "visible";
else
bodypage.presence = "hidden";
Regards
Pradeep Goli -
How to set condition for Characteristic values in report
Hi Experts,
I have a report where the service order will have 1or more part and its corresponding part status.
I want to highlight or give some indication to those service orders where all the parts status are Part Received.
The service order with different part status can be ignored.
FYI: I don't have any keyfigure in my report.
Can anyone please advice me on this.
ThanksHi Ahmed,
You cannot achieve this using this Conditions, as the condition can be defined on a characteristic but u cannot say that for a service orders all the parts status are PART RECEIVED.
For this kind of requirements, you need to add an Flag (Characteristic) and check in the Transformation if all the Part Status are PART RECEIVED for a Service Order and mark the Flag as 'X'.
In the report jst filter on the flag as 'X'. It should resolve.
Regards,
Chathia. -
How to set up replenishment or what must maintain in master data?
I seted up replenishment in master data but it was not available when the stock less than minimum. So I will set what and How to set it.
1) MAintain min. bin quantity and max bin quantity in WM2 view of material master.
2)Whenever the bin quantity will fall below the min. bin quantity system will propose for replenishment.
3) This is valid only for fixed bin so fixed bin needs to be maintained in WM2 view of material master.
4) Run LP21 and system will create a TR automatically -
Hi, I am in midst of creating a form in infopath. I have a text box field in which the user will enter the number of issues he has. if the user has entered the number of issues he has, then he will need to select the type of issues from a multi selection
box. Thus i need to know how to set up rules/conditions to ensure that the user has to complete the multi selection box if he enters a value in text box for the number of issues.I assume what you are asking is to make multi selection box as mandatory. If not please explain with a example
Try below:
http://webcache.googleusercontent.com/search?q=cache:ItIYeZ8K2gEJ:sharepointkings.blogspot.com/2013/06/make-multi-select-list-box-required-in.html+&cd=4&hl=en&ct=clnk&gl=in&client=firefox-beta
If this helped you resolve your issue, please mark it Answered -
how to set raw format for canon powershot a1100 is ? ,,according to the specs online it can.
It requires the Canon Hacker's Developement Kit (CHDK). It runs off of your SD card and does not harm your camera. Download a program called Stick-
http://zenoshrdlu.com/stick/stick.html
Follow the directions and you will be able to shoot in RAW along with some other deatures not available on your camera previously. -
How to set dynamic name of the mail attachment according to source file ?
Hi,gurus:
Our scenario is like below:
Sending files from an FTP server to another FTP server without using the integraiton repositary,and the file name is not changed .Now, we want to also send the file to some with by mail adapter.The scenario now works by using two business services in receiver determination.But the name of the attachment is "untitled.xml".We know how to set the file name staticly,but how to set the name dynamicly according to the source file name ?
I have checked miachel's blog "XI: Dynamic name in the mail attachment - pseudo "variable substitution"(/people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution),but how can I get the source file name?
And another question:Must we restart the adapter or j2ee engine to make the user defined module work?Hi,
>>>but how can I get the source file name?
form dynamicconfiguration (ASMA)
>>>And another question:Must we restart the adapter or j2ee engine to make the user defined module work?
no need for a restart
Regards,
Michal Krawczyk
Maybe you are looking for
-
How to Create and Use ldb in reports?
Give examples that uses ldb.
-
How to transfer iphones info with new itunes without losing everything
my mac recently crashed due to hard drive failure. It has been replaced but has lost eveything on it. Now when i plug my iphone in the 'new' itunes doesnt recognize it and if i sync it will erase eveything. so i would love to know how i can transfer
-
Problem with global temporary table in Oracle 10g
Hi All, I face a peculiar problem in Oracle 10g with respect to Global temporary table. Have Oracle 10g version in Production and 11g version in UAT. Table_ create global temporary table TT_TEMPGPSMANUAL Col_1 VARCHAR2(50), Col_2 VARCHAR2(5
-
I am having an JMS Consumer in a esb service to trigger a bpel process.However the consumer gives the following error when invoked ORABPEL-11206 Invalid input to translator. The Inbound Opaque translator recieved invalid input value : null for argume
-
Illustrator CC is crashing on loading
Illustrator CC is crashing on loading - both 32 and 64 bit versions.. Frreshly installed on a PC. I have signed in and out of creative cloud and have restarted my machine - but still crashing - can you help?