Problem with updating pricing date using BAPI_SALESORDER_CHANGE

Hi,
I need to update pricing date on sales order (but only on item level).
I have been trying to use  BAPI_SALESORDER_CHANGE but nothing changes.Bapi returns no errors, ends with success.
I hoped that bapi would change not only pricing date but also recalculate things the date affected.
Here is my code:
ls_head_inx-updateflag = 'U'.
ls_bapisdls-pricing = 'C'.
ls_item-itm_number = sales_order_posnr
ls_item-price_date = new_price_date
APPEND ls_item TO lt_item.
ls_item_inx-itm_number = sales_order_posnr
ls_item_inx-updateflag = 'U'.
ls_item_inx-price_date = 'X'.
APPEND ls_item_inx TO lt_item_inx.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            salesdocument     = sales_order
            order_header_inx = ls_head_inx
            logic_switch         = ls_bapisdls
          TABLES
            return                 = lt_return
            order_item_in     = lt_item
            order_item_inx   = lt_item_inx
Thanks & Regards,
Mario

Mario,
I run same code as yours and work for me fine, able to update ITEM pricing date.
I suppose you are using BAPI_TRANSACTION_COMMIT after your BAPI call, then only it will work.
Also note that VBKD table stores this date for header and item. In my system, there are generally only header rows in that table, but a new item row gets generated when I change the item date with the BAPI to some other date. Also, this BAPI sometimes issues a W message instead of ERROR for something like non-existing items, so carefully check your RETURN table too.
'Item 000002 does not exist' as WARNING message, so might be considering it as a success.
If nothing works, try to do the same thing for the same data using VA02 and check . If that works, BAPI will work surely.
Regards,
Diwakar

Similar Messages

  • Problem with playing audio data using Real Player

    i've seen the intruction for playing video data (.rm) using real player and it works. Then i tried to play audio data (.wav, .dat, .mp3) with real player, but it didn't work.
    These are some codes i've wrote:
    ------------------------------------------- BEGIN PL/SQL CODES---------------------------------------
    CREATE TABLE SONGS
    ( Item_ID number not null PRIMARY KEY,     
    Audio ordsys.ordaudio
    create or replace procedure load_audio(id integer, filename in varchar2) as
    obj ORDSYS.ORDAudio;
    ctx RAW(4000) := NULL;
    begin
    INSERT INTO SONGS VALUES(ID,
         ORDSYS.ORDAudio.init());
    SELECT audio into obj from Songs
    where item_id = id FOR UPDATE;
    obj.setSource('FILE','AUDIODIR', filename);     
    Obj.setDescription('A movie trailer');
    Obj.setMimeType('audio/x-pn-realaudio');
    Obj.setFormat('Real Media File Format');
    obj.import(ctx);
    UPDATE Songs
         SET audio=obj WHERE item_id=id;
    COMMIT;
    END;
    show errors;
    truncate table songs;
    exec load_audio(1,'aud1.wav');
    exec load_audio(2,'aud2.mp3');
    exec load_audio(3,'testaud.dat');
    -- just for comparison, i put a video file (.rm)
    exec load_audio(4,'autorace.rm');
    commit;
    show errors;
    create or replace procedure get_audio(
         audio_id in varchar2,
         mimetype out varchar2,
         data out blob) as
         tempBLOB BLOB;
         s varchar2(200);
    begin
    -- Deliver audio and mimetype
    select t.audio.getcontent(), t.audio.getmimetype()
    into tempBLOB, s
    from songs t where t.item_id = audio_id;
    data := tempBLOB;
    mimetype := s;
    end;
    show errors;
    ---------------------------------------- END of PL/SQL CODES-------------------------------------
    -----------------------------------MOUNTPOINT at FILESYSTEM rmsever.cfg-------------------
    <List Name="pn-oracle-audio">
    <Var Database="oracle"/>
    <Var HeaderCacheSize="2048"/>
    <Var LobFetchSize="32768"/>
    <Var MaxCachedConnections="1"/>
    <Var MountPoint="/dbaudio/"/>
    <Var Password="ZGF2aWQ="/>
    <Var ShortName="pn-oracle"/>
    <Var SQL="get_audio"/>
    <Var Username="skripsi"/>
    </List>
    ----------------------------------------End Of MOUNTPOINT----------------------------------
    then in the real player, i tried some urls :
    http://david:88/ramgen/dbaudio/1 --> it didn't work, it was said invalid path
    http://david:88/ramgen/dbaudio/2 ----> it didn't work, it was said invalid path
    http://david:88/ramgen/dbaudio/3 ----> it didn't work, it was said invalid path
    http://david:88/ramgen/dbaudio/4 ----> it worked
    did i put a wrong url?
    does the http://..../ramgen/... path is just for ram file?
    can anyone show me the way to play audio data using real player?
    Thanx before.

    Yes, realserver expects an exact mimetype.
    to make matters worse, it expects audio/x-pn-realaudio (an audio mimetype) for video!?!?!
    Seems the code inside maps multiple file extensions to some mime type. Only one is allowed.
    I have used the unix strings commands in teh plugins directory to find the exact mime type realserver is expecting. The file format plugins have this information in them.
    Larry

  • Problem while updating Item category using Bapi_salesorder_change

    Hi,
    Iam facing a probelm while updating item category using bapi Bapi_salesorder_change
    In the Return table iam getting the folowing mesages.
    Inforation mesage : Field 'PSTYV' cannot be changed, VBAPKOM 000010  ready for input
    Error Message : Item 000010 cannot be processed.
    Please find the code below
    CLEAR wa_bapisdh1x.
      wa_bapisdh1x-updateflag = 'U'.
      CLEAR wa_order_item_inx.
      wa_order_item_inx-itm_number = wa_vbap-posnr.
      wa_order_item_inx-item_categ = 'X'.
      wa_order_item_inx-UPDATEFLAG = 'U'.
      APPEND  wa_order_item_inx TO it_order_item_inx.
      CLEAR wa_order_item_inx.
      CLEAR wa_order_item_in.
      wa_order_item_in-itm_number = wa_vbap-posnr.
      wa_order_item_in-item_categ = 'ABC'.
      APPEND wa_order_item_in TO it_order_item_in.
      CLEAR wa_order_item_in.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = w_vbeln
          order_header_inx = wa_bapisdh1x
        TABLES
          return           = it_return
          order_item_in    = it_order_item_in
          order_item_inx   = it_order_item_inx
    How can i correct it..
    Regards
    Kumar

    Actually iam facing a strange problem here.
    When i copy the program into another sample program and execute it iam able to change both the item catgegory and delivery block for particular sales order and item number.
    But in my main program i have BDC for MB1B transaction to create the material document.
    Once the material document is created succesfully iam using BAPI Sales_order_change to change the item category and delivery block..
    In my main program iam not to change the item catgeory getting an error field PSTYV cannot be changed.
    But the same code is running percfectly in the copied one..
    How can i correct that..
    Regards
    Kumar

  • When trying to install ios5 on my iphone, I get error message that there is a problem with backup, if I continue with update all data on my phone will deleted. I cancelled the update and phone is fine. Anyone know the cause?

    When trying to install io5 on my iphone4 I get an error message during the updtae that there is a problem with backup and if I continue with the update, all the data will be deleted from my phone. I cancelled the update and my phone is fne. Has anyone else experience this? What is the cause/solution?
    Yhanks!

    DON'T DO IT! Read the threads ... there is a MAJOR problem with updating iPhones 3GS/4 to iOS 5.
    Take it to the Apple store and ask them to do it.
    I repeat: DON'T DO IT YOURSELF.
    (Voice of experience.)

  • HT201210 nowadays have many user have problem with update to ios7 and need active with apple id maybe in the future in order escape from these problems must be stop use these products else. Because of simple user don't know about this technology and somet

    nowadays have many user have problem with update to ios7 and need active with apple id maybe in the future in order escape from these problems must be stop use these products else. Because of simple user don't know about this technology and sometime just hear from other user that it 's difficult to use then force they change phone that use to handle to another.

    It is a feature to discourage the theft of iPhones by making them useless if resold. It's not going anywhere. It's simple: just don't buy a phone until you make sure that the activation lock has been disabled.

  • Problem to update UDO-recordsets using a matrix with DBDataSource

    Hello,
    I've got a problem with updating recordsets in an UDO-Table using DBDataSource.SetValue().
    Special szenario: I use a matrix bounded with DBDataSources. Adding new records and loading them via DBDataSource.Query() with conditions works fine. The UDO object type is "Document" without lines.
    In the simple way now I load just one record and after this I was trying to set an "message" to an simple, editable edittext-column via calling:
    oDBDataSource.SetValue("U_Message", 0, "Hello world");
    oMatrix.LoadFromDataSource();
    Now it's visible in the matrix.
    But when I call update via clicking the update-button, B1 do say, everything was ok (green status-message). Reloading this recordset you can see: it was not stored in the database
    Even not after:
    oMatrix.FlushToDataSource();
    As a workaround I do write the "message" via using Cell.Specific.
    Can anybody help me?
    I'am using SBO 2005 A SP 01 PL 39
    Edited by: Christian Bührig on Mar 18, 2008 4:48 PM

    look at
    New Row in Matrix is a Duplicate and Cannot update Object with new Row
    the next way is do it with recordset and directly insert to table.
    hope it helps
    Petr

  • Problem while updating Delivery date uisng BAPI_PO_CHANGE

    Hi friends,
    Iam facing a problem while updating delivery date of a purchase order using the bapi BAPI_PO_CHANGE
    After the bapi is getting triggered iam geting sy-subrc = 0
    But in the return parameters iam getting 3 error messages so iam unable to update the  delivery date..
    Error meesage which iam getting are
    a) Purchase order still contains faulty items
    b) Enter Tax Code
    c) Instance 1000001 of object type PurchaseOrder could not be changed.
    How can i correct it..
    Please find my code below
    LOOP AT it_eket INTO wa_eket.
        wa_poschedule-po_item = wa_eket-ebelp.
        wa_poschedule-sched_line = wa_eket-etenr.
        wa_poschedule-delivery_date = wa_eket-eindt.
        APPEND wa_poschedule TO poschedule.
        wa_poschedulex-po_item = wa_eket-ebelp.
        wa_poschedulex-sched_line = wa_eket-etenr.
        wa_poschedulex-po_itemX = 'X'.
        wa_poschedulex-sched_lineX = 'X'.
        wa_poschedulex-delivery_date = 'X'.
        APPEND wa_poschedulex TO poschedulex.
    READ TABLE IT_EKPO INTO WA_EKPO WITH KEY EBELN  = WA_EKET-EBELN
                                             EBELP = WA_EKET-EBELP.
          IF SY-SUBRC = 0.
          WA_POITEM-PO_ITEM = WA_EKPO-EBELP.
          APPEND WA_POITEM TO POITEM.
          WA_POITEMX-PO_ITEM = WA_EKPO-EBELP.
          WA_POITEMX-PO_ITEMX = 'X'.
          APPEND WA_POITEMX TO POITEMX.
         ENDIF.
        CALL FUNCTION 'BAPI_PO_CHANGE'
          EXPORTING
            purchaseorder = wa_eket-ebeln
          TABLES
            return        = t_bapiret2
            POITEM        = POITEM
            POITEMX       = POITEMX
            poschedule    = poschedule
            poschedulex   = poschedulex.
        READ TABLE t_bapiret2 INTO wa_bapiret2 WITH KEY type = 'E'.
        IF sy-subrc NE 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    * EXPORTING
    *   WAIT          =
    * IMPORTING
    *   RETURN        =.
          IF sy-subrc = 0.
            WRITE :  'DELIVERY DATE UPDATED'.
          ENDIF.
        ENDIF.
    how can i correct it...
    Regards
    Kumar

    Hi,
    Pass the following values...
    POACCOUNT LIKE BAPIMEPOACCOUNT...
    poaccount-TAX_CODE = ? (value)....
    That should take care of the missing field.
    Regards,
    Madan..

  • How can I debug a problem with the 3g data connection on my iPhone 4s?

    This question didn't get any answers in the "Using iPhone" forum. Thought I would re-ask here. Note, I had to reset the network again today 2 days after the last reset:
    I've been having intermittent problems with my 3g data connection on my iPhone 4s on ATT. Whenever this happens I see full bars etc, but can't browse from safari or get any data in other apps. My wife's iPhone 4 right next to me has no issues at all. Switching on/off airplane mode and turning off/on Cellular Data does not help. The only thing that helps is resetting the Network Settings or hard restarting the phone.
    I figured my problems were hardware related so I took my phone in for a replacement the other day. Things started out fine but after I upgraded it to 5.01 and restored my backup and now I am back to having the same issue today. I assume the issue is with something coming from my backup / restore but is there any way for me to pinpoint what could be causing the issue. I have a lot of apps, I'd rather not have to reinstall and set them all backup manually, but I would if I knew that would fix the problem... but for all I know one of the apps could be causing it.
    Anyone have any logs I can check or testing I can do on my end?
    Thanks!

    Unfortunately, Apple does not make any logs available to the average schmoe (like us) for networking, kernel dumps, or anything else (assuming, of course, it is not jailbroken).
    Your best bet is to take it back into the store. Ask them to look at the notes in GCRM regarding the last time this occured, then explain after upgrading to 5.01 it is occuring again. Then ask them for a phone swap since it is a reoccuring issue and doesn't sound like an OS/SW issue. Good luck!

  • Problems with a VBA Userform using Multipage (2) and DTPicker.

     
    Hi
    Problems with a VBA Userform using Multipage (2) and DTPicker (4)
    On Page1 I've got 2 DTPicker, one for the date and the second for the time.
    Same thing on Page 2.
    Problem:
    Only one set will work, if I close the Userform with" MultiPage"on page2, only that set will work.
    Same thing if I close on Page 1 then just the set on Page 1 will work.
    As anyone seen this problem and any work around you may think would help.
    I'm using Windows 7 , Ms Office Pro. 2003
    same problem on Windows Vista , XL2003
    Cimjet

    There are a number of issues relating to the way that date pickers are handled, but the most important is that their output is text. In order to get the values into Excel, you need to format the Excel columns as Date and Custom (time format) and convert
    the output to the worksheet from text to date values.
    Date pickers also display a few anomalies on multi-page forms, so you need a belt and braces approach. Personally I would put the code to call the form and enter the values in a standard module (as now in the example) and use a belt and braces approach to
    maintaining the format.
    I think you will find the example now works.
    Revised Example
    Graham Mayor - Word MVP
    www.gmayor.com

  • Problem with displaying chart data

    Hello everybody,
    I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
    with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
    to show the result. The second column of the grid is for february and the third for march.
    Could anybody help me with this problem. Thanks in advance.
    Thomas

    Hi Chris,
    thanks for your reply. Here you get the source code:
    The following method creates the LineChart:
            public function init():void
                model.upperChart = this;
                model.upperChartStyle.setChartViewStyle(this);
                this.hAxis = new MyDateTimeAxis();
                model.upperChartData.configureHAxis(this.hAxis);
                this.vAxis = new LinearAxis();
                model.upperChartData.configureVAxis(this.vAxis);           
                this.vAxisTitle = new Label();
                this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
                model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
                this.vAxisTitle.x = 10
                this.vAxisTitle.y = 0;
                this.addChild(this.vAxisTitle);
                this.myChart = new CartesianChart();
                //remove default datatip
                this.myChart.showDataTips = false;
                this.myChart.x = 10;
                this.myChart.y = 0;
                this.myChart.width = 768; 
                this.myChart.height = 196;
                model.upperChartStyle.setChartStyle(this.myChart);
                this.addChild(this.myChart);
                //Remove line shadow
                this.myChart.seriesFilters = null;
                this.myChart.horizontalAxis = this.hAxis;
                this.myChart.verticalAxis = this.vAxis;
                this.hAxisRenderer = new AxisRenderer();
                model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
                this.hAxisRenderer.axis = this.hAxis;        
                model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
                this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
                this.vAxisRenderer = new AxisRenderer();
                model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
                this.vAxisRenderer.axis = this.vAxis;
                model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
                this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
                model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
                this.addChild(this.vAxisMinLabel);   
                model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);           
                this.myChart.dataProvider = model.upperChartData.dataProvider;
                this.myChart.series = model.upperChartData.series;
    The data for dataprovider and series you can see in attached file dataprovider.xml.
    xfield is equivalent to timestamp
    yfield is equivalent to absolute
    I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
            public function configureHAxis(axis:MyDateTimeAxis):void
                axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
                axis.dataUnits = "days";
                axis.dataInterval = 1;
                axis.title = "";
                axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
                axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
    And finally you get the function, that I'm using for string to date conversion:
            public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
                var result:Date = new Date();
                var year:Number = Number(input.substring(0,4));
                var month:Number = Number(input.substring(5,7));
                var date:Number = Number(input.substring(8,10));
                var hours:Number = Number(input.substring(11,13));
                var minutes:Number = Number(input.substring(14,16));
                var seconds:Number = Number(input.substring(17,19));           
                result.setUTCFullYear(year);
                result.setUTCMonth(month-1);
                result.setUTCDate(date);
                result.setUTCHours(hours);
                result.setUTCMinutes(minutes);
                result.setUTCSeconds(seconds);
                return result;           
    I hope that will help to locate the reason for the wrong chart visualization.
    Thanks for any help.

  • Problem with update MUSE CC 2014.2 (october 6). after upgrading to the new version of Muse crashes very often (out without notice).

    Problem with update MUSE CC 2014.2 (october 6). after upgrading to the new version of Muse crashes very often (out without notice).

    HELP! i can't get ANYTHING done in the new muse - keeps closing.  once it crashes - i can't get the file back open!
    i've lost all my work!
    from my desktop - when it stared happening was with the updated version:
    Logging in build 2014.2.1.10 started at: Mon Nov 03 13:36:38 2014
    ========================================
    [00:00:42.416] Opening file '\\D-LAPTOP\_websites\dsbees muse\dsbees.muse' with status:success size:9797632 mod Date:Tue Sep 23 15:51:42 GMT-0500 2014 highestUID: 3548
    [00:01:03.898] Preparing to Save As over "\\D-LAPTOP\_websites\dsbeesTWO\dsbeesTWO.muse" exists: true
    [00:01:17.516] SaveAs complete for file '\\D-LAPTOP\_websites\dsbeesTWO\dsbeesTWO.muse' file size:9830400 mod Date:Mon Nov 3 13:37:51 GMT-0600 2014 highest UID:3551
    Build 232: Mon Nov 3 19:41:03 2014 UTC: Error: CSI: OOBE: Serial Number: Error Code: O-10 Error Message: Unable to retrieve the serial number (Note: this may not be an error)
    Build 232: Mon Nov 3 19:41:03 2014 UTC: Error: CSI: OOBE: Serial Number: Error Code: O-10 Error Message: Unable to retrieve the serial number (Note: this may not be an error)
    Build 232: Mon Nov 3 19:41:07 2014 UTC: Error: CSI: OOBE: Serial Number: Error Code: O-10 Error Message: Unable to retrieve the serial number (Note: this may not be an error)
    Build 232: Mon Nov 3 19:41:21 2014 UTC: Error: CSI: IMS: Connect: Error Code: I-200 Error Message: No Account
    Build 232: Mon Nov 3 19:41:21 2014 UTC: Unknown IMS error 'SHARED_NOACCT_ERROR' has occurred when retrieving IMS token.
    Build 232: Mon Nov 3 19:41:57 2014 UTC: Opening file '\\D-LAPTOP\_websites\dsbees muse\dsbees.muse' with status:This Adobe Muse site file requires a newer version of Adobe Muse. Please update to the latest version. size:9797632 mod Date:Tue Sep 23 15:51:42 GMT-0500 2014
    Build 232: Mon Nov 3 19:41:57 2014 UTC: This Adobe Muse site file requires a newer version of Adobe Muse. Please update to the latest version.
    Logging in build 2014.2.1.10 started at: Mon Nov 03 13:43:17 2014
    ========================================
    [00:00:21.481] Opening file '\\D-LAPTOP\_websites\dsbeesTWO\dsbeesTWO.muse' with status:success size:9830400 mod Date:Mon Nov 3 13:37:51 GMT-0600 2014 highestUID: 3551
    [00:00:30.373] AssertInDebug: Unable to run recovery. User file remains locked after 5 second pause.-assertInDebugOnly+DataBase/recover+MuseSite$/recover+MethodInfo-2886+DataBase$/run Recovery+apply+UIComponent/callLaterDispatcher2+UIComponent/callLaterDispatcher+end stack
    [00:00:30.404] Failed to recover file:\\D-LAPTOP\_websites\dsbeesTWO\dsbeesTWO.muse
    [00:00:30.420] Calling openConnection for file that doesn't exist? C:\Users\Owner\AppData\Roaming\com.adobe.AdobeMuseCC.2014.2\Local Store\Recovery\JXRoDn335LE0UosOdoStnQ Parent folder exists.
    [00:00:34.429] open of SQL connection failed for C:\Users\Owner\AppData\Roaming\com.adobe.AdobeMuseCC.2014.2\Local Store\Recovery\JXRoDn335LE0UosOdoStnQ
    [00:00:34.429] Failed to open mini-save connection B "C:\Users\Owner\AppData\Roaming\com.adobe.AdobeMuseCC.2014.2\Local Store\Recovery\JXRoDn335LE0UosOdoStnQ" Doesn't exist. Folder exists. error:SQLError: 'Error #3125: Unable to open the database file.', details:'Connection closed.', operation:'open', detailID:'1001'
    [00:00:34.429] EXCEPTION:[SQLC/internalOpen] SQLError: 'Error #3125: Unable to open the database file.', details:'Connection closed.', operation:'open', detailID:'1001'-SQLConnection/internalOpen+SQLConnection/open+DataBaseConnectionWrapper/o penConnection+MethodInfo-28954+EventDispatcher/dispatchEventFunction+EventDispatcher/dispa tchEvent+MethodInfo-28938+end stack
    [00:00:34.445] AlertAndExit because of: [SQLC/internalOpen] SQLError: 'Error #3125: Unable to open the database file.', details:'Connection closed.', operation:'open', detailID:'1001'

  • Y510p and problem with Update Nvidia Driver

    Hi everyonei have problem with updating my y510p lenovo laptop nvidia driver ,my current nvidia driver version is 327.62 which i download from lenovo website,Now for better performance in new games like gta v and witcher3 ,i decide to updating nvidia driver,first remove my nvidia graphic driver from add or remove then download nvidia ver 350 from nvidia official web site , which nvidia website confirm it support my graphic card which is Gt755m , then i install new ver and during install i check clean install , after successful install , restart laptop , then there was problem . when i try to open nvidia control panel it wont running and an error showed up and said "You are not currently using a display attached to an NVIDIA GPU" .i try to open a game , game running in really low fps and i find out game run on hd graphic of my laptop and my nvidia graphic wont run .The only way to repair was i install my last nvidia driver 327.62 and run a system restore .guys what is your suggestion and how i can update my y510p nvidia driver ?Thanks   

    Hi Y510Man,
         The video graphics installation order is important. You need to install the Intel Graphics first, and then do the Nvidia. IIRC you should un-install the Nvidia driver, then re-install (or upgrade) the Intel HD Graphics driver. Reboot, and install the new Nvidia driver.
         I don't know why, but every time I upgraded my Y470 Nvidia driver, I had to use this procedure. First install, or re-install, the Intel driver, then install the Nvidia. You can't just upgrade the Nvidia driver without a re-install of the Intel. I think it has to do with the Optimus setting, and the automatic switching.
        Let us know how it goes.
    Cheers
    DragonRider

  • I had problem with update

    hi experts,
    i am playing with parameterizsed cursor, so i did the following thing.
    it's working. if give empid it retrives the emmployee is belongs which department.
    CREATE OR REPLACE FUNCTION FUNC_SOMETHING_EMPLOYEE(EMPID VARCHAR2)
    RETURN VARCHAR2 IS
    RES VARCHAR2(200);
    CURSOR C1 IS SELECT * FROM EMPLOYEES WHERE EMPLOYEE_ID=EMPID;
    CURSOR C2(DID NUMBER) IS SELECT * FROM DEPARTMENTS WHERE DEPARTMENT_ID = DID;
    BEGIN
    FOR CR1 IN C1
    LOOP
    FOR CR2 IN C2(CR1.DEPARTMENT_ID)
    LOOP
    RES := 'EMPLOYEE ID : ' ||CR1.EMPLOYEE_ID|| 'DEPARTMENT NAME : '||cr2.DEPARTMENT_NAME;
    END LOOP;
    END LOOP;
    RETURN RES;
    END;
    /but i want update the sal of particular employee:
    but some error throws.
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE FUNCTION FUNC_SOMETHING_EMPLOYEE(EMPID VARCHAR2 , amt number)
      2  RETURN VARCHAR2 IS
      3  RES VARCHAR2(200);
      4  CURSOR C1 IS SELECT * FROM EMPLOYEES WHERE EMPLOYEE_ID=EMPID;
      5  CURSOR C2(DID NUMBER) IS SELECT * FROM DEPARTMENTS WHERE DEPARTMENT_ID = DID;
      6  BEGIN
      7  FOR CR1 IN C1
      8  LOOP
      9  FOR CR2 IN C2(CR1.DEPARTMENT_ID)
    10  LOOP
    11  update EMPLOYEES set salary = cr1.salary*amt where EMPLOYEE_ID = cr1.EMPLOYEE_ID ;
    12  RES := cr1.salary;
    13  END LOOP;
    14  END LOOP;
    15  RETURN RES;
    16* END;
    SQL> /
    Function created.
    SQL> select FUNC_SOMETHING_EMPLOYEE('1981',22) from dual;
    select FUNC_SOMETHING_EMPLOYEE('1981',22) from dual
    ERROR at line 1:
    ORA-14551: cannot perform a DML operation inside a query
    ORA-06512: at "HR.FUNC_SOMETHING_EMPLOYEE", line 11can any one explain what is happening.?
    oracle db10g
    sorry peoples while pasting matching condition left out,.

    I think I see your confusion.
    There are two different languages involved here, SQL and PL/SQL.
    The SQL language is a non-procedural language whose role is to define data structures (DDL) and manipulate data (DML). The language also contains transaction control statements ( commit, rollback, savepoint) and some other constructions that aren't able to be categorised so neatly, but which can be ignored for now.
    The PL/SQL language is a complete procedural language (that's the PL bit of the name) which is based on the ADA language, and supports the SQL language within it.
    You can write PL/SQL packages, procedures and functions which contain no SQL at all if you wish.
    The power of PL/SQL though is the way that it integrates SQL within it.
    In your example you have written a PL/SQL function which updates some data using a SQL statement. You can call that function from other PL/SQL procedures and functions - you showed an example calling it from a PL/SQL anonymous block, and it ran just fine.
    You can also use a PL/SQL function (but not a procedure) within a SQL statement, but there are restrictions on what the function is allowed to do in this context. In particular, as you've found out, no updates! These are just "the rules" and they are documented in detail.
    Don't be offended when people write "thats a doc question" and give a reference, because that document contains the facts stated better and more completely than could be written here. It's much better to read the documentation that some explanation written here that is only partially correct (I have written some of those myself).
    There are other questions where the answers are not so clear cut, and that is where you may see different responses. They will reflect the writers background and experience ... neither right nor wrong, just different approaches to situations.
    So read a lot, try things out, and then ask lots of questions about things that you are unsure about.
    Dave

  • FMs to updated pricing data in APO

    Hi,
           Can someone please let me know if there are any FMs related to Price updation in APO.
    Thanks in Advance.

    APO normally is not concerned with Pricing but only Planning.
    As a result I have not come across any requirement about updating pricing data in APO.
    Moreover pricing in R/3 is typically maintained in Material Master and Inforecords / Contracts etc.
    The corresponding master data (Product Master and External Procurement Relationship) does not have any fields relevant to Pricing.
    Somnath

  • When I try and restore from iCloud it says problem with back up data help !!!

    Can anyone help me back up my phone from iCloud. It is saying there is a problem with my data

    Hey Shopaholic1181,
    Thanks for using Apple Support Communities.
    iCloud: Understanding alert messages when restoring from an iCloud Backup
    http://support.apple.com/kb/TS4585
    "Your iPhone cannot be restored because there is a problem with your backup data. Choose a different backup to restore from."
    Your backup does not appear to be usable. If you receive this alert, you should check the iCloud System Status at the iCloud Support website to make sure there are not any issues occurring with iCloud Backup. If there is not a widespread issue notated on the iCloud System Status, the error may self-resolve if you wait several minutes and try again. If issues persist, you should contact iCloud Support via the iCloud Support website.
    Have a nice day,
    Mario

Maybe you are looking for

  • When i press the on/off my ipod show me the lock screen only half second and goes black.

    When i press the on/off my ipod show me the lock screen only half second and goes black. I try again and works normally. Sometimes do that. What Happens?

  • Which class is java array??

    for example, a 'name' array. To see its length, use the reference name, ---> name.length so I conclude that name's array class must have the static varriable length. but what is that class?? where is it in the API??

  • RCU Database Coneection Details "Bad Packect Type"  error

    Hi, I am installing oracle soa suite 11.1.1.2.0, In RCU wizard, shows "Bad Packect Type" error, anybody give me a details how to i solve this issue I am providing following details Databasetype: Oracle Database Host: localhost port: 5560 servicename:

  • Re: Lumia 520 problems

    Topic: Mental & emotional harassment by Nokia Care of my City regarding lumia 520! I am Abhishek Rawat, residing at 101, Balaram Dey Street, Kolkata-700006, Mob:9XXXXXXXXX. I bought a Nokia Lumia 520(IMEI-358106053448414) on 8-8-2013, Bill No.- P/081

  • Stacked graphics appear one after the other in pdfs?

    Hi, When I have a series of graphics layered over each they don't appear as one solid image when I export to PDF.  For example, say if I have a background image and I want to hide something by covering it with a text box. When I open the exported PDF