Incorrect update in MD04
Hi All,
I am facing a problem where in i have deleted a delivery but it is still blocking the stock in MD04,it seems there is a OSS note for the same,If so please provide me the Note number if not can anyone help with the solution.
Thanks in anticipation
Regards
Muzaffar
if it doesnt answer my question as i had already mentioned
in my question that delivery is deleted but it is still
appearing in my stock requirement list(MD04).
Please go through my above suggestion once again which is the solution for your issue. You have to assign Reason for Rejection in sale order and run the report cited above.
thanks
G. Lakshmipathi
Similar Messages
-
Open orders should not update in MD04
Hi, SD gurus,
I have the below requirement,
My business scenario is
when total open sales order quantity crosses a particular number(Ex:1000 Pcs) in a month, after that whatever the sales order we create it should not update in MD04.
Our Business process,
1. Creating a sales order
2. Allocation run (here system will execute Credit check, availability check, and listing an Exclusion etc. here we need to enter sales order no, plant, allocation type)
3. Creating a delivery
4. Invoicing the customer
Note:
Usually when we de check MRP type and allocation in Scheduline category system should not update in MD04, but if we de check this as for our business process system should not execute Allocation run
Thanks in Advance
Yuvaraj.Respected Lakshmipathiji,
Thanks for your clarification but i have query here..
""if the users are ready to do this manually once a line item exceeds 1000 pcs a month, well and good""
How users will check material wise?(suppose if sales order contains more than 100 line items and each line item will have its own requirement updates--will they do this material wise?)
Is there any report which give the Status on Requirements for group of materials(MD04 status) in Standard SAP??
Phanikumar -
Special ledger Balance Field incorrectly updated after note 577644
Hi gurus,
We are extracting data from a custom SL datasource we are generated.
Reading documentation, we realized we needed to implement note 577644 for populate balance properly to next periods, and we included the start routine referred in the note.
Now, we are facing a very strange problem, when we upload requests to ODS, a very few documents are getting incorrectly updated. Balance field is getting a "0" when it has value in the period. Checking the modification log of the ODS for this records we see that there are 3 records per period generated for this documents at the same requests. Two of them with the correct values and another one with the "0".
Moreover, if we extract this particular records individually, updated values are OK.
PSA data, etc is OK, it seems it should be a bug of the start-routine proposed in note 577644.
Has anyone encountered with this bad behaviour??
Thanks in advance.Problem resolved..
Need to run transaction GVTR to transfer balances from previous years.. -
Errors while running BPEL and incorrect UPDATE statement
Hi,
I installed following software.
1. Oracle Database 10g Release 2
2. SOA Suite 10g Release 3
3. Oracle JDeveloper (10.1.3.4)
I developed a BPEL process to lock a userid in PeopleSoft.
I have two issues.
a) I am getting error as shown below
b) its generating incorrect UPDATE statement, even though its assigning correct values in XML (UPDATE PSOPRDEFN SET LASTUPDOPRID = ?, OPRID = ? WHERE (ACCTLOCK = ?) i.e instead of setting OPRID in where clause its setting ACCTLOCK in where clause
<messages><input><Invoke_1_update_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PsoprdefnCollection"><PsoprdefnCollection xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/UpdateUserProfile">
<Psoprdefn>
<oprid>snagulapalli</oprid>
<version/>
<oprdefndesc/>
<emplid/>
<emailid/>
<oprclass/>
<rowsecclass/>
<operpswd/>
<encrypted/>
<symbolicid/>
<languageCd/>
<multilang/>
<currencyCd/>
<lastpswdchange/>
<acctlock>1</acctlock>
<prcsprflcls/>
<defaultnavhp/>
<failedlogins/>
<expent/>
<oprtype/>
<useridalias/>
<lastsignondttm/>
<lastupddttm/>
<lastupdoprid>Laptop BPEL</lastupdoprid>
<ptallowswitchuser/>
</Psoprdefn>
</PsoprdefnCollection>
</part></Invoke_1_update_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>17002</code>
</part><part name="summary"><summary>file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_Sandbox_9.0_882edce22e996c64b48ea25cbe023033.tmp/Update_User_Profile.wsdl Update_User_Profile_ptt::update(PsoprdefnCollection) - WSIF JCA Execute of operation 'update' failed due to: DBWriteInteractionSpec Execute Failed Exception.
update failed. Descriptor name: http://UpdateUserProfile.Psoprdefn. Caused by: Io exception: Connection reset by peer: socket write error
; nested exception is:
ORABPEL-11616
DBWriteInteractionSpec Execute Failed Exception.
update failed. Descriptor name: http://UpdateUserProfile.Psoprdefn. Caused by: Io exception: Connection reset by peer: socket write error
Caused by Exception TOPLINK-4002 (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Io exception: Connection reset by peer: socket write errorError Code: 17002
Call:UPDATE PSOPRDEFN SET LASTUPDOPRID = ?, OPRID = ? WHERE (ACCTLOCK = ?)
bind => Laptop BPEL, snagulapalli, 1
Query:UpdateObjectQuery(<Psoprdefn 1 />).
</summary>
</part><part name="detail"><detail>
Internal Exception: java.sql.SQLException: Io exception: Connection reset by peer: socket write errorError Code: 17002
Call:UPDATE PSOPRDEFN SET LASTUPDOPRID = ?, OPRID = ? WHERE (ACCTLOCK = ?)
bind => Laptop BPEL, snagulapalli, 1
Query:UpdateObjectQuery(<Psoprdefn 1 />)</detail>
</part></remoteFault></fault></messages>
Regards,
Shanti Nagulapalli.What version of SOA Suite are you using, SOA Suite 10g Release 3 is not enough information. Make sure that it is the same as your JDev version if it isn't then either downgrade the JDev or upgrade the SOA Suite.
If you are still on SOA 10.1.3.1 then I would upgrade as there are many bugs in this release.
These kind of strange errors are generally caused by incompatibility between design time (JDev) and run time (SOA Suite)
cheers
James -
Ipod incorrect update from itunes
I recently connected my 30GB Ipod Video to my laptop running Windows XP Pro. Once connected itunes said it needed an update once updated it doesn't work now. On the screen of the ipod whilst disconnecte4d it says to connect to itunes and reformat it. Also trying to access it through My computer when its in disk mode or normal mode it says it isn't formatted and asks if i want to e format it. I don't want to format it because there are files on iot that i would like to retrieve, is there anyway of retrieving these files? Also has anyone else had this problem?
One major thing i forgot to mention was that itunes didn't recognise my ipod as a 5th gen and updated it for another ipod, thats why this topic was called incorrect update from itunes.
-
Demand is not getting updated in MD04
Hi Team,
we are facing strange issue for an particular plant.
Issue :-In MD04 forecast is not getting reduced after doing PGI.
For this MTO scenario when we are creating outbound delivery requirement of quantity is getting generated in MD04 but after doing PGI it is not reducing the forecast however overall stock availability is reduced .
Reduction of forecast is necessary otherwise in next MRP run, additional demand would be place on the supplying plant.
Any pointers what could be the reason of forecasting not getting updated.
Regards,
Dharmeshhi,
this is to inform you that,
please check STRATEGY group in MRP views in MMR.
explain your process of how requriment will be passed to MRP.
please confirm.
regards,
balajia -
Stock/Availability updation terminated(MD04)
Hi all,
After posting of GR with MB31, i was refresh the Stock/Availability list. While refreshing it was terminated. And an error message displaye as " Express document update was terminated received from author SAP". But GR documet was posted.
What s the problem with my steps? Kindly explain.Dear Gopinath,
Check for the lock entries in the T code SM12,select the relevant one and delete it.
Check in MB51 for the latest document along with the time and for movement.IF its prsent and if found
ok in MD04 also means leave it as such.
Check and revert back.
Regards
Mangalraj.S -
Sales Order not updated in MD04
Dear Gurus
Sales order is not getting updated in MD 04 for few Materials and those materials are not relevant for MRP.
Kindly help me in this regard
Thnx
MKThis may be due to schedule line category in the sales order ->item level.
In t.code VA03, enter the sales order number. Then highlight line item and click on schedule lines for items button on the bottom. Find the schedule line category derived for the item under schedule line category column.
Then go to t.code VOV6. Select the schedule line that you found in the sales order and click on details button. Under transaction flow, you will find Req/Assembly field, which may NOT be checked in your case. If this field is not checked, then the requirement will not be passed to MRP.
If this is checked and still you dont see the details in MD04, then run report SDRQCR21 in SA38 and check again.
Regards, -
Incorrect Update Count by executing a stored procedure from Java
Hi Guys,
I am calling a stored procedure from the java program which is modifying the rows of a table. Now I want to know how many rows have been modified by executing the stored procedure. I am writing the following code for the purpose:
OracleCallableStatement stmt =
(oracle.jdbc.driver.OracleCallableStatement)con.prepareCall("{callsp_um_setForumID(?,?)}");
stmt.setInt(1,101);
stmt.setInt(2,666);
n = stmt.executeUpdate();
System.out.println(n + " row(s) updated");
This procedure is actually modifying the table(When I query the databse it has modified 1 row). But it is returning a value 0 and is printing "0 row(s) updated".
Is there a way by which I can find out the number of rows updated by executing the stored procedure?
Thanks
Sachin
[email protected]I'm no expert on this, but I have a similar call where I fetch
an Oracle REF CURSOR from a call to a stored function. If you
fetch the cursor as an Object from your CallableStatement, you
can then cast it to a ResultSet e.g.
mystatement.executeUpdate();
ResultSet rs = (ResultSet) mystatement.getObject(1);
Then you should be able to loop through your ResultSet as usual.
Good luck!
Chris -
Followed the SMI fully automated process (Scheduling Agreement). Published an ASN succesfully in SNC but checking MD04 in the R3 system shows no ASN.
The system has been working without a problem with other materials, any ideas what could be wrong? I have checked for an IDOC in both systems (in integration monitor) but nothing is posted/generated (no errors either).
ThanksHi,
Did you check if the XML message is processed successfully in PI / XI system?
Does ASN work correctly for other materials (as you said)?
Regards,
Sandeep -
Incorrect update SIS table for Product Allocation
I have set up product allocation, use a custome table S501.
S501 contains characteristics fields:
KONOB: Product allocation object
VKORG: Sales Org.
VTWEG: Distribution Channel
ZZREGION: Region (custom field)
MATNR: Material code
When I create and save a sales order,
VKORG and VTWEG are updated as "***" and "*" in table S504.
ZZREGION and MATNR are updated correctly.
Could you please kindly advise how sales org. and dist. chan. can be copied to table S504 correctly? Thanks.If the challan has 2 or more line items & one of the line item is fully reconciled thats why it is showing the status F in item detail table & P in header table of challan
-
Hello
Oracle 11.1.0.6.0
We have a financial app developed in house using java and tomcat. Under very high load we have noticed some anomalies.
There are multiple customers and only one vendor. We see something like this
Vendor balance = 0
Customer 1 balance = 5
Customer 2 balance = 5
1) Customer 1 initiates transaction - opens cursor and inserts into customer table
2) Customer 2 initiates transaction. - opens cursor and inserts into customer table
3) Customer 1 updates customer balance (-1) and vendor balance (+1)
4) Customer 2 updates customer balance (-1) and vendor balance (+1)
5) Customer 1 commit
6) Customer 2 commit
Vendor Balance = 1
Customer 1 balance = 4
Customer 2 balance = 4
So Vendor Balance should be 2. Looks like when the update takes place the update statements must both be reading a value of 0. That is the updates are taking place at the SAME time?
The application developer is unhappy about this ;-)
I have suggested use of select for update to serialise the transactions.
This is felt to cause too much of an overhead as they are no longer concurrent. Which is the point....
Any thoughts or ideas ??
Regards
Ali
Code used
create or replace procedure doPaymentTransaction
( paymentResponseId IN VARCHAR2
) AS
cursor getPaymentDetails is
SELECT
req.customer_play_ref customerPlayRef
,req.order_description orderDescription
,req.vendor_id vendorId
,req.vendor_transaction_id vendorTransactionId
,req.price amount
,c.id customerId
,c.balance customerBalance
,v.balance vendorBalance
FROM
payment_response resp
,payment_request req
,customer c
,vendor v
where
resp.id = paymentResponseId
and
req.id = resp.payment_request_id
and
c.play_ref = req.customer_play_ref
and
v.id = req.vendor_id;
rec getPaymentDetails%ROWTYPE;
ctxId VARCHAR2(255);
vtxId VARCHAR2(255);
begin
OPEN getPaymentDetails;
FETCH getPaymentDetails INTO rec;
select hibernate_sequence.nextval INTO ctxId FROM sys.dual;
insert into customer_transaction (
id
, version
, amount
, customer_play_ref
, date_created
, transaction_description
, description
, new_balance
, old_balance
, payment_response_id
, vendor_id
, class
values (
ctxId
, 0
, rec.amount
, rec.customerPlayRef
, sysdate
, rec.orderDescription
, 'debit'
, rec.customerBalance - rec.amount
, rec.customerBalance
, paymentResponseId
, rec.vendorId
,'CustomerDebit');
update customer
set balance= balance - rec.amount
,version = version + 1
where id=rec.customerId;
insert into customer_customer_transaction
customertx_idx
,customer_customertx_id
, customer_transaction_id
values
hibernate_sequence.nextval
, rec.customerId
, ctxId
select hibernate_sequence.nextval INTO vtxId FROM sys.dual;
insert into vendor_transaction
id
, version
, customer_play_ref
, date_created
, description
, new_balance
, old_balance
, payment_response_id
, vendor_id
values (
vtxId
, 0
, rec.customerPlayRef
, sysdate
, 'credit'
, rec.vendorBalance + rec.amount
, rec.vendorBalance
, paymentResponseId
, rec.vendorId
insert into vendor_vendor_transaction
vendortx_idx
,vendor_vendortx_id
, vendor_transaction_id
values
hibernate_sequence.nextval
,rec.vendorId
,vtxId
update vendor set
balance= balance + rec.amount
, version = version + 1
where id=rec.vendorId;Thank you - that is a very useful article. As a DBA i was aware of pessimistic v optimistic locking but was unaware of how to programmatically ensure concurrency with an optimisitic model.
Regards
Ali -
Incorrect Updates Listed in WSUS
Running WSUS 3.2 Version
While planning for Windows Patching , I selected required products/classification and synchronized updates. I did not select Microsoft Sharepoint and Exchange 2010/2013 but ALL Updates showing updates for Exchange as well as Sharepoint.
Now, because of this, While approving all updates in WSUS, all these exchange/sharepoint patches got approved. To correct this, I then reapproved the patches for computer groups and selected Not Approved for all patches and computer groups.
Now, I have set the deadlines again for all computer groups and manually had to decline Exchange/Sharepoint patches.
COuld you please suggest if this is due to WSUS database corruption of something else.
Thanks,
MCSE CertifiedWhile approving all updates in WSUS
Here's my first observation.... Did you really approve **ALL** of the updates?
COuld you please suggest if this is due to WSUS database corruption of something else.
I highly doubt that database corruption has anything at all to do with this situation.
Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
SolarWinds Head Geek
Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
http://www.solarwinds.com/gotmicrosoft
The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds. -
Incorrect Rescheduling in MD04
Hello experts,
I’m having some problems with MRP rescheduling. With this situation:
If I launch MRP,instead of having a 10 message for the purchase order, it generates a new purchase requisition and indicates that I should cancel the PO (Error 20):
I have been changing the consumption mode, but it does not work.
Is possible to have this behavior??
RegardsHello
The purchase order is probably outside the rescheduling check or it is not included on rescheduling on your customizing.
You can check the value defined for the rescheduling horizon and if the PO is included on the rescheduling check on OMDW.
Take a look on the following note where the recheduling check and the customizing is explained in detail:
What is rescheduling and how does it work - ERP Manufacturing (PP) - SCN Wiki
Also take a look on the following document for the frequent issues on MD04:
Frequent issues on MD04
BR
Caetano -
HELP! Need to undo updates for a Goods Receipt - incorrect PO
Hi there,
I'm fairly new to SAP Business One and made a mistake with my last Purchase Order/Goods receipt.
The parcel I had to book in arrived but the invoice had no PO number, so using the Query Manager I found out which Purchase Orders included the product codes. There were a few POs with the same products and I got confused which was which.
When adding the new Goods Receipt I 'copied from' the wrong Purchase Order and saved the updates so now it appears that we have received some of the products from this order, which aren't due for another two months. They are highlighted in grey on the Purchase Order. If I 'copy from' this PO to create the Goods Receipt the lines that I incorrectly updated are no longer visible because according to SAP we have received them so I can't deselect them or make them un-highlighted. Is there anyway to undo the changes so that SAP recognises that we haven't yet received these products?
Any help on rectifying the matter would be much appreciated!HI
If you have taken Backups before that wrong entry,then you can restore it which will put your database with the previous correct entries...
OR
You have to reverse those GRPO's or Invoice by posting Returns and Credit memos which will make correction to your wrong stock...
Maybe you are looking for
-
Error in Activating the Business Content Infocube 0CRM_C08
Hi Experts, when iam trying to activating the business content infocube 0CRM_C08 iam getting few errors Error-1:- Characteristic 0COUNTY_CDE is still being used as target of transfer rule ZCOUNTY_TEXT Error-2:- Char. 0CRM_OBTYP3 is exclusively an att
-
I need help with installation of adobe, photoshop, elementss 12
i'm trying to install this program on Toshiba running window 7. it starts the install and when it's almost complete it backs out. The trouble shoot directs me to a program file that isn't in my computer? And adobe support sucks
-
How to find and separate the Erraneous records in Session Method?
Hi, Currently we are working in SAP-HR.Our programs run using Session method of BDC.We get data from Legacy System through Flat Files which are in text format.First I upload the data for Actions Infotype 0000 and subsequently the other Infotype data
-
hi all, i need some information regarding date types infotype 41. i need to print date types in sequential manner like dar01 dar02 dar03 like upto 12 date types. can you please suggest me how should i print them. thanks, madhavi.
-
Can a calendar within ical be set as a default calendar?
I have several calenders in ical. Whenever I post a new event, ical defaults to the last calendar used. Is there a way to default to a specific calendar all the time? Moving that calendar to the top of the list does not work - ical still defaults to