CG02BD - Buffer Error, updating non existent record - Need your attention

Hi Gurus,
This is regarding transaction code CG02BD buffer error which I am getting while updating Identifier info.
CG02BD - Edit Specification
I am getting error "Error in Buffer: update of non existing record" for Num ID category only in case of Customer and Vendor.
Could any one guide me to correct/rectify this one please.
<< removed >>
Thanks !
Madan
Edited by: Rob Burbank on Sep 22, 2010 11:35 AM

Can you please let us know the solution for the same.? We are facing the similer issue for one of the user and getting the same error.

Similar Messages

  • UWL CATS time approval error "No data exists that needs to be approved"

    Hi all,
    We approve CATS working time through SAP portal UWL. The user can see the workitem in her UWL inbox, but got an error u201CNo data exists that needs to be approvedu201D when he tried to execute the workitem. But the user is able to execute the workitem using Business workplace in ECC. We are using the standard UWL application.
    This happens only to CATS time entries for certain type of employees (for example, the employees who do not report directly to the approver).
    SAP Portal 7.0
    SAP MSS 600 SP19
    SAP UWLJWF 7.00 sp23
    SAP ECC 6.0
    Here is what I have found from my trouble-shooting. When I test (preview) the UWL iView, it seems to be working fine. But when I call up the iView from the portal MSS role, I got the error message u201CNo data exists that needs to be approved.u201D
    Please let me know if you need more information.
    Thank you,
    Qi

    I have found that the workitem ID is not passed to the CATS approval web dynpro program. Here is what is in the Item Type configuration XML. Is there anything missing?
    <!-- Work items for CATS -->
        <ItemType name="uwl.task.webflow.TS31000007" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.OpenTasksTimeApp" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria externalType="TS31000007" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="CatManagerApprove"/>
                <Property name="WebDynproDeployableObject" value="sap.com/msscatapproval"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="openInNewWindow" value="true"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
        <ItemType name="uwl.forwardedtask.webflow.TS31000007" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.ForwardedTimeApp" defaultAction="viewDetail"/>
        <ItemType name="uwl.futuretask.webflow.TS31000007" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.FutureTaskTimeApp" defaultAction="viewDetail"/>
        <ItemType name="uwl.completedtask.webflow.TS31000007" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.CompletedTimeApp" defaultAction="viewDetail"/>
    Thanks,
    Qi

  • I changed the alert phrase that usually says, "Excuse me, ____ needs your attention." And I need to change it back. It's cursing at me. :)

    I changed the alert phrase that usually says, "Excuse me, ____ needs your attention." And I need to change it back. It's cursing at me.
    I had changed this a long time ago, so I don't remember how. It was done on an older computer and carried over to my new one. I think it was done through the terminal...

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311

  • Importing and Updating Non-Duplicate Records from 2 Tables

    I need some help with the code to import data from one table
    into another if it is not a duplicate or if a record has changed.
    I have 2 tables, Members and NetNews. I want to check NetNews
    and import non-duplicate records from Members into NetNews and
    update an email address in NetNews if it has changed in Members. I
    figured it could be as simple as checking Members.MembersNumber and
    Members.Email against the existance of NetNews.Email and
    Members.MemberNumber and if a record in NetNews does not exist,
    create it and if the email address in Members.email has changed,
    update it in NetNews.Email.
    Here is what I have from all of the suggestions received from
    another category last year. It is not complete, but I am stuck on
    the solution. Can someone please help me get this code working?
    Thanks!
    <cfquery datasource="#application.dsrepl#"
    name="qryMember">
    SELECT distinct Email,FirstName,LastName,MemberNumber
    FROM members
    WHERE memberstanding <= 2 AND email IS NOT NULL AND email
    <> ' '
    </cfquery>
    <cfquery datasource="#application.ds#"
    name="newsMember">
    SELECT distinct MemberNumber
    FROM NetNews
    </cfquery>
    <cfif
    not(listfindnocase(valuelist(newsMember.MemberNumber),qryMember.MemberNumber)
    AND isnumeric(qryMember.MemberNumber))>
    insert into NetNews (Email_address, First_Name, Last_Name,
    MemberNumber)
    values ('#trim(qryMember.Email)#',
    '#trim(qryMember.FirstName)#', '#trim(qryMember.LastName)#', '#
    trim(qryMember.MemberNumber)#')-
    </cfif>
    </cfloop>
    </cfquery>
    ------------------

    Dan,
    My DBA doesn't have the experience to help with a VIEW. Did I
    mention that these are 2 separate databases on different servers?
    This project is over a year old now and it really needs to get
    finished so I thought the import would be the easiest way to go.
    Thanks to your help, it is almost working.
    I added some additional code to check for a changed email
    address and update the NetNews database. It runs without error, but
    I don't have a way to test it right now. Can you please look at the
    code and see if it looks OK?
    I am also still getting an error on line 10 after the routine
    runs. The line that has this code: "and membernumber not in
    (<cfqueryparam list="yes"
    value="#valuelist(newsmember.membernumber)#
    cfsqltype="cf_sql_integer">)" even with the cfif that Phil
    suggested.
    <cfquery datasource="#application.ds#"
    name="newsMember">
    SELECT distinct MemberNumber, Email_Address
    FROM NetNewsTest
    </cfquery>
    <cfquery datasource="#application.dsrepl#"
    name="qryMember">
    SELECT distinct Email,FirstName,LastName,MemberNumber
    FROM members
    WHERE memberstanding <= 2 AND email IS NOT NULL AND email
    <> ' '
    and membernumber not in (<cfqueryparam list="yes"
    value="#valuelist(newsmember.membernumber)#"
    cfsqltype="cf_sql_integer">)
    </cfquery>
    <CFIF qryMember.recordcount NEQ 0>
    <cfloop query ="qryMember">
    <cfquery datasource="#application.ds#"
    name="newsMember">
    insert into NetNewsTest (Email_address, First_Name,
    Last_Name, MemberNumber)
    values ('#trim(qryMember.Email)#',
    '#trim(qryMember.FirstName)#', '#trim(qryMember.LastName)#', '#
    trim(qryMember.MemberNumber)#')
    </cfquery>
    </cfloop>
    </cfif>
    <cfquery datasource="#application.dsrepl#"
    name="qryEmail">
    SELECT distinct Email
    FROM members
    WHERE memberstanding <= 2 AND email IS NOT NULL AND email
    <> ' '
    and qryMember.email NEQ newsMember.email
    </cfquery>
    <CFIF qryEmail.recordcount NEQ 0>
    <cfloop query ="qryEmail">
    <cfquery datasource="#application.ds#"
    name="newsMember">
    update NetNewsTest (Email_address)
    values ('#trim(qryMember.Email)#')
    where email_address = #qryEmail.email#
    </cfquery>
    </cfloop>
    </cfif>
    Thank you again for the help.

  • More Lion issues - Throwing Console errors for non-existent application

    Again, with the bad side of Lion.
    I was receiving all kinds of console errors in Lion with TweetDeck and Adobe AIR apps so I de-installed these applications and removed them from the system. However, Apple's fantastic Lion Operating System still is complaining about them even though they are not to be found.
    In the console I am getting sandbox errors on locations and files that are non-existent. Below is a snapshot of the error messages, and the directory referred to:  /Users/kkathman/Library/Application Support/Adobe/AIR/ELS/TweetDeckFast....  and the others DON'T EVEN EXIST!!
    How do I keep this from happening?  Why does the OS go after this when it's been removed?????
    8/20/11SaturdayAugust 5:30:14.113 PM    mdworker32    kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    8/20/11SaturdayAugust 5:31:11.000 PM    kernel    nstat_lookup_entry failed: 2
    8/20/11SaturdayAugust 5:31:44.239 PM    com.apple.SecurityServer    Session 100071 created
    8/20/11SaturdayAugust 5:31:44.254 PM    com.apple.security.XPCKeychainSandboxCheck    Can't get sandbox fs extension for /Users/kkathman/Library/Application Support/Adobe/AIR/ELS/TweetDeckFast.F9107117265DB7542C1A806C8DB837742CE14C21.1/ PrivateEncryptedDatak, status=-1 errno=No such file or directory ext=(null)
    8/20/11SaturdayAugust 5:31:44.254 PM    com.apple.security.XPCKeychainSandboxCheck    Can't get sandbox fs extension for /Users/kkathman/Library/Application Support/Adobe/AIR/ELS/TweetDeckFast.F9107117265DB7542C1A806C8DB837742CE14C21.1/ lck~PrivateEncryptedDatak, status=-1 errno=No such file or directory ext=(null)
    8/20/11SaturdayAugust 5:31:44.254 PM    com.apple.security.XPCKeychainSandboxCheck    Can't get sandbox fs extension for /Users/kkathman/Library/Application Support/Adobe/AIR/ELS/TweetDeckFast.F9107117265DB7542C1A806C8DB837742CE14C21.1/ .fl89CB8354, status=-1 errno=No such file or directory ext=(null)
    8/20/11SaturdayAugust 5:31:44.255 PM    com.apple.security.XPCKeychainSandboxCheck    Can't get sandbox fs extension for /Users/kkathman/Library/Application Support/Adobe/AIR/ELS/com.seesmic.desktop.client.D89F32799270693BEF34AAA36E9B26 32B59240FA.1/PrivateEncryptedDatak, status=-1 errno=No such file or directory ext=(null)
    8/20/11SaturdayAugust 5:31:44.255 PM    com.apple.security.XPCKeychainSandboxCheck    Can't get sandbox fs extension for /Users/kkathman/Library/Application Support/Adobe/AIR/ELS/com.seesmic.desktop.client.D89F32799270693BEF34AAA36E9B26 32B59240FA.1/lck~PrivateEncryptedDatak, status=-1 errno=No such file or directory ext=(null)
    8/20/11SaturdayAugust 5:31:44.255 PM    com.apple.security.XPCKeychainSandboxCheck    Can't get sandbox fs extension for /Users/kkathman/Library/Application Support/Adobe/AIR/ELS/com.seesmic.desktop.client.D89F32799270693BEF34AAA36E9B26 32B59240FA.1/.fl89CB8354, status=-1 errno=No such file or directory ext=(null)
    8/20/11SaturdayAugust 5:31:44.255 PM    com.apple.security.XPCKeychainSandboxCheck    Can't get sandbox fs extension for /Users/kkathman/Library/Application Support/Adobe/AIR/ELS/TweetDeckFast.FFF259DC0CE2657847BBB4AFF0E62062EFC56543.1/ PrivateEncryptedDatak, status=-1 errno=No such file or directory ext=(null)
    8/20/11SaturdayAugust 5:31:44.255 PM    com.apple.security.XPCKeychainSandboxCheck    Can't get sandbox fs extension for /Users/kkathman/Library/Application Support/Adobe/AIR/ELS/TweetDeckFast.FFF259DC0CE2657847BBB4AFF0E62062EFC56543.1/ lck~PrivateEncryptedDatak, status=-1 errno=No such file or directory ext=(null)
    8/20/11SaturdayAugust 5:31:44.255 PM    com.apple.security.XPCKeychainSandboxCheck    Can't get sandbox fs extension for /Users/kkathman/Library/Application Support/Adobe/AIR/ELS/TweetDeckFast.FFF259DC0CE2657847BBB4AFF0E62062EFC56543.1/ .fl89CB8354, status=-1 errno=No such file or directory ext=(null)
    8/20/11SaturdayAugust 5:32:01.234 PM    Preview    snapshot of document took: 0.00030899 secs, calling unblockUserInteraction
    8/20/11SaturdayAugust 5:32:01.318 PM    Preview    writing of document took: 0.083616 secs, success = YES
    8/20/11SaturdayAugust 5:32:42.333 PM    rpcsvchost    sandbox_init: com.apple.msrpc.netlogon.sb succeeded
    8/20/11SaturdayAugust 5:32:42.483 PM    sandboxd    ([66316]) smbd(66316) deny job-creation
    8/20/11SaturdayAugust 5:32:42.583 PM    rpcsvchost    sandbox_init: com.apple.msrpc.srvsvc.sb succeeded
    8/20/11SaturdayAugust 5:32:42.609 PM    smbd    anonymous connected to path /var/rpc/ncacn_np
    8/20/11SaturdayAugust 5:32:53.587 PM    sandboxd    ([66320]) rpcsvchost(66320) deny mach-lookup com.apple.distributed_notifications@1v3
    8/20/11SaturdayAugust 5:34:53.329 PM    smbd    anonymous connected to path /var/rpc/ncacn_np
    8/20/11SaturdayAugust 5:39:32.429 PM    mdworker32    kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

    Don't know how you de-installed but you didn't fully uninstall them. If you did not have an uninstaller supplied with the applications, then here's what you need to consider in order to fully uninstall:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead.  Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Here is a selection:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • Finding "non-existent" records

    I am having trouble trying to find instances where certain records do not exist.
    For example, there is content assigned to a user that has a due date. If the user views the content they get a record in a table (assignment_tracker) with the date/time of when they access it, a status plus some other information as they continue on. If the user has never viewed the content they have no record in the database but they do have an associated assignment in the assignments table.
    Tables:
    ========
    users (pk)
    assignments (pk, fk users)
    assignment_tracker (fk assignments)
    If dealing with a specific user, it's not an issue but where the problem occurs is when trying to get a list of users that have not completed the assignment.
    In order to determine if the assignment is completed it has to either:
    1. have a record in the tracking table with a "completed" status in the status field of the assignment_tracker
    OR
    2. NOT have a record at all in the assignment_tracker table
    So, if they have a non-completed status in the assignment_tracker table OR if they have no record in the assignment_tracker table I want to list that group of users.
    I tried to be as general as possible in explaining this, hoping that someone has faced a similar situation and can point me in the right direction. If more information is needed let me know.
    Thanks!

    Here is a more detailed schema;
    users (user information)
    userid (pk)
    firstname
    lastname
    etc....
    courses (course information)
    course_id (pk)
    course_name
    course_user (course membership)
    userid (fk)
    courseid (fk)
    assignments (course assignments)
    assignmentid (pk)
    course_id (fk)
    start_date
    end_date
    assignment_tracker (tracking of assignment status by user)
    assignmentid (fk)
    userid (fk)
    status
    It is possible for a particular student to have records in the assignment_tracker table for some assignments that are either in-progress or completed. These assignments are overdue (when end_date from assignments is past and the status is not "complete". These are easy to find obviously.
    But for the same student(s) to find ones that have overdue assignments (from the assignments table) that have not been started at all is where the problem is.
    users
    userid           firstname        lastname
    10 Joe Smith
    20 Jane Doe
    courses
    course_id        course_name
    1 Intro to computers
    course_user
    course_id       userid
    1 10
    1 20
    assignments
    assignmentid           courseid            start_date           end_date
    1 1 10-DEC-08 14-JAN-09
    2 1 01-DEC-08 14-JAN-09
    assignment_tracker
    assignmentid            userid           status
    1 10 completed
    2 10 in-progress
    So using the above data, both userids should be returning back, 10 because of the in-progress assignment and 20 because of the non-existence in the assignment_tracker table.

  • Getting Error in Non-Existent File

    hi
    getting "invalid expression term" error on a line that does not exist in the file (aspx file). 
    Then, i delete the file.
    Now, still getting same error-- for a file that does not exist. 
    How to fix?
    thx

    ok, Jack.
    but what does this mean, on my OP?
    "Moved by Jack-ZhaiMicrosoft
    contingent staff"
    Oh, you moved it to the "Where is the form for...?" forum?
    I would not have minded if you had just moved it directly to the asp.net forum, since you were moving it anyway.
    thx

  • No computer, ipod synced to non-existing computer, need help please

    hello, i have no computer (yet), my ipod video 30gb is synced to my cousins old g3 which is now in another part of the world....i am using my works emac and would like to be able to use it now to transfer photos and podcasts for my work, i would like to keep the songs i have on it if possible......this is issue one....i have another issue which is when i look at my ipod on this emac, i see videos that my cousin put on for my daughter with his computer, but they don't show up on my ipod when it's solo....i put some photos on it today...they show up on this emac as being on the ipod but they don't show up on my ipod menu when it is solo....kind thanks for you help....michael

    Hey Babetta94,
    Thanks for using Apple Support Communities.
    After reviewing your post, the iPod is not recognized in iTunes. A frustrating situation to be sure. You haven't mentioned what OS the computer you are using uses. You can choose what article to use either OS X or Windows from this quoted section.
    iPod not appearing in iTunes
    http://support.apple.com/kb/TS3716
    If you have an iPod touch:
    For Windows: See iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    For Mac OS X: See iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    Have a nice day,
    Mario

  • Error while executing the Report( Need your help gurus) !!!

    Hi,
    Today morning when i was checking the report for monthly data i,e from 1sept to 28th sept.
    I got this below error msg. Can you pls guide me why its throwing an error.
    <b>Error      SQL Error: 1555
    Error      Error when generating the SQL statement
    Error      Error reading the data of InfoProvider POS_IS1
    Cancel      System error in program SAPLRRK0 and form RSRDR;SRRK0F30-01-</b>
    Points Assured.
    Urs,
    RK.

    hi,
    There is some time limit set for the request to run when you run a program in the foreground or in the background. If the time limit exceeds this will occur, run the program again then this might not happen.
    This might be related to table space issue, or roll area or memory. Show the short dump (ST22) to your Basis person and tell me to adjust/increase the respective tablespace .
    Regards
    Pankaj

  • PO pricing :: Furlan needed your attention

    Hi all,
    I had a requirement.
    currently, if i create a PO (ME21) the price for that material is being pulled by the PO creation date.
    I am maintaing info records for that material for dif dates with corresponding prices.
    <b>I want to get the price for the materials based on the delivery date which i mention at the time of creation of the PO instead of taking PO creation date.</b>If any body has faced the similar problem or having any idea about how to solve this issue.please help me.
    Thanks in advance.
    Raja.
    Message was edited by: raja gurrala
    Message was edited by: raja gurrala
    Message was edited by: raja gurrala

    Haja,
    Thanks Furlan.
    it seems u can solve my issue
    i am novice for all this process.
    the userexit_pricing is in Standard include can we
    able to change this ?
    The user exit is one way to chage standard system behavior (others ways are field exit, screen exit and BAdi.) There are different ways that SAP implements the user exit concept. In your case, in the standard code, you'll find a perform call to forms that I indicate you (USEREXIT_PRICING_RULE (include RV61AFZA) and USEREXIT_PRICING_RULE (include RV61AFZA)).
    These forms are implemented in the includes that your able to change. So your code can only be implemented inside these includes.
    It doesn't provide any side effects?
    Depends of your modification You need to test very well before release to user.
    Tell me from where do u wanna get me delivery field?
    Take a look  in the code that I gave to you:
    Get the tabe with Delivery Schedule data.
    ASSIGN ('(SAPLMEPO)ETT[]') TO [].
    READ TABLE t_beket INTO w_beket WITH KEY ebelp = l_ebelp.
    l_data = w_beket-eindt.
    In the internal tabel t_beket[] you'll get the data for all Delivery Schedule. In the field beket-eindt you get the delivery date.
    After that, you move the delivery date found in t_beket:
    komk-fbuda = l_data.
    komk-prsdt = l_data.
    your answer so much to me.
    raja.
    Does it help you?
    Regards!
    Flávio Furlan

  • Update a large record set

    I have to refresh the data in a table (say, table_reference_data) with the data in a view (say, view_master_data) which is on a remote database accessible via database link. The data for few columns in "table_reference_data" has to be refreshed from 2 local tables (say, table_x, table_y).
    What I mean by refresh is insert new records, delete non-existent records and update existing records. All primary keys are in "view_master_data". I have to refresh about 1/2 a million records on an average. This has to be done once a day as a nightly job. This is the only means by which "table_reference_data" is updated. Everywhere else it is only read.
    "table_reference_data" has 3 indexes and one unique key constraint. There are no referential integrity constraints.
    At the moment this is done as follows using a PL/SQL procedure:
    1. create synonym for "view_master_data" (the remote view).
    2. bulk collect data for all columns by JOINing "view_master_data", "table_x" and "table_y".
    3. delete all records in "table_reference_data" (I have to use yesterday's data if today's refresh fails hence not using truncate).
    4. bulk insert data in to "table_reference_data" from the collections in step 2.
    5. if exception rollback, else commit.
    This job takes 10 minutes to run.
    I have 2 questions now...
    1. Does deleting 1/2 million records cause a huge amount of logging in Oracle? Is it a downside? If so what are the alternatives...
    2. When the above stored proc is invoked from a shell script I get the below error randomly.
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Is there any workaround for this? Database version is Oracle 8.1.6 Enterprise Ed. Has it got to do with using collections? (i.e. type tbl_my_col is table of varchar2(6)) In the shell script it is invoked as below:
    echo "set serveroutput on\n execute my_pkg.my_proc()\n" | sqlplus ora_user/ora_password >> $log_file
    Thanks in advance.

    Is there any workaround for this? Database version is Oracle 8.1.6 Enterprise Ed. ORA-3113 is one of those generic error messages which Oracle use when something unexpected happens (see also ORA-600 and ORA-7445). If you're lucky there will be some additional information in the alert log or in a trace file in the background dump dest directory.
    Sometimes there's a workaround, sometimes there's a patch. Given that you're on 8.1.6, which has been OoS for some time now, neither option is likely to be forthcoming from Oracle.
    having re-read your decription of the process I am a bit puzzled as to why you're using this complicated hand-rolled process instead of a snapshot (materialized view)?
    Cheers, APC

  • How can i update an existing item in sap using CSV file?

    Hi,
    i am trying to update an existing Item in SAP using a CSV file.
    in the message log i get an error message that the item already exists.
    what should i do in order to update the existing record?
    Thanks, Udi

    Hi..........
    I would sugest you to use Tab delimited file and choose proper option in order to update the itsm master in DTW......
    Regards,
    Rahul

  • Procedure to update the table records

    I have to write a procedure to update the existing records.
    I have one staging table and one decode table.
    staging table is obtained from a interface with cross join of two tables X1 and X2 and
    lookup with DECODE table.
    DECODE
    ITEM_ID ITEM_CODE STORE_ID STORE_CODE
    101 C 7 77
    100 A
    100 B
    In this table there is relation between item_id and item_code AND
    store_id and store_code. Items and stores have no relationship here. Simply we insert values of both side by side.
    Initial STAGING table
    SNO RNO SCODE RCODE DECODE_STATUS
    101 8 C NP
    101 6 C NP
    101 7 C 77 P
    100 8 A NP
    100 6 A NP
    100 7 A 77 P
    100 8 B NP
    100 6 B NP
    100 7 B 77 P
    Joins:
    SNO=ITEM_ID
    RNO=STORE_ID
    Now I want to update this according to my new decode where NP record will be updated with their new RCODE values
    DECODE table now is
    ITEM_ID ITEM_CODE STORE_ID STORE_CODE
    101 C 8 88
    100 A 7 77
    100 B 6 66
    Now I need my staging table with RCODE values corresponing to DECODE table.
    My expected STAGING table.
    SNO RNO SCODE RCODE DECODE_STATUS
    101 8 C 88 NP
    101 6 C 66 NP
    101 7 C 77 P
    100 8 A 88 NP
    100 6 A 66 NP
    100 7 A 77 P
    100 8 B 88 NP
    100 6 B 66 NP
    100 7 B 77 P
    Please help me to do this ...I have tried with interface where I kept source and target table same staging table and used DECODE for lookup but I didnt get the expected result.

    Hi Chattar ,
    It clearly seems that issue is with Primary keys.
    As you have said about the decode table "In this table there is relation between item_id and item_code AND store_id and store_code. Items and stores have no relationship here. Simply we insert values of both side by side."
    It seems your final update query should be like this :
    update staging1 T
    set (T.rcode, T.scode)
    =
    Select
    (select store_code from decode where store_id = T.RNO ) ,
    (SELECT ITEM_CODe from decode where ITEM_id = T.SNO)
    from dual
    ) where T.decode_status = 'NP';
    If what i have said is right , then you can implement the same using an interface too But first you should decide the Key columns on the target table.
    Hope it solves the issue.
    Edited by: user8427112 on Sep 22, 2012 6:48 AM

  • Updating an existing data  in the table...urgent

    Hi All,
    I am updating the existing records in the table.My CO piece of code is as below:
    if(!vo.isExecuted() && !vo.isPreparedForExecution())
    vo.executeQuery();
    Row requestRow = vo.getCurrentRow();
    requestRow.setAttribute("CustomerName", custName);
    requestRow.setAttribute("CustomerNumber", custNumber);
    but I am getting Null pointer exception at line:
    vo.getCurrentRow();
    Its very urgent.
    Please help me on this.
    Akshata
    Edited by: Akshata on Apr 25, 2012 3:29 AM

    Try below
    if(!vo.isExecuted() && !vo.isPreparedForExecution())
    vo.executeQuery();
    Row requestRow = vo.first(); //If it also returns null, that means the VO doen't have any rows.
    requestRow.setAttribute("CustomerName", custName);
    requestRow.setAttribute("CustomerNumber", custNumber);
    Regards,
    Peddi.

  • Non existent LOB value

    I'm calling a java class method from PL/SQL that returns a CLOB. I can run the class from jdeveloper IDE and see the XML coming back as CLOB, but when i run it inside ORACLE it gives an error saying "Non-Existent LOB Value".
    Any ideas ...
    TIA - RPG

    Ok, this is a whole different story :)
    You have ran into a bug which will be fixed in the next release
    of the utility coming real soon now.
    olaf iseger (guest) wrote:
    : Hi,
    : Sorry for the misinfromation, of course I meant 8i,
    : 8.1.5.01, I really couldn't have missed the
    : errors when loading java in an 8.0.xx database ;-)
    : But my question still stands however...
    : --Olaf
    : Oracle XML Team wrote:
    : : Hi Olaf,
    : : Java VM made it inside the DB starting with Oracle 8i (i.e.
    : : 8.1.5). When you ran the oraclexmlsqlload.csh script to load
    : the
    : : utility into your 8.0.5 database you must have had errors.
    : : With your version of the DB you can not run the utility
    from
    : : within the db because this calls for support for stored java
    : : procedures. You can on the other hand run the utility as a
    : : client program, either directly accessing it's java api, or
    : using
    : : our command line front end.
    : : Olaf Iseger (guest) wrote:
    : : : Hello,
    : : : I'm experiencing the ORA-22922 : "Non existent LOB value"
    : : : error when executing the test
    : : : "select xmlgen.GetXML(...) from dual".
    : : : Database is 8.0.5.01 on Linux, scott/tiger demo user with
    : : : populated tables
    : : : java version (not sure if the database uses this however)
    : : : jdk117_v3
    : : : Did I miss sth in the installation, or do I have to set
    some
    : : more
    : : : privileges for SCOTT ?
    : : : -- olaf
    : : Oracle Technology Network
    : : http://technet.oracle.com
    Oracle Technology Network
    http://technet.oracle.com
    null

Maybe you are looking for