Even if the if condn is not satisfied, I want to move & append internal tab

Hi!
Please give me a solution to this problem.
In this, I want to move and append the contents into ist_vbap_ot even if the if condition is not met.
Please give me a simple solution as to how do I do it?
The code is as follows
Loop at ist_vbap into wa_vbap where matnr = wa_vbap-matnr.
  Read table ist_vbap into wa_vbap with key matnr = wa_vbap-matnr
                                            matkl = wa_vbap-matkl.
    if wa_vbap-matkl eq 'ZCHCLUBFE'.
     wa_vbap-otext = '3. Club House Fee'.
      wa_vbap-otamt = wa_vbap-fakwr.
    endif.
  if wa_vbap-matkl eq 'ZCHELWASA'.
    wa_vbap-otext = '4. External electrification, water & sanitary connections'.
    wa_vbap-otamt = wa_vbap-fakwr.
   endif.
  if wa_vbap-matkl eq 'ZCHPROPAS'.
    wa_vbap-otext = '5. Property Assessment & Khatha Transfer charges'.
    wa_vbap-otamt = wa_vbap-fakwr.
  endif.
  if wa_vbap-matkl eq 'ZCHREGSDT'.
    wa_vbap-otext = '6. Stampduty, Registration (on prevailing valuation)'.
    wa_vbap-otamt = wa_vbap-fakwr.
  endif.
  if wa_vbap-matkl eq 'ZCHLEGFEE'.
    wa_vbap-otext = '7. Legal Fee'.
    wa_vbap-otamt = wa_vbap-fakwr.
  endif.
  if wa_vbap-matkl eq 'ZCHMAINTC'.
    write: wa_vbap-fakwr to ch_value1.
    write: wa_vbap-kwmeng to ch_value2.
    CONCATENATE  '8. Maintenance Charges (Rs.)' ch_value1 '/-per sft. x' ch_value2 into wa_vbap-otext.
    wa_vbap-otamt = wa_vbap-fakwr * wa_vbap-kwmeng * 12.
  endif.
  if wa_vbap-matkl eq 'ZCHCORPFU'.
    wa_vbap-otext = '9. Corpus Fund equivalent to one years maintenance'.
    wa_vbap-otamt = wa_vbap-fakwr.
  endif.
  if wa_vbap-matkl eq 'ZCHPOPCHA'.
    write: wa_vbap-fakwr to ch_value1.
    CONCATENATE  '10. Towards Park & Open space @ Rs.' ch_value1 '/-per sft.' into wa_vbap-otext.
    wa_vbap-otamt = wa_vbap-fakwr * wa_vbap-kwmeng.
  endif.
    move wa_vbap-matnr to wa_vbap_ot-matnr.
    move wa_vbap-matkl to wa_vbap_ot-matkl.
    move wa_vbap-otext to wa_vbap_ot-otext.
    move wa_vbap-otamt to wa_vbap_ot-otamt.
    Append wa_vbap_ot to ist_vbap_ot.
   sort ist_vbap_ot by otext.
endloop.

Hi,
See I want to append into internal table ist_vbap_ot the contents of wa_vbap_ot especially the otext field along with the amount which will be zero even if the condition is not met.
For eg:
My ist_vbap_ot should contain
3. Club House Fee                                        0000.00
4. Extern elect.....                                         450065.00
5. Prop ....................                                    00.00
6. Stamd.....................                                 68752.00
10.         ............................                         12563.00

Similar Messages

  • Im having problems with Safari 5.1.10. I often have several tabs open on screen. And after a while the links/websites become not active. So if click on a tab and want open a previous website it than has to re-load again in the window. Can I change this ?

    Im having problems with Safari 5.1.10. I often have several tabs open and after a while the links/websites become not active. So if click on a tab and want open a previous website it than has to re-load again in the window. Can I change this ?
    Kind regards,
    Faroek Abdoelrahman
    The Netehrlands

    Empty the Safari cache more often.
    From your Safari menu bar click Safari > Preferences then select the Advanced tab.
    Select:  Show Develop menu in menu bar
    Now click Develop from the menu bar. From the drop down menu click Empty Caches.
    Quit and relaunch Safari to test.

  • I have new IPad ...can't watch rented downloaded movie on my tv..error message is " The connected display is not authorized to play protected movies"... What is up with that???

    I have new IPad ...can't watch rented downloaded movie on my tv..error message is " The connected display is not authorized to play protected movies"... What is up with that???

    I had exact same problem and I have found a way to get round out!!!! Easy!
    So the reason it doesn't allow it to play is for security to stop piracy etc.
    Plug in the cable and VGA and aux cable and get everything set up so you are looking at the home screen.
    1) select Videos
    2) selected the film you want to watch
    3) click the little play button
    4) it will then come up with the message saying it can't play protected films blah blah blah
    5) WITHOUT clicking ok double tap the home button to bring up the multitasking bar and swipe left to reveal the control panel
    6) hold fast forward for a second or two and the movie with continue to play!
    Stay in the multi tasking bar with the control panel, The message will stay there but don't worry. Kick back and enjoy your iPad movie on the big screen:)
    I'm sure your saying thanks:) it was my pleasure realising I've outsmarted apples little security protection thing lol

  • IPad 2 to Apple TV: Cannot Play Movie - The Connected Device is not authorized to play protected movies.

    I am getting the 'Connected Device is not authorized to play protected movies' message.
    Here is my setup:
    From the iPad 2 I used iTunes to Rent a movie - Safe House in SD.
    I then used Airplay Mirroring to send the movie to my Apple TV.
    The Apple TV is connected to a Vizio V0370M HDTV.
    According to Vizio all of the HDMI ports have HDCP.
    When the movie starts I get this error message on the iPad.
    I have used this approach in the past with success.
    I rented a couple of episodes of HBO's True Blood and they played just fine on the Vizio through Apple TV.
    I believe some were in HD and some SD.
    Using the iPad with Airplay Mirroring is a very nice way to send content to the HDTV.
    I was hoping I'd be able to do this for anything that is on the iPad.
    Is there something wrong with my configuration? Or what I'm trying to do?
    Thanks for any help or advice!

    I had exact same problem and I have found a way to get round out!!!! Easy!
    So the reason it doesn't allow it to play is for security to stop piracy etc.
    Plug in the cable and VGA and aux cable and get everything set up so you are looking at the home screen.
    1) select Videos
    2) selected the film you want to watch
    3) click the little play button
    4) it will then come up with the message saying it can't play protected films blah blah blah
    5) WITHOUT clicking ok double tap the home button to bring up the multitasking bar and swipe left to reveal the control panel
    6) hold fast forward for a second or two and the movie with continue to play!
    Stay in the multi tasking bar with the control panel, The message will stay there but don't worry. Kick back and enjoy your iPad movie on the big screen:)
    I'm sure your saying thanks:) it was my pleasure realising I've outsmarted apples little security protection thing lol

  • After developing my picture when I go to library to export my picture there is a difference in the picture, it's not what I want it to be like, it's not what I have made it into, why ?

    After developing my picture when I go to library to export my picture there is a difference in the picture, it's not what I want it to be like, it's not what I have made it into, why ?

    Sometimes it takes a little time for the Library thumbnails to be updated with the changes from the Develop module.  If you flip back to the Develop module and the changes are still listed in the history tab, I would just give the Library module a little more time to update.
    While waiting, you could export one or two images just to make sure the edits are properly recorded.

  • HT204291 All of sudden apple tv will not play my tv shows/movies on itunes.  It says "The connected display is not authorized to play protected movies."...

    All of sudden apple tv will not play my tv shows/movies on itunes.  It says "The connected display is not authorized to play protected movies.
    Can anyone help  I have just bought alot of movies and tv shows and want to watch them with my family not just on my ipad!!!
    Not sure why this has just started happening.  have been using apple tv with my ipad for months and now it comes up with this error... 
    THanks

    Firstly restart the AppleTV, secondly check the HDMI lead and if possible swap for another or another HDMI input - sounds as though AppleTV thinks the TV is not HDCP capable.
    AC

  • HT204053 I had Snow Leopard and was using iWeb and Filezilla for my website (not MobileMe). Wanting to move to single-click publishing, I now find it is not supported by iCloud and Mountain Lion. I feel cheated, having bought it mainly for this purpose!

    I had Snow Leopard and was using iWeb and Filezilla for my website (not MobileMe). Wanting to move to single-click publishing (supported by MobileMe), I now find it is not supported by iCloud and Mountain Lion. I feel cheated, having bought it mainly for this purpose! The other thing they don't tell you is that Mountain Lion disables OfficeMac, and I am considering uninstalling it for that reason - do I get my money back?!

    You stated; "Mountain Lion disables OfficeMac"
    That is not true.
    Mountain Lion does not have Rosetta so it is not capable of executing PowerPC code. If you have MS Office 2004 that is coded in PowerPC code and will not run in Mountain Lion. What you need to do is upgrade to an Intel version of Office.
    Allan

  • Netbeans 4.1 Recompiling even if the source code is not modified

    I am new to NetBeans 4.1
    So Please guide me
    I have 300 Java Source files
    I installed Netbeans and have my source code in Netbeans But as soon as I run Executable.java It compiles all the files and Runs it
    But afterwards when I run that file again it again compiles all the files which unneccasirily wastes Time
    Is It proper
    I think it should check for modified files and then compile
    Please help me regarding this
    Bye for now
    CSJakharia

    One other thing to note: you may want to subsrcibe to the mailing list: [email protected] That list is a focal point for the NetBeans user community.
    Continuing this thread in this forum might not be as effective as starting a new thread on that list.
    vbk

  • Movies on iPhone 6 plus won't play on my tv with the adapter. Device not allowed to play protected movies. It worked before the update

    I Just tried to play a movie off of my iPhone 6 plus ios 8.1 on my tv using the hdmi adapter, the movie plays for about 2 secs and then tells me the device is not authorized to play protected movies.. I have power rebooted my phone closed everything out and it stil isn't working.. I can do anything else like view web pages and Netflix just not purchased movies from iTunes.. Oh and it worked before the update I used it several times..

    Mr Ram,
    There is a group of Quicktime specialists in Apple.com ⇒ Support ⇒ Discussions ⇒ Quicktime .
    The more data you give us, the easier it is to help us help you to diagnose your problem. Your disk space would be very useful. Contrary to some, I advocate iDefrag to assist VLC and MPlayer, which you were a little hard on.
    GNU/Linux's free offerings
    MPlayer was developed a decade ago, and I prefer it for viewing DVDs (for 'DVD Player') seems too dark. VLC (legally) copies many CRM-protected DVDs of yours, so you can play only the burned copy. When I'm having a problem playing a DVD, the VLC log tells me all: only perfect DVDs play well on VLC.
    There are two ways of viewing everything.
    Streaming MPEG-4
    +H.264/MPEG-4 AVC+ is a fancy codec based upon MPEG-4: it requires a powerful processor to de-compress it. I watched an MPEG-4 movie from a G3 iBook in 2005. It played flawlessly.
    Your Problem
    Quicktime 7.X applications can not play +H.264/MPEG-4 AVC+ streams. It was a bug Apple never fixed. Frames are dropped because H.264 is so slow that it requires special hardware. You, I'm sad to say, don't have it.
    To quote the Wikipedia on Quicktime: 'QuickTime 7 lacks support for H.264's Sample Aspect Ratio .[67] QuickTime X does not have this limitation; many Apple products (such as iTunes and Apple TV) still use the older QuickTime 7 engine.'
    My Quicktime Pro on a PPC PowerBook is 7.6.4. You can either use a Linux transplant or upgrade to Quicktime X. Those more familiar with Macs may have better ideas for you.
    My best,
    Bruce

  • Can't find the * symbol to open bookmarks. I want to move it back to the toolbar.

    In the prior version of FireFox, there was a handy * symbol on the left side of the toolbar area. I used this often to move from one part of my viewing to another.
    I understand that, if I could see the symbol in the menu, I could move it up to the toolbar area. But I just can't find it.

    This button should still be at the right of the search bar on the Navigation Toolbar as two button next to each other, one being the star to bookmark a page and next to it the button that open the Bookmarks Menu drop-down list.
    <img src="https://support.cdn.mozilla.net/media/uploads/gallery/images/2014-03-19-11-06-13-3f590b.png">
    If you do not see this button, then check for issues with the localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf
    See also:
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    *https://support.mozilla.org/kb/what-happened-to-the-add-on-bar
    *Tabs On Bottom: https://addons.mozilla.org/firefox/addon/tabs-on-bottom/
    *The Addon Bar (restored): https://addons.mozilla.org/firefox/addon/the-addon-bar/

  • IPhoto opens even when the iPod Touch is not connected

    I came across discussions on the iPod Touch and issues with iPhoto and am hoping that a solution can be found for my problem.
    My 13 year old step-son visited over the Christmas/New Year and was plugging his iPod Touch into and out of our Mac laptop. In fact, we believe that he was doing the very same thing described in this reply regarding: "...the result of downloading a photo in Safari on the iPod (or taking a screen shot). The file is stored locally on the device, however when it is connected to your computer, iPhoto will open thinking that the iPod is a digital camera/memory card..."
    We noticed that iPhoto and not iTunes opened whenever he plugged in the iPod Touch and told him not to download any pictures onto the Mac. We are not sure if iTunes ever opened. Well, he's gone now and every time we turn on the laptop now, iPhoto automatically opens up even though there are no devices connected to the laptop.
    We are also experiencing video distortion of the computer screen when waking it from sleep. To get the computer to work again, we have to force shut down by holding down the power button. So, basically, we now cannot allow the computer to go to sleep! We believe that this has something to do with the iPod Touch having been used on our laptop.
    During an entire day of trying to figure out what could be wrong with the computer (and we are not avid computer users!) we found that in the System Preferences - desktop and screen savers module, the entire iPhoto library is there along with the standard screen savers. We are not sure if this is supposed to be? We tried deleting the library of pictures in the screen savers module but were unsuccessful.
    All was fine before and now we're having no end of troubles since the departure of our little one and his iPod Touch! Help!!!

    Ok, thanks so much

  • My iphone 5s last night stopped sending out imessges even over the wifi they will not send. What can i do to fix this?

    I have tried reseting the network settings and turning my Imessage on and off but still no luck. Sometimes the LTE will drop and then the 4G so im wondering now if this even an software problem or service problem. I tried at&t but i was stuck on hold for long that i hung up.

    Hi there,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    -Griff W. 

  • Release Strategy Triggered even if the characteric values were not correct.

    Hi,
    I have configured release strategy based on characteristics
    Purchasing group and
    Document type
    It has 2 release indicators with 3 levels of release.
    There are 2 release strategies assigned to same group 01 but have  different release codes namely 01,02,03,04
    Release Strategy A1has
    Doc type NB and Purchasing group 120
    Release Strategy A2 has
    Doc type ZINT and Purchasing groups 130,131,132,134,135,136,137,138,139
    However a strange thing happened.The release strategy was triggered for doc type NB and Purchasing group 190.
    This purchasing group is not listed in either of the 2 strategies 
    Can any one explain why the release strategy got triggered?

    That means the old release strategy is not cleraed from the system
    do one test
    Go to CL30N tocde and enter you release class and class type 032
    hit enter
    now here enter the value of your char which is in the PO and hit Find in initial class from header
    see which release strategy is pulled by the system
    here you will see the release strategy and make sure that is not other than what you expect

  • The price advertised in the mail-out is not what they want to charge online?

    In the mail-out the advertised price per month for a yealy subscription was Australian $37.99 - now that I want to buy it it is A$49.99. Does any one know what this is about? Thanks.

    Welcome to Apple Support Communities. We're users here and do not speak for "Apple Inc.".
    So your internet service provider is ATT, and you are using Apple Mail.app. That's a start.
    Are you able to connect to other websites using either your MacBook or your iPad?
    Have you tried restarting your home wireless router by powering it off and back on?
    Have you tried restarting both your MacBook and your iPad since the problem began?
    Can you successfully connect and retrieve your email on either your MacBook or your iPad from another locations, such as free WiFi at a library or fast food restaurant?
    Who is your email provider?
    ATT  (@att.net or similar email address ending in .net)
    or
    Apple (@mac.com, @me.com @icloud.com or similar email address)
    Are you connecting to the internet using ATT U-verse or ATT DSL?
    https://ufix.att.com/portal/index.html#All_Services/Email_Repair/email_repair_wo rkflow/launch/step/0
    If your problem is with connecting to an ATT email account while using Apple Mail.app:
    Can you access your ATT webmail directly from the website using Safari or another browser?
    Have you tried verifying your device settings with those published on the ATT on-line support website for Apple Mail?
    http://www.att.com/esupport/article.jsp?sid=KB401568
    Have you visited the ATT support community forums?
    http://forums.att.com
    AT&T uses rebranded Yahoo email, so instructions for troubleshooting Yahoo mail might also be helpful
    http://support.apple.com/kb/ht5330
    If your problem is with connecting to an Apple iCloud email account while using Apple Mail.app:
    Can you access your iCloud email account directly from the icloud.com website using Safari or another browser?
    https://discussions.apple.com/thread/6015803
    (Yes, I realize that there are other iCloud services that are not available using a browser with OS X 10.6.8.)
    Message was edited by: kostby

  • When I put a search phrase into the address and search field, I get a page that says 'Safari can't open the specified address' followed by a page full of letters and numbers.  It works fine if I type in the full address but not if I want to search.

    Can someone please help me figure out what the issue is.  It was working fine unitl today.  I'm just hoping it's not a virus of some sort.  Thanks!

    Please post a screenshot that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.

Maybe you are looking for