How to compensate for mili-volta​ge output interactio​n with FieldPoint FP-AI-100 Module?

I have the white and green outputs of four Omega PX180B (100mV = 200 psig full scale) full bridge pressure transducers hooked to a FieldPoint FP-AI-100 analog input module.  I have a separate regulated 10V DC supply providing power to each transducer.  At zero pressure, FieldPoint Explorer and LabView read only small offset milivolts as expected.  When one transducer is exposed to 100 psig and the others are at zero, the exposed transducer milivolt signal is reduced to about 80 psig; while the other three read from 5 to 10 psig.  I think they are interacting?  How can I prevent this?  Can I ground the COM terminal of the FP-AI-100 module?  If so, to the 10V DC supply or to the FP-1000 module?

Sorry, this is a hardware issue and it has to be fixed in hardware.  A couple more ideas to try:
Take the green wire from sensor and connect to Vin of one channel.  Connect white wire to Vin of another channel.  Connect COM of AI-100 to common of 10V supply.  Measure both channels in your vi and add the two voltages together before making the conversion to PSI.  Would take twice as many AI channels but it might work.  I would read the entire module and the same time.
You could also build your own simple signal conditioner.  Just need a good instrumentation amp set for a gain of 1.  AMP02 works well for this.

Similar Messages

  • How to read the raw (volt) value of a AI scaled Fieldpoint Channel in Labiew?

    Is there a labview native vi to read the Raw value of a pre-scaled (Max) fieldpoint channel?  I can't seem to find anything in the advanced palette either...
    Thanks...

    Howdy!
    I am confused since the subject and your question seem conflicting.
    However, the process of reading a scale and none scale FieldPoint
    channel in LabVIEW is basically the same. You will create a scaled
    channel in MAX and then use the FieldPoint Read and Write VIs and
    select the appropriate FieldPoint I/O Tag. See KnowledgeBase 2HFB8PQ7 How do I Read, Write, or Scale Multiple Channels on a Fieldpoint Module in La... for more information
    Joshua B.
    National Instruments
    NI Services
    NI Support Resources
    NI Training Resources

  • How to check for null value of output parameter?

    Hi guys, I get a test procedure with 2 output parameters and do nothing:
    CREATE OR REPLACE PACKAGE BODY p_parameters_test AS
      PROCEDURE p_null_output_basetype(p1 OUT NUMBER,p2 OUT VARCHAR2)
      AS
      BEGIN
        DBMS_OUTPUT.PUT_LINE('DO NOTHING');
      END p_null_output_basetype;
    END;And I have below C# code:
    cmd.CommandText = "p_parameters_test.p_null_output_basetype";
    OracleParameter p1 = new OracleParameter("p1", OracleDbType.Decimal, System.Data.ParameterDirection.Output);
    OracleParameter p2 = new OracleParameter("p2", OracleDbType.Varchar2, System.Data.ParameterDirection.Output);
    cmd.Parameters.Add(p1);
    cmd.Parameters.Add(p2);
    try
        conn.Open();
        cmd.ExecuteNonQuery();
        if (p1.Value==null)
            Console.WriteLine("p1.Value==null");
        else if (Convert.IsDBNull(p1.Value))
            Console.WriteLine("Convert.IsDBNull(p1.Value)");
        else
            Console.WriteLine("p1 else "+p1.Value);
        if (p2.Value==null)
            Console.WriteLine("p2.Value==null");
        else if (Convert.IsDBNull(p2.Value))
            Console.WriteLine("Convert.IsDBNull(p2.Value)");
        else
            Console.WriteLine("p2 else "+p2.Value);
        Console.WriteLine("finished");
    catch......The output of it is:
    p1 else null
    p2 else null
    Does anyone have any idea why it always goes to the 'else' of the condition-branching, and how can I check if the output parameter is null?
    Thanks in advance.

    Morven... I ran into similar problems. Maybe you've found a solution of your own by now, but here's what I've learned...
    The Value property of output parameters, like p1 and p2 in your code, actually varies, according to (I think) the OracleDbType of the parameter. You've got OracleDbType.Decimal for p1 and OracleDbType.Varchar2 for p2. These look about right, since they match the parameter types in your actual stored procedure.
    After cmd.ExecuteNonQuery() executes, the respective Value properties of p1 and p2 are actually of different types. For p1, it's going to be "OracleDecimal" and for p2 it's "OracleString". Keep in miind that these are the types of the Value property of the OracleParameter objects, not the OracleParameter objects themselves.
    OracleDecimal and OracleString (and some other types like OracleDate, etc.) have an "IsNull" property you can use if you cast the Value property to its runtime type...
    if ((OracleDecimal)cmd.Parameters["p1"].Value).IsNull) { …do something… }
    else { …do something else… }
    Or maybe something like this...
    Decimal p1val = ((OracleDecimal)cmd.Parameters["p1"].Value).IsNull ? 0 : ((OracleDecimal)cmd.Parameters["AVG_SALARY"].Value).Value;
    I'll admit that expressions like this: ((OracleDecimal)cmd.Parameters["AVG_SALARY"].Value).Value look a little weird. But the "Value" of the "OracleDecimal" property is a regular .NET decimal type (System.Decimal). So, it's a "Value" of the "Value" property of the OracleParameter class.
    Even when the stored procedure returns a null, the Value property is still populated. In the case of p1, it's populated with an OracleDecimal object (actually a struct) where IsNull is true. That's why "p1.Value==null" tests false.
    From what I can see, OracleDecimal, OracleString, etc. will never be typed as DbNull, or DBNull.Value. So, that would be why Convert.IsDBNull(p1.Value)) always returns false. btw, it appears that these are Value types. That would suggest that coding something like like this, should be avoided…
    OracleString p2val = ((OracleString)cmd.Parameters["p2"].Value;
    if (p2val.IsNull) { …do something… }
    else { …do something else… }
    By assigning the value to another variable, you’d be actually creating an entire copy of the OracleString structure, which is pointless.
    I hope that helps
    Edited by: 897674 on Jan 3, 2012 10:44 AM
    Edited by: 897674 on Jan 3, 2012 10:46 AM

  • How to compensate for differences in IE6 / IE7

    I have pages located at:
    www.salleboise.com/club_tournaments.cfm and the other at
    http://www.salleboise.com/tournament.cfm?tid=1&f=1&e=1
    The pages appear fine in IE6 and FF (as far as I know), but
    in IE7, they 2
    pages positioning isn't the same (at the top of the page).
    How can I determine what changes I need to make in a CSS file
    so I can make
    sure they look the same in either version.
    I'm sure I can come up with a way to load the correct one
    based on the
    browser detected.....

    Hmmmm, that's odd, there seems to be more spacing before the
    wording of
    Tournament Schedule . on
    http://www.salleboise.com/club_tournaments.cfm
    as
    apposed to the wording Spring Fling 2008 on
    http://www.salleboise.com/tournament.cfm?tid=1&f=1&e=1.
    I'm noticing this within XP IE7......
    Does it look the same to you??
    "Pablo" <[email protected]> wrote in message
    news:fk6go4$guf$[email protected]..
    > It looks fine to me in IE7 Win XP.
    >
    > --
    > Kind Regards
    >
    > Pablo
    > .................................
    > An Eye of Menorca
    > www.dellimages.com
    > .................................
    > "Steve Grosz" <[email protected]> wrote in
    message
    > news:fk6e2d$e12$[email protected]..
    >>I have pages located at:
    >> www.salleboise.com/club_tournaments.cfm and the
    other at
    >>
    http://www.salleboise.com/tournament.cfm?tid=1&f=1&e=1
    >>
    >> The pages appear fine in IE6 and FF (as far as I
    know), but in IE7, they
    >> 2 pages positioning isn't the same (at the top of
    the page).
    >>
    >> How can I determine what changes I need to make in a
    CSS file so I can
    >> make sure they look the same in either version.
    >>
    >> I'm sure I can come up with a way to load the
    correct one based on the
    >> browser detected.....
    >>
    >>
    >>
    >>
    >
    >
    >

  • How to check for Adobe flash Player installed on Mac with Applescript?

    Hi All,
    I am trying to installl the AdobeFlashPlayer programmatically, before that i need to chk Whether if its already installed?, if yes then i need to get the version of the same. Since flash player will be added as a plugin, i need to chk the same in Safari and Firefox browsers. Pls suggest how to achieve the same using Applescripts (without using SWFObjects).

    try this:
    tell application "System Events"
              try
                        set v to short version of disk item "/Library/Internet Plug-Ins/Flash Player2.plugin"
              on error
      -- no plugin installed, do whatever
              end try
    end tell

  • Need to create and adjustment layer to compensate for undesirable hue caused by lens

    I’m looking for some help to set up an adjustment layer to compensate for a specific lens colouration issue. Basically I’m using a GoPro (on a drone) but I have fitted an aftermarket flat lens. Sharpness is good, but the lens has a well known issue – it results in pink hue around the edges/corners. Most of the time it is barely noticeable, other times it jumps out. It also depends on the monitor I am using eg. my TV seems to bring it out a lot more than my laptop.
    Here is an example - look around 0:35 to 0:40 http://vimeo.com/117790732
    And to try get an idea of where the issue is on the frame, I picked an example image of frost covered grass, very early in the morning. I then cranked up the saturation to 100% and this is what it looks like:
    I would like to be able to compensate for this. Presumably this should done with an adjustment layer made in Photoshop which I can then import into Premier Pro. Can anyone advise as to how I do that?
    Any help will be appreciated.
    Thanks,
    Jacques

    Hi Trevor
    Thanks for your reply. I did what you suggested and created 2 masked adjustment layers which are basically concentric rings with differing levels of magenta reduction and I then feathered the edges. I have attached 2 images below to show the before and after effect. I’m working on getting this more accurate and I’m also going to look into the technique posted by Normfb. Big thanks to you Trevor for suggesting this – this is all quite new to me and it was very useful to play around with these adjustments layers, masks etc.
    Jacques

  • How do I compensate for display objects jumping when screen scaling

    I am building an application that is to run at 2 difference stage sizes. 960x640 and 1024x768 (for those paying attention, you may note that those are the high res settings for the iPhone and iPad2)
    The app was designed and build to run on a stage of 960x640 and when running at this size, there are no problems.
    When the app loads in the 1024x768 window, it "strechs" the stage to fill the window, but keeps the aspect ratio. Everything looks good and the application runs without any problems expect for one thing.
    Sometimes, display objects on the stage "jitter" when moving or animating. I have discovered that this is because the stage is "scaling" the x and y values, and is not pixel snapping the objects on the screen, even though the x and y values of the display object are indeed whole numbers.
    A prime example of this is I have 2 bitmapData images. bmData_s and bmData_h.
    bmData_s is 192x388 in size.
    bmData_h is created from a copy of bmData_s with a glow filter stroke on it, resulting in a image that is 198x394 (6 pixels bigger due to a 3 pixel stroke)
    I place it on the screen using the following code:
    (Background is a bitmap object that is 960x480 and places at 0,0)
    (ObjOffset is a point in my app data to position the object, it's a point set to 53,195)
    MyObj.x = Background.x + ObjOffset.x + (bmData_s.width/2);
    MyObj.y = Background.y + ObjOffset.y + (bmData_s.height/2);
    now, when the mouse rolls over the object, I have an event listener to change MyObj.bitmapData to bmData_h
    MyObj.bitmapData = bmData_h;
    MyObj.x = Background.x + ObjOffset.x + Math.floor(bmData_h.width/2);
    MyObj.y = Background.y + ObjOffset.y + Math.floor(bmData_h.height/2);
    and back to the _s image on mouse out.
    Now, when the app runs on the iPhone which is a 960x640 screen size, or on the PC which is using a window of similiar size, the image doesn't appear to move at all... the "stroke" appears and disappears exactly as it is suppose to
    However, when I run it in a window that is 1024x768, the _h image appears to "jump" one pixel up.
    I have encountered many other similiar things that only occure when the stage is scaled. There is a spot in the app where I am animating a bitmap by manipulating it's scrollrect x and width (have it's do a wipe in from right to left like a peice of paper unrolling on a table) and due to the scaling, the right edge of the image jumps left and right 1 pixel... but on 960x640 screens, it looks perfect.
    Does anyone know how I can compensate for this effect so that this jumping doesn't occur when the stage is stretched to fit the window it's running in?

    Sounds like a x-browser rendering problem
    my guess would be to scale down the inner div's so they add up to less than 100%.
    If you floated div's and gave them a %, give one of the div's a smaller.
    ie: 2 divs floated in a Header, give one 50% and the other 49.5%

  • Using a standard midi file, how do I get this to an output port for playing it via midi-cable on an extern keyboard?

    Using a standard midi file, how do I get this to an output port for playing it on an extern midi-keyboard?

    Hi
    Create 1 or more External Instrument tracks as required.
    You could send the MIDIFile to a track set to "All" MIDI channels, or if needed, you could split the file by channel and create indivisual tracks for each.
    CCT

  • I'm trying to record in Adobe Audition and it keeps saying my the sample rates for my input and output devices do not match.  How do I correct this?

    I'm trying to record in Audition and it keeps saying my sample rates for the input and output devices don't match.  How do I fix this?

    I finally have communication between the ISA One and Audition. I moved the optic cable to another SPDIF on the computer and from the SPDIF to ADAT on the ISA One and it finally agreed that the communication was at the same clock speed. The audio was not intelligible so I moved the optic cable back to the original configuration and I can record voice that is clean.          

  • How to know which Smart-Form is being used for Purchase Order print output

    Hi Gurus ,
    How to find which Smart-Form and and methods/program being used for Purchase Order print output in SRM  ?
    In ECC we have tcode NACE where we can check all the details.Is there something similar in SRM ?
    Please help.
    Regards,
    Saurav

    There is no similar transaction in SRM for your purpose. Usually if the customers customize the smartforms, they would choose to use their own form by implementing BADI BBP_OUTPUT_CHANGE_SF. Take a look into your system and see if this BADI is implemented. If so, debug it (by pressing "Print Preview" for a PO for example) and find out what form it is using. Or, if the BADI is not implemented, by default, the system uses form BBP_PO.

  • Beginner Question: How to put 5 V on an output?

    Hi everybody,
    I am an absolute beginner here, a Biology student that has to do electronics in Labview now...
    I want to do as much of this myself as possible, but need truly beginners hints, hoping to be clever enough to put it together myself with your information.
    I need to control some outputs, and monitor some inputs. I am focusing on the outputs at the moment.
    Questions:
    How do I make a block in my block diagram that can put a variable voltage on an output? I need two controls, one that puts a voltage on an output of 0 to 10 V continuously, the other puts a voltage on an output of 0 to 5 V in increments of 0.1 V
    Any hints will be highly appreciated. I have Labview 6 to work with. Pointers like 'look at p
    age XX of the manual' will do, but descriptions here, or through my mail... anything will be highly appreciated.
    Thanks in advance

    In article <[email protected]>,
    "Erado" wrote:
    > That's the beauty of this, I am not entirely sure (yet) I am going to
    > get a good look of the setup in about a month, but they want me to
    > prepare a concept VI before then. To me that made little sense, but my
    > comments on it hit a brick wall...
    Well, for me and my past gigs this has been a very common situation. When
    I worked for telecom we would have to develop apps for instruments that we
    wouldn't receive for six months. Luckily we had the basic concept of how
    they were supposed to run and this was adequate for development. It
    sounds like you're in a similar situation.
    > What I do know is that over two of the terminals there is a 5V voltage
    > applied in steps of 0.1 V. So I should put in something that makes it
    > possible for me to control this output in 50 steps of 0.1 V.
    Lemme see if I understand you from this post and your first one. You
    would like to buid a user interface that includes the following:
    1) A boolean control that gives these two options:
    a) output a continuous voltage in the range of 0-10 volts b) output a
    ramping voltage starting at 0 (or 0.1) volts and ending at
    5 volts using 0.1 volt increments with a dwell time of x mseconds
    2) A boolean to stop the application
    (perhaps another one to pause it)
    3) Several numeric controls:
    a) numeric control for the output voltage b) numeric control for the
    dwell time (optional) c) numeric control for the voltage increments
    (optional) for if the
    user wants to use values other than 0.1 volts
    4) An indicator that shows what the measured output voltage is. This is
    good for verifying your output signal. A chart would be nice.
    This is a top down approach which is helpful for laying out the
    application's user interface. The next thing you want to do is build some
    subVIs to simulate your voltage signals. Once you get some hardware you
    can simply replace these simulation subVIs with the real ones that
    actually communicate the hardware.
    I'm not sure if your measuring the output voltage too. I kinda just
    assumed this but that would require another subVI. I won't tell you how
    to build the subVIs (I can't take all the fun out this) but I hope I've
    pointed you in the right direction.
    Merry x-mas!
    -Kevin
    PS: learn how to play with control references. they're very convenient
    when you need to update the front panel indicators with data from a subVI
    sitting in its own continuous loop. it avoids global variable abuse.

  • How GET Output to Excel with Oracle9i Report using OC4J

    how GET Output to Excel with Oracle9i Report using OC4J.
    I FINISHED THE SETPS CONCIDERING THE JSP CODE NEEDED TO GET THE EXCEL OUTPUT ON LOCAL MACHINE.
    I NEED TO PUBLISH THIS REPORT THROUGH APPLICATION SERVER.
    THE QUESTION IS:
    1- HOW TO START AN OC4J INSTANCE FROM ORACLE 9I DS FOR THIS REPORT?
    2- WHERE (PATH) TO PUBLISH THE REPORT ON THE APPLICATION SERVER?
    3- WHAT IS THE DEFAULT URL TO RUN THIS REPORT AND WHERE TO PUT IT?
    4- HOW TO MAKE MAPPING FOR DIRECOTRY PATH TO TRANSLATED AS URL FOR THIS REPORT?
    5- IF ANY ONE CAN GIVE ME THE FULL CODE TO RUN AND CALL SIMPLE JSP REPORT TO BE VIED IN INTERNET EXPLORER.
    THANK YOU

    Hi,
    I can't answer to all your questions, however I can tell you that:
    2) The directory where to put the report file is specifiend in a file named
    <serverName>.conf
    in the sourceDire property
    <property name="sourceDir" value="/directory/dove/mettere/i/report"/>
    that you can find under ORACLE_HOME/reports/conf
    3) The URL is
    http://<server IAS address>:<port number>/<jsp file path>/<repName>.jsp?server=<report server name>&userid=<user>/<pwd>@<DB conn string>[&<param>=<valore>[&...]]
    5) In IE you have only to set the previous URL in the address bar.
    Hope this helps you
    Bye
    Raffy

  • How to influence the rowheight in excel output

    Hello all,
    I am using the BI publisher desktop so I use RTF to build my template.
    the desired output is excel.
    I have in other templates some tables where cells automatically adjust to the size of the cell. But didn't know how I did this (I thought this was normal)
    now I want to do this again in a new template and I don't have this functionallity anymore and the cell is just as big as I made it initially...
    Can anyone help me out on this?

    Hi,
    Standard RTF table properties for autosizing and fixing table column/row/cell width/height should apply. At the time of RTF creation you don't necessarily have data representative of the size of the data you're going to get when you run the report. And using autosize to fix the width at design time will be impacted by the presence both your form fields and lack of data. So you probably do want autosized columns especially for Excel/HTML where output is not "pagesize" restricted.
    Anyway, I digress, I thought I'd try to get BI Publisher (5.6.3) to put in an "auto" width or column-width for specific columns:
    - tried using Word autosize - didn't work
    - tried using xsl attributes (column-width) but BI Publisher seemed to ignore it.
    Then strangely enough autosize worked in one of my test cases!
    So here are the steps I used to get autosize with Excel consistently working:
    If you are creating a new table:
    1a. Table, Insert, Table, choose your number of columns/rows and choose the Autofit to Contents option (or the Fixed Column Width: Auto) option
    Or if you want to autosize an existing table
    1b. Select your table and go to Table, Table Properties, Cell tab and uncheck the "Preferred Width" checkbox - and in Row tab uncheck specify height
    2. After the table you want appearing on your output insert another "dummy" autosize table (as per 1a), but with just 1 row, 1 column and make remove the border so it doesn't appear.
    See if it works!
    PS. would be excellent if Tim sees this, me thinks might be a gremlin in the code ;-)
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • How to get check box in alv output

    hi gurus
    can anyone explian me how to get check box in alv output
    it should not be a pop up window
    i want to get in output itself
    tahnk you
    regards
    kals.

    Hi
    by using rs_selfield
    ty to call dynamic subroutine..
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield. "#EC CALLED
    read table rs-selfield with key cond = 'X'
    endform.
    see the below example
    REPORT Z_GET_REFRESH no standard page heading.
    type-pools : slis.
    tables : makt,
    mara.
    data : i_fieldcat type slis_t_fieldcat_alv.
    CONSTANTS :
    gc_refresh TYPE syucomm VALUE '&REFRESH'.
    data : begin of i_makt occurs 0,
    matnr like makt-matnr,
    maktx like makt-maktx,
    end of i_makt.
    data : v_repid like sy-repid,
    g_user_command type slis_formname value 'USER_COMMAND',
    g_status_set type slis_formname value 'SET_PF_STATUS',
    lt_event_exit TYPE slis_t_event_exit,
    ls_event_exit TYPE slis_event_exit.
    DATA:LC_GLAY TYPE LVC_S_GLAY.
    select-options s_matnr for mara-matnr .
    start-of-selection.
    select matnr maktx from makt into table i_makt
    where matnr in s_matnr.
    end-of-selection.
    Fill the fieldcatlog
    perform fill_field.
    Call the FM
    perform call_fm.
    *& Form fill_field
    text
    --> p1 text
    <-- p2 text
    FORM fill_field.
    data wa_fieldcat type slis_fieldcat_alv.
    clear : wa_fieldcat.
    wa_fieldcat-tabname = 'I_MAKT'.
    wa_fieldcat-fieldname = 'MATNR'.
    wa_fieldcat-outputlen = '18'.
    wa_fieldcat-seltext_l = 'Material #'.
    wa_fieldcat-col_pos = '1'.
    append wa_fieldcat to i_fieldcat.
    clear : wa_fieldcat.
    wa_fieldcat-tabname = 'I_MAKT'.
    wa_fieldcat-fieldname = 'MAKTX'.
    wa_fieldcat-outputlen = '40'.
    wa_fieldcat-seltext_l = 'Material Desc'.
    wa_fieldcat-col_pos = '2'.
    append wa_fieldcat to i_fieldcat.
    ENDFORM. " fill_field
    *& Form call_fm
    text
    --> p1 text
    <-- p2 text
    FORM call_fm.
    v_repid = sy-repid.
    LC_GLAY-EDT_CLL_CB = 'X'.
    CLEAR ls_event_exit.
    ls_event_exit-ucomm = gc_refresh. " Refresh
    ls_event_exit-after = 'X'.
    APPEND ls_event_exit TO lt_event_exit.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = v_repid
    I_CALLBACK_PF_STATUS_SET = g_status_set
    I_CALLBACK_USER_COMMAND = g_user_command
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS = LC_GLAY
    IS_LAYOUT =
    IT_FIELDCAT = i_fieldcat
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT = lt_event_exit
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IT_ALV_GRAPHICS =
    IT_ADD_FIELDCAT =
    IT_HYPERLINK =
    I_HTML_HEIGHT_TOP =
    I_HTML_HEIGHT_END =
    IT_EXCEPT_QINFO =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    T_OUTTAB = i_makt
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " call_fm
    FORM USER_COMMAND *
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield. "#EC CALLED
    data i_RSPARAMS like RSPARAMS occurs 0.
    CASE R_UCOMM.
    WHEN '&IC1'.
    read table i_makt index rs_selfield-tabindex.
    SET PARAMETER ID 'MAT' FIELD i_makt-matnr.
    if not i_makt-matnr is initial.
    call transaction 'MM02' and skip first screen.
    endif.
    when '&REFRESH'.
    CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
    EXPORTING
    CURR_REPORT = v_repid
    IMPORTING
    SP =
    TABLES
    SELECTION_TABLE = i_RSPARAMS
    EXCEPTIONS
    NOT_FOUND = 1
    NO_REPORT = 2
    OTHERS = 3
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    submit z_get_refresh with selection-table i_RSPARAMS.
    rs_selfield-refresh = 'X'.
    ENDCASE.
    MOVE '&REFRESH' TO r_ucomm.
    ENDFORM.
    FORM set_pf_status *
    FORM SET_PF_STATUS USING rt_extab TYPE slis_t_extab.
    DELETE Rt_extab WHERE fcode = gc_refresh.
    SET PF-STATUS 'STANDARD_FULLSCREEN' OF PROGRAM 'SAPLKKBL'
    EXCLUDING Rt_extab.
    *SET PF-STATUS 'STANDARD' EXCLUDING rt_extab.
    SET TITLEBAR sy-tcode.
    ENDFORM.

  • How to avoid blank column display in output in ALV TREE

    how to avoid blank column display in output while decreasing the length of other columns in ALV Tree.
    Example: please refer to BCALV_TREE_01 and see the output, then decrease the length of all columns . Then you can see a blank column appearing in screen at last, i.e in container. so how to avoid that.
    Thanks for reply.
    Edited by: morpeous on Jul 1, 2009 1:53 PM

    Hi,
    Check BCALV_TREE_02 on how to hide columns.
    Thanks & Regards,
    Anand Patil

Maybe you are looking for

  • MC$4 report shows PO value in wrong currency

    MC$4 report shows PO value in wrong currency EUR (EURO) eventhough PO was created with SEK (swiss) currency. Report picks data from info table S012 that also reflects wrong currency. Please check attached example.... Currency is getting picked up in

  • User access at IO level

    I have 2 OUs-- OU1 and OU2. OU1 has 1 inv org-- IO11 OU2 has 2 inv orgs-- IO21 and IO22. I will define responsibilities at IO level, i.e., 3 responsibilities for an application --R11(for IO11), R21 (for IO21) and R22 (for IO22). I want to restrict us

  • How do i get my apps back on phone after a software upgrade

    I did a software update on my Sony Experia ION LT28at yesterday and I lost all my apps. I know how and did go to the play store and download the same apps except one and I know its in my google acct because I saw it yesterday but I don't know where I

  • Software Idea - Corkboard/Noter/Tabula Rasa

    Idea Thinking in the gaps of current notetaking and gtd software, I believe we need a much more accessible and free flowing notetaking software that works on the idea of a blank sheet and a small toolbox. Allowing users to input data as scribbles, im

  • Hierarchy Modelling

    Dear Experts, I am new to SAP BI world.  I need your expert advice. I am modelling a hierarchy for 0material. My client has 5 different levels for each material. Business Unit    Department    Category     Class      Sub Class      0MATERAIL A Busine