ABAP Loop Question for next record

Hello All, I am new to ABAP so please forgive this basic question. The below is a snippet of code I have in a ABAP Proxy.
Here is a snippet of my code:
DATA: ls_item    TYPE ZSHOPPING_CART_IN_BBP_PDS_SC_I.
DATA: i_item     TYPE TABLE OF bbp_pds_sc_item_icu.
DATA: w_item     TYPE bbp_pds_sc_item_icu.
LOOP AT input-I_ITEM-item INTO ls_item.
    CLEAR w_item.
    w_item-guid = v_item_guid.
    w_item-parent = v_header_guid.
    w_item-description = ls_item-description.
    w_item-number_int = ls_item-number_int.
    w_item-category = ls_item-category.
    w_item-category_id = ls_item-category_id.
    w_item-product_type = ls_item-product_type.
  APPEND w_item TO i_item.
  ENDLOOP.
The structure input-I_ITEM-item is an input from a ABAP Proxy. This all works great if I feed in only 1 line item to proxy, but if I send in two line items the result is i_item has line item 1 twice, and I get nothing for line item2. It is almost like the the loop runs twice but the ls_item stays on line 1. I am sure I am missing something simple.

Here is a snippet of the XML I am sending to ABAP proxy:
<I_ITEM>
     <item>
          <GUID>00000000000000000000000000055556</GUID>
          <PARENT>00000000000000000000000000055555</PARENT>
          <NUMBER_INT>0000000001</NUMBER_INT>
          <DESCRIPTION>Proxy Test Line</DESCRIPTION>
          <CATEGORY>268CA1C5BB9965449BED8C9B49484999</CATEGORY>
          <CATEGORY_ID>03000</CATEGORY_ID>
          <PRODUCT_TYPE>01</PRODUCT_TYPE>
     </item>
     <item>
          <GUID>00000000000000000000000000055557</GUID>
          <PARENT>00000000000000000000000000055555</PARENT>
          <NUMBER_INT>0000000002</NUMBER_INT>
          <DESCRIPTION>Proxy Test Line  2</DESCRIPTION>
          <CATEGORY>268CA1C5BB9965449BED8C9B49484999</CATEGORY>
          <CATEGORY_ID>03000</CATEGORY_ID>
          <PRODUCT_TYPE>01</PRODUCT_TYPE>
          </item>
</I_ITEM>

Similar Messages

  • Trap error within loop and process next record

    Hi,
    I am processing each record inside a loop. Now if any exception occurs processing with a single record within loop I want to continue with the next record with proper error message in the log.
    How to achieve the above scenario? Shall I create a savepoint and whenever any error occurs inside the loop I will rollback to that savepoint. Once it is done shall it process the next record automatically?
    Thanks in advance for your reply.
    Thanks,
    Mrinmoy

    Relational databases are about sets.
    They are not about files and records
    Processing records in a loop will make your code slow, and you should avoid using this strategy.
    That said
    Simply enclose the code in it's own begin end block.
    beginn
    <your code>
    exception
    when <your exception> then
    <process the exception not reraising it>
    end;
    No savepoints required.
    Sybrand Bakker
    Senior Oracle DBA

  • Query for next record in a multiple records display

    Hi. I have a text item whose data block displays 10 records after post query. I want to put a query on the keyboard up and down button so that when i press the up or down arrow of the keyboard, the cursor moves to the next record and executes the post query trigger. I tried using the next_record command but the cursor remains on the first record and then tries to create a new record there instead of moving to the next record outputted by the initial post query trigger. I hope you get my point. Thanks

    Hi,
    I have a text item whose data block displays 10 records after post query. <b>I want to put a query on the keyboard up and down button so that when i press the up or down arrow of the keyboard</b>, the cursor moves to the next record and executes the post query trigger. I tried using the next_record command but the cursor remains on the first record and then tries to create a new record there instead of moving to the next record outputted by the initial post query trigger. I hope you get my point. You do not have to query again for moving cursor up and down. You have to use KEY-UP and KEY-DOWN with NEXT_RECORD and PREVIOUS_RECORD built-ins. Use FIRST_RECORD and LAST_RECORD for boundary conditions.
    Regards,

  • Button for next recording in the database

    Hello,
    I currently testing Adobe LiveCycle to create a PDF form with data link to a database (Access).
    The goal of my form is for the manager of each of our site to write variable about the paycheck of each employe. So first I create my AccessDatabase with a simple structure :
    N : Auto Number
    Matricule : Employe ID
    Nom : Name
    Prenom : First Name
    Service : Service (Accounting...)
    HeureMensuelBase : Contract hour information for the mouth
    HeureSemBase : Contract hour information for the week
    Mois : Mouth
    Annee : Year
    NbrHeureMensuelW : Write the number of hour the employe work this mouth
    NbrHeureSupp25pc : Extra hour paid 25% more
    NbrHeureSupp50pc : Extra hour paid 50% more
    NbrHeureSupp100pc : Extra hour paid 100% more
    NomPrime : Name of a special gratification
    MontantPrime : Amount of a special gratification
    So after, I create my ODBC connexion and insite AdobeLiveCycle, Data View, Create a connexion > Next > ODBC String connexion > SQL Request > SELECT * FROM Table_Access; > Next > Finish. Great I retreive all my fields. If I preview the PDF I can correctly see the first record of my database.
    My goal is to create two differents buttons to navigate inside :
    NEXT with the follow code :
    formulaire1.#subform[0].Next::click - (JavaScript, client)
    xfa.sourceSet.DataConnection.next();
    PREV with the follow code :
    formulaire1.#subform[0].Prev::click - (JavaScript, client)
    xfa.sourceSet.DataConnection.previous();
    If i try to preview it, unfortunatly no button works.
    I follow this video : http://www.youtube.com/watch?v=C56_Cz-aE0c
    I  see the Adobe FAQ too : http://help.adobe.com/en_US/livecycle/11.0/DesignerHelp/WS107c29ade9134a2c-1f4d3e3c12a7df3 f73e-8000.2.html
    Could help me ? Adobe Support don't want help me because I use a trial version for the moment (logical because my CTO wan't valide LiveCycle do the job before paid for it). Sorry for my english it's not my mother tongue.

    I'm not alone in the same situation : http://forums.adobe.com/thread/793214
    Please support help us

  • AJVOAF: Present record is getting is vanished when going for next record

    Dear Friends,
    In a table region i have 3 LOVs -- Material ,Subinventory and Locator ( I have made Subinventory and Locator LOVs as read only....as per Requirement)
    when material lov is clicked it displays material,subventory and locator. (After Material VO extension)
    I have succeeded in bringing this subinventory to READ ONLY Subinventory field by default , when material lov is clicked (this is the requirement)
    For first time when i click material lov ,iam getting subinventory name in " READ ONLY Subinventory field " by default. ok fine . But for the second time when iam doing the same (clicking Material lov), as usual,iam getting subinventory name in READ ONLY Subinventory field by default ....... BUT the above first record of subinventory is getting vanished .
    For the third time when iam doing the same (clicking Material lov), the second record of subinventory is getting vanished. For the fourth time when iam doing the same (clicking Material lov),the third record of subinventory is getting vanished.So now iam able to see only the fourth record only no first,second,third they r getting vanished. How to resolve it.
    And when clicking ADD ROWS button in table region it showing error like " ROW 1 MATERIAL - SELECT A VALID VALUE"
    Please help. Please help.
    let me know for any clarification
    Thanks

    Dear Saurabh
    Thanks for quick response.
    Let me give my REQ in detail.
    Mine is a stadard page (maintainence user RESP -----stores----one step material issue PAGE) . have 3 LOVs .MATERIAL,SUBINVENTORY ,LOCATOR.
    SUBINVENTORY ,LOCATOR. -----------these two i have made read only.
    MATERIAL lov itself displays SUBINVENTORY ,LOCATOR also.
    So which ever material (say M1) is user is selecting, the corrosponding SUBINVENTORY ( M1-Sub) ,LOCATOR (M1-Loc) should by default come in SUBINVENTORY ,LOCATOR fields which i have made read only.
    Similarly when user is selecteing M2 then, corrosponding SUBINVENTORY ( M2-Sub) ,LOCATOR (M2-Loc) should by default come in SUBINVENTORY ,LOCATOR. which i have made read only.
    Here iam getting M1 , M1-Sub , M1-Loc properly
    But when iam clicking M2 , iam getting M2 , M2-Sub , M2-Loc .BUT at the same time iam loosing M1-Sub , M1-Loc (these 2 fileds are disappering)
    for M3 iam loosing M2-Sub , M2-Loc.
    for M4 iam loosing M3-Sub , M3-Loc.
    this is the issue . plz help .
    Thanks

  • AJVOAF : Present Displayed field is vanished when  tried for next record.

    Dear Friends,
    In a table region i have 3 LOVs -- Material ,Subinventory and Locator ( I have made Subinventory and Locator LOVs as read only.)
    .when material lov is clicked it displays material,subventory and locator. (After Material VO extension)
    I have succeeded in bringing this subinventory to READ ONLY Subinventory field by default , when material lov is clicked (this is the requirement)
    For first time when i click material lov ,iam getting subinventory name in READ ONLY Subinventory field by default.ok fine . But for the second time when iam doing the same (clicking Material lov), as usual,iam getting subinventory name in READ ONLY Subinventory field by default BUT the first record of subinventory is getting vanished .
    For the third time when iam doing the same (clicking Material lov), the second record of subinventory is getting vanished. For the fourth time when iam doing the same (clicking Material lov),
    the third record of subinventory is getting vanished. How to resolve it.
    And when clicking ADD ROWS button in table region it showing error like " ROW 1 MATERIAL - SELECT A VALID VALUE"
    Please help
    Thanks

    You are posting in the wrong form. Try the oaf forum
    Timo

  • How to find the next record b4 the loop end

    hai all
    i have suffering big problem... i have the  internal table  call IT_ITAB.. so i can go to the rerecord by record using loop comand..
    example:
    loop at IT_ITAB.
    1.record1
    2.record2
    3.record3
    4.record4
    endloop.
    Allways end of loop go to next record...... my problem is before end of the loop i want to check the next record... how should i do it... please help me...
    regard
    nawa

    Hi,
    One approach u can follow is that copy the data of the internal table into another one.
    Maintain an integer type variable which will contain the index value of the loop. Check the entry from other table.
    e.g.
    Loop at itab1.
    ctr = sy-tabix + 1.
    read itab2 index ctr.
    This way u can check the next record while u r still in loop.
    Hope it helps.
    Regards,
    Himanshu

  • Problem in moving to next record in  For Loop end loop construct

    Hi friends i have the followind code in my stored proc. I am reading each row in the temprec and then based on the variable "i_copy_notes" processing the record. If the value of the I_copy_notes" varialble is 1 then i need to move to next record. when I am using "Next" then the compiler is telling me that the "NEXT" must be declared. Please advise.
    FOR TEMPREC IN
    SELECT
    DP_SER,
    GRD_POS,
    TS_POS,
    ASG_ID,
    DESCS,
    GRD_ID
    FROM DCGRD_POS
    WHERE CLLI = i_FROM_CLLI AND SUBSYS = i_SUBSYS AND BAY_ID = v_OLD_BAY_ID ORDER BY GRD_ID
    LOOP
    IF v_OLD_GRDID = TEMPREC.GRD_ID THEN
    v_NEW_GRDID := v_NEW_GRDID;
    IF i_COPY_NOTES = 1 THEN
    Next;
    END IF;
    ELSE
    v_OLD_GRDID := TEMPREC.GRD_ID;
    SELECT DCGRD_POS_GRD_ID.NextVal INTO v_NEW_GRDID FROM DUAL;
    END IF;
    INSERT INTO DCGRD_POS VALUES
    i_TO_CLLI,
    DCGRD_POS_ROW_SER.NextVal,
    TEMPREC.DP_SER,
    v_NEW_GRDID,
    v_NEW_BAY_ID,
    TEMPREC.GRD_POS,
    DECODE(i_COPY_NOTES,1, TEMPREC.TS_POS,''),
    TEMPREC.ASG_ID,
    DECODE(i_COPY_NOTES,1,TEMPREC.DESCS,'UASGN'),
    i_CURRENT_ISSUE,
    -1,
    i_SUBSYS,
    SYSDATE,
    i_USERID
    END LOOP;
    Line # = 315 Column # = 10 Error Text = PLS-00201: identifier 'NEXT' must be declared
    Line # = 315 Column # = 10 Error Text = PL/SQL: Statement ignored
    ----------------------------------------------

    Personally, I'm not a big fan of this technique but you can use a goto ...
    begin
    for i in 1.. 10 loop
       if i < 5 then
         goto end_of_loop;
       end if;
       dbms_output.put_line(i);
       <<end_of_loop>>
       null;
    end loop;
    end;

  • Move to next record in a LOOP!

    I have to perform a loop on an internal table consisting of several records.
    within the LOOP there is an if-endif condition followed by some code.
    Now, in the else condition of the if-endif part, i have to move to the next record (i.e. next record in the internal table)...If i use "Exit",the entire loop processing is skipped, but i just want to skip the current sy-index and loop for the next record in the internal table.
    Please suggest some way to do it.

    loop at itab.
    if <condn>.
    else.
    continue.
    endif.
    endloop.
    continue will process the next loop from begining i.e. after continue it will go to the loop at itab statement for next loop pass.
    regards
    shiba dutta

  • Cursor For loop question

    Hi,
    I have a cursor in my plsql and I am trying to get the record through a FOR loop. I know that for loop will take care of opening, fetching and closing the cursor implicitly.
    Ex.
    declare
    cursor c1 is
    select * from emp;
    begin
    for l_rec in c1 loop
    end loop;
    My question is i want to check whether the cursor in the for loop is returning any record or not using IF condition.
    where and how i will find that?
    Can anyone help how to do that.
    Rds,
    Nag

    without using boolean variables.Obvious question, WHY?
    If you are so particular..
    SQL> declare
      2   cursor c1 is
      3        select empno, ename, job
      4        from emp
      5        where empno = 7839123;
      6   ex exception;
      7   rec c1%rowtype;
      8  begin
      9   open c1;
    10   fetch c1 into rec;
    11   if c1%notfound then
    12    raise ex;
    13   end if;
    14   loop
    15    dbms_output.put_line(rec.empno||'-->'||rec.ename||'-->'||rec.job);
    16    fetch c1 into rec;
    17    exit when c1%notfound;
    18   end loop;
    19  exception
    20   when ex then
    21    dbms_output.put_line('cur not found');
    22  end;
    23  /
    cur not found
    PL/SQL procedure successfully completed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • For Next loop in allocations

    Request help in writing a allocation logic code.
    The current runs for 2600 Projects and 12000 customers. This causes memory issue and the code is aborted when run.
    Please suggest if this code can be run in a For/Next loop for each project..
    *XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
    *XDIM_MEMBERSET TIME = %TIME_SET%
    *WHEN ACCOUNT
    *IS "A1100001"
    *REC(EXPRESSION = ([ACCOUNT].[A1100001])*((%VALUE%)),ACCOUNT = "A3100001")
    *ENDWHEN
    *XDIM_MEMBERSET TIME = %TIME_SET%
    *XDIM_MEMBERSET ACCOUNT = BAS(MET-SAL.3.1)
    *XDIM_MEMBERSET P_PROJECT = BAS(AllProjects)
    *XDIM_ADDMEMBERSET P_PROJECT = NO_PROJECT
    *XDIM_MEMBERSET P_DEPARTMENT = ESG_Input
    *XDIM_MEMBERSET P_ENTITY = TTEU_INP
    *XDIM_MEMBERSET P_CUSTOMER = No_Customer
    *XDIM_ADDMEMBERSET P_CUSTOMER = BAS(AllCustomers)
    *XDIM_MEMBERSET P_ANALYSIS = BAS(AllAnalysis)
    *XDIM_ADDMEMBERSET P_ANALYSIS = NO_ANALYSIS
    *RUNALLOCATION
    *FACTOR = 1
    *DIM ACCOUNT WHAT = BAS(MET-SAL.3.1) ; WHERE = <<<;USING = <<<;TOTAL = <<<
    *DIM P_PROJECT WHAT = NO_PROJECT ;WHERE = <<< ;USING = <<<;TOTAL = <<< 
    *DIM P_DEPARTMENT WHAT = ESG_Input ;WHERE = <<< ;USING = <<<;TOTAL = <<< 
    *DIM P_ENTITY WHAT = TTEU_INP ;WHERE = <<< ;USING = <<<;TOTAL = <<< 
    *DIM P_ANALYSIS WHAT = NO_ANALYSIS ;WHERE = BAS(AllAnalysis) ;USING = <<<;TOTAL = <<< 
    *DIM P_CUSTOMER WHAT = No_Customer ;WHERE = BAS(AllCustomers) ;USING = <<<;TOTAL = <<<
    *ENDALLOCATION
    next

    I realized that while checking and have removed the section for recording expression.. and now only focusing to correct the Allocation logic. Based on your advice I have added the FOR/NEXT as below.
    The code is now only running for EDCTM-0007 but fails to generate any records for EDCTM-0014.
    *XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
    *XDIM_MEMBERSET TIME = %TIME_SET%
    *XDIM_MEMBERSET ACCOUNT AS %SAL% = BAS(MET-SAL.3.1)
    //*XDIM_MEMBERSET P_PROJECT = BAS(AllProjects)
    *XDIM_MEMBERSET P_PROJECT AS %PRJ% = EDCTM-0007, EDCTM-0014
    *XDIM_ADDMEMBERSET P_PROJECT = NO_PROJECT
    *XDIM_MEMBERSET P_DEPARTMENT = BAS(AllDepartments)
    *XDIM_MEMBERSET P_ENTITY = BAS(AllEntities)
    *XDIM_MEMBERSET P_CUSTOMER = BAS(AllCustomers)
    *XDIM_MEMBERSET P_ANALYSIS = BAS(AllAnalysis)
    *XDIM_MEMBERSET RPTCURRENCY = INR, CAD, EUR, GBP, KRW, MXN, SGD, THB, USD
    *FOR %PRJ% = EDCTM-0007, EDCTM-0014
    *RUNALLOCATION
    *FACTOR = 1
    *DIM ACCOUNT WHAT = %SAL%; WHERE = <<<; USING = <<<; TOTAL = <<<
    *DIM P_DEPARTMENT WHAT = ED_Input; WHERE = ED16; USING = <<<; TOTAL = <<<
    *DIM P_ENTITY WHAT = PUN_C; WHERE = <<<; USING = <<<; TOTAL = <<<
    *DIM P_CUSTOMER WHAT = No_Customer; WHERE = C100700; USING = <<<; TOTAL = <<<
    *DIM P_PROJECT WHAT = NO_PROJECT; WHERE = %PRJ%; USING = <<<; TOTAL = <<<
    *DIM P_ANALYSIS WHAT = NO_ANALYSIS; WHERE = TM_S; USING = <<<; TOTAL = <<<
    *ENDALLOCATION
    *COMMIT
    *NEXT
    log..
       FILE:\ROOT\WEBFOLDERS\ENVIRONMENTSHELL1\ADMINAPP\Planning_TTL\CP_RAVINNINE.LGF
    USER:RAVINDRA.S
    APPSET:ENVIRONMENTSHELL1
    APPLICATION:Planning_TTL
    FACTOR:1
    ALLOCATION DATA REGION:
    CATEGORY:Budget,
    P_PROJECT:NO_PROJECT,
    P_DEPARTMENT:Admin_Entity,Admin_Group,BRT_Entity,CEO_Entity,CEO_Group,COO_Entity,COO_Group,CSR_Entity,CSR_Group,ED01,ED02,ED03,ED04,ED05,ED06,ED07,ED08,ED09,ED10,ED11,ED12,ED13,ED14,ED15,ED16,ED_Input,ESG01,ESG02,ESG03,ESG04,ESG05,ESG06,ESG07,ESG08,ESG09,ESG10,ESG_Input,Finance_Entity,Finance_Group,GDO_Entity,HR_Entity,HR_Group,IT_Ent_Apps_Entity,IT_Ent_Apps_Group,IT_Ops_Infra_Entity,IT_Ops_Infra_Group,Legal_Entity,Legal_Group,Mktg_Entity,Mktg_Group,NO_DEPT,OSM_Entity,OSM_Group,PL01,PL02,PL03,PL04,PL05,PL06,PL07,PL08,PL09,PLM_P_Input,PLM_P_Services_Input,PLM_S_Input,PP01,PP02,PP03,PP04,PP05,Products_Autodesk,Products_Dassault,Products_IBM,Products_IKS,Products_MSC,Products_Others,Products_UGS,Quality_Entity,Quality_Group,VP01,VPD01,VPD_Input,
    P_ENTITY:BLO_C,BLO_Input,BLO_NC,BLR_C,BLR_Input,BLR_NC,BOM_C,BOM_Input,BOM_NC,BRG_C,BRG_Input,BRG_NC,BRZ_C,BRZ_Input,BRZ_NC,CAN,DEL_C,DEL_Input,DEL_NC,GER,GIP,HNJ_C,HNJ_Input,HNJ_NC,JSE_C,JSE_Input,JSE_NC,JSR_C,JSR_Input,JSR_NC,LKQ_C,LKQ_Input,LKQ_NC,MEX,NLD,PNQ_C,PNQ_Input,PNQ_NC,PUD_C,PUD_Input,PUD_NC,PUN_C,PUN_Input,PUN_NC,SAS,SIG,SKR,THD,THE,TTCN_INP,TTEU_INP,TTL_INP,TTMX_INP,TTPL_INP,TTTH_INP,TTUS_INP,UKG_Input,UKG_J,UKG_N,USA,
    P_CUSTOMER:C000001,C000002,C000003,C000004,C000005,C000006,C000007,C000008,C000009,C000010,C000011,C000012,C000013,C000014,C000015,C000016,C000017,C000018,C000019,C000020,C000021,C000022,C000023,C000024,C000025,C000026,C000027,C000028,C000029,C000030,C000031,C000032,C000033,C000034,C000035,C000036,C000037,C000038,C000039,C000040,C000041,C000042,C000043,C000044,C000045,C000046,C000047,C000048,C000049,C000050,C000051,C000052,C000053,C000054,C000055,C000056,C000057,C000058,C000059,C000060,C000061,C000062,C000063,C000064,C000065,C000066,C000067,C000068,C000069,C000070,C000071,C000072,C000073,C000074,C000075,C000076,C000077,C000078,C000079,C000080,C000081,C000082,C000083,C000084,C000085,C000086,C000087,C000088,C000089,C000090,C000091,C000092,C000093,C000094,C000095,C000096,C000097,C000098,C000099,C000100,C000101,C000102,C000103,C000104,C000105,C000106,C000107,C000108,C000109,C000110,C000111,C000112,C000113,C000114,C000115,C000116,C000117,C000118,C000119,C000120,C000121,C000122,C000123,C000124,C000125,C000126,C000127,C000128,C000129,C000130,C000131,C000132,C000133,C000134,C000135,C000136,C000137,C000138,C000139,C000140,C000141,C000142,C000143,C000144,C000145,C000146,C000147,C000148,C000149,C000150,C000151,C000152,C000153,C000154,C000155,C000156,C000157,C000158,C000159,C000160,C000161,C000162,C000163,C000164,C000165,C000166,C000167,C000168,C000169,C000170,C000171,C000172,C000173,C000174,C000175,C000176,C000177,C000178,C000179,C000180,C000181,C000182,C000183,C000184,C000185,C000186,C000187,C000188,C000189,C000190,C000191,C000192,C000193,C000194,C000195,C000196,C000197,C000198,C000199,C000200,C000201,C000202,C000203,C000204,C000205,C000206,C000207,C000208,C000209,C000210,C000211,C000212,C000213,C000214,C000215,C000216,C000217,C000218,C000219,C000220,C000221,C000222,C000223,C000224,C000225,C000226,C000227,C000228,C000229,C000230,C000231,C000232,C000233,C000234,C000235,C000236,C000237,C000238,C000239,C000240,C000241,C000242,C000243,C000244,C000245,C000246,C000247,C000248,C000249,C000250,C000251,C000252,C000253,C000254,C0002
    P_ANALYSIS:FB_M,FB_S,NO_ANALYSIS,TM_M,TM_S,
    RPTCURRENCY:CAD,EUR,GBP,INR,KRW,MXN,SGD,THB,USD,
    ACCOUNT:WHAT:MET-SAL.1.1,MET-SAL.5.1, MET-SAL.1.2,MET-SAL.5.2, MET-SAL.1.3,MET-SAL.5.3, MET-SAL.1.4,MET-SAL.5.4, MET-SAL.1.5,MET-SAL.5.5, MET-SAL.1.6,MET-SAL.5.6, MET-SAL.1.7,MET-SAL.5.7, MET-SAL.1.8,MET-SAL.5.8,WHERE:<<<,USING:<<<,TOTAL:<<<
    P_DEPARTMENT:WHAT:ED_Input,WHERE:ED16,USING:<<<,TOTAL:<<<
    P_ENTITY:WHAT:PUN_C,WHERE:<<<,USING:<<<,TOTAL:<<<
    P_CUSTOMER:WHAT:No_Customer,WHERE:C100700,USING:<<<,TOTAL:<<<
    P_PROJECT:WHAT:NO_PROJECT,WHERE:EDCTM-0007,USING:<<<,TOTAL:<<<
    P_ANALYSIS:WHAT:NO_ANALYSIS,WHERE:TM_S,USING:<<<,TOTAL:<<<
    --Read WHAT region
    [P_DEPARTMENT] =ED_Input
    [P_CUSTOMER] =No_Customer
    [P_PROJECT] =NO_PROJECT
    [P_ANALYSIS] =NO_ANALYSIS
    [CATEGORY] =Budget
    [RPTCURRENCY] =CAD,EUR,GBP,INR,KRW
    --Time to load WHAT :0.2066 second(s).
    WHAT data:1680 records.
    --Apply factor
    WHERE=WHAT *1
    --Time to apply factor :0.003074 second(s).
    --Read destination and calculate difference
    [P_DEPARTMENT] =ED16
    [P_CUSTOMER] =C100700
    [P_PROJECT] =EDCTM-0007
    [P_ANALYSIS] =TM_S
    [CATEGORY] =Budget
    [RPTCURRENCY] =CAD,EUR,GBP,INR,KRW
    --Time to read destination and calculate difference :0.14611 second(s).
    --Records succeeded to write back :1680
    --Records failed to write back
    --Time to run Allocation :0.390015 second(s).
    FACTOR:1
    ALLOCATION DATA REGION:
    CATEGORY:Budget,
    ACCOUNT:WHAT:MET-SAL.1.1,MET-SAL.5.1, MET-SAL.1.2,MET-SAL.5.2, MET-SAL.1.3,MET-SAL.5.3, MET-SAL.1.4,MET-SAL.5.4, MET-SAL.1.5,MET-SAL.5.5, MET-SAL.1.6,MET-SAL.5.6, MET-SAL.1.7,MET-SAL.5.7, MET-SAL.1.8,MET-SAL.5.8,WHERE:<<<,USING:<<<,TOTAL:<<<
    P_DEPARTMENT:WHAT:ED_Input,WHERE:ED16,USING:<<<,TOTAL:<<<
    P_ENTITY:WHAT:PUN_C,WHERE:<<<,USING:<<<,TOTAL:<<<
    P_CUSTOMER:WHAT:No_Customer,WHERE:C100700,USING:<<<,TOTAL:<<<
    P_PROJECT:WHAT:NO_PROJECT,WHERE:EDCTM-0014,USING:<<<,TOTAL:<<<
    P_ANALYSIS:WHAT:NO_ANALYSIS,WHERE:TM_S,USING:<<<,TOTAL:<<<
    "LC" has been added as default currency in allocation.
    --Read WHAT region
    [P_DEPARTMENT] =ED_Input
    [P_CUSTOMER] =No_Customer
    [P_PROJECT] =NO_PROJECT
    [P_ANALYSIS] =NO_ANALYSIS
    [CATEGORY] =Budget
    [ACCOUNT] =MET-SAL.1.1,MET-SAL.1.2,MET-SAL.1.3,MET-SAL.1.4,MET-SAL.1.5
    --Time to load WHAT :0.060259 second(s).
    WHAT data:0 records.
    --Apply factor
    WHERE=WHAT *1
    --Time to apply factor :0.000028 second(s).
    --Read destination and calculate difference
    [P_DEPARTMENT] =ED16
    [P_CUSTOMER] =C100700
    [P_PROJECT] =EDCTM-0014
    [P_ANALYSIS] =TM_S
    [CATEGORY] =Budget
    [ACCOUNT] =MET-SAL.1.1,MET-SAL.1.2,MET-SAL.1.3,MET-SAL.1.4,MET-SAL.1.5
    --Time to read destination and calculate difference :0.05125 second(s).
    --Records succeeded to write back
    regards, Prashant

  • IMac-Questions for professional voice over recording

    I'm about to purchase an iMac.Hi-I've used a PC for years recording VOs.Now I'm considering an iMac (3.20GHz Intel Core i3,4GB 1333MHz DDR3 SDRAM - 2x2GB,1TB or 2TB Serial ATA Drive,ATI Radeon HD 5670 512MB GDDR3 SDRAM) Anyone willing to share some ideas and answer some questions I have about the eventual switch? Since I enjoy things very simple,until now I've achieved great results with a Sennheiser MD421-II mic,DBX 286A preamp/processor and Audacity on my PC. I'm a bit technically challenged when it comes down to knowing the inner workings of computers and Macs but I was told that I might need to look at the sound card that comes with the above iMac and consider upgrading it? Is this true? Is the graphics card adequate? Are the processor,Ram,hard drive adequately sized for VOs? Also...with the PC,my signal chain (if you want to even call it that: ) is mic,preamp,processor to computer via miniplug. Can I use the same with the iMac or do I need extra equipment? Thanks! So many questions....Thanks for any help or suggestions.

    That computer will do everything you want and more. I have the same thing.
    I haven't used the input on it yet, but the output is great minus 1 fault and that is the ground seems weak. I have two rokit8 monitors hooked up and was getting horrible ground loop noise, didn't happen in my old imac, just the new one.
    Now in terms of software you are gonna be in recorders heaven. I have both garageband and logic pro 9 on mine. Garageband can be used for simple recordings, or fairly in depth recordings depending on the project and how good you become with GB. Logic pro is about as professional as you can get, a lot of the songs you hear on the radio are recorded using logic.
    Now with the hardware it depends on your taste, I personally have never heard better sound from a computer then the setup I have now. And I am pretty sure I could make professional voice overs using the built in mic . But the quality of the sound card in question depends on you.
    I would bet you would be content with the sound card they come with.

  • Clear the content of Checkbox without looping for every record

    Hi all,
    I am Karthik. I am working in Oracle EBS. I am developing one form in which it contain 2 checkbox. if checkbox1 is selected in 1st record it need to check checkbox2 all the record till the end of the block. when i uncheck it need to do reverse. what i facing during unchecking it need to loop through all the record and it assign the value. I use clear_item(even i know it use only for clearing the text_item) it is not working.
    Is there any other way than this to uncheck?
    Please specify apps property for set_block_property, set_window_property,set_item_instances_property,get_item_property,get_item_instance_property
    the procedure is
    /* This Procedure take care of post processing when button copy is pressed in form
              It take care of
              1.If the number of record in the block exceeds 1000 then it display a message, to confirm the copy to proceed
              2.If it less than 1000 then it directly proceed to copy by enabling copy_from and copy_to checkbox.
              3.Once copy button is pressed the label of copy button changed to cancel copy
              4.Cancel copy button is pressed , copy_from and copy_to checkbox is disabled in form
         Variable Declaration Purpose
         no_alert_button This variable used to track which button is pressed by user when alert message is shown
    PROCEDURE PROC_COPY_BTN_FCN IS
         no_alert_button NUMBER;
    BEGIN
              IF      Get_Item_Property('BLK_PROD_PROFILE.BTN_COPY',LABEL)='Copy'
              THEN
                   IF PACK_FORM_VAR.no_record_count >1000
                   THEN
                                  Fnd_Message.Set_String('Current Block Contain '|| PACK_FORM_VAR.no_record_count ||' Records. Copy may Take Time');
                                  Fnd_message.Show;
                                  no_alert_button :=Show_Alert('ALERT_RECORD_COUNT');
                                  IF no_alert_button =ALERT_BUTTON1
                                  THEN
                                            --IF      Get_Item_Property('BLK_PROD_PROFILE.BTN_COPY',label)='Copy'
                                            --     THEN
                                            --     :parameter.G_query_find := 'FALSE';
                                                 Set_Block_Property('BLK_PROD_PROFILE',Query_allowed,property_false);
                                                 App_Special.Enable('FILE.SMARTBAR_FIND',PROPERTY_OFF);
                                            --     set_menu_item_property('VIEW.FIND',ICON_IN_MENU,property_off);
                                                 App_Special.Enable('VIEW.FIND',property_off);
                                            Set_Window_Property('WIN_PROD_PROFILE',WIDTH,10.3);
                                            Set_Block_Property('BLK_PROD_PROFILE',BLOCKSCROLLBAR_POSITION,9.691,.906);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_CONTINUE',VISIBLE,property_true);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_TO',VISIBLE,property_true);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',VISIBLE,property_true);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',ENABLED,property_true);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',UPDATE_ALLOWED,property_true);
                                            --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_DESELECT',VISIBLE,property_true);
                                            Go_Item('BLK_PROD_PROFILE.TEXT_PROD_BRAND');
                                            --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',VISIBLE,property_false);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',label,'Cancel Copy');
                                  END IF;
              ELSE
                                  Set_Block_Property('BLK_PROD_PROFILE',Query_allowed,property_false);
                             App_Special.Enable('FILE.SMARTBAR_FIND',PROPERTY_OFF);
                   --     set_menu_item_property('VIEW.FIND',ICON_IN_MENU,property_off);
                        App_Special.Enable('VIEW.FIND',property_off);
                   Set_Window_Property('WIN_PROD_PROFILE',WIDTH,10.3);
                   Set_Block_Property('BLK_PROD_PROFILE',BLOCKSCROLLBAR_POSITION,9.691,.906);
                        App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_CONTINUE',VISIBLE,property_true);
                        App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_TO',VISIBLE,property_true);
                   App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',VISIBLE,property_true);
                             App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',ENABLED,property_true);
                        App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',UPDATE_ALLOWED,property_true);
                   --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_DESELECT',VISIBLE,property_true);
                   Go_Item('BLK_PROD_PROFILE.TEXT_PROD_BRAND');
                   --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',VISIBLE,property_false);
                        App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',label,'Cancel Copy');
              END IF;
              ELSIF Get_Item_Property('BLK_PROD_PROFILE.BTN_COPY',label)='Cancel Copy'
              THEN
                        Set_Block_Property('BLK_PROD_PROFILE',Query_allowed,property_true);
                        First_Record;
                        LOOP
                             IF :System.Cursor_Record = PACK_FORM_VAR.no_currec
                             THEN
                                            :BLK_PROD_PROFILE.CKBX_COPY_FROM := 'N';
                                            Set_Item_Instance_Property('BLK_PROD_PROFILE.CKBX_COPY_TO',current_record,UPDATE_ALLOWED,property_true);
                             ELSIF :System.Cursor_Record <> PACK_FORM_VAR.no_currec
                             THEN
                                            :BLK_PROD_PROFILE.CKBX_COPY_TO := 'N';
                                       Set_Item_Instance_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',current_record,UPDATE_ALLOWED,property_true);
                                            Set_Item_Instance_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',current_record,INSERT_ALLOWED,property_true);
                                  END IF;
                        EXIT WHEN:System.Last_Record ='TRUE';
                        Next_Record;
                        END LOOP;
                        /*     go_item('BLK_PROD_PROFILE.CKBX_COPY_TO');
                             Clear_item;
                                  go_item('BLK_PROD_PROFILE.CKBX_COPY_FROM');
                             Clear_item; */
                             :BLK_PROD_PROFILE.CKBX_SELECT_ALL :='N';
                             --App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_DESELECT',visible,property_false);
                        --     App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_DESELECT',enabled,property_false);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.CKBX_SELECT_ALL',visible,property_false);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_COPY',VISIBLE,property_true);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_COPY',ENABLED,property_true);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_CONTINUE',VISIBLE,property_false);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.CKBX_COPY_FROM',VISIBLE,property_false);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.CKBX_COPY_TO',VISIBLE,property_false);
                             --App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_DESELECT',label,'Deselect');
                             SET_BLOCK_PROPERTY ('BLK_PROD_PROFILE',BLOCKSCROLLBAR_POSITION,8.5,0.906);
                             set_window_property('WIN_PROD_PROFILE',width,8.9);
                             App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',label,'Copy');
                             App_Special.Enable('VIEW.FIND',property_on);
                             App_Special.Enable('FILE.SMARTBAR_FIND',PROPERTY_ON);
              END IF;
    END;
    Please help me to solve this issue.
    thanks and regards
    Karthik M

    You are creating your vaiables in the declerative block as
    <%!
    String [] equipment=new String[60];
    String [] type=new String[60];
    int i=0;
    int j=0;
    %>
    Place these declerations outside the declerative block i.e. in simple scriplets....
    Now on each page access you will get fresh variables
    Hope this helps...

  • My code not give me result and error for move to next record please see

    hi master
    sir i import this file also
    import javax.faces.event.ValueChangeEvent;
    then my error remove
    i am use this code in button event
    getMfatableDataProvider().cursorNext();
    form1.discardSubmittedValues("virtualForm1");
    and my textField is bounded with data provider table field
    please give me idea how i show next rocord in page when user press button
    thank's
    aamir

    thank for reply
    sir your help very usefull for my but when i press F10 then system show massage do you want to save change the record
    sir how i avoid that window and directly move to next record
    please give me idea
    thanking you
    aamir

  • FOR/NEXT loop produces Error in ProcessSQL: Subscript out of range

    Hi all,
    The 2nd FOR/NEXT loop in the following code produces Subscript ouf of Range error:
    *LOOKUP RATEAPP
    *DIM MODEL:RATEENTITYDIM= DRIVEDIM.DRIVER_ENTITY
    *DIM MODEL:RATEACCOUNTDIM= DRIVEDIM.DRIVER
    *DIM MODEL:INPUTCURRENCYDIM = "EUR"
    *ENDLOOKUP
    // Select lookup and normal members by group
    *SELECT(%DRIVERSA%, ID, DRIVEDIM, "[GROUP] = 'A' AND [DRIVER] <> ''")
    *SELECT(%MANUALSA%,ID,DRIVEDIM, "[GROUP] = 'A' AND [SOURCE] = 'MAN'")
    *XDIM_MEMBERSET DRIVEDIM= %MANUALSA%, "U_TEMP"
    *WHEN ACCOUNTDIM.ACCTYPE
    *IS *
         *REC(EXPRESSION=1, NOADD, DRIVEDIM="U_TEMP")
    *ENDWHEN
    *GO
    // this is ok
    *FOR %MANSET% = %MANUALSA%
         *WHEN DRIVEDIM
         *IS %MANSET%
         *WHEN %VALUE%
         *IS <> 0
                   *REC(FACTOR=GET(DRIVEDIM="AD.TEMP"),DRIVEDIM="AD.TEMP")
         *ENDWHEN
         *ENDWHEN
    *GO
    *NEXT
    *XDIM_MEMBERSET DRIVEDIM= %DRIVERSA%, "U_TEMP"
    // this is not OK
    *FOR %DRIVSET% = %DRIVERSA%
         *WHEN DRIVEDIM
         *IS %DRIVSET%
              *WHEN %VALUE%
              *IS <> 0
                   *REC(FACTOR= GET(DRIVEDIM="U_TEMP") * LOOKUP(MODEL),DRIVEDIM="U_TEMP") //  * LOOKUP(MODEL)
              *ENDWHEN
         *ENDWHEN
    *GO
    *NEXT
    If I remove the FOR/NEXT loop, this runs fine. The error occurs everywhere - in logic debugger, in DB, in ExecuteBaseLogic if included in Default logic. The REC statement inside the loop can be anything, even as simple REC(FACTOR=1,DRIVEDIM="U_TEMP"), so the problem is in the loop, not anything else. It validates nicely and the compiled logic looks just as expected.
    This error could occur sometimes if the membersets are too large. However, in this example, the number of members is rather limited. In the debugger is is possible to limit the data region to single specific intersection and the DRIVEDIM membersets combined is exacly 15.
    Could it be possible that the error is caused by member ID-s like AD.1.AVGWAGEGROWTH (length=18)? Is there anything else that can cause  trouble?
    Any ideas appreciated.
    Thanks
    Madis
    Edited by: Madis Udam on Mar 24, 2011 11:06 AM

    I don't think you should have"." dot's in you ID's.
    think about it, in your code you have ACCOUNTDIM.ACCTYPE, which represents the account type of the dimension.
    If you have an id "AD.1.AVGWAGEGROWTH"; wouldn't it think that you are trying the get a value of some member?
    That's just a guess, we established that we wouldn't use any special characters on our id's
    It's working so far
    Try changing the line
    *IS %DRIVSET%
    to
    *IS "%DRIVSET%"
    Edited by: Leandro Cardoso Feliciano on Mar 28, 2011 10:45 PM

Maybe you are looking for

  • Top 15 Issues/Fixes Needed in the next Premiere Pro release/update (CS6.5 or CS7)

    I’m excited for what’s coming next in Premiere Pro CS6.5 or CS7 (whichever update is next). As a former FCP7 user myself, Premiere CS6 was a quick and necessary switch (especially after changing the main keyboard shortcuts back to what I was used to)

  • Synchronize Clips not working anymore

    This seemed to be working a few months ago, but no more. Recently I have been forwarding the files to the editor because I haven't been able to get my own FCPX to work (they use FCP 7). I have this new project that rather important but I need to get

  • Help!  Can't Upgrade iTunes!

    Hello everyone! I just bought my first iPod (a Nano) tonight and when I plug it into my computer, it's telling me I need to download a newer version of iTunes. So I did. Trouble is, I think I accidentally blocked the download popup. And now it takes

  • So, somehow Numbers saves my files as a new version and then won't open them until I update?  How is that possible?

    I saved a spreadsheet a few days ago and now Numbers won't open it saying I need to update my version.  I only use the icon on my dock to access Numbers and I didn't update anything.  I also restarted my computer.  This happens around every 6 months

  • Unable to login from portal home page

    We have installed oracle9iAS portal service. we got the portal home page but when we pressed login link on this page we got an error saying      Error: You cannot login because there is no configuration      information stored in the enabler configur