Set Block order by property

Hi
Everybody i am using oracle 6i forms.
I have Database block and have one display field non database item.
I want set order by on that field(non databse field),bt no idea how can i set, can anybody help me.
thanx in advance

I think you have to create a DB function that takes a column value as the argument and returns non-db value by which you have to order.
Or please explain your problem...

Similar Messages

  • How to set "Maximum Lenght" column property for database block at RUNTIME?

    Hi folks,
    Is it possible to somehow set a "Maximum Length" property for database block column at runtime?
    I have a dynamic form, which maintains mostly "STATIC DATA" within all application which are stored in different static data tables (which have similar structure). But now, description column in some of those tables was extended (not in all at this stage). I would like to avoid truncating form error while reading data from those extended tables, so I would like to set an MAXIMUM SIZE to accurate value at the time when I'm specifying TABLE NAME for that database block.
    What property should I use to set it?
       -- before executing query in "MAIN_BLOCK" I always set QUERY_DATA_SOURCE_NAME to user defined value => STATIC DATA TABLE name
       Set_block_Property('MAIN_BLOCK',QUERY_DATA_SOURCE_NAME,:control.table_name);
       Set_block_Property('MAIN_BLOCK',DML_DATA_TARGET_NAME,:control.table_name);
       -- here I would like to set also MAXIMUM LENGHT for particular column (based on some condition, etc.. correct value I can get from ALL_TAB_COLS dictionary
       SET_ITEM_PROPERTY('MAIN_BLOCK.DESCRIPTION', <<XXXXXXX>>, 300);What should I use instead of "<<XXXXXXX>>" if I want to overwrite MAIN_BLOCK.DESCRIPTION column's maximum length to 300?
    Thanks,
    Tomas

    Hi Magoo, thanks for reply.
    Yes, but then user can get other errors while trying to set description with value longer than in database (for all not extended tables).
    Aby idea how to implement SET_CUSTOM_PROPERTY like mentioned here?
    Oracle Forms - "maximum length" property.
    Thanks,
    Tomas

  • Using Set Break Order property

    Hi,
    I create a Break Group with one column in the Data Model
    Open the Property Palette for the column and the Set Break Order property does not appear. However the Break Order property does appear and its values is asending or descending.
    Here's the definition for this property in Report Bulder Help "The Set Break Order Property is whether to set the order in which to display the column's values, using the Break Order property". This implies that if the Break Order property is set to something other than NONE, the Set Break Order is Yes.
    Another reference I have states " A point to be noted is that all break groups must have at least one column with the Set Break Order set to the Yes value".
    My concern/question is in all of the documentation I have read both properties appear, but only one appears in my environment. Am I doing something wrong? Is there a setting to be change to make both properties appear? I am using Reports 6i, on Win2000 and connected to an Oracle 8i database.
    Thanks in advance,
    Audrey

    Hi,
    This looks to be a documentation mistake. From Reports 3.0.5 onwards, We have removed the Set Break Order Property for columns and just added
    a "None" item to the Break Order property poplist instead. For columns which cannot be break columns, we do not even give the option of changing the Break Order from None to anything else. So just go-on desiging your Report with just one break order property, that is sufficient.
    Thanks,
    Rohit

  • What property/preference sets block property "Update changed columns only"

    Hi, we are wondering how Designer (latest version 10.1.2.4) desides when it generates a form with block property "Update changed columns only" set to Yes.
    Under some cricumstances this property is No in the generated .fmb
    We checked the object library, but the .olb has this property set to No, so Designer overrules it.
    Our goal is to generate all blocks with the "Update changed columsn only" set to No, because we ran in a forms bug that it can't handle Insert statements on blocks with this property set to Yes (ORA-01036). This bug only occurs in the latest forms version 10.1.2.3
    Hope anyone can help to force this property to be No when we want to achieve 100% generation from Designer.
    Kind Regards
    Auke Quist
    Edited by: aukequist on Oct 13, 2008 8:49 PM

    I think that's not possible in designer. You could define a block with this property set in the template form or in the object library. The use this block use the template/library object property in designer.
    Regards Erik

  • How to set the read only property for dynamic ALV column

    Hi All,
    I have built one dynamiv ALV and I have one name column inside that ALV for which I have to set read only property based on two column fields that exist in the same ALV,say IS_SP and IS_CORP of type boolean.
    If any one of the flag is 'X',i have to make that name column as display only and
    If both flag are not set,it should be displayed as ediatable column.
    I have written one method as INIT_ALV which gets called when ALV is loaded.
    Code is as  follows:
      lr_column_settings ?= wd_this->alv_all_roles.
      lt_columns = lr_column_settings->get_columns( ).
    LOOP AT lt_columns INTO ls_column.
    CASE ls_column-id.
       WHEN <NAMECOLUMN>. "name column which should be editable/display
    Create Input Field
            CREATE OBJECT lr_uie_input_field_ro
              EXPORTING
                value_fieldname = ls_column-id.
         ls_column-r_column->set_cell_editor( lr_uie_input_field_ro ).
        After this,I have to set the read only property based on IS_SP and IS_CORP values,
              CALL METHOD lr_uie_input_field_ro->set_read_only_fieldname
              EXPORTING
                *value = 'IS_SP' or 'IS_CORP'
    ENDLOOP.
    I dont want to use cell variants also.
    Help me to achieve this.
    Thanks and Regards,
    Divya

    Divya - I have done it in the past following these documents. Please read it and try it it will work.
    Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement) 
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
    thanks!
    Jason PV

  • Forms 10g : How to set the Database Item property for an item dynamically ?

    Hello all,
    I have a requirement where I need to set the database item property of an item to TRUE/FALSE
    dynamically at runtime based on certain conditions.
    Earlier, in forms 6i I've used,
    Set_Item_Property (<item_name>, DATABASE_ITEM, PROPERTY_TRUE);
    But in Forms 10g it doesn't recognize this Database_Item property and gives a compilation error.
    Have I overlooked something or has this property become obsolete in Forms 10g ?
    If obsoleted what is the replacement property ?
    Regards,
    Sam

    Some options:
    1. Create a database-view, including the "real" column in databases where it exists and a "dummy"-column in databases where it doesn't exist.
    If that's not possible,
    2. set database="No" for your item and
    -- create a POST-QUERY-trigger which reads the data for that column from the database, if the column exists, and
    -- create a ON-UPDATE-trigger which includes an
    UPDATE_RECORD;
    UPDATE THETABLE SET
      THECOLUMN=thevalue
    WHERE  ROWID=:THEBLOCK.ROWID;3. Base your block on either a select-from-clause, a ref-cursor or a procedure to adjust he query-part,, for saving use a procedure.

  • Report generation for Delivery Blocked Orders

    Hi All,
    I am trying to pull up a report which should contain only orders with the Delivery Block.
    Through VL06O i can get the orders which need to PGIed, which are open, which are stuck in workflow and which have got delivery block.
    So is it possible to separate the delivery blocked orders (from an end user point of view) from the other orders. I tried to have a look at the filters which i could put on the VL06O-> Outbound Deliv. for PGI, but couldn't find it.
    can any one help in thi regard.
    Thank you in advance.

    Hi,
    Try report V.02 - Incomplete Orders

  • Credit block orders transfer of requirements to SNP

    Hi Gurus,
    I work on the Demand Planning stream, but i would like to know if APO SNP Heuristic would behave the same as R/3 regarding Credit Blocked orders.
    in R/3 due to Requirement 101 in OVB8, the credit blocked sales orders do not get confirmed, yet they still send the requirements to MRP MD04.
    what is the logic in SNP or PPDS for this, does a special requirement type gets generated in SNP, even though the Sales Order is not confirmed and not showing in APO DP?
    feedback appreciated
    regards
    JD Loera

    Jeevi,
    I will never recommend what Siva has mentioned. What it means is that
    1. The "Item" - Component will no longer be copied when a Production/Process/Planned order is created.
    2. System does not create any reservation for that material.
    3. If you need to Issue that material to an order, it will be "unplanned" Issue.
    Hope you understood the problems associated with this.....I would suggest to go with Planning strategy "11". If it is external Procurement look at different MRP type.
    Reward your points is these were helpful to you,
    Regards,
    Prasobh

  • Unable to set a top-level property object

    Hey guys
    I've made a little sequence to fetch data from a XML file. In that XML file, there is some informations (entries) (IP addresses, port numbers, etc) about 4 different types of devices(sections are the devices names). The first section of the XML tells me the NAMES of the devices I have to configure. The type of each device is located in the entries of each device. Each device has its own information and I can have more than one device of a type. In teststand, I've created custom data types (containers with empty fields) for each type of device I need.
    I want to dynamically create the devices that the XML file tells me to configure as fileglobal variables and populate them with their own config informations (entries of the XML file). I'm creating new fileglobal of the type I want using PropertyObject step and I'm creating an alias of that fileglobal that I'm passing in parameter to a subsequence who's getting infos from XML. Here, everything is OK.
    The problem occurs when I want to configure 2 or more objects of the same type. At the SetProperty step (where i'm creating the fileglobal variable) teststand gives me the error:
    "Unable to set a top-level property object to another object. Error accessing item 'Parameters.DeviceToInitStruct'."
    Is there any ways to avoid that problem and creating to variable of the same type ?
    thanks

    Hi
    I finally got rid of that problem.
    Instead of using a PropertyObject.Clone step, I used a statement who's just copy the "MasterObject" into a "CloneObject" and i'm working with that copy. So the sequence can now create devices of the same type without any conflict with the first device.
    i'll post here a short example to show how i did... maybe it'll be useful for someone...
    regards

  • TS4020 I live in a house with multiple iCloud users.  When they try to turn on "Find my computer"  they get the message that they will have to disable my "find my computer" setting in order to enable theirs.  How can they all be enabled at the same time?

    I live in a house with multiple iCloud users.  When they try to turn on "Find my computer"  they get the message that they will have to disable my "find my computer" setting in order to enable theirs.  How can they all be enabled at the same time?

    Try this support document for information on how to contact Apple and account security. Apple ID: Contacting Apple for help with Apple ID account security

  • Export Control: list of blocked orders is incomplete (ENGK, RVEXAU03)

    Hi community,
    I have a strange behaviour on the system.
    We have activated the credit control some months ago. When there are some orders blocked by credit control, a collegue opens transaction ENGK and runs the report of blocked sales order (report RVEXAU03).
    In normal case there isn't problem by doing this, but from time to time it happens, that a blocked order is not shown, although there hasn't been found a control license by the order.
    I suppose that this behaviour depends on the date when the orders have been created or there are already created following documents (deliveries).
    Anyone any ideas?
    Christian

    dear friend,
    you would check out those orders using t-code VKM1
    regarding RVEXAU03 please make sure the select-option parameters are correct (especially Blocking reason checkboxes)
    good luck!

  • CO-PA, is credit management suppose to block orders from posting to CO-PA?

    We are currently using CO-PA to track the $ amount of sales orders that were booked for a particular date range, and it will show the sales order created or changed and the $ amount that was added or taken away from the bookings for that day.  This report is to show management how much sales has been recorded for the day, but not necessarily shipped out yet.
    What we are currently facing is problems with credit management blocking the order from posting into the CO-PA tables.  When the order is created and the order desk hits save it first goes through credit management, and if it is put onto the blocked order lists to be released it does not post the value that was created for that day into CO-PA.  Also when we run our rescheduling report for orders that have already been created the order can again go back and forth on and off credit hold, and each time it posts an entry into CO-PA. 
    I was wondering if anyone has been requested to have a report written to record bookings of sales for a particular day, and have you run into the issue of the credit management posting over and over onto the report and how do you get around this.
    We just want to see if any new orders have been created for that day, if current orders have been added on to or taken off from, and have a report to show the order #, dollar value and quantities.
    Thank you,
    Karen Kim

    Dear Karen,
       You cannot see blocked SD documents for credit check in CO-PA. Values are transfered to CO-PA after the sales order is processed or after the billing document is posted.  So if the sales order is not
    processed because it is blocked for credit check, naturally it will not be transfered to COPA. The logic to exempt orders on credit hold was implemented in release 40A.
    To overcome your problem you may implement the modification described in the note 214059. Please be aware that this is a modification note. Please implement in a development environment first and retest.
    regards
    Waman

  • Vendor Master- Mass change to set block function 02 for selected PurchOrg

    Hello,
    We are using SAP 4.7.
    We want to do Vendor Master- Mass change to set block function 02 (T code- MK05 in block for quality reasons) for selected Purchasing Organizations to approximately 2000 number of vendors. I tried this using mass maintenance (T code XK99), but in this case block function of all purchasing organisations gets changed. We want it for certain purchasing organisations only. Kindly suggest the solution.
    In case I have to go for a development can you please suggest any functional module/ BAPI?
    Can I achieve this using mass maintenance functionality (XK99)?
    Waiting for your expert openion,
    Regards,
    Milind Dumbre

    Using the block function in XK05 will block the vendor for all purchasing organizations (as mentioned in the documentation of the field). What you can do is to use purchasing block for the selected purchasing organization.
    The field is LFM1-SPERM, and this can be done via mass maintenance using XK99.
    Hope this helps.
    Regards,
    Aroop

  • Setting tab order in Acrobat 9

    This is the first time I'm trying to set the tab order in a PDF created in Acrobat 9. I am used to the previous versions where all you had to do was click through the fields to set their order, Adobe seems to have changed it to be much more cumbersome requiring you to drag the fields in the field list. I can see where this might be useful in certain cases, but I would like to still be able to edit the tab order the older way. For larger more complicated documents, it's just much easier to do it this way for me. Is this impossible in newer versions, or am I missing something?
    I tried opening the file in Acrobat 8 on another machine, and the 'Edit Tab Order' command is greyed out for this file, so I'm guessing that editing in 9 must change the file to make it incompatible to edit this way.
    If anyone has any insight on a way to easily edit the tab order in version 9, or to allow the file to be edited in version 8, I would be grateful for any assistance.

    Yes, I do have the Select Object tool active. (The 'Edit Fields' menu option doesn't show up unless that tool is active)
    I have tried to edit the PDF on my Mac and PC, and in both cases, all of the menu options under the 'Edit Fields' menu, including the option to set the tab order, are greyed out.
    I did a quick test and copied the fields into a new document, and the menu was available, so I may be able to get this working by opening a new copy of the original PDF and pasting the fields I have set up into that document. I hope this works, because my estimated time that I will spend rearranging the fields is about 25-30 seconds per field which would equate to about 1-1.5 hours of work just to set the Tab Order!! That's compared to about 2-3 minutes or so (at max 5 minutes). With all of the checkboxes, text fields and combo boxes, there are roughly 250 or so fields on this form.
    Thanks. If you have any other suggestions, let me know.

  • How to set tabbing order in Acrobat X Pro

    I cannot find any instructions for manually setting tabbing order in Acrobat X Pro.  It does not work the same as earlier versions of Acrobat Pro.  Any idea as to where I can go for instructions for X Pro?

    Thank you for the quick response!  I found instructions for the Pro 9 version, so followed that and it worked like a charm.
    Thanks again for your help.
    RJ

Maybe you are looking for

  • Upgrading Audigy 2 ZS with internal Platinum Dr

    I originally purchased the ZS card without the platinum dri've. Recently I wanted to connect my Xbox to my HTPC via optical so I could listen to Dolby Digital. My friend gave me his internal platinum dri've for the ZS as he wasn't using it anymore. I

  • Javac compiler throws java.nio.BufferOverflowException!!Why?

    An exception has occurred in the compiler (1.4.1). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your

  • Set Cursor in MPP

    Hi, I have 6 fields on my MPP screen. Based on the validations, I need to set the cursor to the appropriate field that has an invalid entry. As per the functionality, I show the error screen and when I come back, the cursor should be set to the field

  • I have mac air mid 2011 but I can't make mirror of MAC screen on TV .What to do? Pls help

    I have Mac air mid 2011 But I can't make mirror screen of my Mac to TV. What to do? Pls help

  • Po deletion for import

    hi while i delete import purchase order that has been posted in 31.3.2005, it shows the error  'invoice pending for delivery costs ' help me out