Coding in the Trasformation  to allow only few currency types.

HI
Can you please let me know how i can write a program which allows only few currency's to be accepted and if other then these currency exists that particular record to be deleted before loading into the PSA
I wrote a code llike this but this is only valid for ZAR
*delete SOURCE_PACKAGE where CURRENCY ne 'ZAR'.
for example if i want to allow ZAR, USD, EUR only
hwo can i code this in the Start Rotine in the TRansformations.
please let me know
regards
Krishna Mohan.

Hi Krishna,
You can try this code :
    data: s_cur   type c length 3.
    data : i_rng_cur like range of s_cur.
    data : rng_cur  like line of i_rng_cur.
    rng_cur-sign = 'I'.
    rng_cur-option ='EQ'.
    rng_cur-low = 'ZAR '.
    append rng_cur  to i_rng_cur.
    rng_cur-low = 'USD '.
    append rng_cur  to i_rng_cur.
    rng_cur-low =  'EUR '.
    append rng_cur  to i_rng_cur.
   delete source_package where CURRENCY  not in i_rng_cur .
  This code will delete all currency other than  ZAR ,EUR ,USD.You can append more values if you want .
Regards,
Jaya Tiwari

Similar Messages

  • The style 'dropShadowVisible' is only supported by type 'mx.controls.List' with the themes(s) 'spark

    I'm still plagued by these warnings in my Flex project:-
    The style 'dropShadowVisible' is only supported by type 'mx.controls.List' with the themes(s) 'spark'
    Clicking on the warnings doesn't take me to the code.
    The project started as SDK3.5.  I've made it into an SDK4.0 project.  It uses old Halo components throughout.  I've chosen a Halo theme.
    I can get rid of these warnings if I "Use Flex 3 compatibility mode".  BUT, If I use that mode, I get also Run Time Errors - so I decided against this compatibility, and just edited the styling, deprecated syntax, and a few issues to make the app work.
    I tried the solution someone suggested editing the flex-config.xml file, but it didn't work for me.
    The application begins...
    <mx:Application
    xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    xmlns:s="library://ns.adobe.com/flex/spark"
    (I've obviously tried clean).

    Yes, very irritating. "Only a warning" isn't the whole story, it's more than just an annoyance, it can potentially make all warnings useless.
    Imagine cases where you have multiple warnings (often FB warnings turn up for EACH component resulting in many repeats, design mode is particularly bad with this).  Having a ton of warnings that "aren't really warnings" obscures REAL warnings that we'd want to do something about (and makes errors harder to notice at first--you're so used to always seeing lines under the problems tab that you don't always notice a new error that just popped up).  In the worst case scenario a valid warning that would have prevented a bug is missed and something goes to QA or production that should have been caught at compile time...
    This wouldn't be nearly as annoying if we had some decent way of filtering these warnings from the problems tab. The current filter isn't good enough and only seems to allow you to filter out one message due to the way it works, but sometimes we see more than one type of "bogus" warning.
    Voted and added to comments.  I wonder if there's a feature request out there to improve warning filter capabilities?  I also wonder why nobody complained about this before, it seems pretty easily visible.  Is it the norm for people to just always ignore warnings?  This isn't a good practice, warnings tend to exist for a reason.
    (Btw, this is part of my reasoning for the claim that Halo seems to have become a "second class citizen" component set - hopefully Adobe can do something about this.)

  • Reg: Document type should allow  only one  Material Type or a number series

    Dear Experts,
    In my project , clients requirement is to restrict the Material Type or  the number range assigned to a Matreial Type for a perticular  PO Document Type. We have  one document  type for Local Work Order -YLWO in which we  want to  enter the DIEN material type  material code only. since we want to use the Po document type to procure service from local vendor and same time we dont want to use the SERVICE Entry Sheet for the external service. Please guide me...
    My opinion is  -- We can try with USEREXIT  or BADI.
    If I am right then can any body suggest me Badi or USEREXIT name....
    We are using 4.6C so I am facing some problem .
    Thanks in advance.
    Regards
    Dibya

    Check the following  BADI with your ABAP Consultant  
    ME_PROCESS_PO_CUST
    I have used this BADI for controlling the type of vendors  according to PO document type. Currently I do not have access key to check the fields in this user exit. Check with your ABAPER on this whether it can fulfill your requirement.
    The use of item category D results into the service entry sheet. If you want to use DIEN material type then you have to do GR.
    what is the difference from your requirement ???
    Service entry sheet is nothing but the GR only.
    DEIN material type is used basically from SD or Customer service module.
    please make clear to forum what is your some problem by using 4.6C. It is too generic a statement.

  • Is there any way to block access to the internet?  Allowing only calls and texts?

    I want to be able to block access to the internet on LG Revere 3 and just allow phone calls and texts.  Is this possible?

    Never mind...I got Verizon to put a data block on the line

  • NMH405 Impressions after the first days - and a few beginners type questions

    Hi All, After some research I took the plunge and acquired a new NMH405 (I really would have liked the non existing "NMH400" i.e. no drives).  I removed the 500GB drive and added two new 1.5TB WD Green Caviar Drives and set it up as Raid-1 After a few error messages and waiting for a very long time while the drives resynched I manage to get it online as z-drive to my vista system.  I played around with the built-in backup tool (I like it!).  I tried the builtin player after having placed some of my iTunes albums on the media hub and decided that I did not really like that option to much.  I then simply moved my itunes libraries to the MediaHub and used the iTunes application on Vista as a front end.   That works very nice.
    I have a few questions, probably showing my limited knowledge of network attached drives.
    Q1.  Are there any other way to power off the device than pressing the little bottom on the NMH405 (aka my NMH415!)? When powered off I assume the only other way to power it on is via the bottom again?
    Q2.  I have noticed the device is offline for ages after having either recycled Windows Vista or the hub itself.  Why is that? And what can I do to bring it online in a orderly fashion?  There must be a way to get that ugly red crossed NAS showing as green and online as a z-drive in "My Computer" a lot faster.  
    Q3.  I reformatted the 500GB drive that the box came with, added it to Disk enclosure box and attached the USB to the front of the NMH405, after a while it said on the front panel that it had detected the drive and asker whether I wanted to import the content.  I declined that (partly because it was empty!).  Now how do I access this drive? I would like to (occasionally) use it to back up files from my Raid-1 setup (you newer know what could happen there...).  How do I use this USB attached drive?  Also i noticed it did not show up in "My Computer" - actually "Computer" in windows?  Adding it directly to my windows system it is detected instantly?
    Thanks for any pointers or answers to enhance my user experience.  I am still learning here.
    best regards
    Solved!
    Go to Solution.

    Q1. Your correct, there's only one button at the front for powering on/off. There is though an option to reboot the device inside the web interface thru the configuration > system option.
    Q2. It really depends on how fast your network can establish a connection, a mapped network drive is fine but I noticed that it slows down the bootup or login process when you turn on the PC. What I did was just create a shortcut on the desktop (location \\nmh410\media) which points to my mediahub and did not map the mediahub anymore to drive z.
    Q3. If its a fresh 500gb drive with nothin on it yet, then you would need to create a partition on it first by connecting the external USB drive directly to the PC. Check out this article from Microsoft about partitioning. I think an external USB drive icon will not show up on the PC since the external USB drive is plugged in onto the mediahub USB port. To gain access to that external USB drive which is plugged in onto the mediahub USB port, I just create a shortcut to \\nmh410\media\device . For backup you can use the NTI backup software that came with your mediahub.
    Cheers.
    Message Edited by Wilkins377 on 12-11-2009 09:38 AM

  • Does the Apple TV work only on specific types of TV's?

    We are thinking of buying a new TV, because our current one has 3 random huge red lines going vertically through it. Anyway, I was looking at TVs just a minute ago, and I remembered the Apple TV. Well, there's something called a "Smart TV" which means it can use the internet for Netflix, YouTube, Pandora, AccuWeather, etc. Anyway, I was looking at the Apple TV.
    1) Does the Apple TV only work with like a certain size, company, type (ie HDTV, LTE or whatever, Plasma, etc), etc.?
    2) Does the Apple TV basically make a normal TV a smart tv? Does it allow internet and all that easily? Also, when watching movies on the Apple TV thing, will it play full screen? Will this only happen on certain TVs?
    Thanks!

    No not any more then Xbox or playstations does

  • With the new MacBook having only a USB Type C connector, does that mean Thunderbolt is already antiquated?

    I'm curious since their own new dongle doesn't support Thunderbolt either.  Does anyone know?
    What are people's thoughts on this?

    What are people's thoughts on this?
    With only one port. We went from one USB port on the first MBA, to two, and now we are down to one port, period. Not even a headphone jack! And now the user must carry around an adapter. What's the point of a beautiful laptop if you have an octopus of adapters hanging out of its single port?

  • The style 'borderColor' is only supported by type 'mx.controls.Button' with the theme(s) 'halo'.

    Hi All,
      Can anybody please let me know about this error in detail ?
    Thanks

    Hi,
    Please go through the following link. May be the solution mentioned in the blog will resolve your issue.
    http://gauravj.com/blog/2009/12/styles-themes-and-the-stricter-compiler/
    Thanks and Regards,
    Pooja Kuber | [email protected] |http://www.infocepts.com

  • BackgroundColor is only supported by type 'mx.containers.Box' with the theme 'halo, spark'

    Hello:
    I just upgrade from Flash Builder Burrito to 4.5. After importing my Burrito project into 4.5, I got like 30 errors saying the following:
    The style 'backgroundColor' is only supported by type 'mx.containers.Box' with the theme(s) 'halo, spark'.
    I have been using backgroundColor through the project to set colors ... Is there a new property name? Do I have to start using CSS?
    The only option I had for theme was "Mobile Theme".
    I would like to be able to use backgroundColor with out rewritting all that code. Is there a way?
    Thanks
    Paul

    I used to have the prerelease "burrito" which I coded all the background colors using the "backgroundColor" property. I just bought the release version from the store and after I unstalled it I started getting the compiler errors releated to "backgroundColor".
    Where do I locate the "use flex 3 compatability" box?

  • What are the limitations of AMS5 only allowing one-way broadcast for the video capture support?

    I am interested in a tool that can access a clients webcam and begin recording from their device. When the time is up, it should store that recorded video to a server. Then, of course, the files can be accessed. Streaming is of less significance than simply capturing and accessing video from a client
    Can I do this with only Adobe Media Server Standard Edition?
    Bearing in mind, I may need to be capturing video from multiple clients at one time. Is this limited by the fact that Standard only allows "one-way broadcasts?"
    Thanks,
    Carl

    Thanks for the suggestions. I've tried using DVCPRO HD in the past, but the picture quality of the captured screen footage turns out blurry. The only codecs I've found that provide a perfectly clear image are H264, Animation and Uncompressed 8-bit. The problem with the latter two is that video files lasting only a few seconds measure in the 100s of MBs. Working with files that large would slow my editing and rendering down to a non-workable length.
    I just don't understand why I can't edit H264 video if my sequence codec is set to H264. The 'Codec error' I get is baffling.

  • I'm not techinal so please bear with me. I don't have the bar that allows me to type in a website. I did have a few minutes ago. When I make the page full screen and move my cursor to the top of the page, the bar drops down and I can use it.  help

    I'm not techinal so please bear with me. I don't have the bar that allows me to type in a website. I did have a few minutes ago. When I make the page full screen and move my cursor to the top of the page, the bar drops down and I can use it. I've tried restarting my computer, didn't work. Help!

    Well I figured it out, right click the arrow that makes the screen bigger and unclick the Hide Toolbar. I knew it couldn't be that hard.

  • In my Apple Macbook Air, most of the USB Flash/Thumb Drives are not shown in the Finder Window. Only a few Brands of USB /Flash Thumb Drives are shown or compatible or shown in the Finder. How do I use any Flash/Thumb Drive with my Apple MacAir?

    In my Apple Macbook Air, most of the USB Flash/Thumb Drives are not shown in the Finder Window. Only a few Brands of USB /Flash Thumb Drives are shown or compatible or shown in the Finder. How do I use any Flash/Thumb Drive with my Apple MacAir?

    Yes, junker thumb drives pour like rain in the market.  
    Which makes are working on your Air, and which arent?
    Stick to Sandisk and a couple of other reliable mfg. of memory sticks

  • I have three airports connected to my computer but when i ask for multiple speakes on the streaming section it only allows two of them at a time.. is there a way to have all airports streaming at the same time to different speakers.

    when i hit the multiple speakers option on streaming music in itunes to my airports which i have three connected, it only ever brings up two maximum plus the computers internal speaker as an option. how do i configure the computer t allow all three airports to stream the itunes content

    when i hit the multiple speakers option on streaming music in itunes to my airports which i have three connected, it only ever brings up two maximum plus the computers internal speaker as an option. how do i configure the computer t allow all three airports to stream the itunes content

  • So my I phone 4s volume has decided to pack  allowing only my phone to make sounds when I have an incoming call, I can also here fine using facetime and receiving calls. YouTube, soundcloud, any of I players will no longer play sound. I've restored the ph

    So my I phone 4s volume has decided to pack  allowing only my phone to make sounds when I have an incoming call, I can also here fine using facetime and receiving calls. YouTube, soundcloud, any of I players will no longer play sound. I've restored the phone using iTunes on my laptop and checked all the volumes are turned up and the button at the left hand Side of the phone is in the correct position.

    Try inserting and re-inserting your headphones 7 or 8 times. Also try cleaning out the headphone jack in case of debris that might be interfering with the connection/disconnection.

  • My mum has an iPad 1, the email programme will not open properly.  If you click on the icon it opens only for a few seconds but then shuts.  In that few seconds you cant select anything that you see on screen.  Any ideas? Thanks

    My mum has an iPad 1, the email programme will not open properly.  If you click on the icon it opens only for a few seconds but then shuts.  In that few seconds you cant select anything that you see on screen.  Any ideas? Thanks

    If the Reset Ian mentioned doesn't work...
    Shut down and restart the Mail app...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Tap and hold any icon in this list until they wiggle
    - Press the red to delete the Mail app from this list.
    - Press the home button twice when done.
    - Restart the Mail app

Maybe you are looking for

  • List view in Calendar App

    Morning. Is there a way to enable Calendar App to show the end time of events in list view? Kind regards, Friedrich

  • Raid Configuration MCS 7845 (best practice)

    I'm wondering what is the best practice for RAID configuration. Looking for examples of a 4 disk and 6 disk setups. Also, which drives to pull when breaking the mirror. Is it possible to have a RAID 1+0 for 4/6 drives and have the mirroring set so th

  • Taxonomy files can not displayed

    I create a index for a folder files and build a query-based taxonomy.The files can be automatically classified into taxonomy folders.When I use navigation iviews to browse the taxonomy folders ,I can see some links of files that are automatically cla

  • Product availability

    So l went in to purchase a Corsair K70 mechanical keyboard with Cherry MX Brown switches, but there were none in the store.  Does BBY only stock the reds and if so, how can I get the brown via BBY?   From what I have been reading the browns are in hi

  • Inserting a disc question

    Just curious, I just got my new MBP a few days ago and its my first Mac. Is it normal when inserting a disc into the superdrive that you almost have to push it in all the way until it takes it? (I'm kind of used to my car's slot load CD player that *