When your ipad is disabled how to connect it to iTunes and get the password

Please help!!!

How can I unlock my iPad if I forgot the passcode?
http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
iOS: Device disabled after entering wrong passcode
http://support.apple.com/kb/ht1212
How can I unlock my iPad if I forgot the passcode?
http://tinyurl.com/7ndy8tb
How to Reset a Forgotten Password for an iOS Device
http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
Using iPhone/iPad Recovery Mode
http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
You may have to do this several times.
Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
~~~~~~~~~~~~~
‘iPad is disabled’ fix without resetting using iTunes
Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
2. Open iTunes with the iPad disconnected.
3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
5. Click ‘Setup as new iPad’ and then click restore.
6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
~~~~~~~~~~~~~
Try it and good luck. You have nothing more to lose if it doesn't work for you.
 Cheers, Tom

Similar Messages

  • On my iPad, when I try to open a movie I purchased from iTunes, I get "The requested URL was not found on this server."

    On my iPad, when I try to open a movie I purchased from iTunes, I get "The requested URL was not found on this server."  It's on my laptop but when I play it there, it 'jerks' every couple of seconds.  How can I fix both these issues?  Thanks!!

    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

  • When I try to sign in to my account on iTunes, I get the above error message, along with "Please review your account information". When I then click on "Review"

    When I try to sign in to my account on iTunes, I get the above error message, along with"Please review your account information".
    When I then click on "Review", it comesup with the page "Create an Apple Account for the iTunes Store"and presents me with the Terms Of Service.
    When I click "Agree",  It is disabled.
    Can anyone tell me why this has happened and how to resolve it?
    Please, please, please help.

    Count me in as having the same problem. I have been leaving messages in the iTunes for Mac forum where others in there also are having problems. I have been unable to access my account since 11/7/2007. E-mails with Apple have not worked and now I haven't heard back from them since Saturday. I have tried both on a Mac and Windows machine and keep receiving the same error message that:
    This Apple ID has not yet been used with iTunes.
    I last purchased music with this account on 10/30/2007. I even tried resetting my password, changing my account info, trying on a computer with iTunes 7.4, etc. I have money in that account and 150 songs and 5-6 tv shows that I cannot access. I also just purchased a new computer and cannot sync my iPod with this computer since these songs will not transfer.
    Apple really needs a phone number for technical support. Having to deal with e-mails back and forth (and waiting a day for each e-mail) is not a good business practice. Hopefully they will have a phone number in the future.
    Either way, count me in on getting annoyed that a week later, this issue has not been fixed.

  • I have an old ipod touch and it keeps saying, ipod is disabled. I connected it to itunes and it said, sorry you need to put the passcode in, but it wont let me. And my power button doesnt work.

    I have an old ipod touch and it keeps saying, ipod is disabled. I connected it to itunes and it said, sorry you need to put the passcode in, but it wont let me. And my power button doesnt work.

    iOS: Unable to update or restore

  • TS3304 I have an Ipad1 and an Ipad2. The Ipad1 cannot connect to my wifi and indicates the password is incorrect even though I am using the same password??

    I have an Ipad1 and an Ipad2. The Ipad1 cannot connect to my wifi and indicates the password is incorrect even though I am using the same password for the Ipad2??

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Ipad won't start; trying to restore thru itunes, but get the message - can't restore because ipad is not set up.  What do I do now?

    Ipad won't start; trying to restore thru itunes, but get the message - can't restore because ipad is not set up. It was set up and has been in use for about a year.  What do I do now?

    I Have seen people report this issue when they try to sync their devices but in never seen it when trying to restore an unresponsive iPad. I would sguggest trying recovery mode now.
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
    This procedure will totally erase the iPad so I hope that you have a backup that you can restore from....assuming that it works, that is.

  • How to run commands like "ipconfig" and get the output in adobe AIR in windows?

    import flash.desktop.NativeProcess; 
    import flash.desktop.NativeProcessStartupInfo;   
    if (NativeProcess.isSupported) {     
         var npsi:NativeProcessStartupInfo = new NativeProcessStartupInfo();     
         var processpath:File = File.applicationDirectory.resolvePath("MyApplication.whatever");     
         var process:NativeProcess = new NativeProcess();       
         npsi.executable = processpath;     
         process.start(npsi); 
    The above can only run a sub-application, but how to run an independent  application(command) like ipconfig and get the result?

    Hi,
    here is an example of running a net Use command line from AIR, unig the new NativeProcess. Hope it will help !
    function launchProcess()
      var file = air.File.applicationDirectory;
      // set command path
      file = file.resolvePath("C:/Windows/system32/net.exe");
      var nativeProcessStartupInfo = new air.NativeProcessStartupInfo();
      nativeProcessStartupInfo.executable = file;
      // prepare command parameters
      var args = new runtime.Vector["<String>"]();
      args.push('USE');
      args.push('W:');
      args.push('/delete');
      args.push('/y');
      // set arguments
      nativeProcessStartupInfo.arguments = args;
      // add listeners to catch command outputs
      process.addEventListener(air.ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
      process.addEventListener(air.ProgressEvent.STANDARD_ERROR_DATA, onErrorData);
      process.addEventListener(air.NativeProcessExitEvent.EXIT, onExit);
      // create and run Native process
      process = new air.NativeProcess();
      process.start(nativeProcessStartupInfo);
    function onOutputData(ProgressEvent)
      var processResults = process.standardOutput.readUTFBytes(process.standardOutput.bytesAvailable);
      air.trace("Results: \n" + processResults);
    function onErrorData(ProgressEvent)
      var processResults = process.standardError.readUTFBytes(process.standardError.bytesAvailable);
      if(processResults.search('password') > -1){
        window.alert('Bad password');
      air.trace("Errors: \n" + processResults);
    function onExit(NativeProcessExitEvent)
      air.trace("Process ended with code: " + NativeProcessExitEvent.exitCode);

  • TS1398 my ipad no longer connects to my wifi and says the password is incorrect when I know it is correct as it is working on my computer and other ipad

    I was able to connect to wifi at both school and home on my ipad 5.  However, now I am not able to connect to the wifi at home as the ipad states I am putting in the wrong password.
    However, I know the password is right since I used it for my computer and other ipad which are connected to the internet.
    Can anyone please help?  I have already tried resetting the settings several times and the wifi settings will not let me forget this network.

    If you reset all settings, that should "forget the network" for you. But when you say that you already tried resetting the settings, were you able to reset them? In other words, were all of the settings reset when you tried it?

  • What to do when I try to purchase from iTunes and get the message, Your Apple ID has been disabled?

    What can i do when I am logedin to my iTunes and the the message, Your apple ID has been disabled, when i try to purchase?

    Take a look at this Apple support article:
    http://support.apple.com/kb/TS2446
    Regards.

  • HT1430 dueing the  update ios7 7.0.2 ipad can not open. They show the message is correct the itunes. I back the house and correct the itunes and get the recover the ipad but unsucessful. now the ipad is unavaible to start. pls help

    dueing the update IOS 7 7.0.2, ipad show the message is contact the itunes, when I back the house, ipad contact the PC and itunes for recovery the ipad but unsuccessful. Now ipad is not start.please help

    I hope this helps. If I understood your question properly, it is the same or similar problem many, including myself, had with the IOS7 update. I'll relay my situation & what I did to rectify it.  I have the iPad2 & MACBook Pro. I have an iPhone 5 but won't be updating it.
    IF YOU HAVEN'T YET UPDATED YOUR iPAD TO IOS 7... DON'T. NOT UNTIL YOU'RE CERTAIN YOU HAVE BACKED UP YOUR iPAD, AT LEAST. BE ABSOLUTELY CERTAIN YOU HAVE BACKED UP YOUR DEVICE.
    FIRST: BACK UP YOUR IPAD, & ALL YOUR DEVICES.
    NEXT: CHECK FOR UPDATES ON ALL DEVICES.
    I updated my iPad while away from my main wifi connection because using my main wifi for the last update subsequently interfered with my connection thereafter. New problem now.
    1.) Once I updated (was it successful/unsuccessful?) Because...
    My iPad showed a large apple with a line underneath; then it illustrated & said, "connect to iTunes." i can't accessa thing. (Huh? Doesn't Apple know people TRAVEL FAR away from their MAC with their iPads? I WAS RUDELY LEFT WITH AN INOP DEVICE on the road.)
    2.) On my MAC: I checked for all updates, & ensured my iTunes was updated.
    3.) I followed thre following instructions from a website (http://www.digitaltrends.com/mobile/ios-7-problems/) I found when researching this common problem. iPhone... iPad... same instructions...
    ...connect to iTunes and try DFU (Device Firmware Upgrade) mode.
    Potential solution:
    Hold down the Sleep/Wake button to turn your iPhone off.
    Open iTunes on your computer and connect your iPhone.
    Hold down the Sleep/Wake button and the Home button together for ten seconds, and then release the Sleep/Wake button.
    Continue to hold down the Home button until you see a pop-up on iTunes stating that “iTunes has detected an iPhone in recovery mode. You must restore this iPhone before it can be used with iTunes.”
    Your iPhone screen should be blank, if you see a logo or message on it then you are not in DFU (Device Firmware Upgrade) mode.
    Select your iPhone in the left hand column of iTunes and select Summary then Restore.
    You may need to install the iOS 7 update again.
    ------------------ THIS WORKED.
    I followed the instruction & so far so good. DO NOT DISCONNECT YOUR iPAD! It will continue to prompt you through SEVERAL items, including the re-installation of one of your previous back-ups. It appears the back-up was successful & that everything is now back to normal.
    Except that now I'm stuck with the juvenile appearance of this new IOS. My Notepad no longer looks like a notepad. Why don't I just type on DOS? My APPLE easthetice have disappeared. If I can, I will revert to IOS 6.
    Read more: http://www.digitaltrends.com/mobile/ios-7-problems/#ixzz2g7Y2neAU
    Follow us: @digitaltrends on Twitter | digitaltrendsftw on Facebook

  • Itunes refuses to recognise my ipad telling me that i need to uninstall itunes and reinstall the itunes 64bit version for windows - i am on windows 7 and all was working fine until suddenly for no reason at all itunes had some apple support error

    I have windows 7 and all has been fine until 2 days ago when suddenly i turned on my laptop and i got some error message about some apple support program error - i didnt tkae notice of it only that i couldnt run itunes, so i uninstalled and reinstalled itunes and it now runs as normal, but now it wont recognise my ipad saying that 64bit version is not installed - WHAT RUBBISH IS THIS? i downloaded and installed the 64bit version from applie and yet the error persists - can some one please tell me how i can get itunes to recognise my ipad again - this seems like such a ridiculous error for these two apple products to be conflicting with each other - please help

    well i have found that i needed to not just uninstall itunes, but also apple mobile device support, bonjour apple software update and apple application support - uninstall all these and then install itunes - that seesm to have fixed it, though now i am sync fail - that's a different matter perhaps

  • Forgotten password on iPhone 5, how can i reset via iTunes and use the phone?

    I bought a used iPhone 5 from a friend, and unfortunately i found out there is a passcode when turning it on!!, and the old owner of the phone has forgot it! i tried 3-4 times and it said "wrong password",  WHat can I do to be able to launch the phone, or reset it via iTunes?

    If it has been disabled after entering the wrong passcode - http://support.apple.com/kb/HT1212.
    Unfortunately, you must restore it in iTunes on your computer.   There is no way to retrieve a forgotten pass lock code.
    You will need to restore your device from the same computer that you most recently synced to, and restore the device. See - http://support.apple.com/kb/HT1414.

  • How can I parse GPO settings and get the GPOApplyOrder?

    I have created a script that will search all GPO's in the domain and parse only those which have Drive Map settings and writes the information to a .csv file.  I have tried to figure out a way to get the GPOApplyOrder to no avail.  The closest
    I have come to any sort of reasonable output is
    "@{GPOSettingOrder=}", which is better than the nothing I had been getting.  I think it would be really helpful if I could sort on the appy order so I could see the flow of the applied settings.  Here is what I have.
    # ==============================================================================================
    # NAME: GetGPO_DriveMappings.ps1
    # AUTHOR: Mike
    # DATE: 6/17/2014
    # Updated: 7/29/2014
    # COMMENT: This script will get all the GPO's in the domain. It will parse only the GPO's that have drive map settings.
    # The results are written to GetGPO_DriveMappings.csv
    # This script is written to be run from the domain that the GPO(s) is in.
    # NOTE: The script will not perform any group provisioning.
    # ==============================================================================================
    # set Variables and load assemblies
    ImportSystemModules
    Import-Module GroupPolicy
    [void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
    $ScriptPath = "R:\Procedural Instructions\Scripts\Get AD Object Info"
    # Get drive map settings from all GPOs.
    Function Get-DriveMappings
    # File listing the drive mappings via GPO.
    $ExportFile = "GetGPO_DriveMappings.csv"
    # Creates .csv file for logging.
    $Header = "GPO Name,Drive Letter,Action,Apply Order,Drive Path,Group,OU,User"
    Set-Content -Path $ScriptPath\$ExportFile -Value $Header
    $GPO = Get-GPO -All
    ForEach ($Policy in $GPO)
    $GPOID = $Policy.Id
    $GPODom = $Policy.DomainName
    $GPODisp = $Policy.DisplayName
    If (Test-Path "\\$($GPODom)\SYSVOL\$($GPODom)\Policies\{$($GPOID)}\User\Preferences\Drives\Drives.xml")
    [xml]$DriveXML = Get-Content "\\$($GPODom)\SYSVOL\$($GPODom)\Policies\{$($GPOID)}\User\Preferences\Drives\Drives.xml"
    ForEach ( $MapDrive in $DriveXML.Drives.Drive )
    $GPOName = $GPODisp
    $DriveLetter = $MapDrive.Properties.Letter + ":"
    $DrivePath = $MapDrive.Properties.Path
    $DriveAction = $MapDrive.Properties.action.Replace("U","Update").Replace("C","Create").Replace("D","Delete").Replace("R","Replace")
    $GPOApplyOrder = $MapDrive | Select GPOSettingOrder
    $Filters = $MapDrive.Filters
    $FilterOrgUnit = $null
    $FilterGroup = $null
    $FilterUser = $null
    ForEach ($FilterGroup in $Filters.FilterGroup)
    $FilterGroupName = $FilterGroup.Name
    ForEach ($FilterOrgUnit in $Filters.FilterOrgUnit)
    $FilterOrgUnitName = $FilterOrgUnit.Name
    $FilterOrgUnitName = $FilterOrgUnitName -Replace (",",";")
    ForEach ($FilterUser in $Filters.FilterUser)
    $FilterUserName = $FilterUser.Name
    $ExportText = "$GPOName,$DriveLetter,$DriveAction,$GPOApplyOrder,$DrivePath,$FilterGroupName,$FilterOrgUnitName,$FilterUserName"
    Add-Content -Path $ScriptPath\$ExportFile -value $ExportText
    # --End of Function: Get-DriveMappings--------------------------
    # Notifying that the scripted finished.
    Function Script-Finished
    [System.Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”)
    [Windows.Forms.MessageBox]::Show(“Script completed successfully”,"GetGPO_DriveMappings.ps", [Windows.Forms.MessageBoxButtons]::OK, [Windows.Forms.MessageBoxIcon]::Information)
    # --End of Function: Script-Finished--------------------------
    # Main Code:
    # Execute the functions
    $ErrorActionPreference="SilentlyContinue"
    Get-DriveMappings
    Script-Finished
    $ErrorActionPreference="Stop"
    Thanks to all in advance.

    I am looking for the order in which the drive map settings are applied. Truly the GPOSettingOrder value. I guess was thinking that it was the order that the drives were mapped so that is what
    I named the variable. In the middle of it all it made sense, now with your question, from the outside looking in, it doesn't. My apologies.
    -<ExtensionData>
    -<Extension xsi:type="q3:DriveMapSettings" xmlns:q3="http://www.microsoft.com/GroupPolicy/Settings/DriveMaps">
    -<q3:DriveMapSettings clsid="{8FDDCC1A-0C3C-43cd-A6B4-71A6DF20DA8C}">
    -<q3:Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" bypassErrors="1" uid="{B7F4229B-9A38-4A52-A987-7FB0CA53BF26}" changed="2013-11-19 18:03:50" image="3" status="P:" name="P:">
    <q3:GPOSettingOrder>1</q3:GPOSettingOrder>
    <q3:Properties letter="P" useLetter="1" persistent="1" label="" path="\\---------------------\APPS" userName="" allDrives="NOCHANGE" thisDrive="NOCHANGE" action="D"/>
    -<q3:Filters>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="AND"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    </q3:Filters>
    </q3:Drive>

  • In ActionScript 2.0 , How can I send HTTP request and get the response in JSON format.

    I am using ActionScript 2.0 for my app development. I have checked XML and LoadVars class. These classes by default send/receive data either in XML or name/value pair format. I want to send data in JSON format and receive the response in JSON format. How can I achieve this behavior using AS2.0. I have noticed that AS3.0 has the capabilities to do so. My client platform doesn't support AS3.0. Can anybody suggest a way to achieve this?
    Thanks in Advance.

    Atlast I am able to find the solution for this problem. In the end solutioin is very simple.
    Following steps will help in sending request in JSON format.
    1. extend LoadVars class
    2. override toString method. (It should return JSON format )
    3. Use subclass to send the request.

  • How  to link between these tables and get the bom explosion

    tables : mast,stpo,makt
      SELECT AMATNR BMAKTX CIDNRK CMENGE C~MEINS  INTO CORRESPONDING FIELDS OF TABLE IT_COMP_IDEL FROM
                       MAST AS A INNER JOIN MAKT AS B ON AMATNR = BMATNR
                                 INNER JOIN STPO AS C ON ASTLNR = CSTLNR
                       WHERE AMATNR IN S_MATNR AND AWERKS IN S_WERKS.
    using cs13 to get the bom summary
    using these table to but i got only few materials only,
    but cs13 got more materials
    how can i solve that one
    Regards
    ds

    Hi,
    Just go through this program i think it will help u out.
    TABLES: MARA, MARC.
    TYPE-POOLS : fibs,stree.
    TYPES: BEGIN OF STRUCT_BOM,
            MATNR TYPE MATNR,          " Material Number
            WERKS TYPE WERKS_D,        " Plant
            IDNRK TYPE IDNRK,          " BOM Item
            STLAL TYPE STLAL,          " Alternative BOM
            STUFE TYPE HISTU,          " BOM Level
            OJTXB TYPE OJTXB,          " Object description (assembly)
           END OF STRUCT_BOM.
    *- table types
    types: t_bom type table of struct_bom.
    *Internal Tables to hold the BOM data.
    DATA: ITAB_BOM type table of STRUCT_BOM.
    DATA: WA_BOM TYPE STRUCT_BOM,
          wa_stb type stpox,
          wa_matcat type stpox.
    DATA: IT_STB       type standard table of STPOX,
          IT_STBC      type standard table of STPOX,
          IT_MATCAT    type standard table of CSCMAT.
    *-- to enter BOM DATA
    *Selection Options
    select-options: s_matnr for V_matnr,       "BOM Material
                    s_plant for V_werks.       "BOM Plant
    *Input Parameters
    parameters:     p_alter type stko-stlal,      "Alternate BOM
                    p_usage type stzu-stlan,      "BOM usage
                    p_appli type tc04-capid,      "BOM Application
                    P_CATE  TYPE STKO-STLTY DEFAULT 'M'.      "BOM Category
    INITIALIZATION.
    REFRESH ITAB_BOM.
    CLEAR WA_BOM.
    REFRESH IT_STB.
    REFRESH IT_MATCAT.
    START-OF-SELECTION.
    SELECT matnr
           werks
           stlal
           INTO CORRESPONDING FIELDS OF TABLE itab_bom
           FROM mast
           WHERE matnr IN s_matnr
           AND werks IN s_plant
           AND stlan = p_usage
           AND stlal = p_alter.
    CLEAR V_MATNR.
    CLEAR V_WERKS.
    DATA: WA_STB TYPE STPOX,
          WA_MATCAT TYPE CSCMAT.
        v_matnr = wa_bom-matnr.
        v_werks = wa_bom-werks.
        CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
          EXPORTING
            capid                 = p_appli
            datuv                 = sy-datum
            mktls                 = 'X'
            mehrs                 = 'X'
            mtnrv                 = v_matnr
            stlal                 = p_alter
            stlan                 = p_usage
            werks                 = v_werks
          TABLES
            stb                   = it_stb
            matcat                = it_matcat
          EXCEPTIONS
            alt_not_found         = 1
            call_invalid          = 2
            material_not_found    = 3
            missing_authorization = 4
            no_bom_found          = 5
            no_plant_data         = 6
            no_suitable_bom_found = 7
            conversion_error      = 8
            OTHERS                = 9.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Then just print whatever data u want it_stb, it_matcat tables.
    reward points if u find my answer helpfull.

Maybe you are looking for

  • Load testing with concurrent users on HTTP Web

    Hello, I am trying to do load testing my PHP Web Application. I record (with Firefox) and developed the testing script with OpenScript, but I found that I could only test with "Iteration" feature. Is there any way to do load testing with concurrent u

  • Problem with minut price to Israel

    Hi! I have a Subscription to Israel(120minutes) but it dosent work and the minut still coasts about 2,00kr when i call to Israel. What shall I do?

  • Mac Os Installation not progressing

    Hello everyone, Hoped you could help. I own the Blue and White Powermac G3 and I'm installing 10.3 or Panther. I put the first disc in and it goes through its stuff but when its done it goes to a blue screen, and the loading "wheel" is at the bottom

  • Where is flash remoting in actionscript 3.0\flash cs5

    hello everybody, i have been looking throught all the available tutorials on this site including flash cs5 help, actionscript 3.0 developer's guide, learning actionscript 3.0 and i can't seem to find anything relating to flash remoting (i.e how to re

  • Adjusting max import size: total pixel size VS 10000x10000 max (for panoramas)

    1.1 has been an amazing update. However, I found out there is a 10,000 pixel limit width and height. While I understand the reason for this (a 10,000 x 10,000 pixel image is huge) I create a lot of panoramics. Most are imported, but some exceed the 1