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.
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 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 -
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 print scale in Safari 3.1.2?
When I try to print a web page in Safari, the printer page shows "Scale: 62%" every time. I can manually change it, but I'd prefer the default to be: Scale 100%. It would be a real time saver. I can't figure out how to set a default Scale %. Thanks in advance for an assist.
No, I'm not printing the same page. I rarely do. However, I visit various web sites and make PDFs or print items of interest. This is part of my work and it would be a huge time saver to be able to set a default scale to 100%. That scale fills the page and it uses more pages, but the type size when using 62% is often too tiny to be useful when it is printed or saved as a PDF file.
-
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 -
IDVD how to set chapters markers according to the day
iDVD wont let me set chapters markers according to the day of the trip. No good by minutes! I did have markers in the imported iMovie which have been ignored.
Hi
iDVD can only set Chapters in time interval e.g. every 5:th minute
iMovie'13 (Version 10.0.x) - CAN NOT set Chapters at all
Rest - You must use the Chapter Mark - Not the Note Mark (it will be ignored)
If You've done this and they do not show up in iDVD - iDVD pref file most probably got corrupted. Trash it and re-try with a NEW iDVD project.
Yours Bengt W -
Waveform Chart - How to set X scale time.
I have a Waveform chart (v6.1) and I want it to display 30 seconds of data. What is the correlation between the Time History buffer and the Time inputed on the X-scale. The X-scale format is set to Relative Time. I set the initial time to 0:00. The input data is coming in at 20 samples/sec also. How do I set up the chart to show only 30 sec of data.
You can turn Auto scale off and set the left value to 0 and right value to 0:30.
A second method is to set the chart history length to 600 (20 samples per second * 30 seconds). Setting the chart history length can only be done at design time.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
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 Appointment Times according to SLA
Hi Experts,
I have the following requirement:
One order has a number of items. These items have a duration. I need to set the appointment times of each item (e.g. SRV_CUST_BEG or SRV_CUST_END) according to the duration. For example, if the start time of the order header is 7.00 am, the start time of the first item will be 7.00 am and the end time will be 8.00 am (assuming the duration is 1h).
Now the problem is that these time must be set within an SLA! In the example above (assuming the SLA times are 8.00 am to 5.00 pm) the start time of appointment must be shifted to 8.00 am and the endtime, accordinlgy to 9.00 am.
What I need to know now for you experts is whether there are any means of letting the appointment time being adjusted to fit into the times of the SLA...
Hope the matter is clearly explained.. I need to solve this!
Please help me out here..
THANKS, JohannesHi Joannes
Are you using RPA for Scheduling?
You should be becasue, Appointments scheduling is the function of RPA. When you do configuration for RPA in the Service order Line item, Use SLA_DATE Profile and make sure the Requested start and Requested end date is determined based on the SLA, then the appointment will always fall under the SLA Period, what ever may be the duration,.
Thanks
Raj -
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. -
Portable hard drive suggestions on how to set it up.
Hey guys! I have a question and I'm looking for some advice. I got a portable hard drive for Christmas and since I'm not sure how to set it up I was wondering if I can get some help from you guys on how to set it up according to my needs.
The portable hard drive is 320GB and what I want to do is set it up for time machine to back up my MacBook, and also be able to read and write on the portable hard drive using a PC, Mac, and my PS3.
I'm assuming I would need to format it into Fat32 so my macbook can write to the hard drive? Also from my understanding PS3's can only detect fat32? So would you guys recommend me formatting it into fat32 and how would I go about doing that? Plus do you guys have any other suggestions? I wish I could use the portable hard drive for boot camp but maybe I'll just transfer my iTunes library on the hard drive and sacrifice my MacBooks HD space for boot camp? Thanks! And happy new years
Message was edited by: iheartbangsNo idea about PS3.
TM needs a Mac OS extended Journaled format which cannot be seen by Win.
I would leave a Disc only to TM which is a complicated but serious easy and affordable backup.
Fat 32 could be OK to transfer files between Mac And Win systems but you will need to copy files manually to it. More.. Fat system is not so safe and stable as MacOS.
Teoretically you could partition your drive with Disc Utility into 2 Discs and use one for TM and the other for rest. I am not 100% sure if you can do it (I mean use TM on one of the Partition Formatted as MAC OS Jour) but you can try. As I wrote I would not do it.
Maybe you are looking for
-
How do I change the account apple ID for my Icloud on the ipad?
I recently changed my apple ID. But the icloud account information won't update to the new id on my ipad and iphone. Suggestions?
-
Help me.
-
I have an IPOD Nano 4th Generation 8GB and am unable to restore it back to factory settings even when it is connected to my MAC. I have tried the menu/select hold but is not doing anything. When connected to the MAC and select restore in itunes it
-
ClassNotFoundException-javax.faces.application.ProjectStage - deploy of WAR
Hello All, We are trying to deploy the ViewController project, of a jsf/adf based application, to a WAR file. We are migrating our application from 10g to 11g. We have successfully gone past all the comilation errors and now trying deployment. We wer
-
Sharing display and internet connection between a 13inch Mac Book and G4
Does anyone know whether it is possible to connect a Mac Book and a G4 Powermac with an ethernet cable and then hook them both up to the same display and ethernet internet connection?