Calculator Too Small

Hi Gurus
I love my new iMac but the calculator looks ridiculously tiny on this gigantic screen. Is there another ap I should use or is there a way to make the calculator bigger??

Reduce the Display's resolution and the calculator will be larger. Looks perfectly fine on my 24" machine set at the highest resolution.

Similar Messages

  • A calculation field is defined too small when i am relasing the csotingrun

    Hi
    when i am releasing the standard price the system is showing  is dump as
    following  A calculation field is defined too small.
    Runtime Errors         BCD_FIELD_OVERFLOW
    Except.                CX_SY_CONVERSION_OVERFLOW
    Date and Time          04.12.2011 10:50:18
    Short text
        A calculation field is defined too small.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLCKMB" had to be terminated because it ha
        come across a statement that unfortunately cannot be executed.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    can any body help me.
    thanks
    kareem

    Hi srinivas,
    thank you very much for ur answer,
    i checked that notes and sent me my basis guy.
    as he told me note 1103295 cant be implemented in this client as we are in support 700 packages.
    can you tell me any other way it can be resolve.
    thanks
    kareem

  • [SOLVED] Fonts too small on X

    Hi,
    My fonts are waaay too small for my linking.
    I've recently migrated to Arch (I don't know what's been keeping me ), and since the doc is *so* great, I've just had two tiny issues.
    My fonts are really small.  About half the size I'm used to.  I formerly used Fedora, and GDM/LXDM magically made them bigger (I remember I once booted on runlevel 3 and ran startx, and the fonts weren't big).
    I've checked .gtkrc-2.0
    I've looked at the wiki (at Font Configuration and Fonts FAQ)
    I've check all the X PPI (DPI) stuff.  On both OSs the DPI is set fine (and equally on both).  I calculated it manually, and I get 68.8dpi.  It's set to 69 now.
    Update
    Running "startx -- -dpi 96" makes the fonts look *just* like I want them to.  (I've already configured the rendering just like I like it, it's just the size that's annoying me).
    However, running "xrdb -merge ~/.Xresources" from my .xinitrc does not fix the issue.
    $ cat .Xresources
    xft.dpi: 96
    Also, adding the following to ~/.fonts.config resulted in no changes either:
    <match target="pattern">
    <edit name="dpi" mode="assign"><double>96</double></edit>
    </match>
    Any idea what the problem is?
    Thanks, cheers!
    Update 2
    This fixed the issue:
    Section "Monitor"
    Identifier "Monitor0"
    Option "DPI" "96 x 96"
    EndSection
    Using Xresources didn't work for some reason, and xrdb gave no output, oddly.  Or any of the other methods.  Only passing the DPI explicitly to X worked.  So I guess that fixes the issue (using startx -- -dpi 96 was way too dirty/hackish.
    Last edited by hobarrera (2011-04-12 09:46:34)

    thestinger wrote:
    Do you use KDE or GNOME? AFAIK they override DPI by default (for some applications)
    You might also have DPI set in .Xresources/.Xdefaults or your .fonts.conf.
    Do you use any of the patched font packages? There's a respect-fontconfig patch for cairo that might help https://bugs.archlinux.org/task/21108.
    I only use a WM, and no dpi set in .Xdefaults.or .fonts.conf.
    Also using the patched cairo, as you can see in the first comment on that flyspray report.
    (i don't think it's a cairo issue though)
    Edit: i should add that terminal fonts are okay, so it seems that mainly gtk-apps show problems.
    Last edited by litemotiv (2010-11-22 18:47:33)

  • Listener Error - character string buffer too small (ORA-06502)

    I am running into a very strange problem with the APEX listener on seemingly random pages. I can hit every page in my application just fine, but as soon as I hit this specific one, Glassfish throws an HTTP 500 error. If I click Debug, the page seems to load fine with no indications of trouble, but as soon as I turn debug back off, it goes back to the HTTP 500 error. I don't see anything special about the page that makes this happen. It is pretty simple and has 4 regions. I have noticed that if I set any 1 of the 4 regions to "Never display", the page loads fine. It's like having all 4 of them enabled at once are causing some overload, even though it's actually a smaller amount of data than most of my other pages.
    **Update: I just discovered this only happens if I'm logged into the workspace first and then try to run the page! If I log out of APEX and then hit the application as a normal user, page loads error-free. This is still an annoying problem, but at least it seems I have a decent workaround since regular users never see it.
    After a couple days, I noticed the exact same problem on a second APEX application I'm using. Again, it is on some random page whereas all the other pages work fine.
    Both applications and pages in question worked without issue in APEX 3.x. I am trying to get an APEX application up and running on the latest version.
    I have tried both Glassfish server and simply downloading the latest listener (version 1.1.1) and running it in standalone mode. I get the problem both ways, which is why it seems it's a listener issue.
    I have seen a few other threads of people having this problem, but I never did find anyone with a solution, and most of the posts stopped back in December.
    Some details on my environment:
    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    APEX version: 4.0.2
    Webserver: Glassfish 3.1
    Here is the log entry from Glassfish when the HTTP 500 error displays as I try to load one of the bugged pages.
    [#|2011-05-10T21:14:22.967-0500|INFO|oracle-glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=111;_ThreadName=Thread-1;|MaxConnectionReuseCount=50000|#]
    [#|2011-05-10T21:14:46.431-0500|SEVERE|oracle-glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=112;_ThreadName=Thread-1;|
    ***********ERROR***********
    init: # headers=46
    declare nm owa.vc_arr := ?;
    vl owa.vc_arr := ?;
    begin
    owa.init_cgi_env( ?, nm, vl );
    htp.init; htp.HTBUF_LEN := 63;
    ? := sys_context('USERENV','SID');
    end;
    SID:1242
    CALL:
    begin
    f(p=>?);
    commit;
    end;
    BINDS
    p:100:2:220529248574492::NOPAGE CALL:
    declare
    nlns number := 999999;
    l_clob CLOB;
    lines htp.htbuf_arr;
    l_buff varchar2(32767);
    l_clob_init boolean:= false;
    l_file varchar2(5);
    l_doc_info varchar2(1000);
    begin
    OWA.GET_PAGE(lines, nlns);
    if (nlns > 1) then
    for i in 1..nlns loop
    if ( length(lines(i)) > 0 ) then
    if ( ( lengthb(l_buff) + lengthb(lines(i))) > 32767) then
    if (NOT l_clob_init) then
    dbms_lob.createtemporary(l_clob, TRUE);
    dbms_lob.open(l_clob, dbms_lob.lob_readwrite);
    l_clob_init:=true;
    end if;
    dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
    l_buff := lines(i);
    else
    l_buff := l_buff || lines(i);
    end if;
    end if;
    end loop;
    end if;
    if (l_clob_init) then
    dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
    l_buff := '';
    end if;
    ? := l_clob;
    ? := l_buff;
    if (wpg_docload.is_file_download) then l_file:='TRUE'; wpg_docload.get_download_file(l_doc_info); else l_file := 'FALSE'; end if; ? := l_file;
    ? := l_doc_info;
    end;
    get_page FAILED:ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 33
    Edited by: BrianB on May 11, 2011 7:50 AM
    Edited by: BrianB on May 11, 2011 8:01 AM

    Brian,
    this post is going to get a bit longer, so the summary comes first.
    h6. Summary
    1. I could reproduce the problem on my system using the APEX Listener in standalone mode.
    2. I don't think the problem is content-related in the sense that you have any issue in your page or database contents.
    3. I have a workaround for your problem.
    h6. Error message
    Having that error in my environment made me start to think. I not only disabled some item and got it work, but I could also add something to achieve this effect.
    So I came to think, this really is somewhere deep down. The error message doesn't seem very helpful on first sight, but when starting to follow on what's happening there, things get clearer:
    APEX generates pages dynamically, replacing substitution strings and other tokens to get the actual page definition. This has to be read by a requesting client. The use of VARCHAR2 as buffer introduces a limit of 32767 bytes, after which the contents is handled as CLOB instead.
    h6. Analysis
    Obviously, there are cases where the "estimation" fails. Of course, this is may only be relevant in rare cases, because:
    1. If a page would exceed the maximum without some charset interpretation problem, the buffer would be switched to clob.
    2. If a page stays small enough to stay below 32767 even with some characters that are acutally larger then expected, the buffer isn't busted.
    To find out, if your could be one of these rare cases, I investigated the HTTP headers, focussing on X-DB-Content-length and made an odd observation.
    Test case 1: "Go" button disabled, so the page runs fine with APEX Listener
    1. It has *31968 bytes* when coming from APEX Listener with a Go button disabled.
    2. It has *31938 bytes* according to the header set by EPG - for exactly the same page.
    That makes a difference of 30 bytes for what is expected to be the same contents.
    Test case 2: The button is enabled again
    1. This causes the page load to crash in APEX Listener.
    2. EPG transports *32341 bytes* according to that header.
    So we are pretty close to the hard limit for the VARCHAR2 buffer.
    For some reason, APEX Listener seems to cause a false calculation of the actual page size. Whether this is due to some charset problem or due to some other problem with response handling, I don't know. The 30 bytes difference may result from the odd header "X-ORACLE-IGNORE" with value "IGNORE, IGNORE, IGNORE, IGNORE" sent by the APEX Listener. This value has exactly 30 bytes in length, but this could be coincidence, as there are more differences in headers. If I add the size of all headers, we are even closer to the buffer limit and probably exceed it when some items need more bytes than expected.
    This could even be as simple as a line break, as your page has about 424 lines when I disabled the button... Adding 1 byte per line to the 32341 bytes of the EPG, I get 32765 bytes. Now add that button (403 bytes difference on EPG) and you exceeed the limit. Reduce that value by the line count again and you are still below.
    Could be coincidence as well, but makes me wonder.
    h6. Workaround
    To make sure that we were actually hitting that limit, I now introduce my suggestion for a workaround.
    Test case 3: Add a hidden item
    1. APEX Listener loads the page, stating the size to be *32876 bytes*
    2. EPG sees 30 bytes less and transmits the header with *32846 bytes*
    h6. Conclusion
    I can't give you a real solution for that problem, nor do I have a definitive answer on what is the root cause for it. It seems, only one of the developers may find it. But I can offer you a workaround, which is to just add some hidden item to your page so it exceeds the limit for the VARCHAR2 buffer and gets handled as clob.
    Note that this may occur outside the app builder as well. The app builder just renders some additional items when starting that page, so it has a different size from its productive representation. On the other hand, I may start counting the size of that additional page section - I wouldn't wonder if that results in a value around 400 bytes, and this is the forgotten part...
    Unfortunately, if it actually is happening outside of the app builder, this workaround isn't very handy: Dynamic contents can't be calculated that easy all the time, so you may have cases where you just don't know in advance if you are close to the limit and have to add some item to exceed it or if you've already exceeded it or if you are far below, or close enough to actually hit it when adding just one byte...
    -Udo

  • Time Machine falsely says my disk volume is too small

    I have several Fusion VMs which I am excluding from TM backup. But when I select "Change Disk..." in TM, it tells me that the disk I wish to use is too small. When, in fact, it is about 4 times larger than the data I wish to back up. It seems to be using the entire contents of my main volume (including the excluded Fusion VMs) when calculating the required size of the new TM target disk. Is this a TM bug? Is there a work around?

    This thread might be of interest:
    http://discussions.apple.com/thread.jspa?messageID=8002977&#8002977

  • Simulation interrupts, error:timestep too small, trouble with node. Solution?

    Evaluating Multisim, a simple half bridge inverter, using function generator to control IGBTs, scopes and current probes. Simulation starts and interrupts shortly. The error message is: Timestep too small, time=xxxx, timestep=yyyy, trouble with node zzzz.
    Can anyone give me some idea please, what is going on here,  am I doung something wrong or this is software/model bug?
    Simulation is unstable, even when it works, if I change the point where I sense the current or voltage, or component value, it fails.
    Any ideas would be appreciated.
    Thanks.

    Hi Jordan,  
    Thanks for advise, but connecting the terminal to ground does not solve the problem. The problem is not in the circuit but in the software. You can see that the simulatiion worked for several periods, so the circuit is OK. Please tell me, what is the exact meaning of the error message, "timestep too small"? Why is the software working for one value of the component and not for another value? My interpretation is that when software encounters some values during calculations that it does not like for some reason, it gives this message without properly defining the problem so that the user can take practic action to rectify it. Are there any settings which I must define before starting the simulatioin, like sampling rate or anything that would eliminate "timestep too small" message?
    I am evaluating the simulator software to make a decision whether it is practically useful for the company to purchase. If 8 out of 10 times the result of simulation is an incomprehensible error message instead of a waveform, then I have to assume that the software is not mature.
    Please advise.
    Best regards,
    Stepan.

  • Photoshop resolution on Macbook Pro 15" Retina display too small

    I've just bought a Macbook Pro 15" and I'm trying to use Photoshop, but the resolution its displaying the images at for 100% are too small. I have to design for the web, so need to be intricate with detail, but I'm finding it adjusts the resolution of the image right down. (I mean you can see the image clearly, but it's too small to edit). When I look at Safari and see a web page at 100% it's clear, but the same page displayed in Photoshop CC appears 50% of the size (even though it says it's 100%)
    If I move the application window to another screen it adjusts it correctly  – leaving all the pallettes, menus and tools correctly sized as they are on the retina display
    Is there some way to adjust the way Photoshop CC displays images so it is more consistent with what you actually see?
    There doesn't seem to be any answer on the Adobe forum, so hopefully someone here can shed some light.

    quaetapo wrote:
    Well that certainly helps in terms of making the image larger – only problem is with the low resolution there's a loss of clarity and pixelisation of the image; so not the same level of quality...
    In System Preferences/Display, what resolution do you have your screen set to? Try changing that also to see if the two settings can work together. Also, since the vast majority of users (Mac or PC) don't have Retina Displays, isn't what you're seeing with Low Resolution checked in Photoshop closer to what most people will see? Remember that Apple's software, such as Safari, have been upgraded to take full advantage of the rMBP display; most other browsers, especially in Windows, haven't.
    And if you want to tinker with the rMBP's resolution even further, check out "Eye-Friendly" in the App Store.

  • The ADO NET Source was unable to process the data. ORA-64203: Destination buffer too small to hold CLOB data after character set conversion.

     We developed a SSIS Package to pull the data From Oracle source to Sql Server 2012. Here we used ADO.Net source to pull the records from Source but getting the below error after pulling some 40K records.
      [ADO NET Source [2]] Error: The ADO NET Source was unable to process the data. ORA-64203: Destination buffer too small to hold CLOB data after character set conversion.
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. 
     The PrimeOutput method on ADO NET Source returned error code 0xC02090F5. 
     The component returned a failure code when the pipeline engine called PrimeOutput(). 
    The meaning of the failure code is defined by the component, 
    but the error is fatal and the pipeline stopped executing. 
     There may be error messages posted before this with more 
    information about the failure.
    Anything that we can do to fix this?

    Hi,
      Tried both....
      * Having schema type as Nvarchar(max). - Getting the same error.
      * Instead of ADO.Net Source used OLEDB Source with driver as " Oracle Provide for OLE DB" Getting error as below.
           [OLE DB Source [478]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
           [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on OLE DB Source returned error code 0xC0202009.  The component returned a failure
    code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the
    failure.
    Additional Info:
       * Here the Source task is getting failed not the conversion or destination task.
    Thanks,
    Loganathan A.

  • Error "roll area too small"! Can't find a way to resolve!Please hep.

    Hello everyone:
           i am getting the error "roll area too small" when I am looping through an internal table and calling the code below on change of some value.
    ===
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            authority              = space
            immediately            = space
            new_list_id            = c_x
            no_dialog              = c_x
           user                   = sy-uname
          IMPORTING
            out_parameters         = params
          EXCEPTIONS
            archive_info_not_found = 1
            invalid_print_params   = 2
            invalid_archive_params = 3
            OTHERS                 = 4.
        IF sy-subrc NE 0.
          CLEAR : params.
        ENDIF.
    The printer destination has to be set up
        params-pdest = v_dest.
        params-prtxt = v_spool_text.
        params-paart = lc_paart.
        params-prtxt = v_spool_text.
        params-primm = 'X'.
        params-prrel = space.
        NEW-PAGE PRINT ON PARAMETERS params NO DIALOG.
        NEW-PAGE PRINT OFF.
    ======
    I posted this before and got some feedback and tried everything but it is not fixing the problem! I rewarded points to all the answers. I had basis increase roll area size, optimized code and did everything I can but I am still getting the same error "roll area too small". Same program works in 4.6C but in ECC6.0 I get this error! I have other programs that generates more than 10,000 pages in the spool but the program I am working on creates only 7700 pages! I  am not sure what else is changed in ECC6.0! Could someone please give me any ideas? rewards assured.
    thanks.
    Mithun

    Hello Mithun,
    Even i think increasing the roll area should have helped
    Are both the systems WIndows based  or is one unix based ?
    see this
    http://listserv.sap.com/pipermail/linux.general/2001-July/thread.html#670
    and search for "roll area too small" in the list of links
    it may help
    Also,
    in this solution, it says to use 'field groups'
    http://www.sapfans.com/sapfans/forum/r2all/messages/42.html
    Try these links as well - others with the same problem
    http://marc.info/?l=mysap-linux-general&w=4&r=1&s=%22rollareatoo+small%22&q=b
    Message was edited by:
            Kris Donald

  • Photoshop CC icons and text are too small: how to adjust so they're readable? [was: Joanne]

    I have just downloaded Creative Cloud on a new computer.  The new photoshop icons and text are too small for me to see or work with.  I cannot seem to adjust this so its "useable"

    Hey Bob,
    Ive put feature requests for this in before and I know many others have as well. Is there any way to see if Adobe is actually working on this? I dont really consider this a feature request, it should be standard with the software. A feature request would be something like creative cloud libraries, not the ability to make font sizes and icons bigger.

  • UI text too small

    Is there a way to make the text in the UI larger?The default size is too small and strains the eyes.

    tidysteve wrote:
    but doesn't that make it system wide ??? not just for aperture ???
    it was intended as a tool to use by those that are legally blind to zoom any part of the os, we use it every day as a teaching/demoing tool.
    you can also zoom into a photo or video without creating artifacts/pixelation which the normal zoom tool does on many apps
    i suppose you could just change it back and forth ...
    apple option 8 -- toggles it on and off, or you can use one "Butler" hot key for it http://www.manytricks.com/butler/
    http://www.petermaurer.de/butler/
    victor

  • Thumbnails in "OPEN" dialog box too small to see!

    The thumbnails are  too small in the open dialog box so that I can't see the file I want to open.  Yes, you can make them bigger in finder itself...but I am always opening pictures and I just can't see them!
    Almost as frustrating as the column issue.   The name column is very very wide when I try to open a file.. so I can't sort by the other columns without dragging over the bar at the bottom of the screen.  THis is so so frustrating.  I resize but it doesn't stick to the next session.
    Apple invented the finder.  Why is it so inferior to windows explorer?

    The only solution to enlarging the icons in an application open dialog window is to use the Accessibility panel in System Preferences. Under Zoom, enable Use keyboard shortcuts to zoom.
    The first time you have an application open dialog, you press the keys: option + command + =  as many times as you want to zoom in. This will enlarge the open dialog window and its contents. When done, press option + command + 8 to restore normal window size. Subsequently, you can alternatively press option + command + 8 to zoom to the previous setting, or return to normal zoom.
    This is as good as it is going to get. The applications (not just Apple’s) only use a subset of Finder’s settings in the open dialogs, and these do not include icon enlargement settings, which as you realize, are part of the actual Finder’s settings. The application development frameworks, and not Finder, are remiss in not providing icon size adjustments in open dialog windows.
    You can provide feedback to Apple regarding OS X.

  • Open/save dialog boxes stuck at (too small) default size

    I've been having a relatively small issue with Mountain Lion that has become a big hassle. In past versions of OS X, whenever I'd resize an open/save dialog box in an application, it would be that size the next time I went to open/save. In Mountain Lion, however, those dialog boxes always default to the smallest possible size (which is too small to read a filename longer than a few characters). so I have to resize the dialog box — every time! I open and save a lot of files, so this gets pretty tedious. This doesn't seem to happen in apple programs, but it definitely does in the Office Suite and the Adobe Creative Suite, especially in CS4 Photoshop and Illustrator. Might be I can fix it by myself but I can't imagine where I may dig it.

    You might try looking here for the Adobe products:
    Adobe Help and Support
    Try Microsoft support for the Office Products:
    http://www.microsoft.com/mac

  • Error: ORA-06502: PL/SQL: numeric or value error: host bind array too small

    Hello,
    I am getting this error when i am trying to execute a PL/SQL script using an Oracle API
    We are using Oracle 10g release 2 database. I am getting this error only on some instances. This script is running fine in Development instances.
    Script:
    SET VERIFY OFF;
    SET serveroutput on size 100000;
    SET linesize 300;
    EXEC FND_STATS.GATHER_COLUMN_STATS ('AR', 'HZ_LOCATIONS', 'COUNTRY');
    SELECT
    hl.location_id,hl.state, hl.country,
    hcasa.org_id
    FROM hz_cust_site_uses_all hcsua,
    hz_cust_acct_sites_all hcasa,
    hz_party_sites hps, apps.hz_locations hl,
    hz_parties hp,
    hz_cust_accounts hca
    WHERE hcsua.cust_acct_site_id = hcasa.cust_acct_site_id
    AND hcasa.party_site_id = hps.party_site_id
    AND hps.location_id = hl.location_id
    AND hp.party_id = hps.party_id
    AND hca.cust_account_id = hcasa.cust_account_id
    AND hca.party_id = hp.party_id
    AND hl.country NOT IN ('US','CA')
    AND hps.party_site_number NOT LIKE 'M%';
    --PROMPT Dropping Table pmr13286_temptable
    DROP TABLE pmr13286_temptable;
    CREATE TABLE pmr13286_temptable AS (SELECT
    hp.attribute_category , hl.address_lines_phonetic,
    hps.party_site_number,hca.cust_account_id,
    hcsua.site_use_code, hcsua.primary_flag, hcsua.status,
    hl.address1, hl.address2, hl.address3, hl.address4,
    hl.city, hl.state, hl.postal_code, hl.country,
    hl.county, hl.province, hcasa.org_id,
    hl.creation_date
    FROM hz_cust_site_uses_all hcsua,
    hz_cust_acct_sites_all hcasa,
    hz_party_sites hps, apps.hz_locations hl,
    hz_parties hp,
    hz_cust_accounts hca
    WHERE hcsua.cust_acct_site_id = hcasa.cust_acct_site_id
    AND hcasa.party_site_id = hps.party_site_id
    AND hps.location_id = hl.location_id
    AND hp.party_id = hps.party_id
    AND hca.cust_account_id = hcasa.cust_account_id
    AND hca.party_id = hp.party_id
    AND hl.country NOT IN ('US','CA')
    AND hps.party_site_number NOT LIKE 'M%');
    DECLARE
    l_location_rec hz_location_v2pub.location_rec_type;
    l_object_version_number hz_locations.object_version_number%TYPE;
    p_status_code NUMBER;
    l_api_status VARCHAR2 (2000);
    l_msg_count NUMBER (15);
    l_msg_data VARCHAR2 (2000);
    v_total_count NUMBER (15);
    v_prvi_count NUMBER (15);
    v_countr_count NUMBER (15);
    v_null_count NUMBER (15);
    v_rem_recs          NUMBER (15);
    v_status_code VARCHAR2 (2000);
    l_sql_errmsg VARCHAR2 (500);
    CURSOR c_cust_addr
    IS
    SELECT
    hl.*
    FROM hz_cust_site_uses_all hcsua,
    hz_cust_acct_sites_all hcasa,
    hz_party_sites hps, apps.hz_locations hl,
    hz_parties hp,
    hz_cust_accounts hca
    WHERE hcsua.cust_acct_site_id = hcasa.cust_acct_site_id
    AND hcasa.party_site_id = hps.party_site_id
    AND hps.location_id = hl.location_id
    AND hp.party_id = hps.party_id
    AND hca.cust_account_id = hcasa.cust_account_id
    AND hca.party_id = hp.party_id
    AND hl.country NOT IN ('US','CA')
    AND hps.party_site_number NOT LIKE 'M%';
    BEGIN
    v_total_count := 0;
    v_prvi_count := 0;
    v_countr_count := 0;
    v_null_count := 0;
    dbms_output.put_line('Total Count'||v_total_count );
    dbms_output.put_line('PR/VI Conversion Count'||v_prvi_count );
    dbms_output.put_line('PR/VI to US Conversion Count'||v_countr_count );
    dbms_output.put_line('Non US/CA State Null Count'||v_null_count );
    FOR i IN c_cust_addr
    LOOP
    l_location_rec := NULL;
    v_total_count := v_total_count + 1;
    l_location_rec.location_id := i.location_id;
    l_location_rec.state := i.state;
    l_location_rec.country := i.country;
    dbms_output.put_line('Location_id '||l_location_rec.location_id||' '||'State '||l_location_rec.state||' '||'Country '||l_location_rec.country);
    BEGIN
    SELECT hl.object_version_number
    INTO l_object_version_number
    FROM hz_locations hl
    WHERE hl.location_id = l_location_rec.location_id;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    raise_application_error (
    -20059,
    'object_version_number not found for location = '
    || TO_CHAR (l_location_rec.location_id)
    END;
    Update 1 - Update Addresses of 3 records that have wrong country names
    BEGIN
    IF (l_location_rec.location_id IN (1436720,119456,604649)) THEN
    dbms_output.put_line(' 3 records Location_id '||l_location_rec.location_id);
    IF ( l_location_rec.location_id = 1436720) THEN
    l_location_rec.state := 'OH';
    l_location_rec.country := 'US';
    ELSIF ( l_location_rec.location_id = 119456) THEN
    l_location_rec.country := 'US';
    ELSIF ( l_location_rec.location_id = 604649) THEN
         l_location_rec.country := 'PK';
    END IF;
    hz_location_v2pub.update_location (
    fnd_api.g_true,
    l_location_rec,
    l_object_version_number,
    l_api_status,
    l_msg_count,
    l_msg_data
         IF l_api_status <> fnd_api.g_ret_sts_success
    THEN
    dbms_output.put_line(' Error In API with status of '||l_api_status);
    IF l_msg_count > 1
    THEN
    FOR s IN 1 .. l_msg_count
    LOOP
    l_sql_errmsg :=
    SUBSTR (
    RTRIM (l_sql_errmsg)
    || ' , '
    || RTRIM (
    fnd_msg_pub.get (p_encoded => fnd_api.g_false)
    1,
    500
    END LOOP;
    ELSE
    l_sql_errmsg := SUBSTR (l_msg_data, 1, 500);
    END IF;
    dbms_output.put_line(' Error Message '||l_sql_errmsg);
    ROLLBACK;
    RETURN;
    END IF;
    END IF;
    END;
    Update 2 - Update state to 'VI','PR' where country is in 'VI','PR'
    BEGIN
    IF (i.country = 'PR' AND (i.state <> 'PR' OR i.state IS NULL))
    OR (i.country = 'VI' AND (i.state <> 'VI'OR i.state IS NULL)) THEN
    v_prvi_count := v_prvi_count + 1;
    dbms_output.put_line(' State to PR/VI Location_id '||l_location_rec.location_id);
    SELECT DECODE (i.country,'PR','PR','VI', 'VI') INTO l_location_rec.state
    FROM apps.hz_locations WHERE
    location_id = l_location_rec.location_id;
    hz_location_v2pub.update_location (
    fnd_api.g_true,
    l_location_rec,
    l_object_version_number,
    l_api_status,
    l_msg_count,
    l_msg_data
              IF l_api_status <> fnd_api.g_ret_sts_success
              THEN
              dbms_output.put_line(' Error In API with status of '||l_api_status);
              IF l_msg_count > 1
              THEN
              FOR s IN 1 .. l_msg_count
              LOOP
              l_sql_errmsg :=
              SUBSTR (
              RTRIM (l_sql_errmsg)
              || ' , '
              || RTRIM (
              fnd_msg_pub.get (p_encoded => fnd_api.g_false)
              1,
              500
              END LOOP;
              ELSE
              l_sql_errmsg := SUBSTR (l_msg_data, 1, 500);
              END IF;
              dbms_output.put_line(' Error Message '||l_sql_errmsg);
              ROLLBACK;
              RETURN;
    END IF;
                   dbms_output.put_line('Location_id '||l_location_rec.location_id||' '||'State '||l_location_rec.state||' '||'Country '||l_location_rec.country);
    END IF;
    END;
    Update 3 - Update Country code to 'US' where state code is either 'PR' or 'VI'
    BEGIN
    IF l_location_rec.state = 'PR' OR l_location_rec.state = 'VI'
    THEN l_location_rec.country := 'US';
    v_countr_count := v_countr_count + 1;
    dbms_output.put_line('PR/VI country to US Location_id '||l_location_rec.location_id);
    hz_location_v2pub.update_location (
    fnd_api.g_true,
    l_location_rec,
    l_object_version_number,
    l_api_status,
    l_msg_count,
    l_msg_data
    IF l_api_status <> fnd_api.g_ret_sts_success
              THEN
              dbms_output.put_line(' Error In API with status of '||l_api_status);
              IF l_msg_count > 1
              THEN
              FOR s IN 1 .. l_msg_count
              LOOP
              l_sql_errmsg :=
              SUBSTR (
              RTRIM (l_sql_errmsg)
              || ' , '
              || RTRIM (
              fnd_msg_pub.get (p_encoded => fnd_api.g_false)
              1,
              500
              END LOOP;
              ELSE
              l_sql_errmsg := SUBSTR (l_msg_data, 1, 500);
              END IF;
              dbms_output.put_line(' Error Message '||l_sql_errmsg);
              ROLLBACK;
              RETURN;
    END IF;
    dbms_output.put_line('Location_id '||l_location_rec.location_id||' '||'State '||l_location_rec.state||' '||'Country '||l_location_rec.country);
    END IF;
    END;
    Update 4 - Update state code to NULL where state code is NOT NULL and country code is not in US or CA
    IF l_location_rec.country NOT IN ('US','CA') AND l_location_rec.state IS NOT null
    THEN l_location_rec.state := FND_API.G_NULL_CHAR;
    v_null_count := v_null_count + 1;
    dbms_output.put_line('Non US/CA to Null Location_id '||l_location_rec.location_id);
    hz_location_v2pub.update_location (
    fnd_api.g_true,
    l_location_rec,
    l_object_version_number,
    l_api_status,
    l_msg_count,
    l_msg_data
    IF l_api_status <> fnd_api.g_ret_sts_success
              THEN
              dbms_output.put_line(' Error In API with status of '||l_api_status);
              IF l_msg_count > 1
              THEN
              FOR s IN 1 .. l_msg_count
              LOOP
              l_sql_errmsg :=
              SUBSTR (
              RTRIM (l_sql_errmsg)
              || ' , '
              || RTRIM (
              fnd_msg_pub.get (p_encoded => fnd_api.g_false)
              1,
              500
              END LOOP;
              ELSE
              l_sql_errmsg := SUBSTR (l_msg_data, 1, 500);
              END IF;
              dbms_output.put_line(' Error Message '||l_sql_errmsg);
              ROLLBACK;
              RETURN;
    END IF;
    dbms_output.put_line('Location_id '||l_location_rec.location_id||' '||'State '||l_location_rec.state||' '||'Country '||l_location_rec.country);
    END IF;
    END LOOP;
    v_countr_count := v_countr_count +2;
    dbms_output.put_line('Total Count'||v_total_count );
    dbms_output.put_line('PR/VI Conversion Count'||v_prvi_count );
    dbms_output.put_line('PR/VI to US Conversion Count'||v_countr_count );
    dbms_output.put_line('Non US/CA State Null Count'||v_null_count );
         BEGIN
         SELECT
         count(*) into v_rem_recs
         FROM hz_cust_site_uses_all hcsua,
         hz_cust_acct_sites_all hcasa,
         hz_party_sites hps, apps.hz_locations hl,
         hz_parties hp,
         hz_cust_accounts hca
         WHERE hcsua.cust_acct_site_id = hcasa.cust_acct_site_id
         AND hcasa.party_site_id = hps.party_site_id
         AND hps.location_id = hl.location_id
         AND hp.party_id = hps.party_id
         AND hca.cust_account_id = hcasa.cust_account_id
         AND hca.party_id = hp.party_id
         AND hl.country NOT IN ('US','CA')
         AND hps.party_site_number NOT LIKE 'M%';
    dbms_output.put_line('remaining count '||v_rem_recs );
         END;
    COMMIT;
         EXCEPTION
         WHEN OTHERS THEN     
         dbms_output.put_line('Error in Program: ' ||' Error Message ' || SQLERRM);
         ROLLBACK;
    END;
    SELECT
    hl.location_id,hl.state, hl.country,
    hcasa.org_id
    FROM hz_cust_site_uses_all hcsua,
    hz_cust_acct_sites_all hcasa,
    hz_party_sites hps, apps.hz_locations hl,
    hz_parties hp,
    hz_cust_accounts hca
    WHERE hcsua.cust_acct_site_id = hcasa.cust_acct_site_id
    AND hcasa.party_site_id = hps.party_site_id
    AND hps.location_id = hl.location_id
    AND hp.party_id = hps.party_id
    AND hca.cust_account_id = hcasa.cust_account_id
    AND hca.party_id = hp.party_id
    AND hl.country NOT IN ('US','CA')
    AND hps.party_site_number NOT LIKE 'M%';

    You may want to zero in on the part of the code that throws this error.
    (i)
    Try executing a small part of your code, while commenting out the rest. If that is successful, execute a slightly bigger part of the code, and so on successively. Once you know, where exactly the code is failing, it should be easier to create a small testcase against your data and investigate the problem.
    (ii)
    Check those local variables and the values that get assigned to them. It is a good practice to anchor local variables to database columns. That way, there will be less surprises when the table structures are altered.
    (iii)
    The script as such does not show any glaring error, but you may want to check those procedure calls e.g. -
          hz_Location_v2Pub.Update_Location(fnd_aPi.g_True,l_Location_rec,l_Object_Version_Number,
                                            l_aPi_Status,l_msg_Count,l_msg_Data);It's quite possible that the procedure is assigning a value to an output parameter that is too small to store that.
    Note that, given such a huge script and not knowing your database, we are not particularly inclined to debug it. The only person who can make things easier for himself/herself is you.
    HTH,
    isotope

  • Photoshop CC: Have a template that I moved image into.  Image is too small.  How do I resize the image while in the template?  Or must I go to original image file and resize there again and again until I get the right fit?

    I have a template that I am able to plug different pictures into at different times.  The problem is that when I plug an image into that template, I find that the image is either too big or too small.  Is there a way to plug the image into the template and resize the image (and not the template itself) OR will I have to go to the file with the original image and resize it there and then try to plug it in to the template to see if it fits------and if it does not fit, go back to the original file with the image and resize it again and see if that fits---and so on and so on...........?  I have tried the" image size" option but it's hit or miss------mostly miss!
    Thanks!

    Read up on Smart Objects. It looks like you have no idea as to how to create and use them.
    Jut create a Smart Object from the layer containing whatever it image it is that you are "plugging into your template".  But you do need to learn the application at its most basic levels.
    Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.  You cannot learn Photoshop in a forum, one question at a time.
    Or is it possible that you don't even have Photoshop proper but the stripped-down Photoshop Elements?"
    If the latter is the case, you're in the wrong forum.  This is not the Elements forum.
    Here's the link to the forum you would want if you're working in Elements.:
    https://forums.adobe.com/community/photoshop_elements/content
    If you do have Photoshop proper, please provide the exact version number of that application and of your OS.
    (edited for clarification)

Maybe you are looking for