Need help on forms on order by clause

Hi All,
I have 2 blocks. one control block and one data block.
I perform the search in control block and get the result in detail block.
There is search button in control block. when u click on that it call a package and returns data using for loop.
I have 5 columns and i would like to order by one column after the retrival of data.
the data is like this
Name Id Maths Physics English
name1 123 0 12 15
name2 456 15 0 0
name3 111 0 0 0
Could I get the the maths not null value first.
I tried SET_BLOCK_PROPERTY('block',order_by,:table.col3);
was getting null error
Please reply ,I m new to forms
thanks in advance,
ammu
Message was edited by:
444713

Hi All,
I have 2 blocks. one control block and one data
block.
I perform the search in control block and get the
result in detail block.
There is search button in control block. when u click
on that it call a package and returns data using for
loop.Is the detail block a data block or not? From your description of it being populated in a loop from a package, it is not. You get the data back in an array and write it into the table using NEXT_RECORD in a loop. O
OBVIOUSLY you can't use the block property. The block property is for when you are using forms as it is intended, using the built-in functionality of execute_query. The ordering is done when the data is fetched, not when the rows on the screen are filled in.

Similar Messages

  • Need to copy the current order-by clause of a report.

    Situation:
    - I have a report with a default sort setting, and sortable column headers.
    - User navigates to page with this report.
    - Report page renders in default sort setting.
    - User changes sort (clicks on one of the column headers).
    I now want to create a button (and process) to copy the current report data including the sort it is in right now. For this I need to somehow find out what the current order-by clause is of the rendered report.
    I'm looking into always saving the REQUEST in an application item in case the request is LIKE 'fsp_sort%'. And then parse this value in the process.
    Any better way of doing this?
    Toon

    Toon,
    eventually this example may help you:
    http://htmldb.oracle.com/pls/otn/f?p=31517:69
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • I need help in form 6i

    Good morning everyone,
    I need help please
    someone who has handled expiry of session in form 6i
    I am using a library called D2KWUTIL.PLL
    and triggers When-new-form-instance and When-timer-expired.
    The problem I have is that the screens flash forms text boxes, I realized that this is for the trigger When-timer-expired
    and believe that my timer every 1 second, the issue is to control the inaction and close all forms.
    Help me if you know another way to handle session expiration.
    thanks in advance.

    Andreas Weiden wrote:
    A way to do it in forms could be this:
    -Create a global containg the last time the user did an action.
    -Create a form-level WHEN-VALIDATE-ITEM-trigger an let it update that date. (If you want also other actions to be treated as "action", you might add additional triggers, like KEY-ENTQRY and KEY-EXEQRY,..)
    -Create a timer, whichs check if the last actiondate in the global is older than you want to allow.
    -Make sure that the timer fires as less often as possible.
    Personally, i would recommend to not do it that way, because when you "switch" to webforms some day, the timers can/will make problems.thanks for replying,
    may be more explanatory
    thanks

  • Need Help w/Form Component

    running SJSC2U1 on XP
    Need help with using the form and associated components to create a search functionality in a jspf page..
    I have used the form component and attempted to use the properties method="get" action="http://www.aaa.com/query.html" name="getit" etc...
    I am told (error msg) that these methods, etc. are not valid for the "form" component
    Does anyone now how to create a search functionality in a jspf page using components, be it "markup" layoutPanel, Form or whatever..
    a simple example (code) would be great.
    Thanks

    running SJSC2U1 on XP
    Need help with using the form and associated components to create a search functionality in a jspf page..
    I have used the form component and attempted to use the properties method="get" action="http://www.aaa.com/query.html" name="getit" etc...
    I am told (error msg) that these methods, etc. are not valid for the "form" component
    Does anyone now how to create a search functionality in a jspf page using components, be it "markup" layoutPanel, Form or whatever..
    a simple example (code) would be great.
    Thanks

  • Need Help on Forms Personalization

    Hi All,
    I am doing personalization on Sales Order Form.When i select Order Type as 'Mixed' i have to display salesperson as "No Sales Credit" in the form.But when i click on lov of salesperson field it is giving list of values. But i need only one item in the list i.e "No Sales Credit" when i select order type as 'MIXED'.For this i am trying to restrict lov of salesperson through Create Record Group from Query Built-in.But where can i put condition as Order Type as 'Mixed' in that personalization.
    Can anyone please help me out.
    Is there any posssible way to do this.
    Thanks in advance,
    Dhanasurya

    Hi DhanaSurya,
    First, you need to put 'Order Type' as Mixed in the Query Where clause of 'Create Record group from Query', and then you need to atatch a new Record group to the LOV with property:
    Object Type: LOV
    Target Object: <OLD LOV ON FORM>
    Property name: GROUP_NAME
    Value: 'customized Record Group Name'.
    Regards,
    Kiran

  • Need help with form calculations

    I'm converting a non-editable PDF form into an editable one and could use some help as I'm am new to this. Note: I did not create the non-editable form, It's a form I downloaded and use in my business.
    I already figured out how to create text fields in the already created PDF non-editable form, now I'm trying to add in calculations. I can create the (value is the) calculations between 2 or more text fields, but now I need to multiply one text field by the number 3 and have the answer show up in another text field.
    Example:
    I'll use the letters A & B for the text filed names in my example.
    I have text field A calculating the sum of other text fields using the (value is the sum of) option under the (calculate properties box.)
    Now I want text field B to multiply text field A by a fixed number of 3.  (A=24) x 3=72. I need text field B to have the answer of 72 in it.
    I need text field B to always multiply text field A by 3.
    Does anyone know how I can accomplish this?
    I'm using Adobe 8 Pro.
    Please note that I have no experiance using custom calculation script if that is the only way this will work and will step by step instruction on how to write the code.
    Thank you very much.

    You can use the simplified field notation option. In this case, you'd enter:
    3 * A
    Where "A" the the exact name of the A field. It is best to avoid spaces and any other special characters for any fields that you'll want to include when using simplified field notation option.

  • Need help! in purchase order report..

    Hai,
    I need to write a report
    "<b>Interactive report</b> to display all the Purchase Orders for the Purchasing Organization and display the total, and individual values of all the Purchase Orders."
    what are the tables to use for the above report ?
    which field is used for Line-selection( for interactive report)
    thanks in advance

    Hi,
    Use the tables EKKO, EKPO and fetch the data and display.
    On the basic list display the only EKKO data of the Purchase orgn
    and in the second list Interactive  use the EKPO details and do the totals.
    Sort based on EKORG field and do the sums for Amount fields.
    see the sample code and do accordingly:
    REPORT  ZMM_PO_REPORT message-Id yb
           NO STANDARD PAGE HEADING
           LINE-COUNT 60(1)
           LINE-SIZE 230.
           D A T A B A S E  T A B L E S   D E C L A R A T I O N
    TABLES: lfa1,           " Vendor Master
            t161,           " PO Doc Types
            t024,           " Purchase Groups
            ekko.           " PO Header
                   T Y P E S  D E C L A R A T I O N S
    Purchase Orders Main Structure
    TYPES: BEGIN OF s_po,
            ebeln TYPE ebeln,           " PO No.
            ebelp TYPE ebelp,           " PO Item
            bstyp TYPE bstyp,           " PO Category
            bukrs TYPE bukrs,           " Company Code
            bsart TYPE bbsrt,           " PO Type
            lifnr TYPE lifnr,           " Vendor No
            ekgrp TYPE bkgrp,           " Purchase Group
            waers TYPE waers,           " Currency
            bedat TYPE etbdt,           " PO Date
            txz01 TYPE txz01,           " Material Text
            werks TYPE ewerk,           " Plant
            lgort TYPE lgort_d,         " Storage Location
            matkl TYPE matkl,           " Material Group
            menge TYPE bamng,           " PR Quantity
            meins TYPE bamei,           " UOM
            bprme TYPE bbprm,           " Price Unit
            netpr TYPE netpr,           " Net price
            peinh TYPE peinh,           " Price Unit UOM
            pstyp TYPE pstyp,           " Item Category
            knttp TYPE knttp,           " Account Assignment Category
           END OF s_po.
    Purchase Orders History Structure
    TYPES: BEGIN OF s_account,
            ebeln TYPE ebeln,           " PO No.
            ebelp TYPE ebelp,           " PO Item
            gjahr TYPE mjahr,           " Fiscal Year
            belnr TYPE mblnr,           " PO Invoice No
            menge TYPE menge_d,         " PR Quantity
            wrbtr TYPE wrbtr,           " Price in Local Currency
            dmbtr TYPE dmbtr,           " Price in Foreign Currency
            waers TYPE waers,           " Currency
            shkzg TYPE shkzg,           " Dr/Cr Indicator
           END OF s_account.
    Purchase Orders History Structure(Item Sum)
    TYPES: BEGIN OF s_inv_sum,
            ebeln TYPE ebeln,           " PO No.
            ebelp TYPE ebelp,           " PO Item
            menge TYPE menge_d,         " PR Quantity
            wrbtr TYPE wrbtr,           " Price in Foreign Currency
            waers TYPE waers,           " Currency
           END OF s_inv_sum.
    Purchase Orders Main Structure
    TYPES: BEGIN OF s_rep,
            lifnr TYPE lifnr,           " Vendor No
            ebeln TYPE ebeln,           " PO No.
            ebelp TYPE ebelp,           " PO Item
            bstyp TYPE bstyp,           " PO Category
            bsart TYPE bbsrt,           " PO Type
            ekgrp TYPE bkgrp,           " Purchase Group
            waers TYPE waers,           " Currency
            bedat TYPE etbdt,           " PO Date
            txz01 TYPE txz01,           " Material Text
            werks TYPE ewerk,           " Plant
            lgort TYPE lgort_d,         " Storage Location
            matkl TYPE matkl,           " Material Group
            menge TYPE bamng,           " PR Quantity
            meins TYPE bamei,           " UOM
            bprme TYPE bbprm,           " Price Unit
            netpr TYPE netpr,           " Net price
            peinh TYPE peinh,           " Price Unit UOM
            pstyp TYPE pstyp,           " Item Category
            knttp TYPE knttp,           " Account Assignment Category
            name1 TYPE name1,           " Plant
            orewr TYPE netpr,           " To be Invoiced Price
            curr  TYPE waers,           " Inv Doc Currency
           END OF s_rep.
               D A T A  D E C L A R A T I O N S
    DATA: gv_title1 TYPE sylisel,            " Report title
          gv_dial.                           " Color flag
                C O N S T A N T S  D E C L A R A T I O N S
    CONSTANTS: c_x                VALUE 'X',   " Flag X
               c_h                VALUE 'H',   " Debit
               c_vgabe TYPE vgabe VALUE '2'.   " Transaction Type
         I N T E R N A L  T A B L E S  D E C L A R A T I O N S
    DATA: i_po    TYPE STANDARD TABLE OF s_po WITH HEADER LINE,
                                 " Purchase Order
          i_inv   TYPE STANDARD TABLE OF s_inv_sum WITH HEADER LINE,
                                         " PO Invoice Values
          i_rep   TYPE STANDARD TABLE OF s_rep WITH HEADER LINE,
                                     " PO Invoice Values
          i_ekbe  TYPE STANDARD TABLE OF s_account WITH HEADER LINE.
                               " PO Invoice Values
                     S E L E C T I O N  S C R E E N                      *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_lifnr FOR lfa1-lifnr MATCHCODE OBJECT kred,
                    s_ebeln FOR ekko-ebeln MATCHCODE OBJECT mekk,
                    s_bsart FOR t161-bsart,
                    s_ekgrp FOR t024-ekgrp,
                    s_bedat FOR ekko-bedat.
    SELECTION-SCREEN END OF BLOCK b1.
                      I N I T I A L I Z A T I O N                        *
    INITIALIZATION.
                  A T  S E L E C T I O N - S C R E E N                   *
    AT SELECTION-SCREEN.
    Validate the screen fields
      PERFORM validate_screen.
                   S T A R T - O F - S E L E C T I O N                   *
    START-OF-SELECTION.
    Fetch main data
      PERFORM fetch_data.
                   T O P - O F - P A G E                                 *
    TOP-OF-PAGE.
    Header of the List
      PERFORM header.
                   E N D - O F - P A G E                                 *
    Footer
    END-OF-PAGE.
      ULINE.
                   E N D - O F - S E L E C T I O N                       *
    END-OF-SELECTION.
    Display the Report Output data
      PERFORM display_data.
    At Line-Selection
    AT LINE-SELECTION.
    When double clicked on EBELN display the details of Purchase Doc
      PERFORM line_sel.
    *&      Form  validate_screen
    Validation of Selection Screen fields
    FORM validate_screen .
    Validation of Vendor Number
      CLEAR lfa1-lifnr.
      IF NOT s_lifnr[] IS INITIAL.
        SELECT lifnr UP TO 1 ROWS
            INTO lfa1-lifnr
            FROM lfa1
            WHERE lifnr IN s_lifnr.
        ENDSELECT.
        IF sy-subrc <> 0.
          MESSAGE e000 WITH 'Invalid Vendor'(002).
        ENDIF.
      ENDIF.
    Validation of PO Number
      CLEAR ekko-ebeln.
      IF NOT s_ebeln[] IS INITIAL.
        SELECT ebeln UP TO 1 ROWS
            INTO ekko-ebeln
            FROM ekko
            WHERE ebeln IN s_ebeln.
        ENDSELECT.
        IF sy-subrc <> 0.
          MESSAGE e000 WITH 'Invalid Document Number'(003).
        ENDIF.
      ENDIF.
    Validation of PO Document Type
      CLEAR t161-bsart.
      IF NOT s_bsart[] IS INITIAL.
        SELECT bsart UP TO 1 ROWS
            INTO t161-bsart
            FROM t161
            WHERE bsart IN s_bsart.
        ENDSELECT.
        IF sy-subrc <> 0.
          MESSAGE e000 WITH 'Invalid Purchase Document Type'(004).
        ENDIF.
      ENDIF.
    Validation of Purchasing Group
      CLEAR t024-ekgrp.
      IF NOT s_ekgrp[] IS INITIAL.
        SELECT ekgrp UP TO 1 ROWS
            INTO t024-ekgrp
            FROM t024
            WHERE ekgrp IN s_ekgrp.
        ENDSELECT.
        IF sy-subrc <> 0.
          MESSAGE e000 WITH 'Invalid Purchasing Group'(005).
        ENDIF.
      ENDIF.
    ENDFORM.                    " validate_screen
    *&      Form  fetch_data
    Fetching the PO related data from Database Tables
    FORM fetch_data .
      CLEAR i_po.
      REFRESH i_po.
      SELECT a~ebeln            " PO No.
             b~ebelp            " PO Item
             a~bstyp            " PO Category
             a~bukrs            " Company Code
             a~bsart            " PO Type
             a~lifnr            " Vendor No
             a~ekgrp            " Purchase Group
             a~waers            " Currency
             a~bedat            " PO Date
             b~txz01            " Material Text
             b~werks            " Plant
             b~lgort            " Storage Location
             b~matkl            " Material Group
             b~menge            " PR Quantity
             b~meins            " UOM
             b~bprme            " Price Unit
             b~netpr            " Net price
             b~peinh            " Price Unit UOM
             b~pstyp            " Item Category
             b~knttp            " Account Assignment Category
        INTO TABLE i_po
        FROM ekko AS a JOIN ekpo AS b
        ON a~ebeln = b~ebeln
        WHERE a~ebeln IN s_ebeln AND
              a~lifnr IN s_lifnr AND
              a~ekgrp IN s_ekgrp AND
              a~bsart IN s_bsart AND
              a~bedat IN s_bedat.
      SORT i_po BY ebeln ebelp.
      break-point.
      IF NOT i_po[] IS INITIAL.
    Fetch the PO History/Invoice Details from EKBE Table
        CLEAR i_ekbe.
        REFRESH i_ekbe.
        SELECT ebeln           " PO No.
               ebelp           " PO Item
               gjahr           " Fiscal Year
               belnr           " PO Invoice No
               menge           " PR Quantity
               wrbtr           " Price in Local Currency
               dmbtr           " Price in Foreign Currency
               waers           " Currency
               shkzg           " Dr/Cr Indicator
         INTO TABLE i_ekbe
         FROM ekbe
         FOR ALL ENTRIES IN i_po
         WHERE ebeln = i_po-ebeln AND
               ebelp = i_po-ebelp AND
               vgabe = c_vgabe.
      break-point.
        IF sy-subrc = 0.
          SORT i_ekbe BY ebeln ebelp.
          LOOP AT i_ekbe.
            IF i_ekbe-shkzg = c_h.
              i_ekbe-wrbtr = i_ekbe-wrbtr * -1.
            ENDIF.
            MODIFY i_ekbe.
          ENDLOOP.
      break-point.
    Sum up the Item wise Invoice totals
          LOOP AT i_ekbe.
            AT END OF ebelp.
              READ TABLE i_ekbe INDEX sy-tabix.
              SUM.
              MOVE-CORRESPONDING i_ekbe TO i_inv.
              APPEND i_inv.
            ENDAT.
            CLEAR i_inv.
          ENDLOOP.
          SORT i_inv BY ebeln ebelp.
            break-point.
        ENDIF.
      ENDIF.
    Move the Vendor Name and Invoice Values to I_rep Internal Table
      LOOP AT i_po.
        MOVE-CORRESPONDING i_po TO i_rep.
        CLEAR i_inv.
        READ TABLE i_inv WITH KEY ebeln = i_po-ebeln
                                  ebelp = i_po-ebelp.
        IF sy-subrc = 0.
          i_rep-orewr = ( i_po-menge - i_inv-menge ) * i_po-netpr.
          i_rep-curr  = i_inv-waers.
        ELSE.
          i_rep-orewr = i_po-menge * i_po-netpr.
          i_rep-curr  = i_po-waers.
        ENDIF.
      break-point.
    Get the Vendor Name
        CLEAR lfa1-name1.
        SELECT SINGLE name1 FROM lfa1 INTO lfa1-name1
          WHERE lifnr = i_po-lifnr.
        IF sy-subrc = 0.
          i_rep-name1  = lfa1-name1.
        ENDIF.
        APPEND i_rep.
        CLEAR  i_rep.
          break-point.
      ENDLOOP.
      SORT i_rep BY lifnr ebeln ebelp.
      DELETE i_rep WHERE orewr LE 0.
      break-point.
    ENDFORM.                    " fetch_data
    *&      Form  display_data
    Display the Report Output data
    FORM display_data .
      DATA: lv_flag,               " New Flag
            lv_rec TYPE i.         " No of Records
      CLEAR lv_rec.
      IF i_rep[] IS INITIAL.
        MESSAGE e000 WITH 'No Data found'(022).
      ELSE.
        LOOP AT i_rep.
    Toggle Color
          PERFORM toggle_color.
          IF lv_flag <> space.
            NEW-LINE.
          ENDIF.
    At New Purchase Document
          AT NEW ebeln.
            WRITE:/1 sy-vline, 2(10) i_rep-ebeln INTENSIFIED OFF.
            lv_flag = c_x.
            lv_rec = lv_rec + 1.
          ENDAT.
          WRITE: 1 sy-vline,
                12 sy-vline,13(4)   i_rep-bsart,
                17 sy-vline,18(10)  i_rep-lifnr,
                28 sy-vline,29(35)  i_rep-name1,
                64 sy-vline,65(4)   i_rep-ekgrp,
                69 sy-vline,70(10)  i_rep-bedat,
                80 sy-vline,81(5)   i_rep-ebelp,
                86 sy-vline,87(40)  i_rep-txz01,
               127 sy-vline,128(9)  i_rep-matkl,
               137 sy-vline,138(1)  i_rep-pstyp,
               139 sy-vline,140(1)  i_rep-knttp,
               141 sy-vline,142(4)  i_rep-werks,
               146 sy-vline,147(4)  i_rep-lgort,
               151 sy-vline,152(13) i_rep-menge UNIT i_rep-meins,
               165 sy-vline,166(3)  i_rep-meins,
               169 sy-vline,170(15) i_rep-netpr CURRENCY i_rep-waers,
               185 sy-vline,186(4)  i_rep-waers,
               190 sy-vline,191(5)  i_rep-peinh,
               196 sy-vline,197(4)  i_rep-bprme,
               201 sy-vline,202(15) i_rep-orewr CURRENCY i_rep-curr,
               217 sy-vline,218(4)  i_rep-curr,
               222 sy-vline,223(7)  i_rep-bstyp centered,
               230 sy-vline.
          NEW-LINE.
          hide: i_rep-ebeln.
        ENDLOOP.
        ULINE.
        FORMAT COLOR OFF.
        WRITE : /2 'Total Number of Purchasing Documents:'(025) COLOR 3,
                    lv_rec COLOR 3.
      ENDIF.
    ENDFORM.                    " display_data
    *&      Form  header
    Write the Report Header
    FORM header .
      FORMAT RESET.
    header
      WRITE:/1(230) 'LIST OF PURCHASE DOCUMENTS PER VENDOR'(006) CENTERED.
      SKIP.
      FORMAT COLOR COL_HEADING.
      ULINE.
      WRITE:/1 sy-vline,2(10)   'Pur.Doc.No'(006) CENTERED,
            12 sy-vline,13(4)   'Type'(007),
            17 sy-vline,18(10)  'Vendor'(008) CENTERED,
            28 sy-vline,29(35)  'Name'(009) CENTERED,
            64 sy-vline,65(4)   'PGrp'(010) CENTERED,
            69 sy-vline,70(10)  'Doc.Date'(012) CENTERED,
            80 sy-vline,81(5)   'Item'(011),
            86 sy-vline,87(40)  'Material Short Text'(024) CENTERED,
           127 sy-vline,128(9)  'Mat.Group'(013),
           137 sy-vline,138(1)  'I',
           139 sy-vline,140(1)  'A',
           141 sy-vline,142(4)  'Plnt'(014),
           146 sy-vline,147(4)  'SLoc'(015),
           151 sy-vline,152(13) 'Quantity'(016) CENTERED,
           165 sy-vline,166(3)  'UoM'(017),
           169 sy-vline,170(15) 'Net Value'(018) CENTERED,
           185 sy-vline,186(4)  'Curr'(019),
           190 sy-vline,191(5)  'Per'(020),
           196 sy-vline,197(4)  'Unit'(021),
           201 sy-vline,202(15) 'To be Invoiced'(023) CENTERED,
           217 sy-vline,218(4)  'Curr'(019),
           222 sy-vline,223(7)  'Doc.Cat'(026),
           230 sy-vline.
      ULINE.
    ENDFORM.                    " header
    *&      Form  toggle_color
    This routine alters the color of the records in the list
    FORM toggle_color.
      IF gv_dial = space.
        FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
        gv_dial = c_x.
      ELSE.
        FORMAT COLOR 1 INTENSIFIED OFF.
        CLEAR gv_dial.
      ENDIF.
    ENDFORM.                    " toggle_color
    *&      Form  LINE_SEL
    *When double clicked on EBELN field display the details of Purchase Doc
    FORM line_sel.
      CASE sy-lsind.
        WHEN '1'.
          DATA: lv_field(20),
                lv_value(10),
                lv_bstyp like i_rep-bstyp.
          clear: lv_bstyp,lv_value, lv_field.
          GET CURSOR FIELD lv_field VALUE lv_value.
          IF lv_field = 'I_REP-EBELN'.
            IF NOT lv_value IS INITIAL.
              READ LINE sy-index FIELD VALUE i_rep-bstyp
                                       INTO  lv_bstyp.
             READ CURRENT LINE FIELD VALUE i_rep-bstyp INTO lv_bstyp.
              if lv_bstyp = 'F'.
                SET PARAMETER ID 'BES' FIELD lv_value.
                CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
              elseif ( lv_bstyp = 'K' or lv_bstyp = 'L' ).
                SET PARAMETER ID 'VRT' FIELD lv_value.
                CALL TRANSACTION 'ME33' AND SKIP FIRST SCREEN.
              elseif lv_bstyp = 'A'.
                SET PARAMETER ID 'ANF' FIELD lv_value.
                CALL TRANSACTION 'ME43' AND SKIP FIRST SCREEN.
              endif.
            ENDIF.
          ENDIF.
      ENDCASE.
    ENDFORM.                    " line_sel
    reward if useful
    regards,
    ANJI
    Message was edited by:
            Anji Reddy Vangala

  • Need help on Forms Customization

    Hi All,
    I have one requirement i.e I developed one form which contails 3 windows.First window is for Query_Find, second one is for orders Summary and third window is for detail.In detail window i have one stacked canvas which displays order details in tabular form.i have written code for inserting data into one custom table in ON-INSERT and ON-UPDATE trigger of that block.
    and Commit_Form in the KEY-COMMIT trigger.My requirement if i check the chekbox and change the status(List item ) from status field and when i click on save button it's saving the changes.But i don't want to save the changes at this time.
    How can we restict save changes at this point?
    Can any one plzz give me some idea.
    Thanks in Advance,

    Dhana,
    In the When-Button-Pressed trigger just check the value of the CheckBox and the Status field value before you call the Commit_Form built-in or Commit. But what about if the user clicks on the Save button in the Menu? What if the user uses Ctrl+S to save. You would also want to perform a similar check in the Key-Commit Form level trigger if you want to prevent the "Save" from these options as well.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

  • Need help: playing songs in order, strangewindow message, upgrading I-Tunes

    I have 2 situations I hope someone can help me with:
    1: PLAYING SONGS IN ORDER; WINDOW MESSAGE
    I have CDs of music that when I load them onto my pc laptop the song names don’t come up—each song lists as “track 01” “track 02” etc.
    When I try to play the album thru I-Tunes on my laptop, the songs won’t play in order. i.e. ALL the “track 02”s will play before going to “track 03,” then ALL the “track 03”s will play, etc. So I made a playlist of each CD.
    Now when I try to play the Playlist, I get a window message that says, “The song “Track 01” could not be used because the original file could not be found. Would you like to locate it?” I can choose ‘yes’ or ‘cancel.’ YES takes me to folder selections. I find the song and click on it and then it plays.
    There must be an easier way. I don’t want to search for each song one at a time in order to play an entire CD in order.
    2: UPGRADE
    I need to upgrade. I have I-TUNES 7.0.2. I went online to apple.com and couldn’t find any upgrade option, so I clicked on “download I-tunes”. I got a window that says “download complete.” But how do I tell if it’s really installed? Where do I go on my computer to see what version number it shows?
    Any help is appreciated,
    Carolyn in Las Vegas

    2. Help->About iTunes
    1. You have done something that has confused iTunes about the location of the files in its library. Without knowing what happened, it's hard to make a specific recommendation, but if you moved your files around manually, move them back, and then, if you want to change the location, do it only by setting it in iTunes preferences and then using Consolidate Library.

  • I need help on Complete Sales Order Cycle using Business One

    Hai,
       Actually I am crating an external application using Business one DI API, Now I need a Complete Cycle of Sales Order Cycle from Sales Order Creation to Goods issues, goods receipt ,invoice generation , pick and pack etc
       Anybody Please help me out on generating a Complete Sales Order Cycle using Business One GUI or theory by using Business One
      Please help me out in this regard
      with regards
    Somaraju

    Somaraju,
    You may want to look at the Sample Code example that is part of the 2005A Business One SDK that shows and external Business One interface written in VB.Net that shows how to create a Sales Order/Invoice in SAP Business One.  This example can be found at: Start > Programs > SAP Business One > SDK > Samples > COM DI > 05. OrderAndInvoice.  For complete training on the processes you are asking about from within the SAP Business One product, you can reveiw the SAP Business One eLearning product training if you are and SAP Business One partner in the areas that you have outlined at service.sap.com/smb.
    Hope that helps,
    Eddy

  • Need help to find my order number

    I have ordered a Samsung washer and dryer on about three weeks ago and paid for it thru my bestbuy credit card.I need my order number to be able to check my order status, but it seems i have lost the receipt.I just created an account in bestbuy website, but it doesnt show in my "purchase history" under my account either.Is there anyway i can have my order number?
    thanks for ur help.

    Hi tavassoli68,
    Welcome to the Best Buy forum, and thank you for posting.
    You will most definitely need an order number if you want to check the status of your order.  I pulled up your purchase history using the email address you registered with the forum, but could not find a purchase for a Samsung washer and dryer.  I will need some additional information from you, so I will be sending you a private message.  You can check your private messages by logging into the forum and clicking on the little yellow envelope icon at the top of the page.
    I hope you have a fantastic day!
    Derek|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Need help in cancelling a order

    Hey, I ordered a 15" MBP yesterday morning, but have now realised that it would make much more sense to order the 17" one instead. The problem is that despite my order page stating that it will not ship for 3 days and having an estimated delivery date of two weeks from now (23rd) it will not let me cancel the order as it says they have been prepared for shipment. I ordered a slightly upgraded HD, but two weeks! I really don't want to wait for it to come and then have to send it back. Is there anything I can do?

    Glad to see you're getting a new MBP... However, while you are trying to determine what you need to do to change your order, have you seen the MBP 15 and MBP 17 in person?
    There is a big difference, and when I recently purchased mine, I went with the 15 as the 17 would be very bulky to handle normally.. However if you are stationary then you'll do fine.
    Additionaly one other difference as you may know already is that the MBP 15 has a SD card slot, where the MBP 17 does not instead it has the express bus port for add-on devices.
    I'm just trying to help, as I went for the high end MBP 15 and decided to save a few hundred by doing such... I can't complain about my decision and from having 17" PC based laptops, I like the portability factor of the 15" so much more.
    Hope that kind of helps, but if your set you will need to call apple to corect..

  • Need Help Solving a 2nd order Differential Equation

    I need to write a computer program in MATLAB to solve the following 2nd order differential equation:
         y" + (1/r)y' + (200/80) = 0
    I can't remember which method I'm supposed to use to get an equation for y(r)? Once I know the method... I'm sure I can implement it.
    Thanks for your time

    You can implement Java code in MATLAB??? Is that what you're saying? If so, please tell me how because that would be helpful to me!

  • Need help on forms

    Hello ,
    I wanted some help with form6i error messages.
    I wanted to define form6i error messages within database.
    And include severity (information, warning, error, or fatal),summary and detail information with variable text substitution ,common error -handling frame work formats errors for end user display and logs error information based on severity level.
    All the form messages should be stored in table and then it will be
    Customize and will be shown to user at runtime . how should I do that?
    This is really very urgent
    Thanks in advance ….

    This forum is for posting feedback about the OTN site.
    The best place for your question is probably the Forms.

  • Need help getting form created in Acrobat X to email form data back to me

    The form I created seems to work from my computer that has Acrobat X installed but when I try to submit the PDF with a computer that only has Reader installed it says "This Operation is Prohibited."
    The end users of this form will most likely only have Adobe Reader, how do I set up my form so that it is compatible with Reader?
    Thanks for your help!

    You have 2 choices and one depends on your satisfying the limits of the EULA (no more than 500 submissions basically). For the latter, you have the entire form submitted and you have to enable Reader Rights in Acrobat. On this machine (AA8), it is under the Advanced menu, not sure with AAX (I think they moved it). For the other choice that does not have the license limit, you do not activate Reader Rights, but have the data submitted as an FDF file (XML if you are using Designer, but then Designer questions should really go to the LiveCycle forum). When you receive the FDF or XML file, you simply go to the forms menu in Acrobat > Manage Data, and import the data. The FDF Toolkit also allows separate manipulation of data files.

Maybe you are looking for