Problem with Material Confirmation (Availability Check)

Dear All,
There is a problem with the availability check. when i place order system does availability check and confirms the order. Now say for example i have 100qty of material - X and i created order for 50qty, system confirmed and then i went on creating orders for this , say i have created orders for it for 150qty, so system has confirmed 100 and 50 on future date.
Now when i try to do the delievry for the first order(50 qty), system gives me an error that "0" qty is available.
Can you please tell me what may be the reason for this.
Thanks,

You can also check in T-code Co09 of the availability. Best and easy one to read for me has been MD04 Transaction code.
What system does in Sales Order is that it plans the requirement taking into consideration Material availability and if material doesn't exist but sees that in a few days in the future material will be available so system confirms it. Note that physically the material may not even be present. You find out if you really have physical stock in the delivery. For example in the sales order in the future the system sees that a Purchase Order will take place so system confirms it. Even though physically you have not even done a goods receipt for that PO. So any Sales Order which has been created before holds that reservation. So if you make a PO goods receipt in the future all those sales order has taken up this stock even. So the new sales order you created may not even have physical stock present or available as back order  exists.
If you delete Deliveries that have not had PGI done to them this will take the requirement out of the list of Deliveries you can see this in MMBE if you scroll to the right. You can also do reason for rejection for other old orders to take out reservation in MD04.
Good Luck
Ali Lozada

Similar Messages

  • Problem with Materialized Views after an export

    Hi @ everybody,
    At an Oracle 11g R2 (11.2.0.3.0) instance, all actual CPU's/SPU's are installed, on a Red Hat 6 Machine i have a problem with Materialized Views from a schema, which i have exportet from an old database machine on Oracle 10g (10.2.0.1.0) to the new machine.
    I've exportet with the old exp and imported with imp, because i know, that i get some strange errors because of the materialized views when i'm using the new expdp and impdp tools.
    At the old machine the materialized views are so programmed, that they get an update of data at a defined time like this:
    START WITH TRUNC(SYSDATE) + 21/24
          NEXT SYSDATE+1
    ...But after the export this "update function" of the materialized view is not available. So i have deleted that views and recreated them with the START WITH parameters. So now they are running.
    But why do i have this problem?
    Is this "START WITH" somewhere written as a job or so in, for example, DBMS_SCHEDULER or something else? So i had forgotten to export these jobs or where is that defined?
    Is this a bug?
    Thanks for answers and help!
    Best regards,
    David

    I can't remember the error of expdp/impdp. That is some days ago, i have to rebuild this.
    I think in my scenario for the import i don't need the TABLE_EXISTS_ACTION, because by importing at the new server i've just createt the naked tablespace for the data and the users, not more. So he didn't has something to overwrite.
    And i have to tell you: i'm just the dbA. The desining of the tables and materialized views is many years ago by installing the old server. I'm just to young in my company to know about the design of the instance and why it was designed so.
    Anyway: my problem is, that after the import of the schemas to a new server the "START WITH" option in the materialized views is not there anymore and i just want to why so i can think about a solution for that and create it with the database designers of my company.
    EDIT: And here are the SQL Statements for creating the Materialized Views:
    First, at the OLD Server (Oracle 10g 10.2.0.1.0)
      CREATE MATERIALIZED VIEW "DUPONT_CCG2_P"."PR_PRODUCT_ITEMS"
      ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "DUPONT_14523"
      BUILD IMMEDIATE
      USING INDEX
      REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1
      USING DEFAULT LOCAL ROLLBACK SEGMENT
      DISABLE QUERY REWRITE
      AS (SELECT DISTINCT
          PR_CUSTOMER_MASTER_DATA.CLIENT_ID,
          PR_CUSTOMER_MASTER_DATA.ILN_USER,
          PR_ARTICLE.EAN,
          PR_ARTICLE.CODE,
          PR_USED_ARTICLE_TEXT.ARTICLE_TEXT,
          PR_USED_ARTICLE_TEXT.LANG_CODE,
          PR_ARTICLE.SUP_ITEM_NO,
          PR_ARTICLE.OLD_ITEM_NO,
          PR_COMPANY_ITEM_MATCH.ITEM_BY_NO,
          PR_COMPANY_ITEM_MATCH.UOM_UNIT,
          PR_COMPANY_ITEM_MATCH.PRICE_UOM,
          PR_COMPANY_ITEM_MATCH.PRICE,
          PR_COMPANY_ITEM_MATCH.CURRENCY,
          PR_COMPANY_ITEM_MATCH.PRICE_QTY,
          PR_COMPANY_ITEM_MATCH.SALES_UNIT,
          PR_COMPANY_ITEM_MATCH.START_DATE,
          PR_COMPANY_ITEM_MATCH.END_DATE,
          PR_ARTICLE.UPDATED_AT
            FROM PR_ARTICLE, PR_COMPANY_ITEM_MATCH, PR_USED_ARTICLE_TEXT, PR_CUSTOMER_MASTER_DATA, PR_ADDRESS
            WHERE PR_ADDRESS.ORDER_TYPE='REP'
          AND PR_CUSTOMER_MASTER_DATA.ILN_USER=PR_ADDRESS.ILN_USER
          AND PR_COMPANY_ITEM_MATCH.ILN_USER=PR_ADDRESS.ILN_LINK
          AND PR_CUSTOMER_MASTER_DATA.SALES_ORG=PR_COMPANY_ITEM_MATCH.SALES_ORG
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_COMPANY_ITEM_MATCH.CLIENT_ID
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_ADDRESS.CLIENT_ID
          AND PR_ARTICLE.SUP_ITEM_NO=PR_COMPANY_ITEM_MATCH.SUP_ITEM_NO
          AND PR_COMPANY_ITEM_MATCH.SALES_ORG=PR_USED_ARTICLE_TEXT.SALES_ORG
          AND PR_ARTICLE.SUP_ITEM_NO=PR_USED_ARTICLE_TEXT.SUP_ITEM_NO
          AND PR_CUSTOMER_MASTER_DATA.LANG_CODE=PR_USED_ARTICLE_TEXT.LANG_CODE
          AND ( PR_COMPANY_ITEM_MATCH.END_DATE IS NULL OR to_date(PR_COMPANY_ITEM_MATCH.END_DATE,'YYYYMMDD') - sysdate > 0)
          AND ( PR_COMPANY_ITEM_MATCH.START_DATE IS NULL OR sysdate - to_date(PR_COMPANY_ITEM_MATCH.START_DATE,'YYYYMMDD') > 0)
    )And here the at the NEW Server (Oracle 11g R2 11.2.0.3.0)
      CREATE MATERIALIZED VIEW "DUPONT_CCG2_P"."PR_PRODUCT_ITEMS" ("CLIENT_ID", "ILN_USER", "EAN", "CODE", "ARTICLE_TEXT", "LANG_CODE", "LANR", "OLD_LANR", "ITEM_BY_NO", "UOM_UNIT", "PRICE_UOM", "PRICE", "CURRENCY", "PRICE_QTY", "SALES_UNIT", "START_DATE", "END_DATE", "UPDATED_AT")
      ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
    NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "DUPONT_14523"
      BUILD IMMEDIATE
      USING INDEX
      REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1
      USING DEFAULT LOCAL ROLLBACK SEGMENT
      USING ENFORCED CONSTRAINTS DISABLE QUERY REWRITE
      AS (SELECT DISTINCT
          PR_CUSTOMER_MASTER_DATA.CLIENT_ID,
          PR_CUSTOMER_MASTER_DATA.ILN_USER,
          PR_ARTICLE.EAN,
          PR_ARTICLE.CODE,
          PR_USED_ARTICLE_TEXT.ARTICLE_TEXT,
          PR_USED_ARTICLE_TEXT.LANG_CODE,
          PR_ARTICLE.SUP_ITEM_NO,
          PR_ARTICLE.OLD_ITEM_NO,
          PR_COMPANY_ITEM_MATCH.ITEM_BY_NO,
          PR_COMPANY_ITEM_MATCH.UOM_UNIT,
          PR_COMPANY_ITEM_MATCH.PRICE_UOM,
          PR_COMPANY_ITEM_MATCH.PRICE,
          PR_COMPANY_ITEM_MATCH.CURRENCY,
          PR_COMPANY_ITEM_MATCH.PRICE_QTY,
          PR_COMPANY_ITEM_MATCH.SALES_UNIT,
          PR_COMPANY_ITEM_MATCH.START_DATE,
          PR_COMPANY_ITEM_MATCH.END_DATE,
          PR_ARTICLE.UPDATED_AT
            FROM PR_ARTICLE, PR_COMPANY_ITEM_MATCH, PR_USED_ARTICLE_TEXT, PR_CUSTOMER_MASTER_DATA, PR_ADDRESS
            WHERE PR_ADDRESS.ORDER_TYPE='REP'
          AND PR_CUSTOMER_MASTER_DATA.ILN_USER=PR_ADDRESS.ILN_USER
          AND PR_COMPANY_ITEM_MATCH.ILN_USER=PR_ADDRESS.ILN_LINK
          AND PR_CUSTOMER_MASTER_DATA.SALES_ORG=PR_COMPANY_ITEM_MATCH.SALES_ORG
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_COMPANY_ITEM_MATCH.CLIENT_ID
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_ADDRESS.CLIENT_ID
          AND PR_ARTICLE.SUP_ITEM_NO=PR_COMPANY_ITEM_MATCH.SUP_ITEM_NO
          AND PR_COMPANY_ITEM_MATCH.SALES_ORG=PR_USED_ARTICLE_TEXT.SALES_ORG
          AND PR_ARTICLE.SUP_ITEM_NO=PR_USED_ARTICLE_TEXT.SUP_ITEM_NO
          AND PR_CUSTOMER_MASTER_DATA.LANG_CODE=PR_USED_ARTICLE_TEXT.LANG_CODE
          AND ( PR_COMPANY_ITEM_MATCH.END_DATE IS NULL OR to_date(PR_COMPANY_ITEM_MATCH.END_DATE,'YYYYMMDD') - sysdate > 0)
          AND ( PR_COMPANY_ITEM_MATCH.START_DATE IS NULL OR sysdate - to_date(PR_COMPANY_ITEM_MATCH.START_DATE,'YYYYMMDD') > 0)
    )The own differences i can see is at the "header". In the new one is the NOCOMPRESS LOGGING Option and in the first line the code has the columns diretcly defined.
    But, i think, for my problem this line is determining:
      REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1And this line is the same at both server.
    Edited by: David_Pasternak on 12.04.2013 00:06

  • When login, i see a error message saying " there is a eminent problem with hard disk " smart check

    G72-250US Notebook , Win 7 64 Home Premium, 
    Error :
    When  i login  " There is a eminent problem with Hard disk, SMART check faled" ,Prmary hard disk self test failed .
    Please help me with ths problem

    Hi,
    If this message is coming up in a black screen.
    Then the harddrive in the system is about to go bad or already bad.
    If you are able to boot to windows, FIRST BACKUP DATA.
    Also run a startup test by tapping F2 as soon as you power on the system.
    The smart test is a BIOS feature in most of the computer which is designed to keep cust informed if the HDD is about to go bad. But their are instances where the SMART will only let you know that the HDD is bad only when the HDD has bad.
    More Info: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01443317&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US...
    Although I am an HP employee, I am speaking for myself and not for HP.

  • Problems with material availability check

    Hi
    In my process wehn i check the material availability in the production order its getting commited even though its not available.why is it happenening so.

    Hi,
    Go to OPJK, for the order type - plant combination for business functions 1 & 2, check which rule is associated. Now in OPJJ, check which stocks & receipts are being considered for the same. Also check if the need date of the part is after the Replenishment lead time of the material. The Check without RLT check box might be blank in the checking rule & this might be the reason why the system is committing the stock as the need date might be after the RLT.
    Check the above & revert if it does not resolve the issue.
    Regards,
    Vivek

  • Problem with material and document date in sales order

    Hi All,
    I am working in ECC 6.0 .I am facing problem with two fields when in enter in to sales order(tcode:va01)
    1.A material comes automatically in line item.
    2.Document date also comes as 27.03.2008 instead of todays date in each order i create.
    I think its not related to configuration.I think its related to some modifications through exits or enhancement points.could someone suggest me a where to check and solve that.
    Your's suggestion is appreciated.

    Hi Sharad,
    Check MV45AFZZ include in se38..It is a user exit for basic validation on sales...We may be able to find some code there (if screen data is predefined by code as mentioned)
    Hope it helps
    Regards
    Byju

  • Java Webstart application problem with TLS certificate revocation checks (Java 1.7.0_76)

    We have a problem with our Java Web Start Application regarding the TLS certificate revocation check:
    The application is running on a server within a wide area network which is separated from the internet.
    The application users have access to the WAN, and also access to the internet over some corporate proxy/firewall.
    The user has to enter, for example "https://my-site.de/myapp/ma.jnlp" within a webbrowser or could also call  "javaws https://my-site.de/myapp/ma.jnlp" to start the application client.
    The webserver has a certificate from a trusted certificate authority. This certificate seems to be ok, the browser is even configured to perform OCSP status check.
    The application files are signed with a certificate from another trusted certificate authority. This certificate seems also to be ok. Regarding this certificate there
    are no problems with certificate revocation checks.
    The problem is, while starting the application client there is a message box which tell us something like "the connection to this website ist not trustworthy",
    "Website: https://my-site.de:80", and something about an invalid certificate, meaning the webserver certificate.
    Obviously the jvm runtime, which is executed on the users workstation, tries to perform a revocation check for the webservers certificate, but this fails because
    it cannot fetch the certificate under https://my-site.de:80.
    The application will execute without further problems after that message but the users are very concerned about the "invalid" certificate, so here are my questions:
    - Why is the application trying to get the webserver certificate over Port 80. Our application developers told me, there is no corresponding statement. Calling this address
      has to fail while "https://my-site.de:443" or "https://my-site.de" would not have a problem.
    - Is there a way to make the application go on without performing a tls revocation check? I mean, by adjusting the application sourcecode and not by configuring the users Java Control Panel.
      While disabling the TLS Certificate Revocation check in the Java Control Panel, the Webstart Application executes without a warning message, but this is not a workable solution for
      our users.
    It would be great if someone can help me with a hint so i can send our developers into the right direction;-)
    Many thanks!
    This is a part from a java console output after calling "javaws -verbose https://my-site.de/myapp/"
    (sorry for this is in german... and also my english above)
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    security: OCSP Response: GOOD
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    security: UNAUTHORIZED
    security: Failing over to CRLs: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
    network: Cacheeintrag gefunden [URL: http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl, Version: null] prevalidated=false/0
    cache: Adding MemoryCache entry: http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl
    cache: Resource http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl has expired.
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: ResponseCode für http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl: 200
    network: Codierung für http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl: null
    network: Verbindung mit http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl trennen
    CacheEntry[http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl]: updateAvailable=true,lastModified=Tue Mar 24 10:50:01 CET 2015,length=53241
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird
    network: Verbindung von socket://ldap.serverpass.telesec.de:389 mit Proxy=DIRECT wird hergestellt
    security: Revocation Status Unknown
    com.sun.deploy.security.RevocationChecker$StatusUnknownException: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
        at com.sun.deploy.security.RevocationChecker.checkOCSP(Unknown Source)
        at com.sun.deploy.security.RevocationChecker.check(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.doRevocationCheck(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.doRevocationCheck(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.checkRevocationStatus(Unknown Source)
        at com.sun.deploy.security.X509TrustManagerDelegate.checkTrusted(Unknown Source)
        at com.sun.deploy.security.X509Extended7DeployTrustManagerDelegate.checkServerTrusted(Unknown Source)
        at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
        at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
        at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
        at sun.security.ssl.Handshaker.processLoop(Unknown Source)
        at sun.security.ssl.Handshaker.process_record(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
        at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.deploy.model.ResourceProvider.getResource(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main.access$000(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        Suppressed: com.sun.deploy.security.RevocationChecker$StatusUnknownException
            at com.sun.deploy.security.RevocationChecker.checkCRLs(Unknown Source)
            ... 35 more
    Caused by: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        ... 36 more
    security: Ungültiges Zertifikat vom HTTPS-Server
    network: Cacheeintrag nicht gefunden [URL: https://my-site.de:80, Version: null]

    Add the JSF Jars to the WEB-INF/lib directory of the application. If still getting error add to the CLASSPATH variable in the startWebLogic script in the domain/bin directory.

  • Problem with materialized views

    I have a problem with the use of materialized views.
    I make this procedure:
    1: I create a table with the results of a query
    2: Create a materialized view in that prebuilt table
    Problem: When i execute the query after creating the materialized view i receive this error from oracle : ora-00903 table do not exists.
    I get that error in 10% of the materielized views that i create that way, anyone can tell me what is the problem?

    I'm using Oracle 9.2.0.5.0
    query rewrite disabled

  • Problem with MATERIALIZED VIEW (snapshot)

    Hi,
    I've any problem with creating MATERIALIZED VIEW (snapshot)
    My table is ROOMS:
    SQL> DESC ROOMS
    Name Null? Type
    LS_ID VARCHAR2(32)
    BL_ID NOT NULL VARCHAR2(32) PRIMARY KEY1
    FL_ID NOT NULL VARCHAR2(4) PRIMARY KEY2
    RM_ID NOT NULL VARCHAR2(8) PRIMARY KEY3
    SITE_ID VARCHAR2(32)
    SQL> SELECT COUNT(*)
    2 FROM ROOMS;
    COUNT(*)
    203973
    SQL> SELECT COUNT (TOT)
    2 FROM (SELECT COUNT(*) TOT, LS_ID, SITE_ID
    3 FROM ROOMS
    4 GROUP BY LS_ID, SITE_ID);
    COUNT(TOT)
    11673
    I'd like to create one MATERIALIZED VIEW that refresh every 30 seconds when I insert, update or delete on ROOMS table.
    I tried this:
    CREATE MATERIALIZED VIEW ROOMS_SNAP
    BUILD IMMEDIATE
    REFRESH complete
    START WITH to_date(sysdate,'dd/mm/yyyy hh24:mi:ss')
    NEXT sysdate + 30/86400
    disable QUERY REWRITE
    AS
    SELECT LS_ID, SITE_ID
    FROM ROOMS
    GROUP BY LS_ID, SITE_ID
    but when I insert, update or delete one record on ROOMS table, ROOMS_SNAP not refresh.
    What I wrong?
    How Can I write MATERIALIZED VIEW to maintain synchronization
    between ROOMS_SNAP AND LS_ID, SITE_ID by ROOMS?
    Thanks

    Try this way:
    SQL> SHOW PARAMETER JOB
    NAME                                 TYPE        VALUE
    job_queue_processes                  integer     0
    SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=20 SCOPE=MEMORY;
    SQL> create materialized view log on emp tablespace jam_ts
      2  with rowid, primary key;
    Materialized view log created.
    SQL> create materialized view emp_mat
      2  tablespace jam_ts
      3  refresh fast start with sysdate
      4  next sysdate + interval '15' second as
      5  select * from emp where deptno=30;
    Materialized view created.
    SQL> update  emp
      2  set     ename=lower(ename)
      3  where   deptno=30;
    6 rows updated.
    SQL> commit;
    Commit complete.
    ---"After 15 seconds it will be refreshed automatically...."
    SQL> select * from emp_mat;
      EMPNO ENAME      JOB           MGR HIREDATE      SAL    COMM  DEPTNO
       7499 allen      SALESMAN     7698 20-FEB-81    1600     300      30
       7521 ward       SALESMAN     7698 22-FEB-81    1250     500      30
       7654 martin     SALESMAN     7698 28-SEP-81    1250    1400      30
       7698 blake      MANAGER      7839 01-MAY-81    2850              30
       7844 turner     SALESMAN     7698 08-SEP-81    1500       0      30
       7900 james      CLERK        7698 03-DEC-81     950              30
    6 rows selected.Message was edited by:
    Jameel

  • Problem with material master number range

    Hi,
    we have a problem with the material number range when stop the transaction of creation a material master data (MM01) the system has a jump of number range.
    Example  -> while creating a new material master the system gives me a number preview (46) but if I stop the transanction without save the master data the system doesn't give me the number 46 in the next master data but give me the next number 8in this example 47).
    It there a way for not have this jump of number range?
    Thanks!
    Gaetano

    Hi Gaetano,
                        This ia a standard thing..even I have experienced it.
    Regards,
    Chiranjib

  • Peculiar problem with Material price change in previous period

    Hi All,
    We have changed the material price in previous period using MR21. Ideally it should update MBEWH table only but it had updated MBEW table as well. The posting had been done on 4th Sep for the month of August.
    Price carry over check box is not checked in the configuration for this company code.
    Please help me out why it is happening for current period.

    Dear,
    Not to answer and solve your issue, but what I get information wish to inform you as:
    MBWEH shows data only in those periods where there are material movements for this material.
    And there is no automatic copy of all the MBEW data to MBEWH while performing MM period opening.
    There is no program available to populate data in MBEWH, nor is it required.
    You can searh for the last relevant data available in MBEWH if the period you search is not available. Hope this solves your problem.
    Also check out the documentation for field MBEW-VMKUM (ie. data element VMKUM) in SE11 - it contains a decent description with examples.
    Please let us know the solution other than this you get.
    Regards,
    Syed Hussain.

  • Problems With the High Availability

    Hi all,
    First of all, i'm sorry for my "bad" english, but i will to try to explain my problem as clairly as i can.
    I'm using VDI 3.1.1 ,a configuration "High Availability with bundled MySQL" with a primary server and 2 secondary servers.
    i'm trying to test the HA for the core VDI and FailOver for the VirtualBox, The HA works but i think with a timeout (=2minutes) that i want to reduce.
    I found some troubles with the VirtualBox failover.
    Here is more explaination :
    These Tests are done with the VRDP mode.
    The first test after the installation&configuration, the failover works fine after the crash of server A, the desktops migrate and restart in the other server (the server B)
    The second test : i reboot the server A, and i want to test again with shuting down the server B (crash). the desktops migrate to the server A and they are with the state "running" but SRS can't deport the display (it loops on the authentication screen) ... The VM is running and i can access to it with the Remote Desktop Connection.
    When i looked to the logs, i found that the SRS is always looking for the VM on the server who crashed (Server B). I looked to the vda-client command for the user concerned and it shows me that the host is the server who crashed (Server B) with the old port. I opened the MySQL,vda database and i looked the datas on the t_desktop* table, the fields* ip-or-dns* and port *were not updated when the VMs migrates. i update the two fields with an update request with the correct host (of the server A) and the new port where the VM has migrate, and the display comes in 1s.
    So, the VM migrate well, but Datas on MySQL Database were not updated.
    For the WRDP mode, everything works fine, because the SRS uses the IP of the VM to deport the display, not the host and port like in VRDP mode.
    I test this with different configuration :
    * HA with bundled Mysql : primary server and two secondary servers. The two secondary servers contains the VDI core and the VirtualBoxes.
    * HA with bundled Mysql : the 3 vdi Cores are virtualized on a server, and Two Servers with only the VirtualBoxes.
    * One Server with VDI Core, and Two Servers with only the VirtualBoxes to test only the failover of virtualbox.
    All of this tests gave the same results.
    My questions :
    1 - After a crash of a server and after reboot, is there anything to do? (i checked all the vda services "database,webservices ..." and everything is ok after the reboot).
    2 - Is there a bug for the HA with the VRDP mode?
    3 - Is anybody had the same problems? if yes, what is the solution?
    4 - How can i reduce the timeout for the HA of VDI Core? is there any process for that?
    Thank you all for your help , and again sorry for my bad english, i know i have to improve it :)

    I am using VDI version 3.2. Virtualization layer is Virtuabl Box.
    setup is 1 x VDI server, 2 x virtual box host , remote mysql database and shared storage backend i.e NAS
    The Virtualbox session / vm does not fail over, period !
    When i pull the plug on the 1st Virtualbox, all the desktops session on the down server, remains on the server
    and did not failover to the other one.
    Seriously , have any one managed to get the HA working ? anyone ?
    see below for the cli output.
    Started 1 desktop
    root@vdihost-a:~[598]# vda provider-list-hosts virtualbox
    NAME             STATUS  ENABLED         CPU_USAGE      MEMORY_USAGE  DESKTOPS
    vdi1              OK  Enabled       0% (20 MHz)      10% (1.8 GB)         0
    vdi2               OK  Enabled      1% (310 MHz)      16% (2.6 GB)         1
    Started 2nd desktop
    root@vdihost-a:~[599]# vda provider-list-hosts virtualbox
    NAME             STATUS  ENABLED         CPU_USAGE      MEMORY_USAGE  DESKTOPS
    vdi1             OK  Enabled      1% (319 MHz)      17% (2.9 GB)         1
    vdi2               OK  Enabled      1% (327 MHz)      16% (2.6 GB)         1
    AfterpPower cut to vdi2, but second desktop did not failover to vdi2, desktops count still 1, instead of 2
    root@vdihost-a:~[600]# vda provider-list-hosts virtualbox
    NAME              STATUS  ENABLED         CPU_USAGE      MEMORY_USAGE  DESKTOPS
    vdi1               OK  Enabled      0% (140 MHz)      17% (2.9 GB)         1
    vdi2     Unresponsive  Enabled        0% (0 MHz)         0% (0 KB)         1
    I really want to know if anyone has managed to get this working at all.

  • Help - Problem with BAPI confirmation (co11n)

    Hi gurus,
    Please , i need some help with some problems i am having with BAPIs for confirmations.
    I have found this one : BAPI_PRODORDCONF_GET_TT_PROP, to get the propose data, but i i can't figured out how to fill the goodmovements table. I need to do this, because i want to know the proposal of goodmovements, just exactly that sap's does when i enter to the tx CO11N, enter the YIELD quantity and then press "goods movements" button.
    Please, is there some trick or something to make this work? ( i have already put "X" in the import "PROPOSE - GOODMOVEMENTS" , but still is not working).
    If get this, i could put this values in BAPI_PRODORDCONF_CREATE_TT and that's it... i suppose.
    Please help me
    Thanks a lot!

    Hi ,
    Before going into BAPI's , Auto goods movement happens in two ways.
    1. check whether Auto goods receipt is checked in T.code OPKP.
    2. The other way is to assign a Control Key to the operation which has a Auto GR checked.
    Please check these two and then trigger confirmation using your BAPI.
    Hope this helps.
    Best Regards.

  • Auto Material & Capacity Availability check when releasing Production Order

    Dear Experts,
    Is there any configuration in Production Planning that will automatically check material availability and capacity availability automatically when a Production Order is released?
    Meaning to say, users will not need to manually click on the Check Material Availability and Check Capacity Availability button.
    Please advise.
    Thanks in advance.

    Hi,
    I've solved the problem. Just maintain the config in transaction OPJK.
    Thanks

  • Problem with MixingFloatAudioInputStream.java available() method

    I've always been under the impression that the available() method for an AudioInputStream +returns the maximum number of bytes that can be read (or skipped over) from this audio input stream without blocking+.
    Unfortunately, this doesn't seem to be the case for the available() method in the MixingFloatAudioInputStream class (found on jsresources).
          * The minimum of available() of all input stream is calculated and
          * returned.
         public int available() throws IOException {
              int nAvailable = 0;
              Iterator streamIterator = audioInputStreamList.iterator();
              while (streamIterator.hasNext()) {
                   AudioInputStream stream = (AudioInputStream) streamIterator.next();
                   nAvailable = Math.min(nAvailable, stream.available());
              return nAvailable;
         }Is there a reason why this specific method returns the minimum as opposed to the maximum number of bytes? Can I simply just modify the Math.min function to Math.max to revert it back to its normal behavior?

    Once again, great explanation.
    Like you noticed, I thought that the available() method implied total length minus amount processed so far... Because of this, I decided to use it to measure the length of an InputStream, used in an audio fade class (I've started another thread on this topic with more details).
    public FadeFilterInputStream(InputStream inputStream){
            super(inputStream);
            try {
                streamLength = super.available();
            } catch (Exception e) {
                    e.printStackTrace();
                    System.exit(0);
            fadeLengthBegin = (int) ((0.8)*streamLength);
            fadeLengthEnd = (int) ((0.15)*streamLength);
    } Seeing that FadeFilterInputStream extends FilterInputStream, I can only use an InputStream. Unfortunately, unlike the AudioInputStream, it doesn't have a getFrameLength() method to measure the length of the stream. I tried getting creative with the "available()" method instead.
    What got me thinking that the available() method implied total length minus amount processed so far was the following output from my code:
    available():317520000  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317515904  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317511808  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317507712  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317503616  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317499520  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317495424  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317491328  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317487232  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317483136  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317479040  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317474944  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317470848  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317466752  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317462656  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317458560  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317454464  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317450368  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    available():317446272  length_read:4096  streamLength:317520000  fadeLengthBegin:254016000  fadeLengthEnd:47628000
    ...Like you mentioned, seeing that the combined AudioInputStreams were all the same length, it didn't cause me any problems when I modified the method to find the maximum length of the longest stream. From your explanation, this might not be the case if I decide to combine streams of different lengths.
    Using the available() method to measure the total length of the InputStream is probably not the best way to approach this problem. Any ideas?
    +On a side note, according to your example, shouldn't the available() method be returning the same value until the end (in this case 2 seconds worth of bytes)? That doesn't seem to be the case from my output.+

  • Problem with Materialized Views in 10g

    Hi All,
    I am creating a Materialized View like
    CREATE MATERIALIZED VIEW mvname TABLESPACE SYSTEM BUILD IMMEDIATE REFRESH WITH ROWID FOR UPDATE AS ( SELECT a,b,c FROM table_a,table_b,table_c WHERE cond );
    I am getting an error
    SQL Error: ORA-12013: updatable materialized views must be simple enough to do fast refresh.
    Can anyone tell what is the problem?
    I have included rowid of all three tables in select clause.

    Hi,
    From Oracle Docs:
    ORA-12013: updatable materialized views must be simple enough to do fast refresh
    Cause: The updatable materialized view query contained a join, subquery, union, connect by, order by, or group by caluse.
    Action: Make the materialized view simpler. If a join is really needed, make multiple simple materialized views then put a view on top of them.
    Regards
    K.Rajkumar

Maybe you are looking for