Selective update

Hi All,
I have a situation where an infoobject has either a length of 2 or 4.
We only want to load when the source field in R/3 has a length of 2 and when its 4 we dont want to load the record into BW.
For this the code that I used in  the transfer rules is ,
IF TRAN_STRUCTURE-TAX_CLS+2(1) = ' '.
    RESULT = TRAN_STRUCTURE-TAX_CLS.
    RETURNCODE = 0.
  ELSE.
    RETURNCODE = 4.
  ENDIF.
returncode <> 0 means skip this record
RETURNCODE = 0.
abort <> 0 means skip whole data package !!!
So now basically this code says, when there is more than 2 chars, put returncode = 4, so that it skips those records and loads all others. Instead when I try to load, this load is failing.
Am I doing the right code? or can anyone else suggest an approach for this situation?
Thank You,
Reddy

Roberto,
I tried what you say in the start routine,
I get syntax error,
E:The internal table "DATAPAK" has no Header line - explicit specification of an output area with "INTO wa" or "ASSIGNING <fs>" is required.
I ve never down this in transfer rules.
Can you guide me as to what tables and data I have to declare ??
Thanks,
Reddy

Similar Messages

  • I just updated my iPhone 4 to iOS6.  In the process, I ran into a problem and had to restore factory settings.  After syncing the phone, I see that 218 apps need to be updated. When selecting "update all," it says "manage local device storage usage." How?

    I just updated my iPhone 4 to iOS6.  In the process, I ran into a problem and had to restore factory settings.  After syncing the phone, I see that 218 apps need to be updated. When selecting "update all," it says "Cannot Download.  There is not enough available local storage to download these items.  You can manage your local device storage usage in Settings."
    How can this be the case when I haven't changed any apps from before updrading to iOS6, and I don't have any music yet on the phone?  Why is it telling me there is not enough local space?

    Hi RileyAvaCadenRiver,
    If you recently updated your iPhone to iOS7, you will need to update iTunes on your computer to iTunes 11.1 or newer for it to correctly recognize the iPhone. You may find the following link helpful:
    Apple: iTunes 11.1.1
    http://support.apple.com/kb/DL1614
    Regards,
    - Brenden

  • When my iPod Touch is connected to my Mac, and I select Update to update the software of my iPod Touch, I get a message saying that my iTunes software is current, but it will not update my iPod Touch software.  Is there a bug in the iPod program?

    When my iPod Touch is connected to my Mac, and I select Update to update the software of my iPod Touch, I get a message saying that my iTunes software is current, but it will not update my iPod Touch software.  Is there a bug in the iPod program?

    If you have the first gen ipod touch as your information shows, then you would have to buy a software update:
    Purchasing iOS 3.1 Software Update for iPod touch (1st generation)

  • How can I delete apps from the app store? There seems to be every app I have ever downloaded and deleted since I got my phone in 2007. When I go to app store and select update apps there's a menu at the top that says purchased! I would like to delete hist

    How can I delete apps from the app store? There seems to be every app I have ever downloaded and deleted since I got my phone in 2007. When I go to app store and select update apps there's a menu at the top that says purchased and when I select it it shows every app I've ever had! I would like to delete the history please.
    Many thanks

    You cannot.
    The entire point of this is that you can redownload any and all of your past purchases.

  • HT5655 Has Adobe Flash Player been blocked again.  I can download the image and proceed to installing; however, installation of flash prompts me to select update methods.  I cannot select update or not update.  I also cannot click on NEXT.

    Has Apple blocked Flash Player again, listing it in the block list.  I am able to download the image from Adobe, and begin the install process.  Once I get to the option to select update Flash automatically or not, I cannot select an option or click on NEXT to finish the installation.  Thoughts?

    Adobe's Flash Player Install Manager was updated about a week ago.
    I suggest trying the download from Adobe's site here:
    http://get.adobe.com/flashplayer/?promoid=JZEFT

  • Execution time difference between SELECT & UPDATE statement in JDBC Sender.

    Hi Experts,
    In my scenario, I have used the JDBC Sender Adapter with the SELECT and UPDATE statement.
    Now the problem is in between the execution of Select and update statement, few more entries are coming in the same DB Table.
    So result of this is updation take place for those entries which are not even picked up by the select statement.
    Can we avoid this execution time difference between the SELECT & UPDATE statemet on JDBC Sender side???
    Thanks & Regards
    Jagesh

    Hi
    Use serializable option in additional parameters, now all new entries would also be updated.

  • Sender JDBC Adapter Select/Update Issue

    Dear All,
    We have configured a Sender JDBC Adapter to Poll data from the DB2 tables. It is working fine and both the select and the update queries written are also getting properly executed and are changing the status of the flag from Y to N once read from database.
    In the communication channel ->
    select * from <table> where flag = 'N'.
    update <table> set flag = 'Y' where flag = 'N'.
    But I have one doubt after executing the select query some new data comes into the table of status flag 'N"., then will this unselected data will also be updated to 'Y' .
    The question is while we do a select and update from XI on the DB table and at the same time there is an insert happening into the table from the other end how will the adpater behave in this case.Will it result in missing of some records during next select/update transaction from XI..
    Your inputs will be appreciated.
    Regards
    Amit

    Amit
    Did you ever get a solution to your question ?
       Sender JDBC Adapter Select/Update Issue  
    Posted: Apr 24, 2008 2:29 PM           Reply 
    Dear All,
    We have configured a Sender JDBC Adapter to Poll data from the DB2 tables. It is working fine and both the select and the update queries written are also getting properly executed and are changing the status of the flag from Y to N once read from database.
    In the communication channel ->
    select * from <table> where flag = 'N'.
    update <table> set flag = 'Y' where flag = 'N'.
    But I have one doubt after executing the select query some new data comes into the table of status flag 'N"., then will this unselected data will also be updated to 'Y' .
    The question is while we do a select and update from XI on the DB table and at the same time there is an insert happening into the table from the other end how will the adpater behave in this case.Will it result in missing of some records during next select/update transaction from XI..
    Your inputs will be appreciated.
    Regards
    Amit

  • Keep getting error: None of the selected updates could be installed. An unexpected error occurred. Please help!

    Hey I am kind of new to this forum situation, but I keep trying to install software updates on my macbook for the last two weeks and the aforementioned error (None of the selected updates could be installed. An unexpected error occurred.) keeps resulting. I would download them straight from online, but I don't know which ones to download. What should I do?

    Bring up Software Update, and when it says it has updated software to download, click the button on the left bottom of the window, might say something like show details. That will open the box to show you exactly what would download. You can then visit the Apple download site at http://support.apple.com/downloads/

  • HT1689 can't get itunes updates on ipad, but can get everything else...genius, purchases, etc. When I select "updates" screen is blank.  Any ideas??

    Can't get itunes updates on ipad, but can get everything else...genius, purchases, etc. When I select "updates" screen is blank.  Any ideas??

    The update server is down; try this temporary workaround
    App Store>Purchased>Select "All"
    Note: Look out for apps that have the word "Update"
    http://i1224.photobucket.com/albums/ee374/Diavonex/9c256282736869f322d4b3071bbb2 a82_zps51a6f546.jpg

  • Making  Statistics to Discover the use % of Select/Update/Delete

    Hi,
    I have a small database, and I'd like to do a Statistics about the use of Select/Update/Delete. I hear about two ways.
    1-) Using Audit
    2-) Reading the Archives though package DBMS_LOGMner
    What way do u suggest to me ?
    If anyone have links and more information how I can do this statistics, could post it here ?
    Thank you.
    Fernando.

    2-) Reading the Archives though package DBMS_LOGMnerWell, if the database is not in archivelog mode, you can only read the online redo logs, therefore, missing the historical information.
    The best and simpliest solution to implement auditing.
    Jaffar
    Message was edited by:
    Syed Jaffar

  • SELECT,UPDATE, DELETE With JDBC Adaptor

    Dear All,
    I need to execute few Select, update and Delete statement by using JDBC Adaptor.
    Suppose While select statement no records selected.
    During Update no records exsist with specified key so no update possible.
    During delete if no record found with specified key so no deletion possible.
    In above cases do I get any error, any where in XI . Either in SXMB_MONI or in RWB.
    Regards,
    Raghvendra

    Hi
    You will be getting SQL error in RWB and not processed flag in SXMB_MONI
    Along with this you can use OS level command STDOUT and STDERR to write out the trace.
    using JDBC you can even use following Isolated setting.
    ·        Default (default setting of the respective database)
    ·        None
    ·        read_uncommitted (weakest setting)
    ·        read_committed
    ·        repeatable_read
    ·        serializable (strongest setting)
    You must only lower the isolation level where necessary and as far as necessary. To avoid data inconsistencies in the database when the isolation level is lowered, ensure that multiple database transactions cannot access the database simultaneously.
    With this Do not set Auto Commit enabled indicator if the JDBC driver supports transactions.
    Thanks
    Gaurav Bhargava

  • Admin gets the following message while trying to update software: None of the selected updates could be saved. A network error has occurred. Check your Internet connection, and then try again. Any suggestions?

    I'm the Adnin. just recently I tried to update system software (Lion OS). The following message was returned. None of the selected updates could be saved. A network error has occurred. Check your Internet connection, and then try again. but I have internet access )email, Safari, etc.). Any idea of what is happenening?

    The error may be at Apple's end rather than yours. It could also be due to corrupted files on your computer. Try deleting the following:
    /Home/Library/Preferences/com.apple.SoftwareUpdate.plist
    /Home/Library/Caches/com.apple.SoftwareUpdate/
    /Library/Preferences/com.apple.SoftwareUpdate.plist
    Restart your computer.

  • Download updates for the lion and I read the writing could not save any of the selected updates. Why?

    why after Download updates for the lion 10.7 and I read the writing could not save any of the selected updates and I can't upgrade the software ?

    The only thing that worked for me was to boot in safe mode.
    Power down.  Then press power button and hold 'shift' key until grey screen with progress bar appears... Once booted and logged in just open safari and browse to applestore. 
    No trouble at all once I did this.
    Reminder: create full backup before you upgrade OS
    Hope it helps.

  • "None of the selected updates could be installed. An unexpected error occurred."

    Whenever I tried to update my softwares, It said: "None of the selected updates could be installed. An unexpected error occurred." I don't know how to update all the softwares. I cannot connect to my printers. And I think it's becasue of the software updates. Anyone can help me, please? Plus, how do I know what operating system I have?

    Then your friend really needs to clean it up, and give you only software which he is licensed to give.    He should read my FAQ*:
    http://www.macmaps.com/selling.html
    Without doing so, he probably has left have some gremlins of his own that cause problems.   Cleaning up a Mac for resale really means cleaning it up.

  • None of the selected updates could be installed.

    Installed Lion yesterday. Also installed the Java update.
    The software update feature on Lion is telling me to download updates for iTunes, HP printer stuff, etc.
    However after it finishes downloading i get the following message:
    "None of the selected updates could be installed." "Unexpected error"
    Any ideas? Its driving me nuts.
    Thanks,
    Alfonso

    I had the same problems, the only thing that worked for me, was to download the update, one by one. Odd I know, but I had problems with iWork Update 6, Remote client update, but when I did it one by one, they worked. However, iTunes 10.4 refuses to download what so ever, all I get is Installation Failed, see the manufacturer. Going to an Apple Store to see what the Geniuses can do.

  • Latest update returns error " None of the selected updates could be installed. The update could not be expanded, and may have been corrupted during downloading. The update will be downloaded and checked again the next time that Software Update runs."

    Latest update returns error " None of the selected updates could be installed. The update could not be expanded, and may have been corrupted during downloading. The update will be downloaded and checked again the next time that Software Update runs."

    Which latest update? Details get answers. Rather than using SU, DL and install from http://support.apple.com/downloads/.

Maybe you are looking for