How to put the null value at the last of  a select list

Hello,
I have a select list with a null value, I want the null value to be the last value in the list. It always appears in the top of the list, Desc and Asc order is not working.
Thank you in advance!
Edited by: Najla on Apr 1, 2013 10:37 PM

Hi,
Edited by: Howard (... in Training) on Apr 2, 2013 1:xx PM
The statement - I don't think it is possible to arrange the order of the null option in a select list.- is close. You can't control the order of the Null value if you add the Null value through the GUI. However, it can be added and controlled as part of a SELECT ...
One way is to add NULL to the "SELECT". Here the Yes/No are hard-coded but they could have been selected from a table:
select d, r from
select 'YES' d, 'Y' r from dual
  union all
select 'No' d, 'N' r from dual
  union all
select Null d, '<Null>' r from dual
) order by 1 desc NULLS lastHoward

Similar Messages

  • Need help Take out the null values from the ResultSet and Create a XML file

    hi,
    I wrote something which connects to Database and gets the ResultSet. From that ResultSet I am creating
    a XML file. IN my program these are the main two classes Frame1 and ResultSetToXML. ResultSetToXML which
    takes ResultSet & Boolean value in its constructor. I am passing the ResultSet and Boolean value
    from Frame1 class. I am passing the boolean value to get the null values from the ResultSet and then add those
    null values to XML File. When i run the program it works alright and adds the null and not null values to
    the file. But when i pass the boolean value to take out the null values it would not take it out and adds
    the null and not null values.
    Please look at the code i am posing. I am showing step by step where its not adding the null values.
    Any help is always appreciated.
    Thanks in advance.
    ============================================================================
    Frame1 Class
    ============
    public class Frame1 extends JFrame{
    private JPanel contentPane;
    private XQuery xQuery1 = new XQuery();
    private XYLayout xYLayout1 = new XYLayout();
    public Document doc;
    private JButton jButton2 = new JButton();
    private Connection con;
    private Statement stmt;
    private ResultSetToXML rstx;
    //Construct the frame
    public Frame1() {
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    //setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
    contentPane = (JPanel) this.getContentPane();
    xQuery1.setSql("");
    xQuery1.setUrl("jdbc:odbc:SCANODBC");
    xQuery1.setUserName("SYSDBA");
    xQuery1.setPassword("masterkey");
    xQuery1.setDriver("sun.jdbc.odbc.JdbcOdbcDriver");
    contentPane.setLayout(xYLayout1);
    this.setSize(new Dimension(400, 300));
    this.setTitle("Frame Title");
    xQuery1.setSql("Select * from Pinfo where pid=2 or pid=4");
    jButton2.setText("Get XML from DB");
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(java.lang.ClassNotFoundException ex) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(ex.getMessage());
    try {
    con = DriverManager.getConnection("jdbc:odbc:SCANODBC","SYSDBA", "masterkey");
    stmt = con.createStatement();
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    jButton2.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton2_actionPerformed(e);
    contentPane.add(jButton2, new XYConstraints(126, 113, -1, -1));
    //Overridden so we can exit when window is closed
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    void jButton2_actionPerformed(ActionEvent e) {
    try{
    OutputStream out;
    XMLOutputter outputter;
    Element root;
    org.jdom.Document doc;
    root = new Element("PINFO");
    String query = "SELECT * FROM PINFO WHERE PID=2 OR PID=4";
    ResultSet rs = stmt.executeQuery(query);
    /*===========This is where i am passing the ResultSet and boolean=======
    ===========value to either add the null or not null values in the file======*/
    rstx = new ResultSetToXML(rs,true);
    } //end of try
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    ======================================================================================
    ResultSetToXML class
    ====================
    public class ResultSetToXML {
    private OutputStream out;
    private Element root;
    private XMLOutputter outputter;
    private Document doc;
    // Constructor
    public ResultSetToXML(ResultSet rs, boolean checkifnull){
    try{
    String tagname="";
    String tagvalue="";
    root = new Element("pinfo");
    while (rs.next()){
    Element users = new Element("Record");
    for(int i=1;i<=rs.getMetaData().getColumnCount(); ++i){
    tagname= rs.getMetaData().getColumnName(i);
    tagvalue=rs.getString(i);
    System.out.println(tagname);
    System.out.println(tagvalue);
    /*============if the boolean value is false it adds the null and not
    null value to the file =====================*/
    /*============else it checks if the value is null or the length is
    less than 0 and does the else clause in the if(checkifnull)===*/
    if(checkifnull){ 
    if((tagvalue == null) || tagvalue.length() < 0 ){
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    root.addContent(users);
    out=new FileOutputStream("c:/XMLFile.xml");
    doc = new Document(root);
    outputter = new XMLOutputter();
    outputter.output(doc,out);
    catch(IOException ioe){
    System.out.println(ioe);
    catch(SQLException sqle){

    Can someone please help me with this problem
    Thanks.

  • How can I get null values for the later weeks

    Hi All,
    When I execute this code I get the records till current week.
    How can I display the output so that I get null values for the later weeks. (with the help of v_numOfWeeks variable in the code)
    Thanks,
    Vikram
    DECLARE
       v_query VARCHAR2(4000);
       TYPE ref_cursor IS REF CURSOR;
       v_refcur ref_cursor;
       v_sum NUMBER;
       v_id NUMBER;
       v_name VARCHAR2(1000);
       v_weeknum NUMBER;
       v_pernum NUMBER;
       v_numOfWeeks NUMBER := 5;
    BEGIN
    v_query := ' SELECT SUM(product_bkg), postn_id, postn_tbl.postn_name, b.week_num, b.period_num
                              FROM ops_cv_extract b, (SELECT row_id, desc_text postn_name
                          FROM s_postn) postn_tbl
                          WHERE lvl_6_id = 5767
                          AND fiscal_year = 2008
                          AND b.week_num < 4
                          AND b.period_num = 3
                          AND b.postn_id = TO_NUMBER(postn_tbl.row_id)
                          GROUP BY postn_id, postn_tbl.postn_name, b.week_num, b.period_num
                          ORDER BY  postn_tbl.postn_name, b.week_num';
    OPEN v_refcur FOR v_query;
    LOOP
       FETCH v_refcur INTO v_sum, v_id, v_name, v_weeknum, v_pernum;
       EXIT WHEN v_refcur%notfound;
       dbms_output.put_line('P'|| v_pernum||'W'|| v_weeknum||' '||v_name||' '||v_sum);
    END LOOP;
    END;
    This is the output when I execute this code.
    P3W1 COMM CNTRL ISAM 213 26961.61
    P3W2 COMM CNTRL ISAM 213 12870.4
    P3W3 COMM CNTRL ISAM 213 245.88
    P3W1 COMM CNTRL ISAM 273 72831.2
    P3W2 COMM CNTRL ISAM 273 8739.38
    P3W3 COMM CNTRL ISAM 273 3764.92
    P3W1 COMM CNTRL TAM 213 49844
    P3W2 COMM CNTRL TAM 213 20515.17
    P3W3 COMM CNTRL TAM 213 16167.46
    P3W2 COMM CNTRL TAM 216 12561.4
    P3W3 COMM CNTRL TAM 216 2027.1
    P3W1 COMM CNTRL TAM 273 -3336.71
    P3W2 COMM CNTRL TAM 273 -1376.68
    P3W3 COMM CNTRL TAM 273 19707.42
    P3W1 Damon Walters -609.07
    P3W2 Damon Walters 30030.24
    P3W3 Damon Walters 37475.1
    This is the output I'd like to get
    P3W1 COMM CNTRL ISAM 213 26961.61
    P3W2 COMM CNTRL ISAM 213 12870.4
    P3W3 COMM CNTRL ISAM 213 245.88
    P3W4 COMM CNTRL ISAM 213
    P3W5 COMM CNTRL ISAM 213
    P3W1 COMM CNTRL ISAM 273 72831.2
    P3W2 COMM CNTRL ISAM 273 8739.38
    P3W3 COMM CNTRL ISAM 273 3764.92
    P3W4 COMM CNTRL ISAM 273
    P3W5 COMM CNTRL ISAM 273
    P3W1 COMM CNTRL TAM 213 49844
    P3W2 COMM CNTRL TAM 213 20515.17
    P3W3 COMM CNTRL TAM 213 16167.46
    P3W4 COMM CNTRL TAM 213
    P3W5 COMM CNTRL TAM 213
    P3W1 COMM CNTRL TAM 273 -3336.71
    P3W2 COMM CNTRL TAM 273 -1376.68
    P3W3 COMM CNTRL TAM 273 19707.42
    P3W4 COMM CNTRL TAM 273
    P3W5 COMM CNTRL TAM 273
    P3W1 Damon Walters -609.07
    P3W2 Damon Walters 30030.24
    P3W3 Damon Walters 37475.1
    P3W4 Damon Walters
    P3W5 Damon Walters Edited by: polasa on Oct 28, 2008 6:42 PM

    Sure, in a Single SQL ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Elapsed: 00:00:00.01
    satyaki>
    satyaki>
    satyaki>-- Start Of Test Data --
    satyaki>with week_tab
      2  as
      3    (
      4      select 1 period_num, 1 week_num, 10 bkg1 from dual
      5      union all
      6      select 1, 2, 40 from dual
      7      union all
      8      select 1, 3, 30 from dual
      9      union all
    10      select 1, 2, 20 from dual
    11      union all
    12      select 1, 1, 10 from dual
    13      union all
    14      select 1, 1, 20 from dual
    15      union all
    16      select 1, 3, 10 from dual
    17      union all
    18      select 2, 1, 15 from dual
    19      union all
    20      select 2, 2, 20 from dual
    21      union all
    22      select 2, 3, 10 from dual
    23      union all
    24      select 2, 1, 15 from dual
    25      union all
    26      select 2, 2, 30 from dual
    27      union all
    28      select 2, 3, 20 from dual
    29    )
    30  -- End Of Test Data --
    31  select period_num,
    32         week_num,
    33         (
    34            select sum(week_tab.bkg1)
    35            from week_tab
    36            where period_num = m.period_num
    37            and   week_num   = m.week_num
    38            group by week_num, period_num
    39         ) sum_bkg1
    40  from (
    41        select dum.week_num,
    42              wk.period_num
    43        from (
    44                select 1 week_num from dual
    45                union all
    46                select 2 from dual
    47                union all
    48                select 3 from dual
    49                union all
    50                select 4 from dual
    51                union all
    52                select 5 from dual
    53              ) dum ,
    54              (
    55                select distinct period_num
    56                from week_tab
    57          ) wk
    58      ) m;
    PERIOD_NUM   WEEK_NUM   SUM_BKG1
             1          1         40
             1          2         60
             1          3         40
             1          4
             1          5
             2          1         30
             2          2         50
             2          3         30
             2          4
             2          5
    10 rows selected.
    Elapsed: 00:00:00.48
    satyaki>Regards.
    Satyaki De.

  • How to put a default value in a dropdown item (charasteristic selection)

    Hello all,
    Does someone know how to put a default value inside a dropdown item bided to a 0FISCYEAR charasteristic selection ?
    For instance, I would like that only values for the year "2007" would be displayed at the execution of the web template (containing 1 analysis) in the browser.
    Best regards,
    Mickael

    error code with selection variable in the drop down item, in a template containing a navigation pane :
    com.sap.ip.bi.webapplications.runtime.controller.MessageException: Error while generating HTML at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2150) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:931) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:873) at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:324) at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:380) at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:62) at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:50) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:2735) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:2478) at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2432) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2054) ... 36 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.BICompositeManager.renderRoot(BICompositeManager.java:83) at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:376) ... 42 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tabstrip.impl.AcTabStrip.iterateOverChildren(AcTabStrip.java:74) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 47 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1889) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:858) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 52 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 62 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 66 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 76 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tabstrip.impl.AcTabStrip.iterateOverChildren(AcTabStrip.java:74) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 80 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1889) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:858) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 85 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 95 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tabstrip.impl.AcTabStrip.iterateOverChildren(AcTabStrip.java:74) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 99 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1889) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:858) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 104 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 114 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 118 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 128 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.items.navigation.control.AcQueryNavigation.iterateOverChildren(AcQueryNavigation.java:126) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 132 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tree.impl.AcTreeView.iterateOverChildren(AcTreeView.java:100) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.GroupRenderer.renderGroupFragment(GroupRenderer.java:1184) at com.sap.tc.ur2.renderer.ie6.GroupRenderer.render(GroupRenderer.java:74) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 137 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.dragdrop.impl.DragDropContainer.iterateOverChildren(DragDropContainer.java:362) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeNodeFragment(TreeRenderer.java:2223) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeNodeFragment(TreeRenderer.java:2338) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeNodeFragment(TreeRenderer.java:2338) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeFragment(TreeRenderer.java:704) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.render(TreeRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 146 moreCaused by: java.lang.NullPointerException

  • How to find out the null values in table

    hi experts,
    my version is oracledb10g:
    i h'd simple doubts.
    for eg:
    create table ex1( e varchar2(20));
    insert into ex1 (null).
    insert into ex1(e)
    count will be: 2
    i can easily found out the value 'e'.
    so my question is:
    how can i found out the null values in the table and i want to delete the null values from the table.

    ADF 7 wrote:
    hi experts,
    my version is oracledb10g:
    i h'd simple doubts.
    for eg:
    create table ex1( e varchar2(20));
    insert into ex1 (null).
    insert into ex1(e)
    count will be: 2That depends what you count. If you issue count(*) you are asking Oracle "how many rows are there". If you issue a count(<column_name>) you are asking Oracle "how many not null values of <column_name> are there".
    ADF 7 wrote:
    i can easily found out the value 'e'.
    so my question is:
    how can i found out the null values in the table and i want to delete the null values from the table.
    delete from <table_name>
    where <column_name> is null;Ideally you'd just place a NOT NULL constraint on the column in question, thereby prohibiting NULL values from entering into the system (assuming your business requirement is that the column MUST always have a value).

  • Not to display the null values from data base

    Hiiii.
    In a jsp file i have ten check boxes.The jsp file is mapped to a servlet file for parameter requesting and to
    store it in DB.
    The unchecked box values has null values.All the values are store in a Mysql DB table.
    Again i have to display it in a jsp page from table.
    The problem am facing was,how can i display only the values in a row.it must not display the null values and the crresponding column name.
    Or any other way is their like below
    How i can retrieve only the selected check boxes from tht jsp file.and store in backend.
    Thanks in Advance
    regards,
    satheesh kannan

    Here is a rough example that may give you some ideas:
    On the JSP page:
    <%if(myData.getFirstName()!=null){%>
    Your First Name'
    <input type="text" name="firstName" value="<%=myData.getFirstName()%>">
    <%}%>
    In the servlet:
    String firstName= request.getParameter("firstName");
    if(firstName!=null){
    //write it to the database
    }

  • How to restrict the Null Values for Key Figules in the Bex Query

    Hi Friends,
        I want to restrict the Null values of a perticular key figure in the Bex Query Output.
    I will explain in details. i have 3 key figures in my query.. let us assume.. key1 key2key3
    key1           key2                key3
    4                4                   100.00
    5                0                   200.00
    1                0                    19.00
    0                1                    10.00
    i don't want to see the the records for which key 2 is 0.
    we have a setting in the Bex Query for restricting the Zero values in the query properties. If we enable that setting it will show
    4               4          100.00
    but i want the report to display..
    4               4           100.00
    0               1           10.00
    can any body guide me. <b>i want to display the values if key2 <> 0.</b>
    Regards,
    Nagesh.

    Hi AVR,
    nice to see reply.
    can you eloborate your view...how can i put the condition.
    <b>i want to put the condition key2 <> 0.</b>
    Regards,
    Nagesh.

  • How to avoid the null values from xml publisher.

    I am creating a report which have the claim numbers with the values CLA001,CLA111,null, null . when i preview my report it is showing some spaces for null values also. How can i avoid the spaces from the report.
    I am giving for loop for the claim numbers in the template.
    <?for-each:ROW?> <?sort:CLAIMNUMBER;'ascending';data-type='text'?>
    <?CLAIMNUMBER?>
    <?end for-each?>
    Please help me out to solve this problem.
    Thanks,
    vasanth.

    Hi Sheshu,
    According to your description, you are experiencing the null values and infinity values when browser the calculated measure, right?
    Based on my research, the issue is caused by that dividing a non-zero or non-null value by zero or null. In this cases, we need to check for division by zero to avoid this situation. Here is the sample query for you reference.
    IIF(
    Measures.[Measure B]=0,null,
    Measures.[Measure A] / Measures.[Measure B]
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How do I pass a null value to the reportDocument?

    I'm using CR 2008 and VS 2005. 
    I am using a stored procedure as the datasource for one of my report, which we run using the C# API.   The stored procedure is expecting a NULL in certain cases and I find I cannot pass a NULL with my current code:
    // Here I get the parameter
    // If we are dealing with an empty string or a NULL value, let's give it
                            // a value of a space so that Crystal's DLLs don't choke.
                            if ((value.Length == 0) || (value == "NULL"))
                                value = " ";
                            arrParams.Add(value);
    Object strParam = arrParams<i>;
    this.reportDocument1.SetParameterValue(num, strParam);
    The stored procedure parameter type is INT so in the report it shows up as NUMBER.
    How do I get a NULL value to the stored procedure?
    Thanks.

    See if this does the trick:
    Dim crParameterDiscreteValue As New CrystalDecisions.Shared.ParameterDiscreteValue()
    crParameterDiscreteValue.Value = Nothing
    C# would look something like;
    CrystalDecisions.Shared.ParameterDiscreteValue crParameterDiscreteValue;
    crParameterDiscreteValue = new CrystalDecisions.Shared.ParameterDiscreteValue();
    crParameterDiscreteValue.Value = null;
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • How can I avoid the null values in cross tab?

    How can I avoid the null values in cross tab?

    Hello Anindita,
    Let me explain you the problem in detail.
    I have selected User and Program as rows in the cross tab. In Summarized Field I am counting the Programs.
    In DB I can have both User and Program null.
    Letu2019s take these scenarios...
    1) For a User, Program can be null
    2) For a Program, User can be null
    3) And both can be null.
    A null Program does not give problem since Cross tab does not count the null values and in my case too, it remove the Program which are null from the Cross tab because of the counting its doing on Program. Hence scenario 1 and 3 is not a Problem.
    Problem comes in scenario 2 (For a Program, User can be null).
    In this case since Program is not null it will get counted and will be grouped under null user but I donu2019t want to show the null user Grouping in my cross tab.
    "Suppress empty rows" and "suppress empty colums" does not help.
    Thanks & Regards,
    Amrita

  • How can I access the Attribute Values from the Search Region

    Hi all,
    I have a table which contains Company id, department id, and PositonId. For a particular Company and Department there may be multiple records.
    I have to pupulate a table which contains the position and other details that comes under a particular Department and Position based on the selection in the Three comboBoxes.
    Also I have to populate a select many Shuttle to add new postions and records under a particular Department.
    I created a query panel *(Search Region)* for the serch and a table to display the data. That is working fine.
    Now the issue is I am using a view criteria to populate the shuttle with two bind variables ie, DepartmentId and CompanyId.
    If the serach will return a resuktant set in the table it will also pupulate the correct records, otherwise ie, if the if the serch result is empty the corresponding iterator and the attribute is setting as null.
    SO I want to access the attribute values from the Search Region itsef to populate the shuttle.
    I don't know how can I access the data from the Search Region.
    Please Help.
    Regards,
    Ranjith

    you could access the parameters entered in search region by the user as follows:
    You can get handle to the value entered by the user using queryListener method in af:query.
    You can intercept the values entered as described
    public void onQueryList(QueryEvent queryEvent) {
    // The generated QueryListener replaced by this method
    //#{bindings.ImplicitViewCriteriaQuery.processQuery}
    QueryDescriptor qdes = queryEvent.getDescriptor();
    //get the name of the QueryCriteria
    System.out.println("NAME "+qdes.getName());
    List<Criterion> searchList = qdes.getConjunctionCriterion().getCriterionList();
    for ( Criterion c : searchList) {
    if (c instanceof AttributeCriterion ) {
    AttributeCriterion a = (AttributeCriterion) c;
    a.getValues();
    for ( Object o : a.getValues()){
    System.out.println(o.toString());
    //call default Query Event
    invokeQueryEventMethodExpression("#{bindings.ImplicitViewCriteriaQuery.processQuery}",queryEvent);
    public void onQueryTable(QueryEvent queryEvent) {
    // The generated QueryListener replaced by this method
    //#{bindings.ImplicitViewCriteriaQuery.processQuery}
    QueryDescriptor qdes = queryEvent.getDescriptor();
    //get the name of the QueryCriteria
    System.out.println("NAME "+qdes.getName());
    invokeQueryEventMethodExpression("#{bindings.ImplicitViewCriteriaQuery.processQuery}",queryEvent);
    private void invokeQueryEventMethodExpression(String expression, QueryEvent queryEvent){
    FacesContext fctx = FacesContext.getCurrentInstance();
    ELContext elctx = fctx.getELContext();
    ExpressionFactory efactory = fctx.getApplication().getExpressionFactory();
    MethodExpression me = efactory.createMethodExpression(elctx,expression, Object.class, new Class[]{QueryEvent.class});
    me.invoke(elctx, new Object[]{queryEvent});
    Thanks,
    Navaneeth

  • Passing  null values to the attributes of a CAF operation

    Hi,
    In CAF I am trying to fetch data through Web Service. For this I need to pass null value for the attributes of the operation.If I set the value to null it gives me missing parameter as the error.
    Can anyone tell me how to pass null values to the attributes of a CAF operation?

    Hi Xavier,
    Declare the two variables of type if_wd_contex_node for e.g. lv_node and if_wd_context_element for e.g. lv_element. Now in the first one lets say lv_node get the refrence of dynamically created node like:
    lv_node = wd_context->get_child_node('<node name>').
    Then get the refrence of element like:
    lv_element = lv_node->get_element( ). (You can also pass index as parameter check the method API)
    then just set the value of attribute you want like:
    lv_element->set_attribute( exporting name = '<attribute name>' value = '<your value>').
    Regards,
    Neha

  • How can I pass a value to the command prompt?

    I was wondering how can I pass a value to the command prompt with Windows and Linux? I'm more interested in Linux's system than Windows though. Is there a way to return info from the command prompt?

    Here is a snippet from http://mindprod.com/jglossexec.html that explains how in detail.
    Runtime.getRuntime().exec("myprog.exe") will spawn an external process that runs in parallel with the Java execution. In Windows 95/98/ME/NT/2000/XP, you must use an explicit *.exe or *.com extension on the parameter. It is also best to fully qualify those names so that the system executable search path is irrelevant, and so you don't pick up some stray program off the path with the same name.
    To run a *.BAT, *.CMD, *.html *.BTM or URL you must invoke the command processor with these as a parameter. These extensions are not first class executables in Windows. They are input data for the command processor. You must also invoke the command processor when you want to use the < > | piping options, Here's how, presuming you are not interested in looking at the output:
    Runtime.getRuntime( ).exec ("command.com /E:1900 /C MyBat.bat" );
    Runtime.getRuntime( ).exec ("cmd.exe /E:1900 /C MyCmd.cmd" );
    Runtime.getRuntime( ).exec ("C:\\4DOS601\\4DOS.COM /E:1900 /C MyBtm.btm" );
    Runtime.getRuntime( ).exec ("D:\\4NT301\\4NT.EXE /E:1900 /C MyBtm.btm" );
    There are also overloaded forms of exec(),
    Runtime.getRuntime( ).exec ("command.com /E:1900 /C MyBat.bat", null);
    Runtime.getRuntime( ).exec ("command.com /E:1900 /C MyBat.bat", null, "C:\\SomeDirectory");
    The second argument can be a String [], and can be used to set environment variables. In the second case, "C:\\SomeDirectory" specifies a directory for the process to start in. If, for instance, your process saves files to disk, then this form allows you to specify which directory they will be saved in.
    Windows and NT will let you feed a URL string to the command processor and it will find a browser, launch the browser, and render the page, e.g.
    Runtime.getRuntime( ).exec ("command.com http://mindprod.com/projects.html" );
    Another lower level approach that does not require extension associations to be quite as well set up is:
    Runtime.getRuntime( ).exec ("rundll32 url.dll,FileProtocolHandler http://mindprod.com/projects.html" );
    Note that a URL is not the same thing as a file name. You can point your browser at a local file with something like this: file://localhost/E:/mindprod/jgloss.html or file:///E|/mindprod/jgloss.html.
    Composing just the right platform-specific command to launch browser and feed it a URL to display can be frustrating. You can use the BrowserLauncher package to do that for you.
    Note that
    rundll32.exe url.dll,FileProtocolHandler file:///E|/mindprod/jgloss.html
    won't work on the command line because | is reserved as the piping operator, though it will work as an exec parameter passed directly to the rundll32.exe executable.
    With explicit extensions and appropriately set up associations in Windows 95/98/ME/NT/2000/XP you can often bypass the command processor and invoke the file directly, even *.bat.
    Similarly, for Unix/Linux you must spawn the program that can process the script, e.g. bash. However, you can run scripts directly with exec if you do two things:
    Start the script with #!bash or whatever the interpreter's name is.
    Mark the script file itself with the executable attribute.
    Alternatively start the script interpreter, e.g.
    Runtime.getRuntime( ).exec (new String[]{"/bin/sh", "-c", "echo $SHELL"}";

  • How to put detail level data in the header of my report

    I have this XML from PIR05.rdf
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- Generated by Oracle Reports version 6.0.8.28.0 -->
    <PIR05>
    <LIST_G_ITEM_NO>
    <G_ITEM_NO>
    <PAGE_NO>0</PAGE_NO>
    <ITEM_NO>4242301</ITEM_NO>
    <ITEM_DESC1>13MM Aries Cell Assembly</ITEM_DESC1>
    <LOT_NO>562354</LOT_NO>
    <LOT_DESC>4242301</LOT_DESC>
    <SUBLOT_NO></SUBLOT_NO>
    <LOCATION>WOR RECV</LOCATION>
    <GRADE_CODE>NONE</GRADE_CODE>
    <ITEM_UM>Each</ITEM_UM>
    <ITEM_UM2></ITEM_UM2>
    <LINE_NO>603</LINE_NO>
    <COUNT_NO>603</COUNT_NO>
    <P_ITEMUM2LABEL> </P_ITEMUM2LABEL>
    <P_ITEMUM2DASH> </P_ITEMUM2DASH>
    <F_ITEMUM2>1</F_ITEMUM2>
    <P_CSITEMUM2_LABEL> </P_CSITEMUM2_LABEL>
    <P_CSITEMUM2_DASH> </P_CSITEMUM2_DASH>
    </G_ITEM_NO>
    </LIST_G_ITEM_NO>
    <WHSE_DESC>OPM INVENTORY ORG</WHSE_DESC>
    <CS_NODATA>617</CS_NODATA>
    <CYCLE_NO>000000014</CYCLE_NO>
    <WHSE_OUT>WOR</WHSE_OUT>
    <DATE_OUT>2010-11-23T16:12:13+00:00</DATE_OUT>
    </PIR05>
    I have a template where I have a header section and a lines section which breaks the page on the value of the LOCATION. I would like to put the value of the LOCATION in the HEADER of the report. How do I reference the current value of LOCATION, for example on page 30?
    The report looks like this:
    whse_out cycle_no
    location lot_no
    location lot_no
    New page
    whse_out cycle_no
    location lot_no
    location lot_no
    How can I get the value of LOCATION in my "HEADER" section and have it be the same value as the first location listed on the page?

    Hi,
    you need to create an automated section break, .. in your for loop, add @section to the syntax.. that will create a section break everytime the node enters a new location info.. in the header just put in the tag for the location, it will pick up the first location and display it there..
    -domnic
    p.s. if youre not able to do it, send me your template with a sample XML file, ill see what i can do.

  • How to assign a dynamic value to the value property of a button ?

    Hi Folks,
    I have a need, can i know how to assign a dynamic value to the value property of a button. Scenario is like follows...
    This is a struts based web application
    1. I have a file which consists of login user details (user name and his previlages) for a web application.
    2. I got those user details, into a List.
    3. When a user logged into the web app, in the home page there are few buttons. The type and number of buttons shown depends on the type of user/ user. (Buttons have different combination and the number of buttons available are not constant, they will vary from user to user).
    4. for each button, there will be a different action. I can pass the value of a button to an action class, but here button must have a dynamic value.
    Here is my test code:
    <%
    if (List != null)
    for (int i = 0; i <List.length; i++)
    %>
    <html:submit property="rduname" value= "<%=List%>" onclick="return submitRdu('<%=List[i] %>');"/>
    <%
    %>
    But my problem is how to assign a dynamic value to the value property of the button ( i know 'value= "<%=List[i]%>" ' will not work, just wanted show you guys).
    Thanks in advance,
    UV
    Edited by: UV_Dev on Oct 9, 2008 2:15 PM

    Let me try i know am not good at JSP but do we need double quotes here
    value= <%=List%>i think JSTL should help you about the dynamic thing                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Add new item in core menu of blog - SharePoint 2013

    Hello All I want to insert new item in core-menu of blog using visual studio just below to "Edit". I want to achieve this using visual studio, not by Javascript. please find below image which will provide you detail idea.

  • Re-Initialize ALV

    Hi I'm a newbie in the abap web dynpro world. I have a selection screen with a search button. When enter a value on the selection field and pressing the search button, data is retrieved and put in an alv list. Some of those fields are edible. When se

  • Address Leases not appeared in the scopes at DHCP Windows 2008 R2 ent

    Hi Friends, Recently couple of days ago we have migrated from DHCP Server ( Windows Server 2003 R2 32 ) to Windows Server 2008 R2 64 bit Virtual Machine. After migration, most of the scopes seem empty, no Address Leases appeared in the scopes even mo

  • CS3 - Spry Menu - Spans, CSS Differences in Browsers

    Hello, I'd greatly appreciate any help at all on these three issues from our website: www.r3mg.com -When I make this spry menu, I want the 4 different categories to be different colors. Thus, I've included a "span" inside the li and then another span

  • Submit both XML & PDF files

    Hello, I've created a simple form and I would like to use a button to submit both the XML and PDF files. Is there such an option ? or any workaround? currently the submit function allow to select XML or PDF but not both. Any idea will be appriciated.