Pricing, Modifiers in Sales Order Form
Hi Gurus,
Please help me to resolve the issue with Pricing, Modifier to Sales Order:
I have created Master price List for Item A - $40
Modifer 1 - Dealer Discount Price is 20% (Created Modifier as Dealer Discount - 20%)
Modifer 2 - Order Header discount is 10% on total Order Value (Created Modifer with Discount : Level - Order; Modifer Type - Discount; Pricing Phase - Header Level Adjustments, Application Method - Percentage; Value - 10%
Assgined to respective Qualifers (Customers), set as Automatic
Ran Build Attribute mapping values concurrent program in Pricing Module. Status : sucess
After doing All above steps created Sales order for respective Customer, system is applying Modifer 1 Automatically but MODIFIER 2 not able to apply at order header leverl, Not able to see this Modifier list under SO form
Action->View Adjustment.
Can you please check and let me know the problem to achieve this issue.
Highly appreciate your response.
Regards
AK
Check below options in sequence
1) Is your order qualifies for both the modifiers ?
2) If you need to apply both modifiers put them in different incompatibility level.
Similar Messages
-
Problem binding a matrix in the Sales Order Form
Hi everybody!
I am working in an Add-On. What I do is modify the sales order form in runtime. I catch the event when the form is loading and then I add a new folder with some fields and a matrix.
I've got a matrix in this form with the employees that participate in an order and when I go through all the orders by using the next and previous record buttons I have to rebind it to show the participants in a specific order. The code for the event is the following:
If (pVal.ItemUID = "57") And pVal.Before_Action = False And pVal.EventType = et_ITEM_PRESSED Then
BindParticipantGrid
BubbleEvent = False
End If
After bind the grid, BO shows a System message indicating that the form has been changed and asking me if I want to save the changes to the order. Looks like, whenever the bind function finds rows to add to the matrix it changes the mode of the form by adding rows to the matrix. How can I prevent that when I'm in view mode?
This is the code for the binding function
Sub BindParticipantGrid()
Dim myForm As SAPbouiCOM.Form
Dim oMatrix As SAPbouiCOM.Matrix
Dim rs As sapbobsCOM.Recordset
Dim strSQL, OrdreNr As String
Dim oText As SAPbouiCOM.EditText
Set myForm = SBOApplication.Forms.GetFormByTypeAndCount(139, 1)
Set oText = myForm.Items("8").Specific
If oText.Value <> "" Then
OrdreNr = oText.Value
Else
OrdreNr = "0"
End If
Set oMatrix = myForm.Items("matrix").Specific
oMatrix.Clear
Set rs = myCompany.GetBusinessObject(sapbobsCOM.BoObjectTypes.BoRecordset)
strSQL = "SELECT [@HL_PART].Code as Code, [@HL_PART].U_DocNum as DocNum, [@HL_PART].U_EmpId as EmpId, [@HL_PART].U_EmpName as EmpName, [@HL_PART].U_Message as Message, [@HL_PART].U_MessRead as MessRead, [@HL_PART].U_MainPart as MainPart, [@HL_PART].U_StartDt as StartDt, [@HL_PART].U_StartHr as StartHr, [@HL_PART].U_FinishDt as FinishDt, [@HL_PART].U_FinishHr as FinishHr, [@HL_PART].U_Finished as Finished FROM [@HL_PART] WHERE [@HL_PART].U_DocNum = " & OrdreNr
rs.DoQuery strSQL
While Not rs.EOF
myForm.DataSources.UserDataSources.Item("EmpId").Value = rs.fields("EmpId").Value
myForm.DataSources.UserDataSources.Item("EmpName").Value = rs.fields("EmpName").Value
myForm.DataSources.UserDataSources.Item("Message").Value = rs.fields("Message").Value
myForm.DataSources.UserDataSources.Item("MessRead").Value = rs.fields("MessRead").Value
myForm.DataSources.UserDataSources.Item("MainPart").Value = rs.fields("MainPart").Value
myForm.DataSources.UserDataSources.Item("StartDt").Value = rs.fields("StartDt").Value
myForm.DataSources.UserDataSources.Item("StartHr").Value = rs.fields("StartHr").Value
myForm.DataSources.UserDataSources.Item("FinishDt").Value = rs.fields("FinishDt").Value
myForm.DataSources.UserDataSources.Item("FinishHr").Value = rs.fields("FinishHr").Value
myForm.DataSources.UserDataSources.Item("Finished").Value = rs.fields("Finished").Value
oMatrix.AddRow
rs.MoveNext
Wend
oMatrix.SelectionMode = ms_Auto
End Sub
I will apreciate all king of help
Thanks in advance.You have a property of the form which allows you to change the mode
myForm.Mode = fm_ADD_MODE
myForm.Mode = fm_EDIT_MODE
myForm.Mode = fm_VIEWMODE_MODE
You may change it after you modify you matrix data to fm_VIEWMODE_MODE and I guess you won't have the system question again.
Sebastien -
Modifying LOV in Sales Order form
Hi all,
I have a requirement.where in i need to hide the values present in an lov.
i.e.
In Sales order form, whenever we click on Actions button..we will be getting actions lov, we should modify that lov such that 'Calculate Tax' should not be visible in the list of values.
As this lov is opening whenever we click on Actions button...we are not able to modify the record group from Custom.pll as the WHEN-BUTTON-PRESSED trigger is not valid in it.
CAn anyone please suggest me any approach as how to do it.
Thank You,
AhmedMahmed,
As aweiden indicated, this is an Oracle Enterprise Business Suite (EBS) issue. The appropriate place for you to ask this question is the [ EBS General Discussion | http://forums.oracle.com/forums/forum.jspa?forumID=475 ] forum. As you work with EBS, you will discover that virtually everything is maintained in the database. There is most likely a Value Set defined that supplies the values for this LOV. You need to find out the name of the Value Set so you can modify it to exclude the "Calculate Tax" value. The fastest way to find out the name of the Value Set would be open the Oracle Sales Order form (OEOX????.fmb) and find out which LOV is being displayed when you click on the Actions button. Once you know the name of the Value Set, you can edit the Value Set to exclude the "Calculate Tax" value. Its been a while since I've worked with EBS so I don't remember all the details. I believe you will need the OE Super User responsibility or a SysAdmin Developer Responsibility to have the privileges to modify the value set.
Hope this helps.
Craig... -
Helllo ,
my pricing date in sales order is based on the requested delivery date....But many times users change the requested
delivery date and the pricing date is changed.I need to have initial pricing date always and never changed.
I think SAP standard dont have solution for this right?
Thanks and best regards
LHai Luis Guilhermo,
In sales order program ,
SAPMV45A
Include : MV45AFZZ
FORM userexit_save_document_prepare
CODE:
CONSTANTS: c_t(45) TYPE c VALUE 'Please enter current date or future date in ',
c_t1(18) TYPE c VALUE 'Pricing date field'.
IF sy-tcode = 'VA01' OR sy-tcode = 'VA02'.
IF vbkd-prsdt LT sy-datum.
MESSAGE e000(zmsg1) DISPLAY LIKE 'E' WITH c_t c_t1.
ENDIF.
ENDIF.
This user exit code will check your pricing date should be equal to or more that system date, else gives error.
Regards,
Mani -
Change in an LOV query of Sales Order Form not working
Hi,
I wish to change the the Order Type (in the Sales Header) displayed in the Sales Order Form when viewed from a particular Responsibility.(11i Instance)
To be specific only certain order types should be displayed in the LOV when the User tries to create Order from that Responsibility.
In that process I created an FP with Action --> Builtin -->Create Record Group From Query
Then in Property-->Object Type-->LOV and Target Object -->ORDER_TYPE Value-->Name of my Query Group
I downloaded the Sales Order Form and modified the Query of the Group keeping the columns selected and the view used same and added in the Group I created.
But it didn't work out.
I tried out by changing my Target Object to SRV_ORDER_TYPE and its corresponding query from the Oracle Form.
But still it didn't work.
Please tell me where I'm going wrong.
Am I not choosing the correct target record group LOV?Hi Robert,
I have successfully accessed a matrix using Visual Basic .Net. It has been quite a challenge while I was at it.
One important thing to understand is that (unless you access the datasource) in order to access a particular control in a matrix object, this control needs to be visible and enabled. It is like simulating a user accessing the matrix via GUI... if a control is not enabled, you cannot access it (as said via control). That might explain question 1.
Short sample on matrix handling is here:
http://www.itwiki.net/ow.asp?SboHowToReadFromAndWriteIntoMatrix
<b>Q2 - Cell count:</b>
I have personally never used the Cells count method. It should always return the number of rows. My only guess here is that you are using an old reference on the matrix object in which the rows are not there yet.
Dim oMatrix As SAPbouiCOM.Matrix
Dim oColumn As SAPbouiCOM.Column
Dim oEditText as SAPbouiCOM.EditText
oMatrix=YourSboForm.Items.Item(38).Specific
oColumn=oMatrix.columns.item(strColumnname).specific
oEditText=oColumn.items.Item(1).specific
Msgbox(oEditText.String)
The above code should get you the first cell of the first row of the given matrix.
HTH Lutz Morrien
P.S.: If you need any more sample code, check with the SAP matrix sample or send me a mail (adress see Http://www.itwiki.net) -
Update Production Order Form if Sales Order Form has been updated
Hi Experts, how can you update the "Due Date" in the Production Order form if the "Delivery Date" in the Sales Order form has been updated? I am having problem catching the actual event if the Date was modified. I'm not sure if I'm coding this correctly, but this is what I have so far:
If ((pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) And (pVal.Before_Action = True)) Then
strSQL = "SELECT DueDate FROM OWOR WHERE DueDate = '" & strDueDate & "'"
orecordset = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
orecordset.DoQuery(strSQL)
End If
Please share your examples.All, thank you for your help. I understand why it is not working now. I was able to accomplish what I was lookin for with the following code (for anyone who was having the same problem as me:
If pVal.FormTypeEx = "139" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE Then
If pVal.ItemUID = "12" And pVal.BeforeAction = False And pVal.ActionSuccess = True Then
oEditText = oForm.Items.Item("12").Specific
myNewDate = ConvertDateString(oEditText.Value, "test")
SODocEntry = oForm.Items.Item("8").Specific.Value
oPdo = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders) '
oRecordSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
oRecordSet.DoQuery("SELECT DocEntry from OWOR where OriginABS = '" & SODocEntry & "'")
If Not oRecordSet.EoF Then
oPdo.GetByKey(oRecordSet.Fields.Item(0).Value)
oPdo.DueDate = myNewDate
intResult = oPdo.Update
If intResult <> 0 Then
oCompany.GetLastError(errInt, errString)
oApplication.MessageBox("oApplication_ItemEvent: " & errString)
End If
oRecordSet.MoveNext()
End If
End If
End If -
How to change pricing Conditions in Sales order in change sales order bapi
Hi Experts,
How to change pricing Conditions in Sales order in change sales order bapi.
I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
Thanks in Advance .
NLNHI NLN
I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
<b>Import Paramters:</b>
SALESDOCUMENT - Sales Document Number
ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
<b>Tables:</b>
CONDITIONS_IN - ITM_NUMBER,
COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
COND_TYPE,
COND_VALUE,
CURRENCY.
CONDITIONS_INX - ITM_NUMBER,
COND_COUNT,
COND_TYPE,
UPDATEFLAG as <b>'U'</b>,
CURRENCY.
Hope i have clarified your query.
Kind Regards
Eswar -
How to read pricing conditions on sales order
Hi
i need to retrive pricing conditions of sales order but before posting sales order
any user exit avialable ...?
also i hv found one user exit in that there is FM EXIT_SAPMV45A_003
But i am not able to read pricing conditions values
also no data is there in konv table coz sales order has yet not been post
so before sales order can i read the pricing conditions values ...
pls guide
if possiple pls provide example also
thanks
TaranHi
The problem is you can't use the KNUMV, because u make sure to get the princing active in the document at run time.
If you want to know the old data you can read the table KONV using field KNUMV, but here you can't know if some modification is done.
U can try to know the field-symbols:
DATA: XKOMV LIKE KOMV.
DATA: FIELDNAME(30) VALUE '(SAPMV45A)XKOMV[]'.
FIELD-SYMBOLS: <TKOMV> TYPE TABLE.
ASSIGN (FIELDNAME) TO <TKOMV>.
LOOP <TKOMV> INTO XKOMV.
ENDLOOP.
Max -
Using PDF form as a sales order form on Android device
Hi,
I'm working on a digital sales order form solution, and found Adobe Reader for Android looking to be usefull. However I'm stuck with some questions and hoping to find answers here on the forums.
I don't have a lot of experience with creating PDF's, but I do have sufficient experience with Javascript, so I managed to create form that does some calculations. Everything looks and works alright, but for it to work in the field there are some showstoppers.
The form I've created has 2 signature fields
Here are my issues. Please keep in mind that the user (sales representive) is filling in the form on an Samsung Galaxy Note.
After the form is signed, the user can still make changes to the form. Is there a way to disable this?
The signature default uses very thick lines. How can I force this to 1px default?
The last used signature is stored. How can I disable this? (Customers don't want their signature to be stored, as the sales rep could use that to sign other forms as wel..)
Adobe reader overwrite the original file upon closing. Is there a way to force a 'save as' screen?
Adobe reader allows a user to make comments and write free hand. I'd like to disable this.
(I've tried Document Restrictions, but this ruins the document by removing every form field.. )
I've read something about Adobe LiveCycle server. Could that help me achieve wat I'm looking for?
I hope someone can help me out and explain some of thisCheck out http://www.pdfemail.net/
With PDFEmail.net, you can submit XML, FDF, XFDF, XDP data formats or PDF format.
PDFEmail.net can merge the Data (XML) submission with a blank form using ASP.net, and attaches it to an e-mail message and sends it through SMTP, without client side e-mail software such as OUTLOOK.
PDFEmail.net is installed on a workstation, and generates scripts and libraries you "UPLOAD" to your ASP.net webserver. There is no server-side installation, and zero programming knowledge is required. PDFEmail.net creates the scripts for you, and you just point your submit button action to the URL of the script.
PDFEmail.net uses iTextSharp technologies, and includes 1 year of free technical support.
For more information visit http://www.pdfemail.net/ -
Different Pricing Procedure for Sale order and Billing Document
Hello Experts
As per scenario,we create Excise Invoice (T-Code J1IIN) on Basis of Proforma Invoice.Proforma Invoice and Excise Invoice follow Pricing from Sale Order.AS per pricing Some excise condition types are get update in Proforma and excise Invoice.
AS Per Customer Payment Confirmation we Create Export Billing Invoice (T-code VF01) on basis of Outbound delivery.
Issue -: AS per export Billing Rule we don't want to update Excise Condition type in Export Billing Document,and at same time it should not create any accounting entries for same condition type. we Dont want excise Duity in Export Billing Document as Export Billing Doccumnet aslo Follow Pricing procedure of Sale order
Should i create new Pricing procedure or what other things to solve above issue.
Please help me out
Thanks and Regards
Pash@SDHello,
The key to your requirement can be maintenance of Excise condition type with proper access sequence and accordingly maintain condition record for them.
You create an access sequence with following access:
- Country / Plant / PlntRegion / Region / Price grp / Mat.pr.grp / Materia
- Country / Plant / PlntRegion / Region / Price grp / Mat.pr.grp
- Country / Plant / PlntRegion / Region / TaxCl1Cust / Mat.pr.grp
- Country / Plant / PlntRegion / TaxCl1Cust / Mat.pr.grp
For export maintain condition record based on any key combination, say for
Country / Plant / PlntRegion / TaxCl1Cust / Mat.pr.grp - Tax % - Tax Code
FR / 1000 / KR / 03 (EXPORT) / 04 / 0% / V1
I hope this can assist you.
Thanks & Regards
JP -
Error in Modify a sales order, when we add the item in the sales order.
Each time when we try to modify a sales order, adding a new item.We get a dump and the changes are not saved in the Data base. Could you help on this??
Hi,
you need to work with
modify xvbap from xvbap_wa.
in report MV45AFZZ
If you modify VBAP itselve you can problems with db, cause entries with vbeln = blank can be created.
Regards
Nicole -
Pricing problem in sales order creation
Hi friends,
My requirement is to create sales order with ref to contract i am using 'BAPI_SALESORDER_CREATEFROMDAT2' , and I am extracting data from konv table to get price through condition record , but i am getting 4 messages
(S) SALES_HEADER_IN has been processed successfully
(E) Condition PR00 is not allowed as header condition
(W) The sales document is not yet complete: Edit data
(E) Sales document was not changed
and i am not getting pricing for created sales order document.
please help.
regards,
Sravani.hi
ZK01 Company Selling Price - 21.86 INR 1 BT - 2360.41 INR for 108 BT( your statement)
This is wrong 21.86 x 108 = 2360.88 and not 2360.41 as written by you
so the calculation of the system is correct
21.86 x 108 =2360.88
1.41 x 108 =153.28
So total 23.27 x 108 = 2513.16 (also 2360.88 +152.28 also is equal to 2513.16 )
you can check in calculator
If ZK01 is showing a wrong vaule 2360.41 instead of correct 2360.88 in your case then you need to check the configuration of that condition type
The subtoatal valuew hich you have written is also wrong because of ZK01
Problem lies in ZK01 check the other controls and rounding profile etc of ZK01 in V/06
Regards
Raja -
Item should not duplicate in sales order form in line tab ..
Hi All,
Not very sure this is the right forum for this if not please tell me the correct forum to post this.
We have a requirement(11.5.9) which we have to achieve it using custom.pll, as I am very much new to use it need help on this.
In Sales Order form once we enter in Lines Information TAB,
For example we will enter Item 'ABCD' at Line 1.1 then again at Line 2.1 if I try to enter the same item 'ABCD' it should pop up a message saying "Item Already Entered" once we press Tab on Ordered Item Field.
If we enter a different Item it should take as usual.
I will appreciate if some body posts the code for the same which we can do it using CUSTOM.pll
Thanks in Advance
DevenderIf you are in the WHEN-VALIDATE-ITEM trigger, you cannot navigate back through the list of already entered records (especially if record you are in is not complete). It does delay the validation, but duplicate checks are typically done by querying the database on both WHEN-VALIDATE-ITEM and PRE-INSERT/PRE-UPDATE triggers. This means when entering a new Sales Order, you won't be warned that Line 2 has the same item as Line 1 until you save, but there are no navigation required to avoid issues such as trying to leave the current record before it is valid.
-
The pricing procedure in Sales order is not getting copied into invoice
The pricing procedure in Sales order is not getting copied into invoice.
I have created a document type (pricing procedure),based on the document type ,pricing procedure determination is done.
So while creating sales order the pricing procedure is determined but when invoice is created the pricing doesnt refelect in the invoice.How to over come this problemHi
Please check the in OVKK, weather you have maintained correctly or not.Also check in the Billing document type details what is the Document pricing procedure that has been maintained.
Regards
Srinath -
Unable to Query item number in Sales order form
Hi Gurus,
After selecting customer name in the sales order form, i am trying query the part number but application is hangs.
Can you please let me know is it problem with DBA or technical?
Recently we uploaded (migrated ) part numbers to oracle..
Please advise.
thanks
AKHi AK,
check this link
*PERFORMANCE: ITEM LOV TAKING TOO MUCH TIME ON SALES ORDER FORM IN 12.1.1 [ID 1066964.1]*
Thanks
-Arif.
Maybe you are looking for
-
Opening video (MPEG) files on a Mac
I recently switched from a PC to IMac. Transferred all my video files to my Mac but each time I try to open one I am told it can not be opened as Quicktime does not recognize the file. Any help appreciated
-
Database design (ERD )for Inventory Management System
Dear All, I am going to develop a simple Inventory Management System software using C# .NET for my learning. After searching different forums, many people have suggested to first create a database design for the software. I want a database design, in
-
Column limits for Crystal Reports for Eclipse
Hi , Is there any column limits for Crystal Reports for Eclipse. While i am trying in my environment, if i am include more than 18 columns its wont show the preview as well as it throws error like as follows "java.lang.NullPointerException at sun.mis
-
My mom on has a samsung galaxy and I have an iPod touch 5 but for some reason I can't text her. Why not?
-
App store pops up???
My grandma has the new imac 2013, when working on her imac I notice that the app store randomly pops up. Its frustrating and I would like for it to stop. How can I stop the app store from randomly appearing on the screen? I would say it happens ev