NEED HELP STRUCTURING A SUBSELECT - INVALIS IDENTIFIER ERROR

This is my 1st post to this PL/SQL forum. I've used TSQL up to now; first job with PL/SQL and Oracle DB. I'm getting a "INVALID IDENTIFIER" error on the ORDER BY line (next to last line in code) in the following code. I haven't doen a lot of subselects and none with grouping. All I'm trying to do is get a count of states my customers are in... Any ideas what might be causing the problem, or a better way to structure this? (I tried the subselect in the SELECT statement as well with no luck there either)
-- count and list All states by state zipcode resolution
SELECT st.state, COUNT(*) AS count_by_state
FROM ADM.USR u
INNER JOIN
SELECT
CASE
WHEN zipcode BETWEEN 99501 AND 99950 THEN 'AK' -- Alaska
WHEN zipcode BETWEEN 35004 AND 36925 THEN 'AL' -- Alabama
WHEN zipcode BETWEEN 71601 AND 72959 THEN 'AR' -- Arkansas
WHEN zipcode BETWEEN 75502 AND 75502 THEN 'AR' -- Arkansas( Texarkana)
WHEN zipcode BETWEEN 85001 AND 86556 THEN 'AZ' -- Arizona
WHEN zipcode BETWEEN 82001 AND 83128 THEN 'WY' -- Wyoming
ELSE NULL
END AS state
FROM CUST.USR_PRFL
ORDER BY state) st ON u.usr_id = st.usr_id
GROUP BY st.state;
Edited by: 927929 on Apr 16, 2012 7:05 AM
Edited by: 927929 on Apr 16, 2012 7:07 AM

try
SELECT st.state, COUNT(*) AS count_by_state
FROM ADM.USR u
INNER JOIN CUST.USR_PRFL up ON u.usr_id = up.usr_id
INNER JOIN
SELECT
CASE
WHEN zipcode BETWEEN 99501 AND 99950 THEN 'AK' -- Alaska
WHEN zipcode BETWEEN 35004 AND 36925 THEN 'AL' -- Alabama
WHEN zipcode BETWEEN 71601 AND 72959 THEN 'AR' -- Arkansas
WHEN zipcode BETWEEN 75502 AND 75502 THEN 'AR' -- Arkansas( Texarkana)
WHEN zipcode BETWEEN 85001 AND 86556 THEN 'AZ' -- Arizona
WHEN zipcode BETWEEN 82001 AND 83128 THEN 'WY' -- Wyoming
ELSE NULL
END AS state
FROM CUST.USR_PRFL
--ORDER BY state
) st
-- any relation beetwen? like "ON u.usr_id = up.usr_id" above
GROUP BY st.state
ORDER BY state;

Similar Messages

  • Need help to trace the place where error occuring in Web UI of type System

    Hi All,
    Need help to trace the place where error occurring in Web UI of type System error,
    this error coming while saving the corporate account creation,
    error message description : - System error: Interruption in Routine READ TABLE GT_CHAR_VAL, CHAR_NAME = PVTLTD_CLEAN_SEGMENT
    System error: Interruption in Routine READ TABLE GT_CHAR_VAL, CHAR_NAME = PVTLTD_CLEAN_CLASS-CP
    thanking you.
    Best Regards,
    VijHyd

    Hi Nagaraj,
    See that the mandatory SICF setting are enabled or Active in the SICF Services.  Follow the steps as below:-
    Enter the TCode SICF
    Execute the same for Hierarchy Type SICF.
    Check the following SAP Note 1295006.
    If every thing is Active then, the IC Agent role will open.
    Still if it is not opening Let me know.
    regards,
    Sarangamath

  • Need help quickly as possible for the error 0xc004c008

    hi,i have lenovo ideapad z580 laptop with windows 8 pre-installed still within the warranty period but after doing one key recovery for the second time an activation error appear as following "the product key is already being used on another pc,try
    a different key or buy new one" with the following error code "0xc004c008" and i have contacted lenovo they gave me new product key but also the problem still exist and also one of my friends have a look at the laptop and told me that to go
    to lenovo and have a new windows 8 installed on the laptop but i am really confused and don't know what should i do? . So,please i am really need help quickly and thanks in advance 

    Well, there's enough time, so if you start the ball rolling with your code then people will help - but you have to do the work. We won't do your homework...

  • Need help in resolving  J2EE Deployment SPI error BEA-260101

    I have a portal application (ear) currently working on weblogic 10.2. I upgraded my project to 10.3 using workshop, then made an ear and deployed it on 10.3
    The following error is being displayed on 10.3.
    +<Error> <J2EE Deployment SPI> <BEA-260101> <Parameter 'DDBeanRoot' may not be null.>+
    Any help in resolving this will be highly appreciated.

    Hi,
    The following is the description of the error :-
    BEA-260101 Error: Parameter 'paramName' may not be null.
    Description Misuse of an API
    Cause A null parameter was passed to the method.
    Action Resolve client programming error
    Link:[wls/docs100/messages/SPIDeployer.html]
    Hope this helps :)

  • Need help... Context validation error for tag cfscript.

    Code:
        <cffunction name="computeHash" access="public" returntype="String">
          <cfargument name="password" type="string" />
          <cfargument name="salt" type="string" />
          <cfargument name="iterations" type="numeric" required="false" default="1024" />
          <cfargument name="algorithm" type="string" required="false" default="SHA512" />
          <cfscript>
            var hashed = '';
            var i = 1;
            hashed = hash( password & salt, arguments.algorithm, 'UTF-8' );
            for (i = 1; i <= iterations; i++) {
              hashed = hash( hashed & salt, arguments.algorithm, 'UTF-8' );
            return hashed;
          </cfscript>
        </cffunction>
    Error on web app:
    Context  validation error for tag cfscript.
    The start tag must have a matching  end tag. An explicit end tag can be provided by adding </cfscript>. If the  body of the tag is empty you can use the shortcut <cfscript .../>. The CFML compiler was processing:
    a cfscript tag beginning on line 11, column 12.
    a cfscript tag beginning on line 11, column 12.
    The  error occurred in xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\salty.cfc: line  11
    9 :        <cfargument name="iterations" type="numeric" required="false" default="1024" />
    10 :        <cfargument name="algorithm" type="string" required="false" default="SHA512" />
    11 :        <cfscript>
    12 :           var hashed = '';
    13 :           var i = 1;
    I am completely lost on why it's fumbling with why it says there's no closing tag.  Help!!!!
    Thanks

    What's on lines 1-7 of that file?
    That code compiles fine for me on CF8 & CF9, so that's not where the error is.
    You're not trying to compile it on any earlier version of CF than CF8 are you?  The < and ++ operators are not valid prior to CF8.  CFMX7 might see the < as a stray angle bracket, and get confused.  I don't have CFMX7 running here to test the exact error that would produce, sorry.
    Adam

  • I Need Help!!! Importing with Error Code -50

    My Itunes has been working fine but when i opened it today it said my library was damaged and it saved what it could but when i tried to import the list back in it came up with "The file _____ cannot be imported An unknown error has occured -50" I read about how Mcafee might mess it up and i have aol security stuff that is powered by mcafee but i can't figure out what to do? Someone please help!!!!

    My Itunes has been working fine but when i opened it today it said my library was damaged and it saved what it could but when i tried to import the list back in it came up with "The file _____ cannot be imported An unknown error has occured -50" I read about how Mcafee might mess it up and i have aol security stuff that is powered by mcafee but i can't figure out what to do? Someone please help!!!!

  • Need help with CRM billing due list error!

    Hi Experts,
    I created a sales order which got split into 3 deliveries and upon pgi looks like 2 of the deliveries when to the incomplete billing due list with an error "Billing due list item for transaction ****** is blocked by user R3USER" . I see only delivery made it to the billing due list. Has anyone seen this error before if yes can you get me some incite on this pelase.
    Appreciate your response. Thanks in advance!
    Regards,
    Div.

    Hi Divya,
    first thing you can go to SM13 to see the reason for the update terminate. If you think the info provided there is something technical then you resort for an abapers help. Before that if you want analyse in another way why its happening take that invoice number which throws update terminate. Go to VF01 and try to do the invoice individually. Please check if it gives any error log and you may get more info.
    regards
    sadhu kishore

  • I need help understanding/correcting an ORA-04063 error.

    Hello,
    I am new to Oracle and I have been trying to uderstand/correct this error message for a couple of days now. I would appreciate any help that you can provide. I have included botht he error message and the procedure where the error occurs. Thanks in advance!
    ORA-04063: package body "SAFETYUSER.SEL_INCIDENT_INFO" has errors ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1
    Error(53,3): PL/SQL: Statement ignored
    Error(53,25): PLS-00302: component 'ECUID' must be declared
    CREATE OR REPLACE --44 new
    PACKAGE BODY "SEL_INCIDENT_INFO" as
    procedure sel_0022Info
    in_ID0022 in number,
    out_eName out t_varChar2,
    out_mName out t_varChar2,
    out_Work out t_varChar2,
    out_Loc out t_varChar2,
    out_Sign out t_varChar2,
    out_obsDate out t_varChar2,
    out_veh out t_varChar2,
    out_vehType out t_varChar2,
    out_vehTag out t_varChar2,
    out_secSup out t_varChar2,
    out_dlic out t_varChar2,
    out_dlType out t_varChar2,
    out_rc out t_varChar2,
    out_JTitle out t_varChar2,
    out_actTake out t_varChar2,
    out_jobfunc out t_varchar2,
    out_ecuid out t_varchar2,
    out_mcuid out t_varchar2
    is
    -- cursor to get ecuid ID for entered employee cuid
    CURSOR cur0022 IS
    select o.euid,o.muid,o.workperf,o.loc,o.obsdate,o.sign,o.dlid,o.secid,o.vehid, o.action, o.eID
    from TBL_0022 o
    where o.id0022 = in_ID0022;
    -- variable
    out_eFN varchar2(50);
    out_mFN varchar2(50);
    out_eJF varchar2(4);
    out_DL varchar2(100);
    out_DLT varchar2(100);
    out_Sec varchar2(100);
    out_Vh varchar2(50);
    out_VhT varchar2(50);
    out_VhTg varchar2(50);
    out_eID varchar2(7);
    out_eRC varchar2(10);
    out_signFull varchar2(50);
    out_eJT varchar2(100);
    -- rows for cursors
    row0022 cur0022%rowtype;
    begin
    open cur0022;
    fetch cur0022 into row0022;
    sel_eFullName(row0022.ecuid,out_eFN, out_eJF,out_eID,out_eRC,out_eJT);
    --sel_mFullName(row0022.mcuid,out_mFN);
    sel_DL(row0022.DLID,out_DL,out_DLT);
    sel_Sec(row0022.secid,out_Sec);
    sel_Veh(row0022.vehid,out_Vh,out_VhT,out_VhTg);
    out_veh(1) := out_vh;
    out_vehType(1) := out_vht;
    out_vehTag(1) := out_vhtg;
    out_secSup(1) := out_Sec;
    out_dlic(1) := out_DL;
    out_dlType(1) := out_DLT;
    out_eName(1) := out_eFN;
    out_mName(1) := out_mFN;
    out_Work(1) := row0022.workperf;
    out_Loc(1) := row0022.loc;
    sel_mfullname(row0022.sign,out_signFull);
    out_Sign(1) := row0022.sign;--out_signFull;
    out_obsDate(1) :=row0022.obsdate;
    out_actTake(1) :=row0022.action;
    out_jobFunc(1) := out_eJF;
    out_rc(1) := out_eRC;
    out_ecuid(1) := row0022.ecuid;
    out_mcuid(1) := row0022.mcuid;
    out_JTitle(1) := out_eJT;
    close cur0022;
    end;
    procedure sel_eFullName
    in_0022EcuID in varchar2, --number,
    out_eFN out varChar2,
    out_eJF out varchar2,
    out_eID out varchar2,
    out_eRC out varchar2,
         out_eJT out varchar2
    is
    -- cursor to get ecuid ID for entered employee cuid
    CURSOR curCUID IS
    select e.efn, e.eln,e.jobfunc,ecuid,rc,e.eid, e.jTitle
    from TBL_EINFO e
    where e.ecuid = in_0022ecuid
    order by e.eid desc;--eid = in_0022EID;
    -- rows for cursors
    rowCUID curCUID%rowtype;
    begin
    open curCUID;
    fetch curCUID into rowCUID;
    out_eFN := rowCUID.efn||' '||rowCUID.eln;
    out_eJF := rowCUID.jobfunc;
    out_eID := rowCUID.eid;--ecuid;
    out_eRC := rowCUID.rc;
    out_eJT := rowCUID.jTitle;
    close curCUID;
    end;

    Mistake in the record field name:
    CURSOR cur0022 IS
    select o.euid,o.muid,o.workperf,o.loc,o.obsdate,o.sign,o.dlid,o.secid,o.vehid, o.action, o.eID
    from TBL_0022 o
    where o.id0022 = in_ID0022;
    row0022 cur0022%rowtype;
    begin
    open cur0022;
    fetch cur0022 into row0022;
    sel_eFullName(row0022.ecuid,out_eFN, out_eJF,out_eID,out_eRC,out_eJT);
    Has to be everythere you are using row0022 - row0022.euid
    Rgds.

  • Need help to debug SQL Tuning Advisor Error Message

    Hi,
    I am getting an error message while try to get recommendations from the SQL Tuning Advisor.
    Environment:
    Oracle Version:  11.2.0.3.0
    O/S: AIX
    Following is my code:
    declare
    my_task_name  varchar2 (30);
    my_sqltext    clob;
    begin
    my_sqltext := 'SELECT DISTINCT MRKT_AREA AS DIVISION, PROMO_ID,
                    PROMO_CODE,
                    RBR_DTL_TYPE.PERF_DETL_TYP, 
                    RBR_DTL_TYPE.PERF_DETL_DESC,
                    RBR_DTL_TYPE.PERF_DETL_SUB_TYP,
                    RBR_DTL_TYPE.PERF_DETL_SUB_DESC,
                    BU_SYS_ITM_NUM,
                    RBR_CPN_LOC_ITEM_ARCHIVE.CLI_SYS_ITM_DESC,
                    PROMO_START_DATE,
                    PROMO_END_DATE,
                    PROMO_VALUE2,
                    PROMO_VALUE1,
                    EXEC_COMMENTS,
                    PAGE_NUM,
                    BLOCK_NUM,
                    AD_PLACEMENT,
                    BUYER_CODE,
                    RBR_CPN_LOC_ITEM_ARCHIVE.CLI_STAT_TYP,
                    RBR_MASTER_CAL_ARCHIVE.STATUS_FLAG
    FROM  (PROMO_REPT_OWNER.RBR_CPN_LOC_ITEM_ARCHIVE
    INNER JOIN PROMO_REPT_OWNER.RBR_MASTER_CAL_ARCHIVE
    ON (RBR_CPN_LOC_ITEM_ARCHIVE.CLI_PROMO_ID = PROMO_ID)
    AND (RBR_CPN_LOC_ITEM_ARCHIVE.CLI_PERF_DTL_ID = PERF_DETAIL_ID)
    AND (RBR_CPN_LOC_ITEM_ARCHIVE.CLI_STR_NBR = STORE_ZONE)
    AND (RBR_CPN_LOC_ITEM_ARCHIVE.CLI_ITM_ID = ITM_ID))
    INNER JOIN PROMO_REPT_OWNER.RBR_DTL_TYPE
    ON (RBR_MASTER_CAL_ARCHIVE.PERF_DETL_TYP = RBR_DTL_TYPE.PERF_DETL_TYP)
    AND (RBR_MASTER_CAL_ARCHIVE.PERF_DETL_SUB_TYP = RBR_DTL_TYPE.PERF_DETL_SUB_TYP)
    WHERE ( ((MRKT_AREA)=40)
    AND ((RBR_DTL_TYPE.PERF_DETL_TYP)=1)
    AND ((RBR_DTL_TYPE.PERF_DETL_SUB_TYP)=1) )
    AND ((CLI_STAT_TYP)=1 Or (CLI_STAT_TYP)=6)
    AND ((RBR_MASTER_CAL_ARCHIVE.STATUS_FLAG)=''A'')
    AND ( ((PROMO_START_DATE) >= to_date(''2011-10-20'', ''YYYY-MM-DD'')
    And (PROMO_END_DATE) <= to_date(''2011-10-26'', ''YYYY-MM-DD'')) )
    ORDER BY MRKT_AREA';
    my_task_name := dbms_sqltune.create_tuning_task
                                 (sql_text => my_sqltext,
                                  user_name => 'PROMO_REPT_OWNER',
                                  scope     => 'COMPREHENSIVE',
                                  time_limit => 3600,
                                  task_name  => 'Test_Query',
                                  description  => 'Test Query');
    end;
    begin
      dbms_sqltune.execute_tuning_task(task_name => 'Test_Query');
    end;
    set serveroutput on size unlimited;
    set pagesize 5000
    set linesize 130
    set long 50000
    set longchunksize 500000
    SELECT DBMS_SQLTUNE.REPORT_TUNING_TASK('Test_Query') FROM DUAL;
    Output:
    snippet .....
    FINDINGS SECTION (1 finding)
    1- Index Finding (see explain plans section below)
    The execution plan of this statement can be improved by creating one or more
    indices.
    Recommendation (estimated benefit: 71.48%)
    - Consider running the Access Advisor to improve the physical schema design
    or creating the recommended index.
    Error: Cannot fetch actions for recommendation: INDEX
    Error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Rationale
    Creating the recommended indices significantly improves the execution plan
    of this statement. However, it might be preferable to run "Access Advisor"
    using a representative SQL workload as opposed to a single statement. This
    will allow to get comprehensive index recommendations which takes into
    account index maintenance overhead and additional space consumption.
    snippet
    Any ideas why I am getting ORA-06502 error?
    Thanks in advance
    Rogers

    Bug 14407401 - ORA-6502 from index recommendation section of DBMS_SQLTUNE output (Doc ID 14407401.8)
    Fixed:
    The fix for 14407401 is first included in
    12.1.0.1 (Base Release)

  • Need help with solving the (basic) programming error

    I'm reaaaaaaaaaally new to Java and programming in general. I've been glancing through my older brother's old stuff (he's back at Uni!) and I've taken an interest.
    Anyways, so I'm trying to finish this really simple program cause I wanna wow some friends ("wow" = "haha we've done this before a gazillion times") but I can't seem to solve this "incompatible lines" bug in the code, specifically line 24. I've been looking at it for exactly 4 hours!! Programming in Java 1.6.
    Thanks for the help!! :)
    import java.util.*;
    import java.util.Scanner;
    public class LuigisPizzaProgram {
         public static void main(String args[]) {
         System.out.println("Luigi's Pizza");
         System.out.println("-------------------------------------------");
         System.out.println(" a(SML) b(MED) c(LRG)");
         System.out.println("1. Cheese 5.00 7.50 10.00");
         System.out.println("2. Pepperoni 5.75 8.63 11.50");
         System.out.println("3. Combination 6.50 9.75 13.00");
         System.out.println("4. Vegetarian 7.25 10.88 14.50");
         System.out.println("5. Meat Lovers 8.00 12.00 16.00");
         System.out.println(" ");
         System.out.println("What kind of pizza do you want?");     
         int kind = new Scanner(System.in).nextInt();
         System.out.println(kind);
         System.out.println("What size of pizza do you want?");
         char size = new Scanner(System.in).nextLine();
         System.out.println(size);
         }

    Having said that, it is nontraditional to use Scanner like you are using it. There is no way to reuse it in order to get more input. Better would be something like:
            System.out.println("What size of pizza do you want?");
            Scanner scan = new Scanner(System.in);  // create the scan variable
            String size = scan.nextLine(); // now use the scan variable
            System.out.println(size);Also, when posting your code, please use code tags so that your code will be well-formatted and readable. To do this, place the tag &#91;code&#93; at the top of your block of code and the tag &#91;/code&#93; at the bottom, like so:
    &#91;code&#93;
      // your code block goes here.
    &#91;/code&#93;good luck, pete

  • Need help with Unrealircd and Anope(SystemD error

    So i installed both UnrealIRCD and Anope, have everything almost set up accept for starting Anope.
    Both are going to be stored on my computer
    EDIT: I finally found my error, when i run "sudo systemctl start anope" it goes through fine, but when i check "status" It gives this:
    anope.service - Anope IRC Services
    Loaded: loaded (/usr/lib/systemd/system/anope.service; enabled)
    Active: failed (Result: exit-code) since Sun 2014-01-05 05:42:36 CST; 6min ago
    Process: 1370 ExecStart=/usr/bin/services --confdir=/etc/anope --dbdir=/var/lib/anope --localedir=/usr/lib/anope/locales --logdir=/var/log/anope --modulesdir=/usr/lib/anope --nofork (code=exited, status=255)
    Main PID: 1370 (code=exited, status=255)
    CGroup: /system.slice/anope.service
    Jan 05 05:42:36 SeeThroughZone systemd[1]: Started Anope IRC Services.
    Jan 05 05:42:36 SeeThroughZone services[1370]: [Jan 05 05:42:36 2014] Anope 2.0.0-rc1, build #2, compiled 05:10:26 Jan 5 2014
    Jan 05 05:42:36 SeeThroughZone services[1370]: [Jan 05 05:42:36 2014] Using configuration file /etc/anope/services.conf
    Jan 05 05:42:36 SeeThroughZone systemd[1]: anope.service: main process exited, code=exited, status=255/n/a
    Jan 05 05:42:36 SeeThroughZone systemd[1]: Unit anope.service entered failed state.
    nano /etc/unrealircd/unrealircd.conf:
    link /etc/anope/services.conf
    username services;
    hostname 127.0.0.1;
    bind-ip *;
    port 6697;
    hub *;
    password-connect "password";
    password-receive "password";
    class servers;
    options {
    /* Note: You should not use autoconnect when linking services */
    autoconnect;
    ssl;
    zip;
    nano /etc/anope/services.conf
    uplink
    * The IP or hostname of the IRC server you wish to connect Services to.
    * Usually, you will want to connect Services over 127.0.0.1 (aka localhost).
    * NOTE: On some shell providers, this will not be an option.
    host = "127.0.0.1";
    username = "services";
    password-connect "password";
    password-recieve "password";
    * Enable if Services should connect using IPv6.
    ipv6 = no
    * Enable if Services should connect using SSL.
    * You must have m_ssl loaded for this to work.
    ssl = yes
    * The port to connect to.
    * The IRCd *MUST* be configured to listen on this port, and to accept
    * server connections.
    * Refer to your IRCd documentation for how this is to be done.
    port = 6697
    Is there anything wrong with this config?
      ~The Dyzaster
    Last edited by Dyzaster (2014-01-05 11:53:50)

    Also, sudo systemctl status anope shows:
    anope.service - Anope IRC Services
    Loaded: loaded (/usr/lib/systemd/system/anope.service; enabled)
    Active: failed (Result: exit-code) since Thu 2014-01-02 02:05:25 CST; 2h 10min ago
    Process: 1150 ExecStart=/usr/bin/services --confdir=/etc/anope --dbdir=/var/lib/anope --localedir=/usr/lib/anope/locales --logdir=/var/log/anope --modulesdir=/usr/lib/anope --nofork (code=exited, status=255)
    Main PID: 1150 (code=exited, status=255)
    CGroup: /system.slice/anope.service
    Jan 02 02:05:25 NoOne systemd[1]: Started Anope IRC Services.
    Jan 02 02:05:25 NoOne services[1150]: [Jan 02 02:05:25 2014] Anope 2.0.0-rc1, build #2, compiled 01:20:55 Jan 2 2014
    Jan 02 02:05:25 NoOne systemd[1]: anope.service: main process exited, code=exited, status=255/n/a
    Jan 02 02:05:25 NoOne systemd[1]: Unit anope.service entered failed state.
    Where exactly is the error?

  • Need help with "Very large content bounds" error...

    Hey guys,
    I've been having an issue with Adobe Muse [V7.0, Build 314, CL 778523] - one of the widgets I tried from the Exchange library seemed to bug out and created a large content box.
    This resulted in this error:
    Assert: "Very large content bounds (W:532767.1999999997 H:147446.49743999972) detected in BoxUtils::childBounds"
    Does anyone know how I could fix this issue?

    Hi there -
    Your file has been repaired and emailed back to you. Please let us know if you run into any other issues.
    Thanks!
    -Sam

  • I need help . . .Unable to download Error Getting Licence E-IO_CANNOT_OPEN

        I have no idea what is going on.  I downloaded AVG software which I have since removed, have removed and downloaded various versions of Adobe Digital Editions, restarted my computer and I still can't get books from the library.  It worked before . . . help.

    Well, I solved the problem by myself. Maybe it would be usefull for someone else... I ordered my book again in the shop, get new link and new acsm-file. And download it immediately (previous acsm-file was two-days old and license didn't work). I read that acsm-file is actual only for 24-hours...

  • Error at new statement on extended program check need help

    Hi all ,
                       This is the code :
    LOOP AT i_stocks INTO wa_stocks WHERE NOT pulkt IS INITIAL AND
                             NOT bstkt IS INITIAL AND
                             NOT fprctr IS INITIAL AND
                             ( write_off_fix <> 0 OR
                               write_off_pup <> 0 ).
        AT NEW fprctr.
          CLEAR: l_prctrsum_fix, l_prctrsum_pup.
        ENDAT.
        IF wa_stocks-bukrs <> lastbukrs.
          lastbukrs = wa_stocks-bukrs.
          PERFORM document_header USING xreversal.
          i_counter = 1.
          CLEAR lastkostl.
        ENDIF.
        ADD wa_stocks-write_off_pup TO l_prctrsum_pup.
    ENDLOOP
    On Extended program check its says :
    The LOOP statement processing will be limited
    (FROM, TO and WHERE additions in LOOP)
    Interaction with group change processing (AT NEW, ...) is undefined
    (The message can be hidden with "#EC *)
    It means at statement   AT NEW fprctr .
    Need help , How can i resolve this error ?
    Regards .
    Edited by: ujjwal dharmak on Feb 19, 2010 9:55 AM
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on Feb 19, 2010 9:04 AM

    Since you are using where condition in loop statement and also using the control break statement thats why it is showing the error for you.
    So if you want you can do like this
    loop at itab into wa.
    if not  wa-f1 is initial ....<and other conditions>.
    continue.
    endif.
    at new   f1.
    endat.
    endloop.
    It will resolve your problem but I am having the doubt how the at new will work properly...
    Regards
    Shiba Prasad Dutta

  • Need help with error: No bootable device -- insert boot disk and press any key

    Hello, I need help will my laptop and the error, the message says "no bootable device ", I have tried taking out the hard drive but it still doesn't work. My laptop is a Satillite C55D-A5372. I need help with this; if you know about this ans know how to fix it please reply or email me @ [email protected]
    If needed more clarifications ask me.
    Thank you,
    Jkmano

    if you got into the bios/uefi and have determined that the hdd is being detected then that is good.  At least the hdd is operating to some extent, although still may be corrupt OS or the like.
    Eagle asked you what OS your using (i.e., Windows 8.1 64-bit, Windows 7 32-bit, etc.).  I see that English is not your native language so we'll just have to work with that as best we can. 
    Did you make any changes to the operating system (OS) as a result of the link you posted, and what were they? 
    L305-S5955, T9300 Intel Core 2 Duo, 4GB RAM, 60GB SSD, Win 7 Ultimate 64-bit

Maybe you are looking for

  • How can I sync only Calendars and Contacts on my work PC

    Previous versions of the iCloud control panel allowed me to select separately which items I wanted to sync with a PC, Calendars, Contact, Email. The new version of the control panel has this bundled as a single choice. How can I eliminate incuding ma

  • BAPI_SALESORDER_SIMULATE-  FREE GOODS - ORDER_CONDITION_EX

    Hi Gurus, I am using standard Function module : BAPI_SALESORDER_SIMULATE to simulate pricing conditions. I am trying to figure out the reason for the function module:  BAPI_SALESORDER_SIMULATE  not giving values in CONDITIONS EX when I use it to <b>s

  • SD Document Cateogry

    hi, I am bit confused about the SD document category for cancellation invoice type, which i am using for cancellation of service invoice. Regards Ankur

  • Creating non-ad employee records

    I would like to develop a solution that will allow a user to go to his/her mypage and enter address, phone, degrees, certifications, awards, and resume. I would then like their supervisor/manager to be able to see their team's information from a dash

  • Local user provisioning requires local administrator privileges?

    Hello, Scenario: User-A needs to provision User-B as a local administrator on a Windows 2008R2 server. Is there a way for User-A to do this without User-A being a member of the local Administrators or Domain Admin group on the said server? Thanks