Audio is disabled with my LED TV

Hi,
I have a new mac mini with lion version os, i'm using it as media center, and i'm connect it to my LG LED TV, every thing was working fine, even it correctly identifiy my TV and i can see it in the audio devices as "LG TV", but when lunch the PLEX application, it start disabling the audio, sometimes the audio is working fine, and most of the time it's not!! even after i clost the PLEX app, no sound comes from the TV!!!

Hello BradyandKaitlyn,
Thanks for the question, and welcome to Apple Support Communities.
The following articles provide the most relevant information to your issue:
Apple TV: Basic troubleshooting
http://support.apple.com/kb/HT1551
Apple TV: About the status light
http://support.apple.com/kb/ht4380
Thanks,
Matt M.

Similar Messages

  • Audio Controls Disabled with Firewire Interface?

    I've found a few references to this in other posts from the past, but rarely and never with any answer or solution.
    I just replaced my cheapo USB audio interface with a *Tapco Link.Firewire* interface. It works and sounds fantastic except for one issue that is a huge problem for my set up, and one I never anticipated.
    With the firewire interface selected, Mac OS X disables all volume and mute controls. This means the only way to adjust volume control is with the knob on the interface.
    The USB interface I was previously using worked like a charm with the native OS X volume controls, and it just doesn't seem right that I am locked out. I rely very much on the Apple remote and keyboard volume controls, especially the muting button.
    If there is a solution for this, a different driver I could install, I would love to know about it. There are no drivers from Tapco, they say it just works with Core Audio.
    Is this normal for these firewire interfaces or did I just maybe get a dud?

    When I use my FW interface (Ultralite) my laptop volume controls don't work, I have to use the volume control on the interface, my monitors' volume control or volume controls within any software I'm using.
    It's normal.

  • Stereo Mix audio option disabled with on MS Communicator call

    I have Stereo Mix enabled on my computer (Windows Vista) and I can see it as an audio input option in Captivate 5. But, when I launch MS Communicator and make a phone call, the option on longer is available. Interestingly, when I use Captivate 4, my "Stereo Mix" option remains available and so I can record the voice of someone I'm talking to via Communicator. Is there a way to get this to work with Captivate 5?

    On a spur-of-the-moment decision, I purchased a Toshiba Satellite C655-S5512 from WalMart. After spending the last several hours failing to enable the Stereo Mixer (despite following several suggestions posted on these forums and around the Internet), my $400 laptop will be returned. Sadly, it is outfunctioned by an old Dell Latitude C640 that I picked up from a second-hand store for $99. I may check out the Dells at WalMart to see if they have what I need (for just $100 more I could have gotten an i3 core with 2GB RAM and 2 more hours batterly life), or I may go back to the second-hand store, but it doesn't appear that Toshiba is "leading innovation" by choosing a subpar sound chip. Saving a few cents on the sound chip is now going to cost their distributor $400 in lost sale and create a "refurbished" laptop that they'll have to take a loss on.

  • MBPro 17 Intel Core 2 Duo Audio only works with the headphones?

    MBPro 17 Intel Core 2 Duo Audio only works with the headphones?
    There is a red light constantly emitting from the headphone socket?
    I can not listen to sound unless headphones are plugged in - when taken out I get a red light and the volume controls kets seem locked?
    Please help!
    Julian

    Hi Kitty.
    Seems to be quite a popular problem. In another post, I posted the following.
    "The red light is the data signal that is transmitted if you plug in an Optical Audio device such as surround sound speakers. I had the same problem for a short while with my 17' MBP. Sound was working fine from my built in speakers but I plugged in some earphones to listen to something that I did not want the rest of the office to hear and after pulling the hearphones out, the optical signal (red light) was being transmitted. The switch Cessna is referring to is the switch that is triggered inside the port that tells OSX that earphones/optical audio device is plugged in and to shut down power to the built in speakers. When the device is un-plugged from that port, the switch should get triggered again and power up the built in speakers and disable the optical light signal. Perhaps there is the slightest defect on the earphones you are plugging in that are preventing it from triggering the switch when the earphones are un-plugged.
    Try a different sent of earphones to maybe trigger the switch if you are uncomfortable with the paper clip solution."
    That seemed to solve the problem for that user.
    The link to the post is http://discussions.apple.com/thread.jspa?threadID=895286&tstart=30
    Good luck

  • Commentary, Audio & Burning Issues with DVD-9

    Hi. I have a collection of problems here that sprouted up when building and formatting a dual-layer disc. I have a feature film with two commentaries on top of the normal audio track. If you hit play on the main menu, I specified A1 (which is the normal track) and it goes to two .jpegs (FBI Warning & Interviews/Commentaries Disclaimer) and then plays the movie.
    If you go to the Special Features menu, you can hit two play buttons with each commentary specified to them (A2 & A3) the two .jpegs appear and then the movie plays.
    This works fine in the simulator but when I build the disc and play the VIDEO_TS & AUDIO_TS folder in Apple's DVD Player, this doesn't work. A1 is what is heard (I have to manually select the commentary audio tracks in DVD Player). I tried bypassing the .jpegs and have the commentary buttons go straight to the movie and this works when I build and play in DVD Player. I wouldn't prefer to do it that way. So if there's a solution it would be appreciated.
    My second issue is more related to audio encoding. But I'm not sure if this is a Compressor issue or DVD SP4 issue. I encode the audio from .AIFFs or audio from .MOVs into Dolby .AC3 files. The settings in Compressor is:
    http://www.underlibertymovie.com/Compressor_Settings.png
    The audio sounds fine in the simulator, however when I build the disc and open in DVD Player, the audio levels are all over the map. Whenever something is bassy (low frequency) happens, the audio levels are dropped and then gradually raises to normal level. So whenever the bass drum hits in the soundtrack or explosions, this sounds really strange. I'm sorry if this is solely a Compressor issue but I thought I'd give it a shot.
    And thirdly, this is a dual layer DVD-9 at 6.6 GBs of data. I've set a valid layer break point as far as I know and have tried to burn several times. First I had Memorex DVD+R DL media and it would write the lead-in, start the first bit of the image, then abort and say "The device reported an error: Unknown device" and then there was an error code that I can't recall (something like 00x 04x)
    After finding out that Memorex is not a reputable brand, I had my partner drive quite a ways to find DVD+R DL Verbatim discs (which is what people were consistently recommending) and the same problem occurred. I also noticed afterward that both brands are ReWritable discs. The Memorex discs didn't specify this but my Mac said it was. I can burn another DVD and get the exact error message if that helps.
    Sorry for such a long post, but I'm at a loss with these issues. Thanks.

    Hi Logimec,
    If your playback requirements are as simple as you say, here is an option
    that will work with no scripts.
    Have your FBI and commentaries as one short vid track and create 3 stories
    name the 1st "... A1", the next story as "...A2" then another for A3.
    in the story inspector,general tab, DISABLE all other audio options except
    the one which coresponds with the desired audio content, you must do this
    even if they have no audio to go with them.
    then create 3 stories for your feature track named "...A1,2,3 (same as earlier)
    and again, enable ONLY the audio track you wish presented.
    select the buttons, one at a time for each option and look to the "Button inspector, advanced tab, streams option"
    and select the audio stream you wish presented.
    Needless to say you must also RE-target your buttons to the desired story
    line and not the main tracks.
    you must be sure that the end jump from the warning to the feature goes to
    the coresponding story/audio option, A1 to A1, A2 to A2, etc.
    I also recommend you look in the help manual under "Setting the dual layer direction" "OTP & ATP" it may help you improve the delay at your "Break Point"
    Hope this helps,
    J>H<L
    Message was edited by: KADVD

  • How do I enable flash and java on firefox23 as I have the latest versions installed yet the plugin page shows "disabled" with no option to enable

    I have updated to Firefox 23 and it disabled my Java and Flash plugins. I then updated these to Flash 11.8.800.94 and Java to Version 7 Update 25. Now these are showing up on the plug in page but are showing "disabled" with no option to enable. How do I enable them to view content on the web.

    Thanks Philipp but i have already done that and the content started working...
    However, when i closed and restarted the browser it returned back to the same settings...
    I dont think that should happen, but anyway thank you for the solution. At least I can use it by resetting the values if need be
    Appreciate your help

  • How can i unlock my ipod touch? It is just saying disabled with no option to reset password???

    How can i unlock my ipod touch if the screen keeps saying "ipod is disabled" with no option to enter my password???

    How do I unlock my disabled ipod touch?

  • Using the Macbook with new LED Apple Cinema Display? Not a beginner's Q...

    Hi - I'm sort of cross-posting this because I'm not getting any answers in the Apple Cinema Display Forum, so here goes. So far, no one - not even a tech guy at a local Apple Reseller - has been able to help, so I've got my fingers crossed.
    I just got a 24" Apple LED Cinema Display and am using it with my 13" Aluminum Unibody Macbook. What I do is dock the Macbook (with closed screen) when at home with the big display and just use that. I enlarge program windows and arrange the layout (in different spaces) to take advantage of the large screen and resolution. So far so good.
    But I'm a student and take my macbook with me to class. When I open it up, all the program windows are set as they were on the larger screen, which means some are out of view or simply not well-adjusted for the smaller and lower resolution of the Macbook. I manually adjust these and work on the Macbook that way.
    But when I return home in the evening, I have to adjust them again once I 'dock' the Macbook. Kind of a pain if I'm doing this twice a day.
    What I'd like to know is: is there a setting or group of settings that would do this automatically for me? A program? An AppleScript? Surely someone out there has had the same issues and has found a fix, if such a thing exists. Or is it just a fact of nature one deals with when working on two screens?
    To preclude one response: yes, I know I can mirror the displays when I open the Macbook along with the LED Cinema Display. But this simply mirrors them using the lower resolution and dimensions of the Macbook screen. And that kind of negates having the larger, Cinema Display.
    So - any thoughts? Solutions? How do you guys manage with this?
    Thanks,
    Jeff

    I don't really have a solution for you but wanted to link you to a discussion on this very topic that took place last month on MacInTouch.
    http://www.macintouch.com/readerreports/helpplease/topic3939.html#d24sep2009
    The conclusion seemed to be that it is not an OS issue, it's an application issue. There really was no good answer but some good insight into why the problem exists and why it may not be something Apple can fix.

  • I am using earphones, but the external audio of my mini ipad is still on. How can I turn off the external audio while listening with my headset?

    I am using earphones, but the external audio of my mini ipad is still on. How can I turn off the external audio while listening with my headset/earphones?

    Other than iMovie, GB always incorporates the audio files into the GB package. So just save or move the GB project to the external drive, and you're done - anything you import, edit or record will be saved to the external drive.

  • Why doesn't Apple supply a simple audio recording app with the iPad? (Garage Band is not simple app)

    I am going to be teaching an integrated media production course in the spring semester (creating an online college newspaper) and I want the students to use mini iPads to create images, videos and sound clips.   Images and video, no problem.   Easy to move to our iMacs in the lab for editing and inclusion in a college newspaper web site.   On the other hand, audio is a mess.   Sure, I can have them shoot video, import the video into Final Cut on the iMacs and then use Final Cut like an audio editor, but that is pretty lame.   They could download Garage Band but that would require all the students to have iTunes accounts, which is a real pain.   And moving audio recording made with Garage Band to the iMac is a real drag and way too much work.   Why the **** can't Apple include a simple audio memo program in the basic iPad app setup?   This is really old school stuff that was on computers way back when.   Using Garage Band for that simple function is like swatting flies with a sledge hammer. 
    Mike Nielsen
    Media Arts
    Wesley College

    Make finding a simple audio recorder the students first assignment. Have them give presentation.  Have file a news story to the 'paper'.
    Google is your friend.
    ipad audio recording app  free
    http://howto.cnet.com/8301-11310_39-57349000-285/five-free-voice-recording-ipad- apps-compared/
    ipad audio recording app
    http://www.appolicious.com/curated-apps/7909-best-ipad-audio-recording-apps-jan- 2013

  • Propagation disabled with error ORA-25315

    Hi,
    I setup a stream replication for one schema in my db, but the propagation process suddenly disable with error message "ORA-25315 unsupported configuration for propagation of buffered messages", the schema only use some normal datatypes and I have no clue what could be the cause of it..
    Is there anyone can help?
    Thanks
    Vincent

    Is the destination database a RAC cluster? This error indicates that the database link is connecting to an instance that is not the owner of the destination queue. The Best Practices for Streams Replication section of the Streams Replication Administrator's Guide discusses the configuration for propagation to RAC

  • Ipod touch is disabled with error message to login to Itunes. i log in and device is not recognized as it is disabled. Im stuck in a loop....???

    My iPod touch is disabled with error message to log into ITunes. I log in to ITunes and it does not recognize device as ITouch is disabled. Im stuck in a loop...?
    Any assistance is greatly appreciated.

    Connect the device to your iTunes library in Recovery Mode using the instructions in this Apple support document.  From there restore it factory defaults.
    http://support.apple.com/kb/ht1808
    B-rock

  • After recent upgrade to Yosemite on Macbook air bluetooth audio cuts out and associated video stops with audio. Likewise with airplay and Apple TV. I have deleted all my saved wifi connections and restarted numerous times. I do not expect a resolutio

    After recent upgrade to Yosemite on Macbook air bluetooth audio cuts out and associated video stops with audio. Likewise with airplay and Apple TV. I have deleted all my saved wifi connections and restarted numerous times. I do not expect a resolution from the community, but hope to get the attention of Apple engineers. If you are having same problems or have a miracle cure I am all ears.

    May start my own thread, but I'm having similar issues.
    I've been using an old iMac (running 10.7.5) and Apple TV for years with no issues. Last week I bought a new Macbook Pro running Yosemite and have had audio issues multiple times. The weird thing is that sometimes it works flawlessly, other times (like now) I spend half an hour just trying to get a song to play.
    My issues are: When I got to "computers" in Apple TV to stream my music, my music is sometimes chopper or intermittent, and I seen to know when it's going to happen based on the status wheel just before it plays. When I choose a song, the status wheel will spin for an unusually long time, usually an indicator that the audio is either not going to work, or stutter.
    When it does finally pull up a song, the playhead sits at the beginning of the song for a good 3-5 seconds before actually playing. Then, when it starts playing, it's all downhill. It will play a few seconds, drop out, play a few more seconds, drop out, and then ultimately the playhead will keep moving across the song as if it's playing, but there's no audio.
    Again, this is a new phenomenon never experienced by me. I've tried everything I could think of, some of them all at once:
    • restart Apple TV
    • restart Macbook Pro
    • quite iTunes/open
    • turn off Home Sharing on iTunes then reconnect it
    • unplugging and cycling both my modem and router
    None of these have alleviated the problem.
    The odd thing is, like this morning, the audio started up perfectly and never gave me any issues. It wasn't until later in the day that it started. Perhaps after the macbook pro had been put to sleep? Not sure.
    Regardless, this is an annoying trait, one that's new to me and my system (as stated, worked flawlessly until my new purchase), and is 100% limited to either a) the macbook pro b) Yosemite or c) both of them.

  • Intermittent Audio Drop-offs with Airtunes to Apple TV

    A number of other threads have similar problems. iMac 2.8 GHz iTunes 8.1 is connect to an updated ATV via new dual-channel ABS on the "n" band. Still there are audio drop offs with AirTunes as it did with the previous ABS Extreme n and previous version of iTunes. So much so, I just gave up and used the Apple Remote on the iPhone to play ATV. Any suggestions would be appreciated.

    Switching from WEP to WPA/WPA2 personal seems to have totally cured the dropouts for me.
    Also I used an old flying saucer Airport as the receiver via ethernet out for my entreatment center instead of using the AppleTV's wireless.
    Also I had a Panasonic security cam that didn't support WPA so I used another flying saucer Airport via ethernet out as its receiver.
    So now my setup is,
    Airport Extreme in my home office as my main base station with a Motorola ADSL 2200 router feeding it internet.
    Flying saucer Airport via ethernet and a hub feeding my AppleTV, DirecTV DVR, and a Mac mini.
    Another flying saucer Airport via ethernet feeding my Panasonic security cam.
    Airport Express for my bedroom speakers.
    All airports are in bridge mode with the Motorola 2200 DSL modem acting as my router. (this seems to be the only way my Vonage adapter recovers without having to be reset if my DSL goes down)
    I steam music from my 17" Macbook Pro to the AppleTV and Bedroom speakers all day now without any dropouts.

  • ORA-55714: savepoint savepoint disabled with interleaved changes across..

    We have a PL/SQL program that is called by OAF page and has savepoint logic used in it.
    We are getting the below error when we call the OAF page.
    ***Error***
    ***ORA-01086: savepoint 'START_ATP' never established in this session or is invalid ORA-06512: at "APPS.XXMRPAVAIL", line 1061 ORA-55714: savepoint 'START_CALL_ATP' disabled with interleaved changes across Oracle RAC instances***
    Below is the sample logic which we have written.
    SAVEPOINT start_call_atp ;
    MRP_ATP_PUB.Call_ATP_no_commit
    (l_session_id,
    l_atp_rec,
    x_atp_rec ,
    x_atp_supply_demand ,
    x_atp_period,
    x_atp_details,
    x_return_status,
    x_msg_data,
    x_msg_count
    ROLLBACK TO start_call_atp ;
    Let me know for any additional information. Thanks in advance for your help.

    Please find the complete code below.
    PROCEDURE Call_ATP (p_sequence_id IN NUMBER
    ,p_requested_ship_date IN DATE
    ,p_mfg_source_code_list IN VARCHAR2
    ,p_plan_name IN VARCHAR2
    ,p_requested_quantity IN NUMBER DEFAULT 100000000
    ,p_debug_flag IN VARCHAR2 DEFAULT 'N'
    ,p_week_no IN NUMBER DEFAULT 0
    ,p_prodFamily_clause IN VARCHAR2
    ,p_typetabatp IN typetabatp_g          
    IS
    -- If profile MSC: ATP Debug = Debug and Database Trace, it will only provide the Debug session file
    -- So if tracing is desired, then Remove the -- from the 'ALTER SESSION ...' line below.
    -- ALSO remove -- from 'ALTER SESSION ...' statement at the end of this file that turns trace off.
    -- If you fail to turn off the trace then the resulting trace file cannot be analyzed properly
    -- ALTER SESSION SET EVENTS = '10046 TRACE NAME CONTEXT FOREVER, LEVEL 12' ;
    lv_program_name VARCHAR2(150) := gv_package_name || '.Call_ATP' ;
    lv_message VARCHAR2(4000) ;
    lv_resource_org_id NUMBER;
    lv_resource_org_code VARCHAR(100);
    l_atp_rec MRP_ATP_PUB.ATP_Rec_Typ;
    p_atp_rec MRP_ATP_PUB.ATP_Rec_Typ;
    x_atp_rec MRP_ATP_PUB.ATP_Rec_Typ;
    x_atp_supply_demand MRP_ATP_PUB.ATP_Supply_Demand_Typ;
    x_atp_period MRP_ATP_PUB.ATP_Period_Typ;
    x_atp_details MRP_ATP_PUB.ATP_Details_Typ;
    x_return_status VARCHAR2(2000);
    x_msg_data VARCHAR2(500);
    x_msg_count NUMBER;
    l_session_id NUMBER;
    l_error_message VARCHAR2(250);
    x_error_message VARCHAR2(80);
    v_file_dir VARCHAR2 (80);
    i NUMBER := 0;
    ln_quantity NUMBER := p_requested_quantity;
    ld_request_ship_date DATE := p_requested_ship_date;
    ln_instance_id NUMBER;
    TYPE TypCurRef IS REF CURSOR ;
    CurRef TypCurRef ;
    lv_Cur VARCHAR2(32767) ;
    atp_details_tab TypRecATPDetails;
    atp_details_rec MRP_ATP_PUB.ATP_Rec_Typ;
    lv_rep_item VARCHAR2(40);
    lv_rep_item_id NUMBER;
    lv_user_id NUMBER;
    TYPE TypRecCur IS RECORD
    (inventory_item_id NUMBER
    ,ItemNo VARCHAR2(30)
    ,source_whse_code VARCHAR2(30)
    ,source_organization_id NUMBER
    ,family VARCHAR2(150)
    ,demand_class VARCHAR2(30)
    ,family_order_by NUMBER
    RecCur TypRecCur ;
    ln_plan_id NUMBER ;
    k NUMBER ;
    s NUMBER := 0 ;
    lv_prodFamily_clause VARCHAR2(32767);
    BEGIN
    SAVEPOINT start_ATP ;
    lv_user_id := fnd_profile.value('USER_ID');
    SELECT plan_id
    INTO
    ln_plan_id
    FROM msc_plans@APS_DBLINK
    WHERE compile_designator = p_plan_name ;
    SELECT MAX(instance_id)
    INTO
    ln_instance_id
    FROM apps.mrp_ap_apps_instances_all
    WHERE NVL(a2m_dblink, 'APS_DBLINK') = 'APS_DBLINK';
    MSC_ATP_GLOBAL.Extend_ATP(l_atp_rec, x_return_status, 1);
    FOR x IN p_typetabatp.first .. p_typetabatp.last
    LOOP
    lv_rep_item := NULL;
    lv_rep_item_id := NULL;
    BEGIN
    SELECT rep.rep_item,msib.inventory_item_id
    INTO lv_rep_item, lv_rep_item_id
    FROM xxmrp_ctp_rep_items rep,
    mtl_system_items_b msib,
         org_organization_definitions ood
    WHERE rep.plant_code = p_typetabatp(x).source_whse_code
    AND rep.prod_family = p_typetabatp(x).Family
         AND msib.segment1 = rep.rep_item
         AND msib.organization_id = ood.organization_id
         AND ood.organization_code = rep.plant_code;
    EXCEPTION
    WHEN OTHERS THEN
    lv_rep_item := NULL;
    lv_rep_item_id := NULL;
    END;
    SELECT OE_ORDER_SCH_UTIL.Get_Session_Id
    INTO l_session_id
    FROM dual;
    IF p_debug_flag <> 'N' THEN
    order_sch_wb.mr_debug := 'Y' ;
    order_sch_wb.file_or_terminal := 1 ;
    order_sch_wb.debug_session_id := l_session_id;
    FND_PROFILE.put('MSC_ATP_DEBUG', 'C');
    SELECT xxau_util.getDefaultDirectory
    INTO v_file_dir
    FROM dual ;
    order_sch_wb.file_dir := v_file_dir ;
    END IF;
    i := 1;
    s := s + 1 ;
    l_atp_rec.identifier(i) := -TO_NUMBER(TO_CHAR(p_sequence_id) || TO_CHAR(p_week_no) || TO_CHAR(s)) ;
    l_atp_rec.Inventory_Item_Id(i) := nvl(lv_rep_item_id,p_typetabatp(x).Inventory_Item_Id) ;
    l_atp_rec.vendor_name(i) := p_typetabatp(x).Family ;
    l_atp_rec.Inventory_Item_Name(i) := NVL(lv_rep_item,p_typetabatp(x).ItemNo);
    l_atp_rec.Quantity_Ordered(i) := ln_quantity;
    l_atp_rec.Quantity_UOM(i) := 'Ea';
    l_atp_rec.Requested_Ship_Date(i) := p_requested_ship_date;
    l_atp_rec.Action(i) := 100; --ATP inquiry
    l_atp_rec.Source_Organization_Id(i) := p_typetabatp(x).source_organization_id ;
    l_atp_rec.OE_Flag(i) := 'N';
    l_atp_rec.Insert_Flag(i) := 0;
    l_atp_rec.Customer_Id(i) := null;
    l_atp_rec.Customer_Site_Id(i) := null;
    l_atp_rec.Calling_Module(i) := null;
    l_atp_rec.Row_Id(i) := null;
    l_atp_rec.Source_Organization_Code(i) := null;
    l_atp_rec.Organization_Id(i) := null;
    --l_atp_rec.demand_class(i)              := RecCur.demand_class;
    l_atp_rec.demand_class(i) := p_typetabatp(x).demand_class;
    l_error_message := null;
    SAVEPOINT start_call_atp ;
    MRP_ATP_PUB.Call_ATP_no_commit
    (l_session_id,
    l_atp_rec,
    x_atp_rec ,
    x_atp_supply_demand ,
    x_atp_period,
    x_atp_details,
    x_return_status,
    x_msg_data,
    x_msg_count
    ROLLBACK TO start_call_atp ;
    IF (x_return_status = 'S') THEN
    IF x_atp_rec.Inventory_item_id.count > 0 THEN
    --============ Show capacity even if there is no supply/demand =======================================
    FOR j IN 1..x_atp_rec.Inventory_item_id.count
    LOOP
    lv_resource_org_id := xxmrpavail.get_resource_org_id (x_atp_rec.Source_Organization_Id(j));
    --lv_resource_org_code := xxmrpavail.get_resource_org_id (x_atp_rec.Source_Organization_Id(j));
    IF SQL%ROWCOUNT = 0 THEN
    IF atp_details_rec.Source_Organization_Id.count > 0 THEN
    NULL;
    ELSE
    MSC_ATP_GLOBAL.Extend_ATP(atp_details_rec, x_return_status, 1);
    END IF;
    atp_details_rec.Source_Organization_Id(atp_details_rec.Source_Organization_Id.count) := x_atp_rec.Source_Organization_Id(j) ;
    atp_details_rec.vendor_name(atp_details_rec.vendor_name.count) := x_atp_rec.vendor_name(j) ;
    atp_details_rec.Requested_Date_Quantity(atp_details_rec.Requested_Date_Quantity.count) := x_atp_rec.Requested_Date_Quantity(j) ;
    atp_details_rec.Error_Code(atp_details_rec.Error_Code.count) := x_atp_rec.Error_Code(j) ;
    atp_details_rec.Inventory_Item_Name(atp_details_rec.Inventory_Item_Name.count) := x_atp_rec.Inventory_Item_Name(j) ;
    END IF;
    END LOOP;
    IF atp_details_rec.Inventory_Item_Name.count > 0 THEN
    --custom logic
    END IF;
    END IF;
    ELSE
    RAISE e_ErrATP ;
    END IF; -- after calling api
    l_error_message := '';
    l_session_id := '' ;
    x_return_status := '' ;
    x_msg_data := '' ;
    x_msg_count := '' ;
    END LOOP; -- main loop
    EXCEPTION
    WHEN e_ErrATP THEN
    --IF CurRef%ISOPEN THEN CLOSE CurRef ; END IF;
    IF x_atp_rec.Error_Code.count > 0 AND (x_atp_rec.Error_Code(1) <> 0) THEN
    SELECT meaning
    INTO x_error_message
    FROM mfg_lookups
    WHERE lookup_type = 'MTL_DEMAND_INTERFACE_ERRORS'
    AND lookup_code = x_atp_rec.Error_Code(1);
    lv_message := lv_message || x_error_message ;
    END IF;
    xxau_util.log(lv_program_name, 'SQLERROR', lv_message, xxau_util.c_TraceLevelException) ;
    raise_application_error(c_ErrATP,'ERROR: ' || lv_program_name || ': ' || lv_message) ;
    WHEN OTHERS THEN
    --IF CurRef%ISOPEN THEN CLOSE CurRef ; END IF;
    ROLLBACK TO start_ATP;
    lv_message := lv_message || substr(SQLERRM,1,4000) ;
    xxau_util.log(lv_program_name, 'SQLERROR', lv_message, xxau_util.c_TraceLevelException) ;
    raise_application_error(c_ErrGeneric,'ERROR: ' || lv_program_name || ': ' || lv_message) ;
    END Call_ATP;

Maybe you are looking for