Showing old DocNum on MoveNext(r)MoveLast

hi all,
          On this menu events iam fetching correct records from the DB & showing it in the combo box
  If pVal.MenuUID = "1288" Or pVal.MenuUID = "1289" Or pVal.MenuUID = "1290" Or pVal.MenuUID = "1291" Then
                Dim objForm As SAPbouiCOM.Form
                Dim objSORcvd As EditText
                Dim objCmbSORcvd As ComboBox
                Dim strCmbVal, strDocNum As String
                Dim objDocNum As EditText
                objForm = objSBO_Application_SORD.Forms.ActiveForm
                If objForm.TypeEx = "139" Or objForm.TypeEx = -139 Then
                    'objSORcvd = objform.Items.Item("U_PSORCVD").Specific
                    objCmbSORcvd = objform.Items.Item("cmbPSORcvd").Specific
                    objDocNum = objform.Items.Item("8").Specific----In this point when i move before also its getting the docnum of current opened form...but i want the moving docnum
                    strDocNum = objDocNum.Value
                    Dim Rs As Recordset
                    Dim strSql As String
                    Dim strRemarks As String
                    strSql = "Select U_PSORCVD from ORDR where Docnum= '" & Trim(strDocNum) & "'"
                    Rs = objCompany_SORD.GetBusinessObject(BoObjectTypes.BoRecordset)
                    Rs.DoQuery(strSql)
                    strCmbVal = Rs.Fields.Item(0).Value
                    objCmbSORcvd.Select(strCmbVal)
                End If
            End If
regards,
shangai.

hi vasu,
              thanks for ur reply.... i think u have not understood my problem clearly....
1.)I have created an UDF in Sales order & also i have assigned a valid value(yes,No) for this.
2.)while posting sales order iam able to select the combobox value & also iam able to add them in the ORDR table.
3.)so now for in the ORDR table i have data like this.........
DocNum............Custcode......Name.......U_Combobox
     1                    E001           John            YES
     2                    E002            Mike            NO
4.)so my problem is when iam moving next & previous the  combobox value is not showing the correct value.
5.)For DocNum 1-->it show's NO & DocNum  2--->it shows YES.
If pVal.MenuUID = "1288" Or pVal.MenuUID = "1289" Or pVal.MenuUID = "1290" Or pVal.MenuUID = "1291" Then
                Dim objForm As SAPbouiCOM.Form
                Dim objSORcvd As EditText
                objForm = objSBO_Application_SORD.Forms.ActiveForm
                 If objForm.TypeEx = "139" Or objForm.TypeEx = -139 Then
                    objCmbSORcvd = objform.Items.Item("cmbPSORcvd").Specific
                    objDocNum = objform.Items.Item("8").Specific----In this point when i move before also its getting the docnum of current opened form...but i want the moving docnum
                    strDocNum = objDocNum.Value
                    Dim Rs As Recordset
                    Dim strSql As String
                    Dim strRemarks As String
                    strSql = "Select U_PSORCVD from ORDR where Docnum= '" & Trim(strDocNum) & "'"
                    Rs = objCompany_SORD.GetBusinessObject(BoObjectTypes.BoRecordset)
                    Rs.DoQuery(strSql)
                    strCmbVal = Rs.Fields.Item(0).Value
                    objCmbSORcvd.Select(strCmbVal)
                End If
            End If
regards,
shangai.

Similar Messages

  • Ive changed my apple id. in my iPad and iPhone under iTunes it's showing the new id but under iCloud still shows old I'd. I have been told to delete account and add in new one but worried in case lose all my stuff that's already saved in iCloud. any idea?

    Ive changed my apple id. in my iPad and iPhone under iTunes it's showing the new id but under iCloud still shows old I'd. I have been told to delete account and add in new one but worried in case lose all my stuff that's already saved in iCloud. any idea?

    If all you did was rename your ID, you can go to Settings>iCloud, tap Delete Account, choose Delete from My iPhone when prompted, then sign back in with your renamed ID.  Deleting the account only deletes the account and any data you are syncing with iCloud from your phone, not from iCloud.  Provided you are signing back into the same account and not changing accounts, your data will be synced back to your phone when you sign back in.
    If, however, you are changing to a new account with a new ID, choose Keep on My iPhone when prompted.  Then choose Merge when you sign into the new account and turn your iCloud syncing back on to upload your data to the new account.
    Before deleting the account, save you photo stream photos to your camera roll (tap Edit, tap all the photos, tap Share, tap Save to Camera Roll).

  • Lync User Phone Number Changed in AD - Still Showing Old (Normalized) Number Days Later in Lync Client Contact Detail

    Environment:  Lync 2013 backend; Lync 2010 and Lync 2013 clients.  Enterprise Voice not implemented.  November 2013 CU Applied on Server.
    Issue:  Lync user (User A) phone number changed in AD but still showing old number for others days later.
    Believed Cause:  User A has not logged into Lync since change to republish new phone number?
    So after reading this http://masteringlync.com/ I am beginning to think that something I perceived as an issue may actually be by design?
    Action:
    User A work phone number changed in AD.  User A has only one phone entry in AD.  Normalization rule in place to basically leave number unchanged (working)
    Result: 
    New phone number propogated fine to Exchange/Outlook fine.  Old number displaying only in Lync client when viewing User A contact card detail
    Lync 2010 Client displays only old number when looking at Client A contact detail (this client only presents phone numbers if they are actually normalized)
    Lync 2013 Client displays two work numbers. 
             One that we identify as a "display number" just as entered in AD - this shows correctly as the new number.  Another that we identify as the "normalized number" which is still the old
    number (same as 2010 Client)
    Same results whether contact is saved in Lync Client or not and is not related to Outlook contacts - in fact one test was with a Lync account that is not Mail Enabled.
    I did a dbanalyze to view the SQL database detail for User A and see that Category 'userInformation' has the old phone number and the time stamp on it seems to coincide with a Lync Cllient database change (user login or refresh on that end) so this seems
    to futher confirm my findings thus my reaching the point of conceding it might be out of my control.
    My Question I guess is ....
    Have others discovered this?  Is this a bug or do normalized phone numbers actually requre a client login to accept/republish the number correctly to others even though the information is updated in AD?  User detail and how it propogates seems to
    be the biggest mystery and it gets harder and harder to explain to users why changes aren't displaying accuralely.

    Thanks Richard... your blog definitely hit home with what I was seeing but guess I just didn't want to accept that as the end of the road on this.  I'm still in a little misbelief that client interaction is necessary to update a backend change.
    This process really makes phone numbers in Lync an unreliable source given a user will never know if it is it up to date.  And the problem with Lync 2013 client is it shows both numbers in the client ... the address book one with the
    updated AD numbers and the one the normalized AD one that the user has to login to republish.  I now more fully understand the process but trying to explain that to users when they see different work numbers .. ugh. 
    Oh well, guess the important part is to understand the process so thanks again.

  • When i bought the owner unlock icloud id already, and than i signed in my account in icloud, but whne i updated new version, it still show old icloud id.

    when i bought the owner unlock icloud id already, and than i signed in my account in icloud, but whne i updated new version, it still show old icloud id.

    Welcome to the Apple community.
    Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.

  • Consumption report showing old purcahse orders

    Hello experts,
    I am executing a consumption report. It is showing old purchase requisitions.
    I do not need them.
    How do i make it not to appear inthe report
    please advise,
    Thanks in advance
    Sanjeev

    Hi,
    Set the deletion indicator or the close indicator using ME52N.
    Regards,
    Santosh

  • HT204053 hi i have purchased i pad when i am going to purchase its showing old ipad user name how to change it

    hi
    need help
    i am new user
    i got a ipad from one of my friends when ever i am trying to purchase any game or trying to download free games its showing old ipad users name and asking for password . how to change that ??????

    Welcome to the Apple Community.
    settings > store, sign out of his account and into yours.

  • Content presenter to show old version of a document.

    We are using content presenter to show content from UCM. In one case we want to show old version of document. We want to pass document-name and rev-label to content presenter and would like to show that particular version only.
    Content presenter take datasource as parameter but I believe I can only pass doc-name to it and it will always show latest document. Is it correct?
    I am fine if someone can provide cmis query to retrieve one particular version.
    Thanks
    Sanjeev.

    I was also thinking on similar line but problem is ora:t:IDC:GlobalProfile returns only latest versions.
    Let say my doc-name is HC_AP_HELP_DOC, I put following query
    SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:dDocName = 'HC_AP_HELP_DOC' ;
    It correctly show the latest version. If I put additional condition of revision-no as 'SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:dDocName = 'HC_AP_HELP_DOC' and ora:p:dRevLabel = '3'', it workds only for revision 3, because that is the latest one. If I change version no to 1 or 2, it does not show anything. I believe its all because version 1 and 2 are not selected by ora:t:IDC:GlobalProfile so additional filter can not do anything.
    Do we have any select query which can return all versions of document?
    Thanks
    Sanjeev

  • TS1424 When i try to download or update my apps. Message pop out "there is an billing problem on your previous purchased". I tried to change my visa acct no. Still unable to access. Tried to create new itune account & access but they still showed old itun

    When tried to download or update it showed"there is a problem in billing from previous purchased" changed to new payment account still unable to access. Created new itune account still cant access, keep showing old account detailed. & asked for verification. Pls assist. Thank you.

    Also when I apply the safety copy it only imports the app the phones have had in common, so none of the apps that only the iPhone 4 had doesn't come in, only the ones I and the iPhone 4 has had in common. So you say the only way I can use the Apple ID to download on the old iPhone 4 is if I delete the apps that are in the phone and then download them again? How will that change the ID to download/update from. Won't it still have mine to update/download from?

  • Installed new j2sdk but it shows old one

    Dear All,
    old java is installed in my system (redhat 9.0(linux))
    #java -version
    java version "1.3.1"
    jdkgcj 0.2.3 (http://www.arklinux.org/projects/jdkgcj)
    gcj (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
    Copyright (C) 2002 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    same output either with root or normal user
    but i followed documentation "http://java.sun.com/j2se/1.4.2/install-linux.html" and installed new j2sdk 1.4.2 but again when i check its version it is showing old java as
    #java -version
    java version "1.3.1"
    SO WHY IT IS SHOWING OLD JAVA INSTEAD OF NEW ONE.
    Any help appreciated,
    -jack

    check your java location:
    >which javaIf "java" is a link to the real java runnable, just change this link to point to your newly installed java runnable.

  • WSUS 3.0 started to show old updates

    Hi, a couple of weeks ago my WSUS 3.0 started to show old updates as needed (starting from 2009). I notice they are all Windows Server updates (2008R2 and 2012), there are no Win XP/Vista/7 updates.
    Recently I ran "Server cleanup wizard" after a couple of years from the last time (not my fault), and I notice that it failed at the first point "unused updates and update revisions". If I try again, it fails always at that point, while
    if I run the wizard without this option it ends successfully, deleting updates and freeing disk space.
    I searched on my servers some of the updates marked as "needed" to check if they were already installed, and it seems they are really not installed, but it is very strange because we usually approve all updates one time a month, in fact before
    these updates showed, there were only a few updates with status "needed" (the last arrived and not yet approved).
    One detail more: servers involved in updates, are rebooted very rarely since they are in a internal, production network. For example, last update of a group of them was sept 2013.
    What could have happened?

    Hi, a couple of weeks ago my WSUS 3.0 started to show old updates as needed (starting from 2009). I notice they are all Windows Server updates (2008R2 and 2012)
    Quite possible if new -unpatched- servers have been introduced into the network.
    I searched on my servers some of the updates marked as "needed" to check if they were already installed, and it seems they are really not installed
    Also... believe it or not... sometimes updates get 'uninstalled'. It's also possible that they were
    never actually installed.
    I notice that it failed at the first point "unused updates and update revisions". If I try again, it fails always at that point, while if I run the wizard without this option it ends successfully, deleting updates and freeing disk space.
    This issue is discussed extensively in this forum, at least once a month for the past few years. In addition, I wrote a blog series that covers all of the causes, remediations, and preventive maintenance that should be done. See the
    WSUS Timeout Errors series at PatchZone.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Help in MB51 showing Old Material Number.

    Dear gurus
    Is there any way to show Old material number in MB51 ?
    Please help
    regards
    Saad Nisar

    Hi,
    This field will not be displayed in MB51.
    You will have to copy the programme to MB51 & take the table MARA, from where you can take the required field into the report.
    This programme can then be assigned to z report (For example - ZMB51).
    Regards,
    Prashant Kolhatkar

  • When i updated my username on laptop, my i touch still showing "old" user name even after sync.

    When i updated my userid at apple web site using my laptop, my i touch still showing "old" userid and will not accept "old" or new password even after sync.

    What do you mean you "had to unlock it"?  Do you mean you jailbroke it?  If it was jailbroken and you updated iOS, then wiping it out is the natural consequence of that.

  • Cannot download apps because it shows old itunes account

    I had changed my itunes account ( email) and varified it...when download apps, it shows old email address and when i put the password, it says it is incorrect. How to change the email in the box before the download?

    Sign out of the iTunes account then sign back in.
    Select the iTunes store on the left side of iTunes.
    Click on your account name at top right then Sign out.
    Sign back in with new account name.

  • Although apple id changed to new email account iCloud still showing old one and cant access everything.  How do I update it?

    Changed email address.  Apple id changed but iCloud still showing old one and can't find how to change it.  Cant access everything or download to iCloud because of this.  How do I update my info?

    Welcome to the Apple community.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • My new mac book air will not show old emails.  how can i fix this problem

    my new mac book air will not show old emails.  how can i fix this problem

    The answer depends on a number of factors, such as the following:
    If you have more than one email account, does this problem affect one, some, or all of your accounts?
    Where did you last see this mail -- in your Inbox(es)? in some other folder(s) outside your Inbox(es)? somewhere else?
    How old is the missing email -- yesterday? just before you got the new computer? over a week? over a month? over a year?
    How are you reading email -- with the builtin Mail application? with some other mail-reading application? with a web browser?
    How do you access your email on the server -- IMAP? POP? Exchange? web browser? other?
    What version of OS X is on your new computer -- Mavericks (10.9.x)? Mountain Lion (10.8.x)?
    Did you migrate your data and applications from your old computer when you set up your new computer?
    For example, if the missing mail is the mail that was in your Inbox before you got the new computer, you are reading it with the builtin Mail via POP, and you failed to migrate data, then the mail was left behind on the old computer. The same would be true if the mail was in "On My Mac" mailboxes and you failed to migrate data.

Maybe you are looking for

  • A/R / A/P Aging question

    Our customer frequently needs to run aging reports as of a date in the past (i.e. they are running 11/30/13 right now).  In order to get the report to tie to the trial balance, we need to select criteria to include customers/vendors with a -0- balanc

  • Installing Windows 7 Professional via Boot Camp Assistant on late 2013 iMac 27"

    So here I am with a brand new 27" iMac bought on Nov 3.  Machine is top of the line w/ 3.5GHz quad-core intel i7Core, 4GB Video Card, 3TB Fusion Drive and right out the box on first start up and first update, I install Windows 7 via Boot Camp.  Best

  • PDF to CBR

    I'm converting comics for my grandson from PDF to CBR or CBZ.  With Win XP I used PDFtoCBR but that doesn't work with my new Win8.1 OS. So what will work for batch conversion (please don't advise I leave them as PDF)?

  • How to use colour setting shown under the edit menu

    I looked at the Colour Settings under Edit and want to use Adobe RGB but can't get the icon at the top left corner to say that my colour setting is synchronized.  I was told that North American Prepress and Adobe RGB were good to use.  What am I doin

  • Drag & Relate iview

    hi all GURUS, Enterprise portal is newer for me. I have added Three iviews as DRAG $ RELATE TARGETS in one page and i have aslo adeed Related link type iviews to that same page and i assignd that page to any user Now when i logon as that user then it