Urgent: get_item_property(:system.current_item,column_name)

I try to use the get_item_property(:system.current_item,column_name) to check the column name , but it returns blank...
Is there any way to get the column name for the item?
Regards,
Ashok. C

Hi,
I think that the maybe reason it does not return you the column name (provided that your system.current_item is really what it should at the time of the execution of get_item_property), is that it actually has no column name attribute specified..
I think that I have sometime commited changes through a block that had not specified column name in its items, and that makes me thinking that maybe forms associate items with columns that correspond to their Name property instead, if they find nothing on Column Name property.
Anyway, maybe I'm wrong, but make sure the property is not empty cause I think this is the right way of getting the db column name of an item. And make sure your on the right item when get_item_property is called. hth
regards,
teo

Similar Messages

  • Urgent : get_item_property------bug ???

    I try to use the
    get_item_property('item_name',visual_attribute) to check the visual attribute name, but it returns 'CUSTOM' to me. But my other forms have no problem on using this built-in.
    Using the get_item_instance_property is the same.
    What is the cause of this ?
    Does anyone have any idea about this.
    please help.

    Hi,
    I think that the maybe reason it does not return you the column name (provided that your system.current_item is really what it should at the time of the execution of get_item_property), is that it actually has no column name attribute specified..
    I think that I have sometime commited changes through a block that had not specified column name in its items, and that makes me thinking that maybe forms associate items with columns that correspond to their Name property instead, if they find nothing on Column Name property.
    Anyway, maybe I'm wrong, but make sure the property is not empty cause I think this is the right way of getting the db column name of an item. And make sure your on the right item when get_item_property is called. hth
    regards,
    teo

  • Diffence system.current_item and system.cursor_item

    hi
    Diffence system.current_item and system.cursor_item
    and diff between decode and case stmt Which is best to use.
    thanks

    the :system.current_<...> - variables are for upgrade-compatibility with older forms. Don't use them.
    Forms-Help :
    Note: SYSTEM.CURRENT_ITEM is included for compatibility with previous versions. Oracle recommends that you use SYSTEM.CURSOR_ITEM or SYSTEM.TRIGGER_ITEM instead.

  • Set null to :system.current_item

    I need to set null to an item in my form. Usually I'll use for example
    :emp.empid:='';
    But I plan to use this Program Units in some items so I decide to use :system for example
    PROCEDURE date_check IS
    x varchar2(10);
    v_item varchar2(50):= name_in(:system.current_block||'.'||:system.current_item);
    begin
    //some conditions here//
         //some conditions here//
         if x is not null then begin
         v_item := '';
         raise form_trigger_failure;
         end;
         end if;
    end;
    I set sysdate as an initial data of the item. But when I run the form it returns error. Can somebody help me to set null to that item using :system.itemname
    Thanks.
    Regards,
    firman

    name_in gets the value of the item. So you should use copy.
    copy('',:system.current_block||'.'||:system.current_item)

  • URGENT: Changing System Landscape in ChaRM

    Ok...here is our situation:
    We use ChaRM with a 3 tier system landscape (DEV > USER  >  PROD).
    Out USER system has been down for a month (maintenance) so we went live with ChaRM as follows:
    DEV > PREPROD >PROD
    Our USER system is now back up and running so we have replaced the Logical Component on the project to reflect this.  This has worked ok but the task list is still showing the old system landscape.  i.e. its showing PREPROD still instead of USER.  How do I resolve this?
    Do I have to complete the existing cycle and then create a new one?  This would be fine except I would lose all the jobs I have scheduled in the task list (schedule every 15min EVERY day....took me ages).
    Any suggestions?
    Thanks!!!!!!!!!!!!

    Hi,
    About this issue, there is a detail information about this in blog point 6  u201CChanges in the logical components of a project where Charm is already activatedu201D.
    This is the link:  http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/15116
    So, you have to change the transport route accordingly and then close current maintenance cycle and generate a new one.
    Following is the steps.
    1: please import all the transport requests which were associated in the current maintenance cycle task list by STMS manually import.
    1: change transport route from DEV > PREPROD >PROD to DEV > USER > PROD on the domain controller system.
    2: close current maintenance cycle.
    3: change the system landscape to DEV > USER > PROD in solar_project_admin.
    4: generate a new maintenance cycle.
    Thanks
    Regards,
    Vikram

  • Very Urgent: Hyperion System 9 Planning license was encountered

    Hi,
    I am working on Planning Version 9.2X. On every weekend, Hyperion Planning and Essbase servers are scheduled to start. After that, all the services are being recycled as part of weekly maintenance. The next day, when I tried to login into Planning, I am experiencing below issue soon after the server restart. To overcome this, again I am stopping and starting all services. Please refer to the Below Error and its Server log.
    Can you please help in fixing this issue permanantly.
    And one more issue with other Planning Application: This application does not have this kind of problem, but it has strange issue. This application also goes under weekly maintenace and does not any problem with the login. But, If I won't login soon after the server and Services recycle, Business Rules that are scheduled to run won't start. I have to have login into Planning to make the Business Rules to run.
    Please suggest me if I need to change any settings with in the planning properties to overcome these issues.
    Thanks,
    UB.
    Planning Login issue errro and its log:
    A Problem with Hyperion System 9 Planning license was encountered. Please see log for details
    ####<Jan 24, 2010 10:31:56 AM EST> <Error> <HTTP> <Servername> <SharedServices> <ExecuteThread: '6' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101215> <Malformed Request "/ HTTP 1.0". Request parsing failed, Code: -10>
    ####<Jan 24, 2010 10:35:29 AM EST> <Error> <HTTP> <Servername> <SharedServices> <ExecuteThread: '6' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101215> <Malformed Request "/ HTTP 1.0". Request parsing failed, Code: -10>
    ####<Jan 24, 2010 6:51:56 PM EST> <Error> <HTTP> <Servername> <SharedServices> <ExecuteThread: '6' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101215> <Malformed Request "/ HTTP 1.0". Request parsing failed, Code: -10>
    ####<Jan 24, 2010 6:55:26 PM EST> <Error> <HTTP> <Servername> <SharedServices> <ExecuteThread: '6' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101215> <Malformed Request "/ HTTP 1.0". Request parsing failed, Code: -10>
    #

    user640496 wrote:
    Why have to login after services recycled? Is it a product bug or it is common practice to login into the Planning to run the BR's once the services recycled.It has always been that way, I have never understood the logic but that is the way it is...
    Also, Please give your inputs on this issue which was raised in the begining of this thread.
    A Problem with Hyperion System 9 Planning license was encountered. Please see log for details
    I am not sure on that one, have you checked any of the license server logs, I would contact Oracle if nobody else comes up with some ideas.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Urgent-Souce system

    hi Guru's
    Please let me know how to create source system in BW and what are the pre-requistics for that,
    Please tell me how to create master data sources in r/3 for biw in details (Step by Step) i know much about this but i am not able find link from where i have to start and end,Please let me know mapping these data sources to infosource in BIW iam working on 3.5 verison,
    your reply is very valueable for me,
    Regards
    Shivaraj,

    Hi shiva,
              To create source systems...........if itz r/3 source system
    Create logical system for r/3 & BW in BW & r/3 systems
    assign those locical systems to respcetive clients in r/3 & bw systems
    create rfc's in r/3 & bw systems.
    create partner profile in r/3 & bw systems for the logical clients
    U should have remote user in r/3 & bw systems.
    u should have under profile tabs as: sap_new
    sap_all
    sap_bi-wx_rfca
    s_bw_rfc
    go to rsa13 in bw system
    there try to create r/3 system
    give system id
    target system
    give back ground user pwds...................
    hope this will help u.............

  • Urgent : Changing System Parametes

    Hello,
    How do we change system parameters in 6i reports during run time or at the beginning of the report design?
    Regards,
    Dinesh.

    Hi;
    please check below which could be helpful for your issue:
    Oracle Reports 6i Setup Guide for Oracle Applications 11i [ID 189708.1]
    http://www.stoneedge.com/help/OM_DOC/sys_parameter/Reports_System_Parameters_.html
    Regard
    Helios

  • "SYSTEM NOTICE - URGENT! (system.lsrs) is not in y...

    I received that message. Can someone tell me if that is a scam or do I need to have system.lsrs in my contact list?

    This is a known scamming.
    To avoid receiving any IMs like this, you can adjust your privacy to, Change Allow IMs from... "anyone" to "people on my Contact list only".
    http://community.skype.com/t5/Windows/Does-anyone-​know-what-quot-sys-help-bn3-quot-is/m-p/967658#M71​...
    You may also block and report the scammers.
    https://support.skype.com/en/faq/FA10488/how-do-i-​block-or-report-a-contact
    Regards,
    Tamim
    Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • URGENT: Passing system properties to individual thread processes

    Hi:
    I'm trying to invoke multiple java Servers from a Controller class to enable starting all the servers in a single JVM. The code is shown below:
    public class Controller {
    /** Creates new Controller */
    public Controller() {
    * @param args the command line arguments
    public static void main(String args[]) {
    (new Thread(new Runnable() {
    public void run() {
    ChatServerRMI.Server.main(null);
    })).start();
    (new Thread(new Runnable() {
    public void run() {
    LoginService.LoginServerBaseImpl.main(null);
    })).start();
    However I want to pass system properties/arguments to each main() call. Can someone please explain me how this can be done.....ur help will be appreciated with D$s!
    Thanks in advance.

    If by "system properties" you mean the system properties accessible by System.getProperty("user.dir") and the like, you don't have to do anything to make those available to the threads. They are global and any piece of code can access them.
    If you want to pass arguments to the various "main" methods as if they had been typed at the command line, you just make an array of strings with those arguments and use it as the parameter. For example:ChatServerRMI.Server.main(new String[] {"-port" "2023"});And if you don't want to pass any parameters, do it like this:String[] nothing = new String[0];
    LoginService.LoginServerBaseImpl.main(nothing);

  • Urgent: Why system allows the scrap confirmation more than PrdOrd Qty.

    Dear All,
    I am facing client sensitive problem regarding scrap confirmation at CO11N.
    As I am having Production Order of 15 qty & having 3 Operation.
    Now I have confirmed the first Operation with 15 qty as Yield.
    for second operation I confirmed 10 qty yield & 5 as scrap.
    for third operation system is allows me to confirmed the 15 qty as a yield.That's should not be allowed logically & practically as well.
    & system is allowing to confirmed 'N' no of qty of scrap.i.e more than Production order qty.
    Please give your valuble suggesting to clear this issue.
    & exact terminology behind the scrap confirmation.
    Your immediate reply is highly appreciated
    Thanks & Regards,
    Vijay Mankar

    Hi vijay,
    please try this
    Quantity Calculation for Milestone/Progress Confirmation
    Specifies that for milestone or progress confirmations, the quantities (yield, scrap) of automatically generated confirmations are calculated without taking into account the scrap percentage rate of each operation.
    If you do not set this indicator, then the planned scrap percentage rate of each operation is taken into account when calculating the confirmed total quantity. In the generated confirmations, the proportional scrap is added to the yield.
    If you set this indicator, then the automatic confirmations are posted with the same total quantities as the the milestone or progress confirmation. Scrap is posted as yield in the automatically generated confirmations.
    Example
    24 pieces of scrap are planned for an order of 124 pieces. The planned operation quantities are:
    Operation 10 124 pieces, 10% scrap (13 pieces)
    Operation 20 111 pieces, 5% scrap (6 pieces)
    Operation 30 105 pieces, 4% scrap (5 pieces)
    You enter a milestone confirmation for operation 30 with 48 pieces for the yield and 2 pieces of scrap. The quantities in the automatically generated confirmations are then calculated as follows:
    Indicator is not set
    Operation 10 59 pieces, 0 pieces scrap - automatic confirmation
    Operation 20 53 pieces, 0 pieces scrap - automatic confirmation
    Operation 30 48 pieces, 2 pieces scrap
    Indicator is set
    Operation 10 50 pieces, 0 scrap - automatic confirmation
    Operation 20 50 pieces, 0 scrap - automatic confirmation
    Operation 30 48 pieces, 2 pieces scrap
    Regards'
    Ramesh

  • Urgent: Redirecting System.out.println to more than one place

    Hi All,
    I want to divert all my System.out.println() statements to a Log file as well as on to the screen.
    But only one of the 2 options actually works.
    So if anyone can suggest me some ways I will appreciate very much.
    My code looks something like this:-
    if (m_filename != null) {
    try {
    FileOutputStream fos = new FileOutputStream(m_filename);
    PrintStream ps = new PrintStream(fos);
    System.setOut(ps);
    System.setErr(ps);
    //This code Added for Printing Onto Screen But it does not work
    Stream ps1 = new PrintStream(System.out);
    System.setOut(ps1);
    System.setErr(ps1);
    } catch (IOException ioe) {
    System.out.println("Could not create log file " + m_filename + " because " + ioe);
    As far as logging onto file is menat it works when i set it but printing onto screen does not.
    How can i achive it
    Thanks
    Raj

    Hi,
    You are right but in my current scenario i cannot incorporate this log4j because my application is using some other framework and I am just trying to override this frameworks loggig behaviour so that it logs to both a log file as well as on to the screen.
    Here is the code that this framework uses for logging and i am simply overriding it to do the reqd thing but its not working for me:-
    * Resets the System's out and err OutputStreams to the Launcher's
    * own ThreadedOutputStream, so that output from different threads
    * can be tracked efficiently.
    protected void setOutputStreams() {
         if (scInfo.size() <= 1) {
    // don't need Threaded handling with one thread
    if (m_filename != null) {
    try {
    FileOutputStream fos = new FileOutputStream(m_filename);
    PrintStream ps = new PrintStream(fos);
    System.setOut(ps);
    System.setErr(ps);
    //Added for Printing Onto Screen
                             PrintStream ps1 = new PrintStream(System.out);
    System.setOut(ps1);
    System.setErr(ps1);
    } catch (IOException ioe) {
    Debug.fatalError("Launcher.setOutputStreams","Could not create log file " + m_filename + " because " + ioe);
    else {
    Debug.information("Launcher.setOutputStreams","Initializing ThreadedPrintStream");
    if (m_filename == null) {
    System.setOut(new ThreadedPrintStream(System.out));
    System.setErr(new ThreadedPrintStream(System.err));
    else {
    PrintStream out = new ThreadedPrintStream(m_filename);
    System.setOut(out);
    System.setErr(out);
    //Added for Printing Onto Screen
    System.setOut(new ThreadedPrintStream(System.out));
    System.setErr(new ThreadedPrintStream(System.err));
    Debug.information("Launcher.setOutputStreams","ThreadedPrintStream initialized.");
    Thanks
    Raj

  • Urgent, my system preference freeze up

    I got my desktop/screen saver system preference panel freeze up after I tried to change the desktop. I uploaded a pic to use as my desktop background and now every time I go back in there to change it, the window freezes up on me and I can't do anything except force quit. Any suggestions about how to repair this problem??? I cannot go even other system preference option.. I do not know how to fix it.. I just upgraded to Lion OS about a week ago. please let me know how to do it...
    thank you very much for your help.

    If that happened to me, I would try Force Quit (from under the Apple icon in the Menu Bar), then choose System Preferences (force quit System Preferences and start it again).

  • (urgent) Lost system after update. Again!

    I just did full system update including kernel, and after reboot the system boots up only to command line because of course there are no modules anymore. No sound, graphics, network, no nothing.
    To add fun to it, I am at work and have still lots of work do to in this machine which is now unusable.
    I want to know how to reverse kernel update (if this would help) without internet connection
    AND/OR
    How to (Re)compile(?) all modules for current kernel which pacman apparently did not see necessary.

    Ok, it happened again, but this time I was watching.
    So, what is happening is that during system update run with
    terminal -e "yaourt -Syua"
    (I am running it from a dock launcher)
    mkinitcpio fails with error saying "mkinitcpio does not exist"
    However, if after the system upgrade I run "pacman -S linux" all goes well and good.

  • Very urgent REG:System error: RSDU_ANALYZE_TABLE_ORA/ ORACLE

    Hi,
       Can anyone  help me in finding out this error.System error: RSDU_ANALYZE_TABLE_ORA/ ORACLE.
    Thanks & Regards,
    Praveena.

    Hi
    It's only part of whole message.
    See the entire message.
    It should look less more this way:
    ============================
    SQL-ERROR: 603 ORA-00603: ORACLE server session terminated by fat al error
    System error: RSDU_ANALYZE_TABLE_ORA/ ORACLE
    ABAP/4 processor: DBIF_REPO_SQL_ERROR
    Job cancelled
    ============================
    See ORA-XXXXX here ORA-00603
    Next go to:
    http://ora-code.com/
    Best regards

Maybe you are looking for