Not recalculate value "Release Quantity" in a Quantity Contract
Hi all, did you get a solution for this issue? In a quantity contract, for an item we defined the target quantity = 72 and linked this item to 2 Service Entry Sheets, each one with entered quantity = 36, and then were released. After that, for one of this Service Entry Sheet the release was reset and all items were deleted. However, the value for the field "Release Quantity" in the contract doesnu2019t was recalculated. The value continue being = 72, and should be 36. Therefore, at the time to try to create another Service Entry Sheet appears the error "The entered quantity exceeds the target value in the contract".
Thanks in advanced for you help.
Can you check the result of report RMCONTK1 in test mode?
Also check notes
1237184 ME21N/ME31K/ML81N: Problems when referencing srv.
614965 Inconsistent quantities for contract release orders
Regards
Similar Messages
-
CJI3 report not displaying values correctly in the "Total Quantity" field
Dear Friends,
Need your assistance on the issue explained below,
In our project there is a scenario where the actuals posted on a WBS are split/distributed to various WBS.These actuals that are split can be CATS entries,manual posting (KB21) or postings that come to R3 from a legacy system.The split happens by means of a custom program and is not standard.There is a tab seperated text file that contains the split percentages and the sender as well as the receiver WBS elements.Off late it has been observed that after the split is done the CJI3 report does not show the split quantities correctly and hence there is difference in the values displayed in the currency field.This is not a rounding off difference and is considerable.We have done all possible analysis from our side but i am unable to find how the difference occurs.
To add to this i have even come across certain notes which describe the issue closely but none of it has helped so far. I have simulated the scenario with the same settings in the Quality server and it seems to work fine there without any glitches. We have even compared the program in both the Quality as well as the Production servers and there is no difference in the program as well.The values for the total quantity field are stored in the table COVP and it has been observed the report is fetching this data to display in CJI3.
I have run CJEN too but this too does not correct the report. I was just wondering if any of our colleagues can provide me with some suggestions or insight in this issue.
Regards,
GokulHi Praveen,
Thanks for the response.
Actually i did debug the program with the help of our technical guys but found nothing wrong in both the quality and the production system. We compared the program in both the systems and it seems to be same. I am exploring this issue. Will update the findings here.
In case anyone has any suggestion please do suggest.
Regards,
Gokul -
Quantity contract not relevant for release
Hi all,
I am working on quantity contracts. After creating a contract, I'm trying to create a release order with reference to the contract. When I fill in the contract nr and the release partner Sap gives me the following message: contract 400****** is not relevant for release, authorization check.
Any suggestions?
ThxHi,
In order type VOV8, there is a filed Check partner authorization under Contract.
If it is No check, then no need to give the customer number while you release the contract.
Here you can specify whether the check is to be performed against the partners in the contract. If you do not want the check to be performed, leave the field blank.
Regards
M. Lakshmi Narasimhan -
Pick List Creation Released quantity exceeds open quantity
Hi all,
I'm getting the following error when trying to create pick lists through the SAPB1 DI:
"Released quantity exceeds open quantity "
Every time, the stock quantity in the warehouse that the code concerns is by far enough when compared to the released quantity.
I cannot turn off the warehouse setting recommended on another post on here.
Any ideas?
Thanks
Cal.Hi, sorry for my delayed response!
This is still an issue, I already have a condition to check against the warehouse's current stock, this is being successful but still generates the above error when we get to PLIST.add()
Here's the SQL I'm using to gather my data:
select distinct t3.docnum,t4.listName as'Price List',(select isnull(sum(1),0) from pkl1 S99 where S99.orderentry = T0.docentry
and S99.orderline = T0.linenum) as 'cupid',t0.DocEntry, t3.Confirmed, DATEDIFF(DAY,GETDATE(),t3.DocDueDate)
as 'DateDifference' from rdr1 t0 inner join oitm t2 on t0.ItemCode = t2.ItemCode inner join ORDR t3
on t3.DocEntry = t0.DocEntry inner join OCRD t1 on t3.CardCode = t1.cardcode inner join OPLN t4
on t1.listnum = t4.listNum where T0.[WhsCode] = 'xxx' and T2.[OnHand] > 0 and T0.[OpenQty] > 0 and T2.InvntItem = 'y'
and t3.Confirmed = 'y' and (select isnull(sum(1),0) from pkl1 S99 where S99.orderentry = T0.docentry and S99.orderline = T0.linenum) = 0
and t4.ListName <> 'EconoSupplies Sales' and t4.ListName <> 'EconoSupplies Sales (EUR)'
and DATEDIFF(DAY,GETDATE(),t3.DocDueDate) < case when datepart(WEEKDAY,getdate()) = 6 then 4 else 2 end group by t3.docnum,t0.docEntry,
t3.Confirmed , t0.LineNum, t4.listname, DATEDIFF(DAY,GETDATE(),t3.DocDueDate) order by t0.DocEntry
This returns a list of all the picks that I am interested in. I have changed the warehouse code for privacy.
Next, we loop through each pick and extract the data:
SELECT T1.[DocNum], T1.[DocEntry],T0.[LineNum], T1.[CardCode],T0.[ItemCode], T0.[Dscription], T0.[OpenQty], (SELECT sum(s99
.[OpenQty]) FROM RDR1 s99 WHERE s99.[DocEntry] = T0.[DocEntry] and s99.[ItemCode] = T0.[ItemCode]) as 'TotalQty',T3.
[OnHand] FROM RDR1 T0 INNER JOIN ORDR T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER
JOIN OITW T3 ON T0.ItemCode = T3.ItemCode and T0.WhsCode = T3.WhsCode WHERE T0.[WhsCode] = 'DSV' and T3.[OnHand] > 0 and
T0.[OpenQty] > 0 and T2.InvntItem = 'y' and t0.docEntry = <<<VB VARIABLE HERE>>>
ORDER BY T1.[DocEntry], T0.[LineNum]
These two sql commands are stored in a table and called from the VB code, for soft code re-usability.
The SQL returns the results I am expecting, and I don't think the problem lies here.
Here's the VB code:
Dim PLIST As SAPbobsCOM.PickLists
PLIST = GetDIConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPickLists)
Dim RS, RS1, RS2, RS12 As SAPbobsCOM.Recordset
Dim i, ii As Integer
RS = GetDIConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
RS1 = GetDIConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
RS12 = GetDIConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Dim WhsCode As String = GetCompanyNamedConfigValue("xxxxx", "xx")
Dim SQLText As String
Dim nErr, errMsg As String
Dim DocDate As Date = Now
Dim tempI As Integer = 1
Dim executeBody As Boolean = True
Dim ExecuteHead As Boolean = True
Dim picklistcheck, picklistcheck1 As String
Dim Type As String
'CJB---- AUTO GENERATE PICK LIST-------------------------------------
Dim OCHAPPCFGValue As String = GetAPPCFGEntry("GeneratePicks")
If OCHAPPCFGValue = "Y" The
Dim DocEntry, qty, docnum As Integer 'SO docentry & line qty
Dim ItemCode As String ' Itemcode for SO line
Dim price As Double
Dim LineNum As Integer
Dim OrderRs, ORderRs1 As SAPbobsCOM.Recordset
Dim HashTable As New Hashtable
Dim HashArray(2) As String
OrderRs = GetDIConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
ORderRs1 = GetDIConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Dim sqlstring1 As String = GetAPPCFGEntry("SQLSTRING1SOWMS03")
Echo("Debug, sqlstring1: " & sqlstring1)
OrderRs.DoQuery(sqlstring1) ' just assume the SQL brings back what I need
Dim Attemptcount As Integer = 1
'We now have the docEntries we need, so we loop through each docEntry and extract the lines
Do Until OrderRs.EoF
DocEntry = OrderRs.Fields.Item("DocEntry").Value
EchoBanner("NEW RECORD, attempt count: " & Attemptcount)
Echo("DocEntry: " & DocEntry)
Dim sqlstringPart1, SqlStringPart2 As String
sqlstringPart1 = GetAPPCFGEntry("SQLSTRINGSOWMS03P1")
SqlStringPart2 = GetAPPCFGEntry("SQLSTRINGSOWMS03P2")
Dim sqlstring As String = sqlstringPart1 & " '" & DocEntry & "' " & SqlStringPart2
Echo("Debug: SOFT CODED SQL STRING FROM OCHAPPCFG FOR PICK LIST SELECTION CRITERIA:")
Echo(sqlstring)
ORderRs1.DoQuery(sqlstring)
If ORderRs1.RecordCount = 0 Then
'Error!
EchoBanner("No records found under docEntry: " & DocEntry)
End If
PLIST.PickDate = Today
PLIST.Name = "DSV Interface"
PLIST.OwnerCode = 1
Dim icount As Integer = 0
Dim onHand, TotalQty As Integer
Dim LineAdded As Boolean = False
Do Until ORderRs1.EoF
docnum = ORderRs1.Fields.Item("DocNum").Value
'PLIST.Lines.SetCurrentLine(icount)
ItemCode = ORderRs1.Fields.Item("ItemCode").Value
' price = OrderRs1.Fields.Item("Price").Value
onHand = CInt(ORderRs1.Fields.Item("onHand").Value)
TotalQty = CInt(ORderRs1.Fields.Item("TotalQty").Value)
Echo("DocNum: " & docnum)
Echo("Debug: Onhand: " & onHand)
Echo("Debug: TotalQty: " & TotalQty)
If TotalQty > onHand Then
'WE CANNOT RAISE THIS PICK LIST, MORE REQUESTED THAN IN STOCK!
Echo("Unable to generate Pick List, not enough stock for item: " & ItemCode)
Exit Do
End If
PLIST.Lines.SetCurrentLine(icount)
Echo("Line set to " & icount)
PLIST.Lines.BaseObjectType = SAPbobsCOM.BoObjectTypes.oOrders
PLIST.Lines.OrderEntry = DocEntry
'CJB
LineNum = ORderRs1.Fields.Item("LineNum").Value
PLIST.Lines.OrderRowID = LineNum
'PLIST.Lines.ReleasedQuantity = OrderRs1.RecordCount ' quantity from the line in SO - OpenLineQty
PLIST.Lines.ReleasedQuantity = ORderRs1.Fields.Item("OpenQty").Value
' PLIST.Lines.TaxCode = OrderRs1.Fields.Item("VatGroup").Value
Echo("Record count : " & ORderRs1.RecordCount)
Echo("Icount: " & icount)
Echo("Details...")
Echo("Debug: LineNum: " & LineNum)
Echo("Debug: DocNum: " & docnum)
Echo("Debug: ItemCode: " & ItemCode)
Echo("Debug: Released Quantity: " & PLIST.Lines.ReleasedQuantity)
Echo("Debug: Picked Quantity: " & PLIST.Lines.PickedQuantity)
Echo("Debug: OnHand: " & onHand)
Echo("Debug: PickDate: " & PLIST.PickDate)
PLIST.Lines.Add()
Echo("Pick List line added!")
icount += 1
ORderRs1.MoveNext()
LineAdded = True
Loop
' OrderRs.DoQuery("select t0.absentry, t0.pickentry, t0.orderEntry, t1.DocEntry, t0.PickQtty from pkl1 t0 inner join ordr t1 on t0.OrderEntry = t1.DocEntry where t1.DocEntry = '" & DocEntry & "'"
' If OrderRs.RecordCount = 0 Then
If LineAdded = True Then
Echo("Adding Pick List...")
Dim lretcode As Integer = PLIST.Add()
If lretcode = 0 Then
'success!
EchoBanner("Success")
Dim LastPickEntry As String = GetDIConnection.GetNewObjectKey()
Echo("Enitre Pick List created! See Pick & Pack -> Pick List in SAPB1")
Echo("Pick Entry: " & LastPickEntry)
Else
EchoBanner("ERROR! UNABLE TO GENERATE PICKLIST!! " & GetDIConnection.GetLastErrorDescription)
End If
Else
Echo("NO LINES FOUND TO ADD TO THE PICK LIST!")
' Err.Raise(vbObjectError, "SOWMS03, generate picklist", "Error creating PickList! Error Description: " & GetDIConnection.GetLastErrorDescription & " Error Code: " & GetDIConnection.GetLastErrorCode)
'need a way of logging this error without jumping out of the loop.
End If
OrderRs.MoveNext()
Attemptcount += 1
Loop -
Why budget check does not work with account assigment distrib. by quantity?
Hi Gurus,
I have an issue in the budget check for Purchase Order (PO).
I'm using the FM B31I_ACC_PURCHASE_ORDER_CHECK.
The case is next:
1 Item with 21 account assignment type AS and distribution by quantity:
ASSET_NO QUANTITY
1 1
2 1
3 1
4 1
5 1
6 1
7 1
8 1
9 1
10 1
11 1
12 1
13 1
14 1
15 1
16 1
17 1
18 1
19 1
20 1
21 1
All account assignment are for the same G/L account, fund, functional area...
The price for each item is $2,499.14, then total price is $52,481.94 (2,499.14 * 21).
I debugged the FM B31I_ACC_PURCHASE_ORDER_CHECK and found that in FM BBP_PD_COMMITMENT_FILL_BAPI it's making a rounding with percentage:
The system assume next:
Each item is 4.76% of total (result of divide 100% / 21 = 4.76190476...) but the percentage is rounded to 2 decimals.
Then it makes the conversion by the amount corresponding to each item:
($52,481.94 * 4.76) / 100 = $2,498.1403
Finally the budget is checked by $52,460.95 (2498.1403 * 21).
But available budget is $52,481.90, the check pass, but really there are 4 cents missing (total price is $52,481.94).
Can somebody say to me if this is a standard behavior?
It can be fixed with configuration?
The problem is for multiple account assignment with distribution by quantity and:
(100 / quantity) = not integer (or have more than 2 decimals)
For example: with quantity 20 it works because 100% / 20 = 5.00%, then the budget is check exactly.1503317 - System Behavior for Account Distribution between SRM and R/3 system
When using distribution by Value in a SRM document this value is not correct and a rounding occurs once this document is transferred to ERP system.
Cause
It is not possible transfer documents to the back end system with distribution by value, due to a back end restriction.
Resolution
The following information is the system behavior in R/3 / ERP:
in R/3, there is accounting distribution only by quantity or percentage. So when distribution by value is used, a rounding will always take place.
in R/3, the use of value based distribution in SRM will lead to rounding differences.
Distribution by quantity is allowed in SRM and MM side. However MM do not accept is distribution by value. This is internally converted to distribution percentage based.
Keywords
Distribution by Quantity, Distribution by Percentage, Distribution by Value -
PR Release date in TAB Quantity/Dates
Hi Experts ,
When i am creating a PR then In the TAB>Quantity/Dates the release date is coming same as the delivery date .
As per my opinion it by default should be same as the PR requested date .and when it release by( me54 or me55) .then it will update as the dated on which we are releasing the PR.
Please Suggest
Varun BisariaHi Varun,
The field 'release date' is a bit confusing. It has nothing to do with
the date you perform the release strategy (transaction ME54 or ME55).
The help on the field tells you more about it.
The release date does not mean PR release approval date.
In PR table/EBAN-FRGKZ or ME53 screen you can find the 'release date',
then press F1 -> purchase requisition release date which means for the
material to be available on the date it is needed the PR must be release
on xx.xx.xx (date) (that's requirement date less GR proessing time, GR
proessing time, planned delivery time, and purchasing department
processing time).
In ME53 screen -> item detail -> MRP data block (include release date.)
click 'statistics' icon -> administrative data (include release ind. and
rel. strategy).
In ME5A -> press F1 on 'release date' of initial screen which have same
explain for this field.
There is no actual PR release date field in EBAN, so in PR display,
we can not see "actual PR release date".
BR
Nadia Orlandi -
Would Like to Get Report of Daily Emails In and Out from Members to a DL
Exchange version : 2007
I am the supervisor for the group and want to quantify this information. I do not need to see the content, just quantity
is it possible ?Well, distribution groups don't really have a concept of "in" or "out". They only serve to distribute messages sent to them -- unless you're asking to know who was a member of the distribution group at the time a message was sent to the DL.
Message tracking logs hold the information you want, though. You'd have to look for EXPAND events that reference the distribution group and take the sender's e-mail address from that event. If the DL is a simple one that's not a member of any other groups
you could also look for RECEIVE events sent to the e-mail address of the group and get the sender's name from that event.
You can use Powershell extract the rows of data from the logs, but you'll have to write the code to get the data out of those rows and into a format you want. Perhaps LogParser could be useful in place of Powershell?
--- Rich Matheisen MCSE&I, Exchange MVP -
Error "Part1 will not be done for the excess GR quantity" in STO GRN
Hi,
While posting STO grn the error message is displayed "Part1 will not be done for the excess GR quantity".
We have checked CIN settings for Excise groups, the "GRs per EI" is maintained as "2 Multiple goods receipt, multiple credit".
In J1ID, for materials it is already maintained as "2 Multiple goods receipt, multiple credit".
No partial GR is posted for the delivery.
Still system is throwing the error message "Part1 will not be done for the excess GR quantity".Hi,
Please provide the following for a clear picture.
1. PO qty
2. Quantity invoiced by the supplying plant
3. Quantity you are mentioning in GR
Regards,
Siva -
Can not put decimal quantity in BOM quantity
Hi all,
while go to put decimal quantity in BOM quantity, sytem is not allowing me. It is only allowing me to put only integer number.
with regards,
parthaPartha,
Is it an error or warning message. Like Suhas said it might be due to User settings. Change the format for numbers to decimal (middle one) in User settings.
IF it is a warning message it may be that the UOm does not support decimals as per customizing. Check in CUNI.
Regards
Ram -
Re: Purchasing document 13000040 not subject to release strategy
Dear all
i am create PO some qty it's showing release indicates,but some PO's as 0 qty ,that po's not showing release indicates below error is showing,
Purchasing document 13000040 not subject to release strategyhi..
please check your release strategy characteristics ..whether it is net value or quantity...
bcz..i think u have taken quantity as one of ur characteristics and given cond that..quantity should not greater than zero.
Please chk this setting and let me know..
Thanks -
Purchasing document 13000040 not subject to release strategy
Dear all
iam create Po
30 or 30+ qty it is showing Release code but less-then 30 qty its showing bellow error
how rectify this error
Purchasing document 13000040 not subject to release strategyHI
you are creating two thread for same requirement
check your following thread
[how to set Release indicator ,ofter quantity change PO release cancel;
as qty change your value will get change in PO
as you are changing qty now try following
keep qty less than 30 and change price increase it you will get Po for release,means your release procedure set for value of PO
Regards
Kailas Ugale -
Reporting Issue "Opening Balance values are going to Not Assigned Values"
Hi Friends,
Closing Balance values are perfectly showing but opening balance values are going to Not Assingned Values? I am not able to find it out.
our query is built on PCA Daily Multiprovider.
Pls Help.
Thanks
AsimHi Ravish,
Here are the details
Stock values and quantities in the PCA cube of BW never show correctly at an article level due to an opening balance issue. This reduces our ability to report on stocks at moving average price, i.e. anything that actually matches the financial values in the system. The issue arises because stock at the beginning of the year (quantity and value) for any site is only shown against an article of "Not assigned." Stock movements during the year are shown against the appropriate article.(If you have a new site, the will have stock assigned against an article up until 31 December and then the 31 December values are shown against "not assigned" for the next year).
Thanks
Asim -
Difference between "base quantity" and "operation quantity" in an operation
Hello
what is the difference between "base quantity" and "operation quantity" in a production order ?
thank you for your answersBase Quantity - Quantity of the material to be produced to which the standard values of the operation refer.
Operation Quantity - Quantity planned for this operation.
Base quantity and operation quantity may not always be the same, if we have partial lots delivered during the sequence of operations, the operation quantity will be equal to the lot delivered during the operation.
Base quantity is dependent on the BOM, where it signifies the total quantity of output after using the components of certain quantity.
Hope this may help you. -
Material Confirmed quantity and Open quantity
Hi All,
I am working on a report where the user wants the material confirmed quantity and open quantity at the batch level. I know for open quantity VBBE-OMENG can work. Just need confirmation that this is the correct field. However for confirmed quantity I am not able to narrow it down to one field. I have the following fields as possibilities but not sure which is the right one.
1) VBBE-VMENG
2) VBEP-BMENG (This is the at the sales order level though. We need it at the batch level)
Can you please let me know if i have the right approach here? The report has Material, plant, sloc and batch along with a bunch of other fields.
Regards.
SidHello,
you should extract the quantities from all the deliveries selected for material and batch, and selecting only open deliveries.
Use a selection like this:
SELECT lips~MATNR lips~WERKS
lips~CHARG lips~LFIMG
INTO TABLE lt_lips
from lips as lips
INNER JOIN vbup as vbup
on lips~VBELN = vbup~VBELN AND
lips~POSNR = vbup~POSNR
WHERE lips~MATNR = p_matnr
AND lips~WERKS = P_WERKS
AND lips~CHARG = P_CHARG
AND ( vbup~WBSTA eq 'A' or
vbup~WBSTA eq 'B' ).
Best regards,
Andrea -
Order Quantity and Target Quantity, both as editable in Sales Order
Hi All,
We have a requirement in which order quantity and target quantity, both should be allowed as editable fields in overview screen while creating a sales order or contract. Currently, only one quantity field is editable (order quantity in sales order and target quantity in contract).
First question, is this possible?
Second, If possible, then please tell the configurations need to maintain?
Note: The material is relevant for delivery (so schedule lines allowed).
Thanks & Regards,
VishalHi Lakshmi,
Thanks for the reply. I think I did not clarify the actual requirements. Let me explain it again:
I understand that generally, Target qty is in contract and Order Qty is in sales order. But actually, here query is,
When I create Sales Order (VA01), then while entering Material, user should see both quantity columns (Order Qty and Target Qty) in editable mode.
So is this possible? If yes, then please guide.
Please revert back if any further clarifications is required.
Thanks & Regards,
Vishal
Maybe you are looking for
-
How to find out user info for a forecasted value
Hi Experts, Suppose, a user plans on a planning application and consequently creates some forecast values. How do i find out which user did the planning? Is there any way to know this? Please let me know of this if anybody knows. Regards Swaroop
-
A problem from "import" statement
When I was doing some test on "package" and "import" statement, I had a problem. 1 I compiled one class: package com.sheng.population; public class A { public static int sum (int k, int l) { return (k+l); 2 I tried to call the method '
-
Problem of calling external procedures writen on C and use mysqlclient
i have a problem at use to external library written on С++ and use mysqlclient under Oracle ORA-06521: PL/SQL: Error mapping function ORA-06522: /lib/libabrogation.so: undefined symbol: abrogation ORA-06512: at "WORK.ABROGATION", line 1 ORA-06512: at
-
Hello Everyone, I am sorry if someone asked this question before but I couldn't find it even after spending too much time. Anyways, I am a new iPhone user and have created some picture folders using iTunes. What I understood after reading some articl
-
I am just getting started in Java and I have yet to get a jsp to run. I am running on a Tomcat server on NT. After trying several test applications I encounter the same error. Here is one example: Error: 500 Location: /w2web/W2Login.jsp Internal Serv