FAQ's plz try to  answer them

12. Local file
Name         Card name     number
-              master      -
-              visa              -
-              visa             -
-              master      -
-              master              -
-              master       -
Write a code for how many master and visa records present in the table.

Hi Sagarika,
Try this code.
types: begin of st_carddetails,
      cardname(20),
      cardnum type i,
      end of st_carddetails.
data: gf_fpath type string,
      gf_card  type st_carddetails-cardname,
      gf_total type i .
data: gt_carddetails type table of st_carddetails,
      wa_carddetails type          st_carddetails.
parameters: p_fpath(30) .
start-of-selection.
  gf_fpath = p_fpath.
  call function 'GUI_UPLOAD'
    exporting
      filename                = gf_fpath
    tables
      data_tab                = gt_carddetails
    exceptions
      file_open_error         = 1
      file_read_error         = 2
      no_batch                = 3
      gui_refuse_filetransfer = 4
      invalid_type            = 5
      no_authority            = 6
      unknown_error           = 7
      bad_data_format         = 8
      header_not_allowed      = 9
      separator_not_allowed   = 10
      header_too_long         = 11
      unknown_dp_error        = 12
      access_denied           = 13
      dp_out_of_memory        = 14
      disk_full               = 15
      dp_timeout              = 16
      others                  = 17.
  if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  else.
    loop at gt_carddetails into wa_carddetails.
      if gf_card <> wa_carddetails-cardname.
        if not gf_card is initial.
          write:/ gf_card,
                  gf_total.
        endif.
        gf_total = 1.
        gf_card = wa_carddetails-cardname.
      else.
        gf_total = gf_total + 1.
      endif.
    endloop.
  endif.
****Don't forget to reward useful replies***

Similar Messages

  • Plz someone help I made custom ringtones and when I try to put them in my iPhone 4 it hey appear gray on iTunes and won't go on my phone and I tried syncing it don't help what do I do???!!!

    Plz someone help I made custom ringtones and when I try to put them in my iPhone 4 it hey appear gray on iTunes and won't go on my phone and I tried syncing it don't help what do I do???!!!

    The ringtone file format is m4r.  You can create ringtone from any of your music file in your iTunes Music library.
    Follow steps as follow:
    1. Right mouse click the song in music library you want to create ringtone and choose “Get Info”
    2. Choose “Option” Tab, Check “Start Time” n Stop Time” of the track you want to make into ringtone and put in your start time and end time (Max 40 secs duration), then click OK
    3. Right mouse click the music file again and choose “Create AAC Version”
    4. You will see a copy of song with same name appeared but with 40sec duration only. Now drag the song onto your desktop and you will see the name is now xxxxxx.m4a.
    5. Change the file extension m4a into m4r from the desktop
    6. Delete the 40sec m4a file from the music library (You must do this step or Itune will not accept your new m4r file).
    7. *Important - Now uncheck the start n stop time of the original song so that you can play back full length.
    8. Now, drag the m4r file from desktop to Library
    9. Click onto the Tones under Library, and you find you ringone file.
    Note: Just in case you cannot "Create AAC version" from Step 3, go to top menu, click "Edit", "Preference". Under "general" Tab, click "Import Settings", make sure under Import Using that "AAC Encoder" is selected.
    Once you have ringtones in Tones library, you can sync ringtones over by connecting your phone to PC, select iPhone under Devices on iTunes left Pane, then go to 'Tones' tab and check SYNC TONES as well as the ringtones.  Click the SYNC button on the lower right window.

  • TS2446 itunes will not take my security answers, and when i try to change them it asks me again and it still wont take it, i cant make any purchases. HELP!

    I dont know what to do it wont take my security answers when i answer them correctly, and when i try to change them it askes me for them again and still wont take them, and the worst part is i cant make any purchases. Please help its been going on forever. Btw i just got a new laptop and i synced my iphone with it, and for the First Purchase i have to answer the secutiry questions. See my problem?

          Congratulations on being the next victim of Apple's current SNAFU!      
    If you don't have a rescue email address set, then you're SoL.
    If you do, then reset your info and check in there.
    If not, you'll have to contact iTS, and wait for God knows how long for Apple to complete its pending investigation in this SNAFU.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Every time I try to purchase a song from itunes, it says I have to put in security questions and answer them, which it's never done before. Then after I do the questions, it says that an error occurred and my changes couldn't be saved. HELP!

    Every time I try to purchase a song from itunes, it says I have to put in security questions and answer them, which it's never done before. Then after I do the questions, it says that an error occurred and my changes couldn't be saved. It has been doing this for weeks, and I can't purchase anything! HELP!

    Hi mterry1723, one solution that might be worth trying is this:
    - Close iTunes, if it's open
    - Open Safari and got to 'Preferences'
    - Select 'Security' on the top
    - Untick all the security options in the menu
    - Click the 'Show Cookies' button and look for all the 'apple' entries in the left-hand column.
    - Highlight them (select them collectively) and press 'Remove'
    - Now open iTunes and buy the song as usual.
    - You may be asked to do the same security process as before, so do as asked.
    - Hopefully, the security check will now have accepted your answers and start downloading the song as normal.
    Remember to re-tick all the required security options you had just un-ticked in Safari preferences. You don't need to bother about opening the cookies again.
    I hope this has worked for you and my profoundest apologies if it has not. Worth a go, though!
    I did see this thread: https://discussions.apple.com/message/18259935#18259935 which may be of more help, mainly the last entry by 'c2boyd'
    Message was edited by: Bongomal

  • I forgot the answers for the security questions and when I try to change them (My Apple ID - Manage your account - Password and Security) I'm asked to answer the exact questions I'm Trying to change because I don't remember the answers. How can I do it?

    I forgot the answers for the security questions and when I try to change them (My Apple ID -> Manage your account -> Password and Security) I'm asked to answer the exact questions I'm trying to change because I don't remember the answers. How can I do it?

    Can't you try the email option instead?

  • I forgot the answers to my security questions and I wanna purchase an app but it won't let me until I answer them can someone help me ?

    I  forgot the answers to my security questions and I wanna purchase an app but it won't let me until I answer them can someone help me ?

    The Three Best Alternatives for Security Questions and Rescue Mail
         If you do not have success with one, then try another:
            1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
            2.  Call Apple Support in your country: Customer Service: Contact Apple support.
            3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • My computer has some serious problems, my iphoto only shows thumb size pics when I try to open them, i tried to rebuild my files from folders that had the pics in them. originally all the photos has a large delta with a question mark. also I can't back up

    my computer has some serious problems, my iphoto only shows  only shows thumb size pics when I try to open them, i tried to rebuild my files from folders that had the pics in them. originally all the photos had a large delta with a question mark. also I can't back up the library file because its not there. I went to time machune and tried to find the file but I can't find it or I am looking in the wrong place. I also lost my Idvd file, only have broken chain showing.

    Details please
    What version of iPhoto and of the OS?
    i tried to rebuild my files from folders that had the pics in them.
    Exactly what did you do and how did you do it? this ay be the cause of your issue but without details we can n=ony guess
    my iphoto only shows  only shows thumb size pics when I try to open them,
    where do you see htis? In the iPhoto window? what does "try to pen them" exactly mean?
    originally all the photos had a large delta with a question mark.
    Ok - this usually has a simple solution - do you still have a copy of the library that has this problem?
    also I can't back up the library file because its not there.
    This makes no sense at all - all of your previous statements indicate that you do have an iPhoto library but have some problems with it
    By default your iPHoto library is located in your Pictures folder and is named iPhtoo library - if tha tis not the case the you have moved or renamed it and only you know what you did until you tell us the details
    I went to time machune and tried to find the file but I can't find it or I am looking in the wrong place.
    Again unless you actually share what and how you are doing thing but continue to simply state abstract problems it is no possible to assist you - details on using Time Machine are here  --  http://support.apple.com/kb/HT1427?viewlocale=en_US&locale=en_US   --     and   --    http://pondini.org/TM/FAQ.html   ---
    I also lost my Idvd file, only have broken chain showing.
    This would be better addressed in the iDVD forum - but again unlesss yu share detailed information no one can assist
    LN

  • I have some videos that are completely well shown when using any media player, but some parts of the video appear with red screens when I try to edit them on Adobe Premier. Does anyone knows the reason?

    I have some videos that are completely well shown when using any media player, but some parts of the video appear with red screens when I try to edit them on Adobe Premier. Does anyone knows the reason?

    More information needed for someone to help... please click below and provide the requested information
    -PPro Information FAQ http://forums.adobe.com/message/4200840
    Plus, EXACTLY what are you editing?
    Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download

  • ITunes shows the music and audiobooks I've loaded to my iPod Touch, but they do not show up when I try to play them.

    iTunes shows the music and audiobooks I've loaded to my iPod Touch, but they do not show up when I try to play them.  I reconnect to iTunes and it shows the music and books as being loaded on my iPod.
    Sometimes the audiobook will play, then disappear from iPod's play menu after I reconnect to iTunes and load more music.  I've got plenty of free memory, and iTunes shows the files still on iPod.
    ....or should I just roll it back to iOS 5...  never had these kinds of issues with the old OS.

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync/delete all AB and resync
    To delete all ADgo to Settings>General>Usage>Storage>Manage Storage>AB and try deleting them from there
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes      
    - Restore to factory settings/new iOS device.                       

  • HT1657 I have rented two movies on my laptop and they will not completely download..it shows that they are theere but when i try to watch them on my laptop or my ipad it wont open up???? help

    I have rented two movies on my laptop and they will not completely download..it shows that they are theere but when i try to watch them on my laptop or my ipad it wont open up???? help

    Welcome to the Apple community.
    A number of people have reported similar issues recently, many appear to have found a discrepancy of some kind in their account settings and making changes to these settings or simply resetting them has resolved the matter.
    Check your account details are correct, check that you are using the correct details for Location, Region and Time Zone. You may want to change these settings and then change them back to see if that helps.
    You might also try logging out of and then back into your iTunes account (Settings > iTunes Store > Apple ID’s > Sign Out) and restarting your router. (Some have reported that after doing this, they need to check for rentals even though it may report that there aren’t any, after which rentals once again appear in the ‘movies’ feature)
    Rentals should appear under their own heading in the ‘Movies’ feature, you might also check at Settings > iTunes Store > Check For Rentals.

  • My ipod touch is telling me that the skype and twitter apps need updating. When I try to run them they fail. I have tried deleting the apps via itunes but it doesn't work and I have tried updating the apps via itunes and it says they are updated.

    My ipod touch is telling me that the Skype and Twitter apps need updating.  When I try to update them they both fail. I have tried numerous times.  I have tried connecting the ipod to itunes and removing the apps, to reload them but that does not work either.  If I try and update the apps through itunes the system tells me they are updated.  Can anyone assist please?

    - Try a reset. It cures amny ills
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Have you tried deleting them from the iPod and then redownloading them dorectly to the iPod?
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How do I copy my old xl files from my XP machine to operate on xl for Mac on my new iMac.  When I copy them onto a stick and transfer them it automatically makes them xls files which are then corrupted when I try to open them in xl for mac

    How do I copy my old xl files from my XP machine to operate on xl for Mac on my new iMac.  When I copy them onto a stick and transfer them it automatically makes them xls files which are then corrupted when I try to open them in xl for mac

    Sorry, yes this is Microsoft Excel.  The Microsoft XP has Excel files denoted as xl, the later versions of Microsoft Excel are denoted as xls files.  The later verions of Microsoft Excel open the xl files OK, does Excel for Mac not able to do this?

  • When I download firefox, using recommended setting, or my own, all the sub files/folders like plugins, modules, updater end up on the desktop as well as in the file location. And when I try to put them into the file location, they don't. And when I delete

    When I download firefox, using recommended setting, or my own, all the sub files/folders like plugins, modules, updater end up on the desktop as well as in the file location. And when I try to put them into the file location, they don't. And when I delete them, FireFox won't open. I tried deleting FireFox and reinstalling it multiple times, and a message pops up sometimes that says FireFox may not have installed correctly, so I follow the steps, but all the extra icons on my desktop don't go away. This has happened every time I have downloaded FireFox. The browser itself works, but I need to know how to get rid of these icons, but still be able to use FireFox. This is on a new computer, with Windows 7.
    == I downloaded FireFox. ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

    Managed to solve this myself. Just went to properties > hidden.

  • Have uploaded and installed CC 2014. Several apps give this error when I try to start them:  "Unable to launch Adobe InDesign as you do not have sufficient permissions to access the preferences folders" -or- The icon in the dock bounces once, and nothing

    Have uploaded and installed CC 2014. Several apps give this error when I try to start them:  "Unable to launch Adobe InDesign as you do not have sufficient permissions to access the preferences folders"
    -or-
    The icon in the dock bounces once, and nothing happens.

    Windows or Mac, and exactly which operating system version?

  • When i open iphoto i see my photo's for 1 second and then they are gone .The photo's are still there but i can see them only on the bottom or top of my screen when i try to open them i get a sign that it is not possible.Can somebody please  help me?

    when i open iphoto i see my photo's for 1 second and then they are gone .The photo's are still there but i can see them only on the bottom or top of my screen when i try to open them i get a sign that it is not possible.Can somebody please  help me?

    Have you upgraded to iPhoto 9.6 for compatibility with Yosemite? If not, try that first.
    It looks like iPhoto has lost the connection between the thumbnails and the original image files.
    This can be caused by a corrupted iPhoto library, or the originals have been deleted or moved.
    Try first to rebuild your iPhoto Library:
    If you do not have a current backup of the iPhoto library, make a copy of the library, but do not overwrite any previous backup.
    Launch iPhoto with the ⌥⌘-key combination (option-command) held down.
    Select "rebuild" from the first aid panel.  This may take a while for a large library.
    Can you now see your photos again?
    If not, rebuild the library with iPhoto Library manager as described by Old Toad:            Re: iphoto crashed

Maybe you are looking for

  • IPhone 5 iOS6.1 3G issues

    I upgraded my iPhone 5 to iOS6.1 yesterday and today I found out that my streaming radio and spotify aren't working properly. They keep buffering as if the throughput is suddenly extremely bad. On WiFi I have no problem, I've tested this in 2 differe

  • SAP Implementation at Core Shop in Foundry.

    Does anyone have idea about what scenario is required to be configured for SAP implementation in Core Shop of Foundry. Cores are basically sand structures manufactured with the help of Core Manufacturing Machines. After few operations & sub Assys, th

  • Escalation Action for Service Request Management

    Gurus I am using action profile for Service request management in SAP 7.0. I want to know what this particular condition IT_INCIDENT_ESCALATION does? Also what needs to be the process parameters for this? It has processing type as Method Call with me

  • Why Won't The Perspective become active  under edit? How do Get This Tab to activate ?

    How do i get this to activate ? I'm running PS 2014 CC

  • CSS Background image

    At http://www.robinbachnia.com/index1.htm, you'll see the content lies in a table cell. I want the background image to be centered in this cell, non-repeat, etc. Can you show me what I'm doing wrong, and solution? It will be a template change I'll ap