LSMW update vendor account just if the actual (old) is in the txt file

I want to update the vendor account but just if it is the same I have in the txt file.
My txt file is the fllowing for example:
Vendor - Old Account - New Account
A2
A123
A321
A1
A133
B321
A3
A144
C321
So, for each vendor if the actual bank account number is (old account in the file) replace the actual (old account) with the new account.
In the CODE text for LSMW (check my attach) I have this:
IF FK02A-BANKN_01 = CTAS-BANKN. FK02A-BANKN_01 = CTAS-BANKNNUEVO. ENDIF.
Where:
FK02A-BANKN_01 is the FK02 text for vendor account
CTAS-BANKN is in my file and structure defined the OLD ACCOUNT
CTAS-BANKNUEVO in my file and structure defined the NEW ACCOUNT (the one should be now)
But it is not replacing, if i check converted data, this field is empty. So the if is not working. Ideas?
I changed it by
FK02A-BANKN_01 = CTAS-BANKN
or
FK02A-BANKN_01 = CTAS-BANKNNUEVO
and it works, but put the old or the new code of course, not doing the comparation with the old and replacing with the new.

exact, similar to what I showed and described in my blog LSMW Long text load by Direct Input method
and you must not forget that the account in the database is stored with leading zeros in case of numeric account and less than 10 long, so there is another potential risk that it wont match without doing an extra conversion of your source field content.

Similar Messages

  • TS1702 i downloaded the GV app to my iphone but i'm trying to set up the app and it says it can't connect to google when i try to sign in to my google account.... any ideas what's wrong? i can access my gmail account just fine with my gmail app on the sam

    i downloaded the GV app to my iphone but i'm trying to set up the app and it says it can't connect to google when i try to sign in to my google account.... any ideas what's wrong? i can access my gmail account just fine with my gmail app on the same phone

    What's a GV app?

  • Hello,  I am trying to add a book to ADE.  I have previously read it on an Android device using an app called Aldiko.  Now when I try to open it up on my account I am getting the message "the vendor account you are entering is not associated with the item

    Hello,
    I am trying to add a book to ADE.  I have previously read it on an Android device using an app called Aldiko.  Now when I try to open it up on my account I am getting the message "the vendor account you are entering is not associated with the item you are trying to open".   Please help 

    This is the Adobe Reader forum; please ask in the Digital Editions forum.

  • Calculating the actual value when creating the input schedule on BPC NW 7.0

    Hello Experts,
    I have One questions regarding the calculation when building the input schedule.
    the structure of this input schedule is like this:
    CV: App01-time-entity-account-version-p_datasource ...
                      Plan Value   Actual Value
    Project       1000
    In the backend of BPC ,The Actual value is retrived from other system using BW DTP function, and with the monthly based line item.  We build the BPC-mutiprovider by the actual value cube and the plan data cube.
    From the BPC Office view, we want display the actual value by aggregating historice data till the month which user selected in the current view. These actual data is just the reference for user when they input the plan data. so we dont want these data stored in the application or database.
    Can anyone give us some hints?
    Thanks a lot in advance!
    Best Regards,
    Vivi
    Edited by: Vivi Sun on Jan 19, 2009 1:12 PM

    Vivi,
    Were you able to accomplish what you were looking to do? I would appreciate if you could share that info with us.
    Thanks.

  • I have acquired windows office 2011 for my macbook but unable to open it. There are currently 3 files in the folder, 1 of which seems to be the actual program which is a hfs file. iv tried looking for programs to help me open it but failed

    i have acquired windows office 2011 for my macbook but unable to open it. There are currently 3 files in the folder, 1 of which seems to be the actual program which is a hfs file. iv tried looking for programs to help me open it but failed.
    when double clicking on the image it says unable to open and gives me the option to search the app store.
    any help would be much appreciated
    Adam

    Well, first, just make sure it's the Mac version and not the Windows version (which indeed would not run on your Mac). You say "Windows Office" which is why I mention it. I think you probably just mean "Microsoft Office" though.
    Next, is this on a disk (DVD), or did you purchase and download it from the Microsoft site?
    Matt

  • How do i read out the actual voltage range of the daq board as calculated by labview based on my input voltage range

    I am somewhat new to DAQ so I hope I describe this well enough, but I have encountered a requirement for my VI that I am not sure how to obtain from LabVIEW. It is my understanding that when using a DAQ board (I'm using a PCI-6034 E) you can specify the voltage range you expect from your measurements, and then the software calculates the actual voltage range it will be measuring to ensure that you get the best resolution in your range that you can given the voltage step size, etc. of the equipment. I know how to extract the voltage input that I enter into the virtual channel, but I was wondering how I can extract the actual voltage range that the hardwar
    e/software is using based on its own calculations from my input. Can anyone help me with this?

    If I understand correctly, you want to retrieve the actual gain value (and, therefore, usable input range) used by your DAQ card for a particular measurement.
    I think there's a good KnowledgeBase entry with your solution entitled "Programmatically Determining the Gain Used by a DAQ Device". Here's the URL:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c93d3954ec02393c86256afe00057bb0?OpenDocument
    Regards,
    John Lum
    National Instruments

  • I had a trial version of Pages for 30 days and then purchased the actual software without removing the trial. Now when I try to edit documents and save them it wont because it tells me I am using a trial version.... How can I remove the trial version?

    I had a trial version of Pages for 30 days and then purchased the actual software without removing the trial. Now when I try to edit documents and save them it sometimes wont because it tells me I am using a trial version.... But sometimes it lets me!! How can I remove the trial version? I cannot tell which one I am using when I open it....

    Question asked and answered quite once a week.
    Go to my iDisk (address below)
    and download :
    For_iWork:iWork '09:uninstall iWork '09.zip
    Run it then reinstall the purchased software.
    Yvan KOENIG (VALLAURIS, France)  vendredi 2 janvier 2011 16:21:41
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please :
    Search for questions similar to your own
    before submitting them to the community

  • Provide brings back the actual date , different to the table content

    Hi,
    I´m not a developer, but must do that part now in my company.
    We have a 46C with actual packages.
    In a customer report I have to add 2 fields to an output.
    It selects from PNP and provides data like follows:
    GET PERNR.
      PROVIDE * FROM P0000
    FROM P0001
    FROM P0002
    FROM P0006
    FROM P0007
    FROM P0013
    FROM P0016
    FROM P0053
        BETWEEN PN-BEGDA
            AND PN-ENDDA.
    That worked fine.
    Now I liked to set 2 fields with contents of IT 0000 (table PA0000):
        IF P0000-MASSG = '01'.            " MA aktuell im Vorruhestand ?
         TRANS-BEGVORRST = P0000-BEGDA.
         TRANS-ENDVORRST = P0000-ENDDA.
        ENDIF.
    At debugging I can see, that the requested fields from P0000 are set to the actual date, not to the value I can select from table or shown in the SAP transaction.
    All other fields from PA0000 are matching the row I expect, but not the date fields
    Any idea?

    Hi,
    That is the behavior of PROVIDE statement. If you combine (JOIN) several tables (P0001, P0002, etc) together, it will give you all the intersected dates.
    For example, in two tables itab1 and itab2, the respective columns col1 and col2 are interval limits of type i. The filling of the internal tables results in the following intervals (rows two and three):
    |   Itab1 Int1    |     |Itab1 Int2 |     |
    |        |      Itab2 Int1       |        |
    |  |          ... BETWEEN ...             |
    |  | i1  |   i2   | i3  |   i4   |i5|     |  <<<< This is the result
    Regards,
    Lim...
    Edited by: Ruslim Chang on Apr 17, 2009 11:26 AM

  • After downloading ios 6 to my ipad 3 , I can't see the pics of many of my purchased albums when I first open up the Music app. Why? And when I click on the actual album, it shows the pics.

    After downloading ios 6 to my ipad 3 , I can't see the pics of many of my purchased albums when I first open up the Music app. Why? And when I click on the actual album, it shows the pics.

    After a while it start to work.... No problems.

  • [svn:osmf:] 14486: Add stream metadata support by extracting the actual metadata object from the binary data stream .

    Revision: 14486
    Revision: 14486
    Author:   [email protected]
    Date:     2010-03-01 14:27:41 -0800 (Mon, 01 Mar 2010)
    Log Message:
    Add stream metadata support by extracting the actual metadata object from the binary data stream.
    Fix bug 466
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/Media.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingUtils.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FStreamInfo.as

    same problem, data not replicated.
    its captured,propagated from source,but not applied.
    also no apply errors in DBA_APPLY_ERROR. Looks like the problem is that LCRs propagated from source db do not reach target queue.can i get any help on this?
    queried results are as under:
    1.at source(capture process)
    Capture Session Total
    Process Session Serial Redo Entries LCRs
    Number ID Number State Scanned Enqueued
    CP01 16 7 CAPTURING CHANGES 1010143 72
    2. data propagated from source
    Total Time Executing
    in Seconds Total Events Propagated Total Bytes Propagated
    7 13 6731
    3. Apply at target(nothing is applied)
    Coordinator Session Total Total Total
    Process Session Serial Trans Trans Apply
    Name ID Number State Received Applied Errors
    A001 154 33 APPLYING 0 0 0
    4. At target:(nothing in buffer)
    Total Captured LCRs
    Queue Owner Queue Name LCRs in Memory Spilled LCRs in Buffered Queue
    STRMADMIN STREAMS_QUEUE 0 0 0

  • How to calculate the number of vowels from a txt file. Pls give me a hand!!

    Guys! How do i calculate the number of vowels from a txt file? I have to create a program to count the number of words, sentence, and vowels. So far I had managed to count the number of words. Now I need help on counting sentence and vowels! Pls give me a hand guys!

    I first have to read from the file not the string.I
    know how to read from a file. Now the problem ishow
    to compare a character from a txt file!You fail to understand, that you have read the data
    from the file into a string. Now loop over all
    characters in the string. Forget about the file.
    KajOr forget the scanners just as others have told you. Just read the file character by character using a FileReader.
    Kaj

  • Count the number of lines in a txt file

    I need to count the number of lines in a txt file, but I can't do it using readLine(). This is because the txt file is double spaced. readLine() returns null even if it is not the end of the file. thanks for the help

    I need to count the number of lines in a txt file,
    but I can't do it using readLine(). Then just compare each single byte or char to the newline (code 10).
    This is because the txt file is double spaced. readLine() returns
    null even if it is not the end of the file.Errm what? What do you mean by "double spaced"? Method readLine() should only return null if there's nothing more to read.

  • I just installed a larger hard drive, and used my Time Machine Backup to transfer my info back to the new hard drive. When I open Iphoto, my thumnails are there, but they aren't linked back to the actual photos.I see the photos in my HD. What should I do

    I just installed a larger hard drive, and used my Time Machine Backup to transfer my files back to the new hard drive. When I open Iphoto, my thumbnails are there, but they aren't linked back to the actual photos. I see the original photo files in my HD. Is there a way to link the Iphoto thumbnails back to the original files?

    Use the Firewire cable and t boot the old Mac's hard drive to the new Mac's desktop and transfer your entire iPhoto folder.
    Use Disk Utiliy to erase'format HFS+ Journaled your TimeMachine drive and use the free Carbon Copy Cloner and clone your new boot drive to the external, it's hold option bootable.

  • HT201303 I no longer live in Qatar. I am now living in Abu Dhabi. I have tried several times to update my account with new address and payment details but the system keeps telling me that I can only use a Qatari account?? How can I amend this please

    I have tried several attempts to update my account information as I have moved location and obvioulsy have new payment details.
    The system does not seem to accept the new information and keeps refering me back to my old details saying you cannot purchase in this area, we will put you back to the Qatari location???
    Please help, have tried now for 2 days to update

    Im trying to switch the Apple ID names around, and what i've learnt is that the Apple ID has to be an Email that isn't an Apple ID. Yup, it's messed alright.

  • What the actual bug is in the iPhone 2.0 ActiveSync implementation

    There is a serious bug in the ActiveSync client implementation in the iPhone 2.0 software. I'm pretty aware of this as I'm a Sr. Engineering type for another major cellular handset OEM and went through the same issues debugging/QAing development of another client on another handset. Note that I haven't gotten around to picking up a 3G iPhone yet, but updated my existing EDGE 1.0 handset in a 6 hour to the minute iPocalyptic ordeal.
    First of all there are some pre-existing conditions in your MS-Exchange server set up that might negate your ability to access Exchange mail with any client, first, OWA services have to be "turned on". If you cannot access Outlook Web Access from the browser on your desktop/laptop, you're SOL, it'll never work. If your Exchange server is behind a corporate firewall, i.e., you have to be on your home network or VPN in to access OWA services, you would be again SOL on using the iPhone.
    The implementation bugs would indicate that whomever was in charge of testing it did not have a clue about what they are doing, and/or did not test the client on a wide enough variety of MS-Exchange installations.
    A very common setup, like my corporate Exchange servers, involve multiple servers with unmatched security certs, i.e., OWA address is https:/webmail.corpname.com, but actual server name is https://mail.corpname.com, requiring response to a security cert Accept/Deny/View certificate type message that will popup when accessing via a web browser or a PROPERLY implemented ActiveSync client. When you attempt to access a setup like this, which is not uncommon, the response back to the proffered credentials is unexpected, and in the case of iPhone 2.0 you just get an immediate "Exchange acct. verification failed" error message in very fine print at the top of the display (which apparently from the verbiage in a number of posts some people aren't noticing) instead of the security cert popup. This issue should be easily fixable, but will require a software update to the existing 2.0 software ActiveSync client. There are potentially other issues with forms based authentication, but due to the cert issue I can't tell at this point if they exist as well.
    The above is referenced specifically to an MS Exchange 2003 server, can apply to some older Exchange versions as well. I don't want to even get into MS-Exchange Server 2007; I can't connect to that either, but there can be a lot of issues further then the multiple server or security cert issue; since there hasn't been an SP2 release for it, it is still technically beta software IMHO. There ARE additional issues, especially if "CAPTCHA" validation is invoked, don't want to even go there...
    The general implementation of the MS-Exchange looks distinctly "last gen" and flawed. The first attempt to attempt to garner setup/authentication using only reply address and domain/username input will probably not work on most MS-Exchange installations, and has to fail before you get prompted to input the server URL address. Another potential issue is that there is NO SSL On/Off control even on the extended setup page; and you do not see that the setting is defaulted to SSL "On" until after the entire setup fails and you go back through Settings - Mail - Acct details; SSL "On' is the default setting from Microsoft when setting ActiveSync on WinMobile devices, but as often as not should be set to "Off" for many MS-Exchange server installations/setups.
    So hopefully 2.0.1 will be released shortly and we will all be able to get ActiveSync connectivity back to our MS-Exchange servers.... I'm not going to bother to pick up an iPhone 3G until this is rectified, what would be the point?
    Note to Steve Jobs: If you didn't have an aneurysm/heart attack in the WarRoom today I would be available to ensure embarrassing f*ckups like this don't happen on future launches, and if you move me to the Bay Area will work for short money despite the fact I have 22 years experience in computers/telecommunications 8 1/2 of which bring successful cellular handsets to market, I just need to be two steps above a cardboard box on the corner of 9th and Howard, have your people all/email mine...

    After almost 1 week of sheer frustrations, I have been unable to connect my Iphone 3G to my exchange server at work.
    I have tried probably every method discussed here, including restoring my iphone 3G several times. My issue has been elevated all the way up to apple engineering, and still no solution.
    It appears that the issue is that I cannot connect because my company is using Exchange server 2003 with SP1.
    I can connect any Windows Smartphone or Pocket PC and it will sync in what seems seconds….very fast. I have used windows phones connected to our server for more than 4 years, never an issue.
    My company has the attitude of we “We don’t want you to connect, you are lucky to be able to use active sync on windows phones!!” So their change is not probable.
    Has anyone found a way to connect Iphone 3G to an Exchange Server 2003, SP1?

Maybe you are looking for

  • Access to Outlook Anywhere does not work

    Good evening, I recently installed an Exchange Server 2013 CAS / MB. Until now, the server presented a few errors (mainly in the event log) that does not seem to significantly influence functionality. This week I published the server on the Internet

  • How to Convert Date (DD.MM.YYYY) to be just DD

    Hi experts, I have no idea how to convert Date format (DDMMYYYY) to be just DD. Example: I have date: 31.10.2009 now i just want to show in report as 31. I just known if we just want to show month only, we could use the 0CALMONTH2. but how if i need

  • How can I access my IPhoto files on Bridge in Photoshop?

    Hoe can I access my IPhoto files in Bridge in Photoshop?

  • MTE class CCMS_DB_mcmtc

    Hello! I would like to set up CCMS for satellite systems with SAP DB (MTE class: CCMS_DB_mcmtc) The very interesting elements from this MTE are: - Used Log Space - Last successful Complete Data Backup - Last Complete Data Backup Return Code The probl

  • Lib error in brasero - won't launch

    n/m - I originally searched for brasero *and* libtotem and got no threads, but i see one now, here: http://bbs.archlinux.org/viewtopic.php?id=38631 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ since the last update brasero is missing lib