Questions to be solved

pls answer to the following questions,if it will be useful then you will be appreciated.
1 process of client copy?
2 reversal process for vendor/customer open items?
3 process of procurement to payment in app?
4 how can you do the valuation of raw material&finished goods inproduct costing?
5 defining of company is optional/mandatory?
regards
jana

1.Client copy can be done using SCC1.
2.If openitems if cleraed need to br reset using FBRA and reversed using FB08(individual reversal) and F.80(Mass Revaesal).
3.procure to pay process:
Requirement determination--Purchase requisitionPurchase order--Goods receipt-Invoice--Payment.
4.Defining Company is optional but company code is madatory.If you donot need consolidation u may not go for defining a Company or if you have single company code u may not opt for it.
Assign points for useful answers
Aravind

Similar Messages

  • How can a question marked as "solved" be restored to unsolved status?

    How do you remove the “This solved my question” status icon if the answer turns out to be wrong?
    Variations of this question can be found in a few discussion threads in the Apple Support Community. I found one very similar question marked as “This solved my question.” Unfortunately the answer was, “It can't be changed.” I have reasons for trying to, at least, get a more definitive answer.
    A primary purpose of these discussions is to resolve issues. It is very frustrating to read through long threads that claim to have an answer, only to find that the question was mistakenly marked “solved.” I spent over an hour on a thread that was marked as resolved. The member that made the mistake wanted to remove the “solved” status--even asked for help several times. I finished the thread just in case either issue was resolved. No, neither issue was resolved.
    May someone, Apple if necessary, explain how to revert the “solved” status or help fix the problem? If it is a known issue with no workaround, it would be very helpful to have an explanation. Accordingly, are there plans to fix this problem, and a rough idea when? This could be a “This solved my question” hallmark worth celebrating!
    Caution: This discussion or parts of it may be revised or deleted while I attempt to find a solution or workaround. Once I've given up or the issue is resolved, I will indicate so, even if it requires a repost. Relevant contributions will be indicated either way.

    leonieDF and  seventy one pointed out, (paraphrasing) all posts can be helpful in some way, even if the original owner of the discussion didn't get their question resolved.
    Maybe if I keep using this tool I'll change my mind, but most of the time I'd rather save time getting something solved than not.
    If anyone believes there are legitimate reasons owners and participants of a discussion would benefit from the ability of the owner to reset the solved status, you're welcome to chime in.
    These excerpts from my original post express why I think a change is needed:
    Stiltskin!: “The member that made the mistake wanted to remove the “solved” status--even asked for help several times. I finished the thread just in case either issue was resolved. No, neither issue was resolved.”
    Stiltskin!: “I didn't find any entry in that thread with an answer to revert the icon. So I got the idea it wasn't common knowledge because so many posters asked the owner to fix it even though the owner kept asking how to do it.”
    A big part of why I started this discussion is because I noticed others (and myself) expressed interest in this feature (owner ability to reset a discussion's solved status). If anyone want's to respond to that, please do.
    Nobody's brought it up but my discussion's header question doesn't express what I'm talking about now. I would change it if I could. I'd encourage future contributors (if any) to read through the explanation of my question in the first post to understand my perspective beyond "How can a question marked as 'solved' be restored to unsolved status?"
    Thank you all for your input!

  • Two Questions I Cannot Solve

    Hi There! I Am Setting Up My Public Skype Account. But Here Are Two Questions I Couldn't Figure Out How To Do. 1) How To Disable Messaging? (ex. you cannot message echo service)2) How Do I Message Everyone, Everything at the Same Time? (including their names ex. if you are jack, you get a message like this "Hey There Jack! I Just Started Using Skype!" and the same message to Helen "Hey There Helen! I Just Started Using Skype! I know that there is a way to, my friends do it. Thank You For Helping!

    1.  The Echo test account is a special account in which messaging is disabled.  You can't in normal chats.  You can only control your privacy IM settings to receive IMs. from either anyone, or contacts only.  Old p2p group chats you can following the guidance in this FAQ: https://support.skype.com/en/faq/FA10042/.    2.  You can only accomplish that by creating a group, adding people and sending a message to the group.  The main reason something like that isn't facilitated without group chats is due to the abuse that would be created by spammers and spam bots.

  • Question gcc-multilib [Solved]

    Hi, and maybe a dumb question but I have 64bit arch and I sometimes install something and it wants to replace gcc-lib with gcc-multilib how does this effect me?
    thanks
    --jerry
    Last edited by jk121960 (2012-08-17 12:00:50)

    gcc-multilib is the default gcc with an additional multilib toolchain (for 32bit binaries on 64bit linux). This does not affect the 64bit system.

  • QUESTION NOT YET SOLVED

    i have table snp_op_detail in payman shema, I have another table organisation_t in hrman schema. i want to select payman.segment3, hrman.descr, hrman.leader and SUM(payman.period_activity_a). I also want the total of payman.period_activity_a, not subtotal. where payman.segment3 = hrman.org_member_id. I used rollup as given below, it gave me 3 copies of the same row.
    Question: How can I get total without using rollup? my boss doesn't want the triplicate rows.
    select a.segment3, b.descr, b.leader, sum(a.period_activity_a) from payman.snp_op_detail a,
    hrman.organisation_t b
    where a.segment3 = b.org_member_id and
    a.segment3 between 4000 and 5999 and
    a.segment2 != 6651 and
    a.segment2 between 5400 and 8999 and
    a.period_name in ('JAN-11', 'FEB-11', 'MAR-11', 'APR-11', 'MAY-11', 'JUN-11',
    'JUL-11', 'AUG-11', 'SEP-11','OCT-11','NOV-11', 'DEC-11')
    group by rollup (a.segment3, b.descr, b.leader) ;

    Hi,
    OlaTunde wrote:
    Question: How can I get total without using rollup? my boss doesn't want the triplicate rows.you mean that ? :select a.segment3, b.descr, b.leader, sum(a.period_activity_a) from payman.snp_op_detail a,
    hrman.organisation_t b
    where a.segment3 = b.org_member_id and
    a.segment3 between 4000 and 5999 and
    a.segment2 != 6651 and
    a.segment2 between 5400 and 8999 and
    a.period_name in ('JAN-11', 'FEB-11', 'MAR-11', 'APR-11', 'MAY-11', 'JUN-11',
                       'JUL-11', 'AUG-11', 'SEP-11','OCT-11','NOV-11', 'DEC-11')
    group by rollup (a.segment3, b.descr, b.leader)
    having (
    grouping(a.segment3)=0 and grouping(b.descr)=0 and grouping(b.leader)=0)
    or
    grouping(a.segment3)=1 and grouping(b.descr)=1 and grouping(b.leader)=1)
    );Or just a normal group by (ie: remove the word rollup) ?select a.segment3, b.descr, b.leader, sum(a.period_activity_a) from payman.snp_op_detail a,
    hrman.organisation_t b
    where a.segment3 = b.org_member_id and
    a.segment3 between 4000 and 5999 and
    a.segment2 != 6651 and
    a.segment2 between 5400 and 8999 and
    a.period_name in ('JAN-11', 'FEB-11', 'MAR-11', 'APR-11', 'MAY-11', 'JUN-11',
                       'JUL-11', 'AUG-11', 'SEP-11','OCT-11','NOV-11', 'DEC-11')
    group by a.segment3, b.descr, b.leader;

  • Simple question: COMPUTE_BCD_OVERFLOW - how solve?

    Hi,
    I have a really simple problem but in the moment I can't find the right solution, so I hope you can give me a hint...
    I try to calculate a percentage-value based on 2 given amounts (of money). So my codings looks like this:
    diff_amount  = amount - amount_comp.
      IF amount NE 0.
        diff_percent = diff_amount / amount * 100.
      ELSE.
        diff_percent = 0.
      ENDIF.
    I use own data-elemnts in de DDIC for the definition of the variables. So for the amounts I use the domain of SAP WERTV8 (this is type P) and for the percentage I use an own domain with DEC (length: 5, decimals: 2).
    Now if there are high values in the amount-fields( going into the millions)  I get an dump because of COMPUTE_BCD_OVERFLOW. But now I don't really know which data elements to use to implement such a simple calculation?
    Please help me! Thanks a lot
    Merry X-Mas
    Markus

    Hi,
    thanks for your answer, do you mean I should define a field based on character values and should give the value of the calc to this field? Or did I misundertand you?
    Because I don't think that could be a solution?
    Greets
    Markus

  • The Adobe Reader ADDON for Firefox 4.0.1 does not work correctly. Do you have an idea how to solve the problem?

    I created a fancybox displaying a pdf-file in an iframe on my website http://www.agbcbonn.de/pages/activities/2011.php . It works fine with IE but in Mozilla Firefox 4.0.1 the mouse-wheel controle is lost after closing the box. You can only get back controle of the mousewheel if you klick to another window and then go back but this is really annoying to all users.

    Thanks Roger Wilmut1 for your reply. I have Mac OSX 10.7 Lion and iOS5 . And since my question I have solved my own problem by going to System Preferences and Mail, Contacts, Calendars. I added my email addresses, including iCloud, merged the data for contacts etc. And found the missing link I needed to connect iCloud to my iPhone, and Mac calendars and more. Its now perfect.

  • Backing up - how to solve after copying whole system - login incorrect

    Hello,
    I have done an script to backup the whole filesystem and restore it. I am making tests before using forever.
    For Windows I use ntfsclone and it works perfect, but for ArchLinux I am doing:
    I use Knoppix cd-live to manage everything. I load the script from /dev/sda4 (data partition in ntfs) and the main commands to backup and restore are:
    Without doing chroot (because it is not possible)
    sudo mount /dev/sda5 /media/sda5 #This is the / of ArchLinux
    sudo rsync -aAXv /media/sda5/* /media/sda4/seccopy/ --exclude={/media/sda5/dev/*,/media/sda5/proc/*,/media/sda5/tmp/*,/media/sda5/run/*,/media/sda5/mnt/*,/media/sda5/media/*,/media/sda5/lost+found,/media/sda5/home/*,/media/sda5/var/lib/pacman/sync/*}
    cd /media/sda4/seccopy/
    sudo tar -zcvf /media/sda4/arch_copy.tar.gz ./*
    To restore:
    sudo mount /dev/sda5 /media/sda5
    sudo rm -r /media/sda5/*
    sudo tar -zxvf /media/sda4/arch_copy.tar.gz -C /media/sda5
    I can check that the files are copied correctly.
    I can do (and really do) the same with the home partition, same process but changing sda5 by sda6, and instead of arch_copy.tar.gz, arch_home_copy.tar.gz
    When I restart to boot in the new copied system... the problem:
    I go to the normal grub option for Arch Linux and I try again to put the password for ussr1, and nothing.
    I type it, enter, wait some seconds and prompt me again.
    I try with the root user, and its password, and the same problem. Not access to the system.
    I try in tty1, and the same problem, it says:
    Login incorrect
    First question: How to solve this situation?
    I think maybe the problem is something about /etc/passwd or /etc/shadow, and also I try to make chroot to see if it works.
    If I try to do chroot from Knoppix to the ArchLinux restored, it is not possible, everything goes ok from this wiki:
    https://wiki.archlinux.org/index.php/Change_Root
    but fails in this:
    Note: If you see the error chroot: cannot run command '/bin/bash': Exec format error, it is likely that the two architectures do not match.
    I don't know what is "architectures". I installed x86_64 in ArchLinux.
    Second question: Is because the Knoppix 7.0.4 (debian based) uses other? Like i686?
    I see in Internet this:
    http://www.cyberciti.biz/tips/recoverin … -file.html
    It is not my problem, but maybe it is a way to know if is correct or not,...-
    mode "recovery", edit, add to linux line after "ro single": init=/bin/bash
    Ctrl+x
    Logged as root automatically:
    Third question: Why is not prompted the password? And illegitimate user can see everything doing this.
    $ mount -rw -o remount /
    $ mount -rw -o remount /home
    mount: /home not mounted or bad option
    In some cases useful info is found in syslog -try
    dmesg | tail or so
    Fourth question: Why i cannot mount the home? It is in the /dev/sda6, but for the / it didn't say anything to me. I cannot see the /home directory.
    $ cat /etc/passwd
    #- Has the root user and the ussr1 user
    $ cat /etc/shadow
    #- Has the root and ussr1 password coded.
    $ passwd
    Enter new UNIX password:
    Retype new UNIX password:
    Fifth question: Why is not prompted for the before password?     (following the steps i can imagine that this doesn't work, so, is not a security problem)
    $ passwd ussr1
    Enter new UNIX password:
    Retype new UNIX password:
    $ sudo reboot:
    sudo: /usr/lib/sudoers.so must be only be writable by owner
    sudo: fatal error, unable to laod plugins
    $ reboot
    Failed to talk to init daemon.
    $ exit
    exit
    [ 377.105707] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
    [ 377.105707]
    Sixth question: Why I cannot exit correctly? It also happen if I use the Arch in Live mode (and try to exit).
    The only way to avoid this problem is unpluging from electrical power (not even with the power button).
    I start the system again, I go to the normal grub option for Arch Linux and I try again to put the password for ussr1, and nothing.
    I type it, enter, wait some seconds and prompt me again.
    The same as first question: How to solve this situation?
    My idea is only use Knoppix live-cd to use as backup/restore system, but if it is not possible, I would like to know how to solve.
    The idea of using rsync instead of dd is because I want to save only the data, and not all the sectors (not enough space in the hard disk).
    I don't mind to have to use arch linux usb installation media as it is "knoppix live-cd", the only thing I would like to use is the same media to do all the operations, because I want to teach normal users how to do it by themselves.

    cfr wrote:What's the exit value when you run passwd? (man passwd will show what the exit values mean.)
    value 0 -> success
    cfr wrote:Have you tried changing the password to something *other* than the existing password?
    tried for example with "something" for both, "root" and "ussr1"
    but if I go to /etc/shadow, I see that the passwords coded for root and ussr1 are not the same, so must be coded with other things too.
    cfr wrote:Have you tried creating a new user and logging in as that user?
    I added another user, for example "try"
    useradd -m -g users -s /bin/bash try
    passwd try & echo "$?"
    .. (something)
    0
    Ok, after just add the user, if I go to /home/ I can see some files created automatically, and if I compare those files with the files that I pasted in my ussr1 account, there are two that are missed:
    .xinitrc
    .xsession
    xinitrc is executed by startx (so, it is because the X11..)
    and..ok, xsession the same (xdm/gdm/kdm). So nothing here.
    I also add "try" to the groups: lp, games, video, audio, optical, storage, scanner   with:
    gpasswd -a try lp
    cfr wrote:Have you run pwck and grpck to check the integrity of the files? (I doubt this is the issue but it seems an easy step to do just on the off chance.)
    Ok, if I do:
    $ pwck; echo "$?"
    0
    $ pwck /etc/passwd; echo "$?"
    0
    $ pwck /etc/shadow; echo "$?"
    invalid password file entry
    delete line 'root:ahskldfhajksdfkahsjkdhf...asdkfhjashdkfjh:15795::::::'?
    invalid password file entry
    delete line 'bin:x:14871::::::'?
    so forth..with: root, bin, daemon, mail, ftp, http, uuidd, dbus and nobody
    user 'ussr1': directory '7' does not exist
    user 'polkitd': directory '7' does not exist
    user 'usbmux': directory '7' does not exist
    user 'mysql': directory '7' does not exist
    invalid password file entry
    delete line 'kdm:!:15793::::::'?
    invalid password file entry
    delete line 'avahi:!:15793::::::'?
    user 'try': directory '7' does not exist
    pwck: no changes
    2
    $grpck /etc/group; echo "$?"
    0
    $grpck /etc/gshadow; echo "$?"
    invalid group file entry
    delete line 'root:::root'?
    invalid group file entry
    delete line 'root:::root'?
    invalid group file entry
    delete line 'root:::root'?
    ...so forth
    with: root, bin, daemon, sys, adm, tty, disk, lp, mem, kmem, wheel, ftp, mail, uucp, log, utmp, locate, rfkill, smmsp, http, games, lock, uuidd, dbus, network, video, audio, optical, floppy, storage, scanner, power, nobody, users, systemd-journal, polkitd, usbmux, mysql, kdm, avahi
    grpck: no changes
    2
    So, cat /etc/gshadow | wc -l    = 40 lines
    And grpck /etc/gshadow | wc -l  = 40 lines
    And the same for /etc/shadow = 16 lines and the pwck were 11 "delete line" and 5 "directory '7' does not exist"
    But as we see, even the try has some error... in this case with directory '7'.
    I don't understand why errors... theoretically they were copied and pasted without modifications
    NOTE** Ok, my fault, I have to execute the command like this: $ pwck -r /etc/passwd /etc/shadow; echo "$?"    and now it answers: 0         So, the integrity of both files are correct! And the same with group and gshadow
    ewaller wrote:
    Inside the chroot, run pacman -Qk | grep -v ", 0 missing"
    And see if there are any packages that should be reinstalled.
    If not, reinstall pam, just for good measure
    With
    $pacman -Qk | grep -v ", 0 missing"
    no results.
    I execute it without doing anything before with pacman, no updating, absolutely nothing.
    pam?
    i search for pam, and i find "pam mount", something like "encrypted home". But Was it activated by default?
    Last edited by Zzipo (2013-03-31 21:57:57)

  • ADF questions

    Hi,
    I have been using ADF for couple of days and I could not find any good solution for the following problems. Please help me on these.
    1. Is there a way of storing the value that is returned from a binding method into a managed bean property without writing code. For example getUser function returns a User class instance and I need it to be stored in a managed session bean property.
    2. Is there a way of binding an ADF table's selected row value to a managed session bean property without writing code. For example I have an ADF table showing users and selected User class instance is automatically stored in an a session bean property.
    3. And my last question is , I have a menu tree generated in the business logic layer and showed in the JSF pages. I want to use the a menu property as a lookup value for MessageBundle. I can access the bundle by hard coding the bundle key in JSF like "#{bundle.menu_item_new}" but I need to make it dynamic (value of a menuitem class instance property as a key).
    These are my questions. I solved the first and second question by writing code , but I think these can be solved without writing code using EL expressions.
    Thanks in advance...

    Thanks Shay!! I will check, Will follow the separate threads for separate topic
    For Question 5:
    Data will be fetched from View and if user need to change the data, he can update it, the updated changes need to inserted in separate table.
    According to requirement , we cant update the table directly from which the records are fetched.
    Can u please provide some information on Question 11, Need to create users and page level authorization for the created user , after application is deployed.
    Regards,
    Zakir

  • Package question

    say i have two java programs.
    program a, program b. also a contains an instance of b.
    now, both compile fine when i have them in my "java" directory.
    when i put the line package com.bean in both, b compiles but a will not.
    the error for a is
    cannot resolve symbol
    symbol: class b
    location: class com.bean.a
    please help!

    After posting a question you then solved yourself, it is polite to post the solution so anyone else who has the similar problem can then learn from it.

  • Where do my questions go after I hit the 'Post Message' button?

    I've been through two techs, a phone call, and still cannot get questions or problems solved.
    So I came here to the forums, and post questions and they vanish into the digital cloud of nothingness.
    I need help to get an ipad to sync to the cc so I can open a file in IL.
    So far nothing seems to work. I can email files, but Adobe states that I can create vectors in Ideas, and open them in IL.
    Hmmmm ....

    Well, lol, seems no one else is here in the forums so I'll answer your question Jack.
    Lol. Since Adobe cannot answer your question, they sent you here to the forums where they assured you that someone would have an answer for you.
    The problem is, there's nobody here but you. So you have to answer your own question.
    CC isn't about finding new ways to be creative and increase productivity for your design team. It's about shareholders and increasing profits, and being able to
    report to the board that everything is hunky dory and that sales are going through the roof.
    So pack up your little iPad, and take it home. Don't bother with the CC and the promises of something new and wonderful. Adobe Ideas is just that, an idea.
    Doesn't matter if it functions or not as it is as tangible as the cloud from whence it was begat. Go home Jack, and take your little stylus with you.
    Uh, thanks self. Whatever you say. (22 hours later and still scratching head)

  • Does anyone have an idea how to solve this glitch in iCal synchronizing?

    I have switched to iCoud from Mobile Me before the June, 2012 cut off date. Now I have a problem with synchronizing all my calendars in my iPhone with MacBook pro. When I go to iTunes info, and select calendars, there is no recognition of all my calendars to indicate  which ones I want to synchronize . The choice of all calendars does not work. There is only one calendar showing on my Mac,and reflecting data for only a few months. On the other hand, in  iCloud  all my calendar show, as I had it originally with Mobile Me. On my Mac iCal only has one calendar. I travel between time zones very often, and I am between the USA and Canada for months at a time. Anyone have any suggestions as to what I need to do to synchronize calendars and make sure travel  is not an issue, and without a glitch?

    Thanks Roger Wilmut1 for your reply. I have Mac OSX 10.7 Lion and iOS5 . And since my question I have solved my own problem by going to System Preferences and Mail, Contacts, Calendars. I added my email addresses, including iCloud, merged the data for contacts etc. And found the missing link I needed to connect iCloud to my iPhone, and Mac calendars and more. Its now perfect.

  • HT5312 issue's with security questions !!!

    Hello Support,
    I have an issue here regarding the security questions. i upgraded my mobile phone from Iphone5 to Iphone 5s. and to active the account in new mobile phone, you asked me for 2 security questions and i put the answers. and i told you that i forgot the answering. Then you told me to change the password and i did that. But still, the issue for security questions didn't solve yet, specially while i wanna buy from iTune store and the problem is the questions all the time changed.
    Can you please solve this issue as in my account that i have it in iTune store have some amount of cash in it.
    many thanks in advanced,
    Salam

    Welcome to the user to User Technical Support Forum provided by Apple.
    For your issue...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    Or Email Here  >  Apple  Support  iTunes Store  Contact
    More Info >  Apple ID: All about Apple ID security questions
    Note:
    You can only set up and/or change a Rescue Email Before you forget the questions/answers.

  • How to solve ORA-31001?

    Hi,
    It seems as if I am the only one who runs into this problem
    because searching through this forum gave me no results.
    Trying the XML DB Basic Demo (downloaded from otn)
    and I get the a.m. error message
    ORA-31001: Resource-handle or pathname invalid /home/SCOTT/
    ORA-06512: "XDB.DBMS_XDB", line 168
    ORA-06512: line 4
    when I try to run the script 'create directories'.
    What's going wrong ?
    Using Oracle 9.2.0.1.0 on WinXP.
    Thans alot in advance,
    udo

    OK OK.. ;-))
    stupid question..
    already solved.
    thanks.
    udo

  • Question about strange cursor behavior - Sybase ASE 12.5.4

    Hi folks,
    I have a stored procedure in Sybase ASE 12.5.4 presenting a strange behavior. Follow below some code to simulate the error.
    /* Create the table structure */
    drop table tbx1
    go
    create table tbx1
    (c1 int,
    c2 int,
    c3 char)
    go
    /* Create a CLUSTERED index NOT UNIQUE */
    create clustered index idx1 on tbx1 (c1)
    go
    /* Populate the table with few records */
    insert into tbx1 select 1, 1, 'N'
    insert into tbx1 select 2, 1, 'N'
    insert into tbx1 select 2, 2, 'N'
    go
    /* Test case #1 - The following code will not fetch the 3rd record */
    declare c1 cursor for
    select c1, c2 from tbx1 where c3 = 'N'
    go
    declare @c1 int, @c2 int
    open c1
    fetch c1 into @c1, @c2
    while @@sqlstatus = 0
    begin
      select @c1, @c2  -- View the current fetched row
      update tbx1 set c3 = 'N' where c1 = @c1 and c2 = @c2
      fetch c1 into @c1, @c2 
    end
    close c1
    deallocate cursor c1
    /* Recreate the table structure */
    drop table tbx1
    go
    create table tbx1
    (c1 int,
    c2 int,
    c3 char)
    go
    create clustered index idx1 on tbx1 (c1)
    go
    /* Repopulate the table */
    insert into tbx1 select 1, 1, 'N'
    insert into tbx1 select 2, 1, 'N'
    insert into tbx1 select 2, 2, 'N'
    go
    /* Test case #2 - The following code enters in an infinite loop, fetching the 3rd record indefinitely */
    declare c1 cursor for
    select c1, c2 from tbx1 where c3 = 'N'
    go
    declare @c1 int, @c2 int
    open c1
    fetch c1 into @c1, @c2
    while @@sqlstatus = 0
    begin
      select @c1, @c2 -- View the current fetched row
      update tbx1 set c3 = 'N' where c1 = @c1
      fetch c1 into @c1, @c2 
    end
    close c1
    deallocate cursor c1
    If we execute a select on tbx1 before execute Test case #1, the result is:
    c1   c2    c3
    1    1     N
    2    1     N
    2    2     N
    If we execute the same select on tbx1 after execute Test case #1, the result is:
    c1   c2    c3
    1    1     N
    2    2     N   --> row position changed
    2    1     N   --> row position changed
    Analyzing the execution plan, updates on both Test cases are being done in deferred mode.
    Could someone answer my questions, please:
    1 - After executing Test case #1, 2nd and 3rd record change this position in table. How could this happening since I'm not updating any fields in the clustered index? This have any relation with deferred update deleting and reinserting the rows on overflows pages?
    2 - Suppose the updates are changing the rows position in the table, how could explain the inconsistent fetch order on cursor processing (on Test Case #1, only 2 records are fetched - on Test Case #2, the loop never ends)?
    Regards,
    Douglas

    Thanks for your replies. I've already solved my problem, just creating a unique clustered index. But I haven't understood what happened yet in the 2 cases above.
    As suggested by Mark, I've read Chapter 18 from Transact SQL Users Guide. In section
    "Join cursor processing and data modifications", there is a citation about what happens with cursor position after a update:
    "A searched or positioned update on an allpages-locked table can change the location of the row; for example, if it updates key columns of a clustered index. The cursor does not track the row; it remains positioned just before the next row at the original location. Positioned updates are not allowed until a subsequent fetch returns the next row. The updated row may be visible to the cursor a second time, if the row moves to a later position in the search order".
    As stated above, the cursor position keeps the same independently if the rows change their order.
    I don't know if my logic is very simplistic, but I imagine that what should happen in #Test Case 1 is (assuming the access method is a clustered index scan):
    a) After the 2nd fetch, cursor position is on 2nd row:
    c1   c2    c3
    1    1     N  
    2    1     N   <-- cursor position
    2    2     N  
    b) After the update, 2nd and 3rd rows switch their positions, but cursor should keep its position (before 3rd row):
    c1   c2    c3
    1    1     N  
    2    2     N  
                    <-- cursor position
    2    1     N
    c) On 3rd fetch, the 3rd row is read "again" and cursor reaches the end of table.
    In relation #Test Case 2, I can't imagine how a cursor could enters a infinite loop since the cursor position shouldn't change and "apparently the row positions are the same" after the "incorrect" update.
    Moreover, I still have doubts about how a field update that isn't in a clustered index can change row position in a allpages-locked table.
    The main goal of my questions isn't solve the problems but get a better knowledge about some Sybase internals (and avoid similar problems in the future).
    Please give me more detailed explanations about my questions and comment my analysis. Related readings about this issues are welcome.
    Douglas

Maybe you are looking for

  • Need Help on choosing Color Laser Printer

    Hello Everyone; I am strugling to decide which Laser Colour Printer to buy, and I need some advice; I have the following options so far: HP 2605dn Brother HL-4070CDW Oki C3400n I only found here reviews for the HP, and they were mostly all negative,

  • Best Practice for Production environment

    Hello everyone, can someone share the best practice for a production environment? or is there a SAP standard best practice to follow in a Production landscape? i understand there are Best practices available for Implementation , Migration and upgrade

  • I Use Private Browsing Always, and Still Get Sanitize.js:136 Error

    All add-ons, extensions, plug-ins, and Firefox itself (v. 7.0.1) are up-to-date. I ALWAYS use Private Browsing, but still get the chrome://browser/content/sanitize.js:136 error. After "exiting" Firefox, Firefox refuses to close right away. I either w

  • Intermittent Kernel Panics - maybe related to iTunes? Something else?

    I have been experiencing intermittent kernel panics the past few weeks - the ones where the screen goes grey and you get the message in multiple languages telling you that you have to restart your computer. I have been trying to figure out exactly wh

  • Wrapping pl/sql

    Hello I am running XE DB 11g R2 on a windows 7 64 bit machine. I am trying to wrap some package bodies. c:\oracle_home\bin> wrap iname=c:\sourcecodedirectory\mysql.sql oname=c:\wrappedcodedirectory\mysql.wrp Sometime the wrap produces a wrapped file