Referencing different records in block

Can I make a reference to the value of an item in a record other than the current record without navigating to that record ?? If so what is the syntax for this reference?
(i.e. I want to check the value in record 6 when the current record number is 2 but can't navigate out of the current record)

manny,
tp refer to a cell in a different sheet and table you use the form:
<SHEET_NAME>::<TABLE_NAME>::<CELL>
so if the sheet if named "Sheet 1"
and the table is named "Table 2"
and the cell you want to reference is A1
you would enter "=Sheet 1::Table 2::A1" without the double quotes
So...
=if(isblank(A), "", A)
should be
=if(isblank(Sheet 1::Table 2::A1), "", Sheet 1::Table 2::A1)

Similar Messages

  • How can we assign different colours to different records(line items) in alv

    how can we assign different colours to different records(line items) in alv reporting?

    Hi Friend,
    Please see this SDN Wiki  for setting the color in ALV :[http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP-DevelopingInteractiveALVReportusing+OOABAP]
    There are so many SDN Wiki's on this  just try with search  Alv Color display in SDN,
    Regards,

  • Problem In Update Statement In Multiple Record Data Block

    Hi Friends,
    I have problem in update Statement for updating the record in multiple record data Block.
    I have two data Block the master block is single Record block and the 2nd data block is Multiple Record data Block.
    I am inserting the fields like category,and post_no for partiular job in single data block
    Now in second Multiple Record Data Block,i am inserting the multiple record for above fileds like no. of employees work in the position
    There is no problem in INSERT Statement as it is inerting all record But whenever i want to update particular Record (in Multiple Block) of employee for that category and Post_no
    then its updating all the record.
    my code is Bellow,
    IF v_count <> 0 THEN
    LOOP
    IF :SYSTEM.last_record <> 'TRUE' THEN
    UPDATE post_history
    SET idcode = :POST_HISTORY_MULTIPLE.idcode,
    joining_post_dt = :POST_HISTORY_MULTIPLE.joining_post_dt,
    leaving_post_dt = :POST_HISTORY_MULTIPLE.leaving_post_dt,
    entry_gp_stage = :POST_HISTORY_MULTIPLE.entry_gp_stage
    WHERE post_no = :POST_HISTORY_SINGLE.post_no
    AND category = :POST_HISTORY_SINGLE.category
    AND roster_no = :POST_HISTORY_SINGLE.roster_no;
    AND idcode = :POST_HISTORY_MULTIPLE.idcode;
    IF SQL%NOTFOUND THEN
    INSERT INTO post_history(post_no,roster_no,category,idcode,joining_post_dt,leaving_post_dt,entry_gp_stage)
    VALUES(g_post_no, g_roster_no, g_category, :POST_HISTORY_MULTIPLE.idcode, :POST_HISTORY_MULTIPLE.joining_post_dt,
    :POST_HISTORY_MULTIPLE.leaving_post_dt,:POST_HISTORY_MULTIPLE.entry_gp_stage);
    END IF;
    next_record;
    ELSIF :SYSTEM.last_record = 'TRUE' THEN
    UPDATE post_history
    SET idcode = :POST_HISTORY_MULTIPLE.idcode,
    joining_post_dt = :POST_HISTORY_MULTIPLE.joining_post_dt,
    leaving_post_dt = :POST_HISTORY_MULTIPLE.leaving_post_dt,
    entry_gp_stage = :POST_HISTORY_MULTIPLE.entry_gp_stage
    WHERE post_no = :POST_HISTORY_SINGLE.post_no
    AND category = :POST_HISTORY_SINGLE.category
    AND roster_no = :POST_HISTORY_SINGLE.roster_no;
    AND idcode = :POST_HISTORY_MULTIPLE.idcode;
    IF SQL%NOTFOUND THEN
    INSERT INTO post_history(post_no,roster_no,category,idcode,joining_post_dt,leaving_post_dt,entry_gp_stage)
         VALUES (g_post_no,g_roster_no,g_category,:POST_HISTORY_MULTIPLE.idcode,
              :POST_HISTORY_MULTIPLE.joining_post_dt,:POST_HISTORY_MULTIPLE.leaving_post_dt,:POST_HISTORY_MULTIPLE.entry_gp_stage);
    END IF;
    EXIT;
    END IF;
    END LOOP;
    SET_ALERT_PROPERTY('user_alert',ALERT_MESSAGE_TEXT, 'Record Updated successfuly' );
    v_button_no := SHOW_ALERT('user_alert');
    FORMS_DDL('COMMIT');
    CLEAR_FORM(no_validate);
    Please Guide me
    Thanks in advence

    UPDATE post_history
    SET idcode = :POST_HISTORY_MULTIPLE.idcode,
    joining_post_dt = :POST_HISTORY_MULTIPLE.joining_post_dt,
    leaving_post_dt = :POST_HISTORY_MULTIPLE.leaving_post_dt,
    entry_gp_stage = :POST_HISTORY_MULTIPLE.entry_gp_stage
    WHERE post_no = :POST_HISTORY_SINGLE.post_no
    AND category = :POST_HISTORY_SINGLE.category
    AND roster_no = :POST_HISTORY_SINGLE.roster_no;
    AND idcode = :POST_HISTORY_MULTIPLE.idcode;
    UPDATE post_history
    SET idcode = :POST_HISTORY_MULTIPLE.idcode,
    joining_post_dt = :POST_HISTORY_MULTIPLE.joining_post_dt,
    leaving_post_dt = :POST_HISTORY_MULTIPLE.leaving_post_dt,
    entry_gp_stage = :POST_HISTORY_MULTIPLE.entry_gp_stage
    WHERE post_no = :POST_HISTORY_SINGLE.post_no
    AND category = :POST_HISTORY_SINGLE.category
    AND roster_no = :POST_HISTORY_SINGLE.roster_no;
    AND idcode = :POST_HISTORY_MULTIPLE.idcode;These update statements are without where clause, so it will update all records.
    If it is specific to oracle forms then u may get better help at Forms section.

  • Reading fixed length file with different record types

    Hi,
    I need to read a fixed-length file with different record types, but the record identifier is in 31st position and not in 1st position.
    But if I give 31 as position in File adpater wizard, BPEL takes whole 1-31 as identifier.
    How we need to read such files.
    Thanks
    Ravdeep

    hi ,
    u cannot use the default wzard for this
    use some thing like this nxsd:lookAhead="30" nxsd:lookFor="S"have a look at the below link it has some examples
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/nfb.htm

  • Converting File Content: 2 different record structures

    Dear all,
    I have the following question: Is the PI 7.0 file adapter capable to convert the file content of a file which has two different record types? E.g.
    Rekord 1: String(2) String(4) String(19)
    Rekord 2: String(2) String(7) String(8)
    In the XML structure I need for each of the record set, an own record structure e.g.
    <documentName>...
    <recordset1>
    <NameA>
    <field-nameA1>field-value</field-nameA1> // String(2)
    <field-nameA2>field-value</field-nameA2> // String(4)
    <field-nameA3>field-value</field-nameA3> // String(19)
    </NameA>
       </recordset1>
    <recordset2>
    <NameA>
    <field-nameA1>field-value</field-nameA1> // String(2)
    <field-nameA2>field-value</field-nameA2> // String(7)
    <field-nameA3>field-value</field-nameA3> // String(8)
    </NameA>
      </recordset2>
    The different record sets can be determined by the value of field 1 (string(2))
    Thanks and best regards
    Florian

    HI,
    I can see that.
    The number of characters in the file for TABLE2 is lesser then the number of field size given.
    for eg. if the table2 fixed field length sum is 20 ,your file contains only 10 characters. Please give complete data for table2
    Test file
    100WELCOME 0430000960603201321
    <b>2000000000040008000803</b>
    Table2.fieldFixedLengths: 1,10,10,10,3,3,4,1,38
    Ragards
    vijaya
    Message was edited by: vijaya kumari

  • Count(*) giving different record count than Group by

    I have a table which is giving me different record counts as below:
    SELECT COUNT(1) FROM tbl_A --45104 records
    SELECT ID,COUNT(*) FROM tbl_A GROUP BY ID ORDER BY 1   --42084 records(ID is the primary key)
    Any idea why this will happen?

    Can you quickly show us what the below are returning?
    SELECT COUNT(ID) FROM tbl_A
    SELECT ID,COUNT(ID) FROM tbl_A GROUP BY ID ORDER BY 1

  • Ruleframe + Updates in same table on different records

    I have following problem :
    Change event with DML for one column in one record have to result in an update of different records in same table
    if business rule is validated, I get a problem in the cg$AUS trigger, No data found.
    In the business rule (on after row triggering level), I call a procedure, which do the updates on the same table.
    What do I do wrong. Do I have to start a new transaction for this ?
    I hope someone can help me.
    Regards
    Jo-an

    Jo-an,
    You definitely don't have to start a new transaction, you should just use the tapi upd procedure to perform the update, as described in the Headstart User's Guide.
    Could you try again and report back if you still have the problem?
    kind regards,
    Sandra

  • Can clips made with different recording modes (SP/LP) be put in same movie?

    My cousin recorded the family reunion in LP mode while I had my digital camcorder set to SP. I'm using Premiere Elements 4 to make a DVD using everybody's stills and the two digital camcorders' movie clips. Does it matter about the different recording modes? Can I put clips of both speeds in the same authored movie? If not, I guess I could make two movies and burn both files to the same DVD disk. Can they have the same menu? Or how do I make it easy for viewers to play both movies on their TV (not on a computer)? Thanks for your help and for any suggestions.

    If you're talking about a miniDV camcorder that's recorded in both LP and SP -- it won't make any difference at all. Digital data is digital data, as far as Premiere Elements is concerned.

  • Download from IR has different record set than on screen

    Apex IR ( 3.2) query uses 2 page items to filter. Results are correct on screen but when downloaded we get a different record set as if one of the 2 Page items has not been passed in.

    If you are having problems with the prints being a different size than what is on the screen, I believe there are two settings to try to adjust.  If you are using IE, you can check the Page button with the arrow down and look for "Text Size." Mine is set to "Medium."  Also you can go to the picture of the printer at the top and select the arrow down next to it and select Page Setup.  From there, you will see Enable Shrink-to-Fit which may be causing the problem or you can change the font type and size. Do you see these options?
    If not, what kind of computer do you have and what web browser are you using?
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • How to use same DFF for two different forms with :BLOCK.field reference

    Hi,
    Can anyone suggest how to use the same dff in two different forms by using :BLOCK.field reference.
    Scenario is the same DFF is referenced by two forms, viz. Form-1 & Form-2.
    Form-1 Reference Field is :BLOCK.field name, but the same block is not available in Form-2, which throws an error while opening it.
    Any pointers please.
    Thanks,

    In the environment I currently have access to do not have similar setup.
    Let say you setup the DFF1 default value to $HEADER.customer_name, the name of the DFF is CUSTOMER_NAME, description can be anything.
    In DFF2, default value should be a SQL, where you can reference the DFF1. For example, SELECT DECODE($FLEX.CUSTOMER_NAME, 'ABC', 1, 'DEF', 2, NULL) FROM dual
    In this case, you can reference the DFF1.

  • Record locking/blocking and error msgs

    There are some cases where a user is blocked from updating a record which is being held by another session, and the user get's a
    "Could not reserve record (2 tries). Keep trying?"
    In other cases, the user just gets an hourglass. What causes the difference in the Forms behavior?
    ---=cf

    There are some cases where a user is blocked from
    updating a record which is being held by another
    session, and the user get's a
    "Could not reserve record (2 tries). Keep
    trying?"
    In other cases, the user just gets an hourglass. What
    causes the difference in the Forms behavior?
    ---=cfThe first case happens when a user from a different machine has either updated the same record and not yet saved or simply has locked it, programmatically or manually (lock_record built-in).
    The second case might be that forms is waiting for a process to finish, or there's just too much network traffic.
    What happens when the hourglass (busy mouse cursor) is gone, does the process continues normally or does it throws an error???
    Tony

  • What are the different types of blocking in vendor / customer MD?

    Hi,
    in my firm we noticed that several customers were marked for deletion but this mark only provides a warning message once sales order is set up.
    We'd like to know how to perform actual blocking of sales order / delivery / billing for customers - what should be done and how in the customer Master Record?
    Same problem goes to vendors. Marking for deletion only provides a warning message once a PO is set up, what should be marked and in which transaction in order for this vendor to be blocked for PO / Goods Receipt / Invoice receipt / payment?
    Would appreciate your response

    Dear okit83,
    There are many ways to block the vendor/customer. As above mentioned VD05/XK05 will be used to block the customer/vendor.
    Apart from that we can block the customer/vendor from the same master data is self.
    Go to xd02/xko2-> Extras->Block data. Here tou can block the customer/vendor from one sales area or from all sales areas pertinent to delivery,sales billing(CUSTOMER). Where as vendor allcompany codes,all purchase organizations.
    Similarly you can delete the customer/vendor by using delition flags By XD02/XK02->extras->Deletion flags.
    So the customer/Vendor will not be used
    Please check and revert
    Thanks&Regards
    Raghu.k

  • Validation on unsaved records of block on oracle form.

    In my oracle apps standard form i've approx 8 blocks. i want to write validation on first block(T1) on base of unsaved or saved records on second block(T2).
    Data are only on oracle forms not in data base so i cannot use table.
    Whenever user moved from T2 to T1 then i've check how many unsaved record are there on base need to write validation.
    Its very urgent. Your immediate help would be appreciated.
    Thanks

    Thanks for replying.
    I've checked with GET_RECORD_PROPERTY but i'm getting status like NEW,CHANGED,QUERY.
    My questions is i wanna to make validation on T2 block un saved data.
    i want data values in T1 block.
    Regards,

  • How to show different recorded audio channels in timeline

    I've recorded an interview with two microphones (one was really bad, so I only want to use the other recorded microphone). I imported the clip from the tape camera into FCP X. Now in FCP X on the timeline I only see one audio track when I seperate it from the video. The two microphones seems to be 'mixed'. This was different in FCP 7 where you see both audio channels seperated.
    How do I manage to seperate the 2 audio channels into 2 channels. I'v troed with Channel Configuration via Audio Inspector but I do not understand it.
    Thanks, Pim

    Select the clip in the timeline and in the audio tab in the inspector in the channels seection switch to dual mono. You can switch off a track here if you wish.

  • Displaying Single Datablock field in Multiple Record Data Block

    Hi all
    I have a master detail block for cash transaction recording.
    Master Table name CahMaster and datablock contains columns Cash Bill No, Date, Customer ID, Misc Freight Charges.
    Detail Table name is CashDetail and datablock includes product id, product name, unit price, quantity, return, discount and Disc Overall. Number of records to be displayed in this block are 10.
    Now I want to Display Disc Overall field for one time only which is also a database field.
    I have used to set its properties to be displayed for one time only. It apprantlelly solved the problem.
    But when I used to execute query to see the previous records,
    Disc Overall field does not show the records till I move or Mouse click the last record of any cashdetail record.
    Any solution, thanks in advance!!!
    With Best Regards
    Thunder2777

    The layout of my cash detail is as follow to give you better undrstanding
    Prod_ID Prod_Name Qty Unit Price Return Disc Total per Record
    Total Qty --- Total Return ---- Sub Total ----
    Disc Overall ----- Grand Total ----
    I calculate cash Detail as following
    Total per Record = ((Qty - Return) X Unit Price) - Disc (Discount)
    Disc (Discount) is further calculated through When Validate trigger at item level which is (totalPrice * Disc)/100
    Total Per Record is a display field just to display the total.
    There are 4 other Displays fields e.g Total Qty, Total Return, Sub Total and Grand Total
    Totoal Qty, Total Return and Sub Total uses the sum fuction of block to calculate the sum of these three columns. Sub Total sum the Total Per Record field /column.
    Grand total again uses the when validate trigger at item level to calculate the grand total which is Grand Total = Sub Total - Disc Overall.
    Disc Overall = Subtotal - (subtotal * Disc Overall ) / 100
    That' s why I have asked to display the Discont Overall field for ONE TIME only as it is the discount which is applied to overall total.
    With Thanks
    Thunder2777

Maybe you are looking for

  • How to reset my time machine

    Hi everyone I have a macbook pro and bought an external hard drive with 4T by Porsche for backup and time machine. I set it up and am using it.. only now to realize that if I delete files from my mac as they are heavy it will delete from Time Machine

  • Can I disable Fill & Sign toolbar?

    The latest 11.0.09 release of Reader by default opens the Fill & Sign toolbar on any PDF with fillable forms.  My web application makes heavy use of embedded PDFs and fillable forms, but I do not want the toolbar to appear.  I cannot seem to find any

  • ProductLookUp in place of RepositoryLookUp

    Hi, I am trying to use ProductLookUp droplet in place of RepositoryLookUp droplet to get a product item by passing prodcut id but it does not work. I am getting results only with RepositoryLookUp droplet but not with ProductLookUp droplet. Please hel

  • Minimum hiredate in emp table

    Hi, There is an emp table, which a column hiredate(date). I want to get the record with minimum hiredate and using this query. SQL> select * from v$version; BANNER Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi PL/SQL Release 10.2.0

  • Games on intel imac

    having just received my new intel iMac, it would appear there is no Nanosaur 2 - which is very disappointing for my 4 year old son! Could somebody tell me if this is either; hiding somewhere on the hard drive and I'm just too stupid to find it (if so