In list statement

I have the following problem:
I have two different branches in my XML document. The two branches contains the same field (CATALOG_NBR). I want to make a statement so that if the field CATALOG_NBR of branch two not exist in branch 1 the field should be highlighted in red.
I have the following code:
<?choose:?><?when: CATALOG_NBR not in row_SAA_RPT_CRSU_VW?><?attribute@incontext:color;'red'?><?CATALOG_NBR?><?end when?><?end choose?>
has anyone got an idea what I'm doing wrong?

Thanks for the responses.
I ended up utilizing an ABAP routine:
IF lv_brand = '5004' OR
       lv_brand = '5089' OR
       lv_brand = '5097' OR
       lv_brand = '5119'
RESULT = 'S'.
ELSEIF ( lv_brand = '5001' OR
             lv_brand = '5010' OR
             lv_brand = '5052') OR
              ( lv_matnr = '6919' OR
             lv_matnr = '6939').
      RESULT = 'C'.
If you want to check if field is empty use IS INITIAL as statement
    ELSEIF lv_brand IS INITIAL.
      RESULT = 'N'.
    ELSE.
      RESULT = 'O'.
    ENDIF.

Similar Messages

  • Repeat Date Select list state

    How the Select list state can be repeated for the next row of the Tabular Form, when adding new rows.
    Yogesh

    Running 4.0.
    I have a region with a Select List Item and a non-classic Date Picker Item.
    The Select List requires a double-click to work. Not a single-click.
    1. Remove the non-classic Date Picker the Select List works as expected.
    2. Add a classic Date Picker the Select List works as expected.
    3. Combine a Select List Item with a non-classic Date Picker Item in 4.2 the Select List works as expected.
    It seems to be something to do with the non-classic. Maybe a Java confict?
    Is this a known issue? Is there a work-around?
    Select List. Non-classic Date Picker. Same region. It does not work. Requires double-click. Single click does not work.

  • Problem with Business Partner List - State

    I'm using SAP B1 2007A. We recently added several International countries and their regions (states). We are having a problem with the state that appears on the Business Partner List (list that appears when you search using part of a company name or *). The query that gets the data does not take into consideration the Country where the state is located. The result is that the query returns the first state it finds based on the state code not the state associated with the country.
    Is there a fix for this query or is there a way I can adjust the query to get the correct state results in the Business Partner List.
    Thanks,
    Mark

    No. Different state name but same state code.
    Ex:
    GA - Georgia in USA
    GA - Galapagos Islands in Galapagos Islands
    When searching for the Business Partner the city is Atlanta the Country is USA but the State is Galapagos Islands not Georgia.

  • BW Transformation formula using If in list statement

    Hi there, I am trying to create some logic with a transformation formula and nested if statements.  I believe that it does not like the IN context.  Can someone tell me how to properly state in list as part of below formula?
    IF( SUBSTRING( PRDHA, 9, 4 ) IN ( '5004', '5089', '5097', '5119', '5013', '5094', '5099', '5114', '5116', '5125', '5136', '5164', '5171', '5183' ), 'S','B')

    Thanks for the responses.
    I ended up utilizing an ABAP routine:
    IF lv_brand = '5004' OR
           lv_brand = '5089' OR
           lv_brand = '5097' OR
           lv_brand = '5119'
    RESULT = 'S'.
    ELSEIF ( lv_brand = '5001' OR
                 lv_brand = '5010' OR
                 lv_brand = '5052') OR
                  ( lv_matnr = '6919' OR
                 lv_matnr = '6939').
          RESULT = 'C'.
    If you want to check if field is empty use IS INITIAL as statement
        ELSEIF lv_brand IS INITIAL.
          RESULT = 'N'.
        ELSE.
          RESULT = 'O'.
        ENDIF.

  • Vm list State appears to be in "b" blocked/Notrunning Wh?

    xm list
    always shows State as "b" blocked/NotRunning ?
    Any ideas on how to get the state in 'r' Running ?

    "b" means that the domain is blocked, and not running or runnable. This can be caused because the domain is waiting on IO (a traditional wait state) or has gone to sleep because there was nothing else for it to do.
    one simplest example here: running this script on your VM guest and check your guest OS status "xm list" from Oracle VM server.
    #!/bin/bash
    while [ 1 ]
    do
    echo "I am in running status."
    done

  • Save Select List states and load it on reload

    Hi all,
    I have a form in which the user have to choose the values from 5 Select Lists connected with LOVs. If the user selects values in the first 3 lists, but in the fourth one the value which he/she looks for does not exist, the user clicks on a link "Other" opening a page where he/she can enter the value and this value is added to the corresponding LOV on close of the page. The problem is that on the main page the Select List is not updated. The page should be reloaded. And if the page is reloaded, all the values selected in the first three lists are gone and the user should select everything again.
    So the question is how to reload one select list keeping the selected values from the others?
    Thanks in advance.

    Hi Ivan,
    Have a look at: Re: ORA-20507: Invalid numeric value This allows you to create new records for a select list without leaving the page.
    Andy

  • Nexus: multiple ip distribute-list eigrp statements allowed ?

    Hi,
    I need to clarify if Nexus 7K (NX-Os 6.1(3) ) supports multiple "ip distribute-list eigrp" statements in interface configuration.
    Currently, there is already one statement to only allow default GW (0.0.0.0) routing information be sent.
    I need to allow a few more specific routes to be shared with the facing device.
    Can i have several distribute-list statements on the same interface ?
    Or it it mandatory to handle this at the ip prefix-list level with multiple allow/deny rules.
    I'm in a situation where i want to ammend the configuration without modifying existing objects or have to removed those who turned unused.
    According to Cisco general EIGRP documentation, multiple seems to be accepted.
    However, GNS3 simulator with a 7200VXR show that the new statement replaces the former one !
    Moreover, Nexus logic is often different and i didn't capture any clear statement for this in Nexus specific documentation.
    Needless to says that I have no test plateforme and no possibility to test that for the moment.
    If someone can confirm it's supported, i would appreciate.
    Thx

    Hi,
    I don't have a setup where I can try to see if this actually has the effect you're after, but you can certainly apply more than one distribute-list to an interface.
    N7K-2(config-if)# ip distribute-list eigrp DIST_LIST route-map FRED outN7K-2(config-if)# ip distribute-list eigrp DIST_LIST1 route-map FRED1 outN7K-2(config-if)# ip distribute-list eigrp DIST_LIST2 route-map FRED2 outN7K-2(config-if)# sh run int eth3/1!Command: show running-config interface Ethernet3/1!Time: Mon Feb  3 23:04:01 2014 version 5.2(1)interface Ethernet3/1  ip address 1.1.1.1/24  ip distribute-list eigrp DIST_LIST route-map FRED out  ip distribute-list eigrp DIST_LIST1 route-map FRED1 out  ip distribute-list eigrp DIST_LIST2 route-map FRED2 out  no shutdown N7K-2(config-if)#
    Regards

  • How to pass a list of parameters to a query?

    Hi,
    I use OracleXE 10 Database with JDeveloper 11g.
    In my project I use a Toplink mapping to get access to the database (Toplink Object Map file). This mapping xml file is called crmMap.xml.
    In the crmMap.xml file I define a mapping to a "User table" which has the four columns id (number), title (varchar2), firstName (varchar2) and lastName (varchar2). A title can have the four values Bachelor, Master, Doctor and Professor.
    I do define a query in crmMap.xml which has to find all the users that have a special title. I do give the query one parameter called "title" which has the type "java.util.ArrayList". The parameter "title" is a list that has for example the two values "Bachelor" and "Doctor", if I want to find all the users that are Bachelor or Doctor. The query looks like this ...
    Select * from User where title in(?title)I do use an EJB Session Bean to call the query. The code looks like this ...
    public List<User> findUserByStatus() {
        Session session = getSessionFactory().acquireSession();
        Vector params = new Vector(1);
        List stati = new ArrayList();
        stati.add("Doctor");
        stati.add("Bachelor");
        params.add(stati);
        List<User> result = (List<User>)session.executeQuery("findUserByStatus", User.class, params);
        session.release();
        return result;
    }Doing this I get an error, in the line
    List<User> result = (List<User>)session.executeQuery("findUserByStatus", User.class, params);while the app is trying to execute the query.
    Part of my log
    WARNING: ADFc: Invalid column type
    java.sql.SQLException: Invalid column type
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7931)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7511)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8168)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8149)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:229)
         at oracle.toplink.internal.databaseaccess.DatabasePlatform.setPrimitiveParameterValue(DatabasePlatform.java:1694)
         at oracle.toplink.internal.databaseaccess.DatabasePlatform.setParameterValueInDatabaseCall(DatabasePlatform.java:1684)
         at oracle.toplink.platform.database.oracle.Oracle9Platform.setParameterValueInDatabaseCall(Oracle9Platform.java:339)
         at oracle.toplink.internal.databaseaccess.DatabasePlatform.setParameterValuesInDatabaseCall(DatabasePlatform.java:1669)
         at oracle.toplink.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:649)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:517)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:467)
         at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:447)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:179)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:250)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:583)
         at oracle.toplink.queryframework.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:467)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:874)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:674)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:835)
         at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:445)
         at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2260)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1074)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1058)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1032)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:945)
         at de.virtual7.crmTL.model.crmFacadeBean.findUserByStatus(crmFacadeBean.java:720)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:15)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:30)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
         at $Proxy90.findUserByStatus(Unknown Source)
         at de.virtual7.crmTL.model.crmFacade_etlagg_crmFacadeLocalImpl.findUserByStatus(crmFacade_etlagg_crmFacadeLocalImpl.java:838)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:563)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2119)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:2929)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:396)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:258)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1441)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2126)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:414)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:311)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:697)
         at oracle.adf.model.binding.DCInvokeAction.refreshInternal(DCInvokeAction.java:46)
         at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:32)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2970)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2639)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:110)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:77)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:135)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:19)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:229)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:265)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:69)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:51)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:85)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:257)
         at oracle.security.jps.wls.JpsWlsSubjectResolver.runJaasMode(JpsWlsSubjectResolver.java:250)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:100)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    07.09.2009 11:50:16 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNUNG: ADFc: EJB Exception: : Lokaler Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink - 11g (11.1.1.0.1) (Build 081030)): oracle.toplink.exceptions.DatabaseException
    Interne Exception: java.sql.SQLException: Ungültiger Spaltentyp
    Fehlercode:17004
    Aufruf:Select * from User where title in(?title)
         bind => [[Doctor,Bachelor]]Does anyone know a way how to pass a list of parameters
    Thanks Bodhy

    Hi,
    One alternative way is to create String with , sepearted as pass the string to in clause.For example ,create a string ('Bachelor','Doctor') and pass this string to in clause.
    Session session = getSessionFactory().acquireSession();
    String params=( 'Bachelor','Doctor);
    List<User> result = (List<User>)session.executeQuery("findUserByStatus", User.class, params);
    session.release();
    This is an alternative way and workaround which can work for Strings .
    Or you can use EXpression to build the query to pass the collection as example given below.
    Expression addressExpression;
    ReadObjectQuery query = new ReadObjectQuery(Employee.class);
    ExpressionBuilder emp = query.getExpressionBuilder();
    addressExpression =
    emp.get("address").get("city").equal(
    emp.getParameter("employee").get("address").get("city"));
    query.setName("findByCity");
    query.setSelectionCriteria(addressExpression);
    query.addArgument("employee");
    Vector v = new Vector();
    v.addElement(employee);
    Employee e = (Employee) session.executeQuery(query, v);
    Hope this helps.
    Regards,
    Vinay Kumar

  • TCS2/RH 8 HTML PDF List Indent Problems

    Hi,
    We are in the process of converting a; number of projects from RH X5 HTML to RH 8 HTML (installed as p/o TCS2). We use Windows XP and Word 2002. Things have gone 'reasonably' well, but we are having problems getting to the desired point with PDFs.
    With RHX5, we use custom CSSs and a custom *.dot file. It works exactly as expected, controlling indents, bullets, and numbers properly.
    For theRH8 conversion, we modified the CSSs, using 4 RH 8 multilevel lists to define a number list and 3 levels of bullet lists. The CSS styles are mapped to the equivalent styles in the original *.dot file, which we did not modify at all. The CSSs and *.dot are stored at the root level of the project directory.
    When we generate PDFs:
    We receive a number of error messages saying that Word cannot save normal.dot b/c it is open somewhere else.
    Bullet lists are not indented, all levels of bullet lists are aligned to the left margin.
    In the generated Word document, the bulleted list items are in the Normal paragraph style, but bullets are included. They should be in ListBullet1, etc. It appears they were changed to Normal and inline formatting was applied.
    In the Word file, under Tools -> Templates and Add-ins, under Document template, our *.dot, with the expected path, is listed as the template. Under Global templates and add-ins, PDFMCustom.dot is listed. We don't know where that came from, and if we delete it it comes right back when we generate.
    Do you have any ideas about why the CSS + *.dot method is not working as expected?
    We have the same problem using other configurations for PDF outputs, such as using project styles, and using the RH style mapping dot file.
    Thanks,
    Mike

    Peter,
    Thanks for your response. I did some additional research and testing, and I don't see an answer to the issue that doesn't involve inline formatting. I didn't test that, because inline formatting is not acceptable to our team - we need the consistency of defined styles.
    There is a terminology error in my original post:
    "For theRH8 conversion, we modified the CSSs, using 4 RH 8 multilevel lists to define a number list and 3 levels of bullet lists. "
    We are not using multilevel lists, we are using paragraph styles with bullet or number formatting included.
    The print wizard seems to allow mapping the paragraph-based list styles:
    However, in the Word doc that is generated as part of the PDF process, the associated paragraphs are styled 'Normal" instead of the the selected list styles.
    Below is a CSS snippet of two list styles and their associated rh-list statements.
    Thanks for any suggestions.
    Mike
    p.ListBullet {
    font-size: small;
    list-style: rh-list;
    x-list-class: rl-P-ListBullet;
    /* x-list-level: 1; */
    font-family: Arial;
    text-indent: -25pt;
    margin-left: 30pt;
    background-color: Transparent;
    P.ListBullet2 {
    font-size: small;
    text-indent: -12pt;
    margin-left: 48pt;
    font-family: Arial;
    list-style: rh-list;
    x-list-class: rl-P-ListBullet2;
    x-list-level: 1;
    rh-list.rl-P-ListBullet {
    x-level-count: 1;
    x-lvl-1-format: "<x>";
    x-lvl-1-type: disc;
    rh-list.rl-P-ListBullet2 {
    x-level-count: 1;
    x-lvl-1-format: "<x>.";
    x-lvl-1-type: square;

  • Screen list problem

    If I write a report on a screen A, then we click a button to call a pop-up screen B, finally we return to the screen A, we rewrite the report on screen A. Now the problem is that the page goes back to the top of page instead of staying on the current line item. Does anyone have any idea to let the program to retain the current line?
    I tried to use the following statement, but it seems that it doesn't work.
    SCROLL LIST TO PAGE 1 LINE 44.
    SET CURSOR LINE 47.
    Test program for referring:
    REPORT zdemo_list_set_cursor_3 LINE-SIZE 30 NO STANDARD PAGE HEADING.
    DATA: inp(2) TYPE c, top(2) TYPE c, l_ans ,lin TYPE i.
    CALL SCREEN 100.
    TOP-OF-PAGE.
      PERFORM frm_header.
    TOP-OF-PAGE DURING LINE-SELECTION.
      PERFORM frm_header.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'LINE'.
          CALL FUNCTION 'POPUP_TO_CONFIRM'
            EXPORTING
              text_question  = 'SURE?'
              text_button_1  = 'YES'
              text_button_2  = 'NO'
              start_column   = 25
              start_row      = 6
            IMPORTING
              answer         = l_ans
            EXCEPTIONS
              text_not_found = 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.
          PERFORM frm_write_text.
        WHEN OTHERS .
          SET SCREEN 0.
          LEAVE LIST-PROCESSING.
      ENDCASE.
    *&      Form  FRM_WRITE_TEXT
          text
    FORM frm_write_text .
      DO 50 TIMES.
        WRITE: / 'Line ', (2) sy-index.
      ENDDO.
    ENDFORM.                    " FRM_WRITE_TEXT
    *&      Module  LIST_0200  OUTPUT
          text
    MODULE list_0200 OUTPUT.
      LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
      SET PF-STATUS 'LINE_NUMBER'.
      PERFORM frm_write_text.
      LEAVE SCREEN.
    ENDMODULE.                 " LIST_0200  OUTPUT
    *&      Module  EXIT_0100  INPUT
          text
    MODULE exit_0100 INPUT.
      SET SCREEN 0.
      LEAVE SCREEN.
    ENDMODULE.                 " EXIT_0100  INPUT
    *&      Form  FRM_HEADER
          text
    FORM frm_header .
      WRITE: 'TOP-OF-PAGE'.
      ULINE.
      SKIP.
    ENDFORM.                    " FRM_HEADER

    Hi Guys,
    Any Idea, May be if you have faced this type of problem,
    I have module pool program, and there is no code for top-of-page in my module pool, and all PBO,PAI modules. But still it is getting header when first LIST statement is executed, like in my case is SKIP.
    Here is my code if it helps to you finding a problem solution.
    MODULE PROGRAM ZABC.
    INCLUDE ZINC1. " global Data
    INCLUDE ZINC2.  " modules
    INCLUDE ZINC3. " forms
    *in one of the routine I am retrieving data and displaying as list output.
    FORm DISPLAY_OUTPUT.
      LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 10.
      PERFORM DISPLAY-LIST_PROCESS.
    ENDFORM.
    FORM DISPLAY-LIST_PROCESS.
      SET PF-STATUS 'LIST'.
      SET TITLEBAR 'LIST' WITH HEADER_DATE HEADER_TIME.
      NEW-PAGE LINE-SIZE 80.
      LOOP AT IDATA.
        SKIP. " When this syntax is executing it has header with material,batch . I added plant as new req. but *               how to add in header that is my question,I coudlnt find any top-of-page in this program.
        AT NEW IDATA-MATNR.
          WRITE: 5(24) IDATA-MATNR.
        ENDAT.
        WRITE: 32(4) IDATA-WERKS.
        WRITE: 39(5) ICROSS-BATCH.
      ENDLOOP.
    ENDFORM.
    So in module program where we are defining header syntax.
    It looks simple but I tried all ways like searching text TOP-of-PAGE in main program, also used RS_ABAP_SCAN_PROGRAM to scan TOP-OF-pAGE in relevant Z program but no-luck.
    Any Idea where I can find TOP-OF-PAGE syntax.
    Pls. Help me.
    Thanks
    PP

  • Regarding select Statement in Partition

    Hi Friend,
    I have one doubt about Partition.
    CREATE TABLE list_part (
    deptno NUMBER(10),
    deptname VARCHAR2(20),
    quarterly_sales NUMBER(10,2),
    state VARCHAR2(2))
    PARTITION BY LIST (state) (
    PARTITION q1_northwest VALUES ('OR', 'WA') TABLESPACE part1,
    PARTITION q1_southwest VALUES ('AZ', 'CA', 'NM') TABLESPACE part2,
    PARTITION q1_northeast VALUES ('NY', 'VT', 'NJ') TABLESPACE part1,
    PARTITION q1_southeast VALUES ('FL', 'GA') TABLESPACE part2,
    PARTITION q1_northcent VALUES ('MN', 'WI') TABLESPACE part1,
    PARTITION q1_southcent VALUES ('OK', 'TX') TABLESPACE part2);
    I would create one table like in above example
    My doubt is how can i Select the data in particular tablespace For Example i'm selecting tablespace part1
    Give some example.
    Regards,
    Suresh Kumar

    You can only select from tables (or views).
    Tables are the logical representation of your data.
    Tablespaces are the physical storage of your data.
    When you select you don't care where the bits and bytes are coming from.
    You can of course match your select with a certain table partition.

  • Udf in dml statements

    can we select udf which contains dml statements?

    1007109 wrote:
    can we select udf which contains dml statements?
    Excellent question! And one that illustrates just how careful you have to be when you ASK questions or provide answers.
    As with many things Oracle the correct answer is: it depends.
    Yes - you can. And no - you can't. And also, yes - you can!
    ANY one of those answers is correct, depending on what assumptions the questioner is making and/or what assumptions that you, the answerer are making.
    Sometimes a interviewer will ask this old 'trick' question and then get mad at you if you don't give them the answer that they want even if you give them an answer that is CORRECT and even if you explain WHY your answer is correct.
    Some questioners are looking for the answer that Frank gave:
    >
    A function that performs DML (or that calls another sub-program that performs DML) can NOT be used in a SQL statement, such as SELECT.
    >
    If you just read the 'restrictions' section in the Advanced App Developer's guide you might come up with the answer that Frank gave.
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25518/adfns_packages.htm#i1008107
    >
    Restrictions
    When a new SQL statement is run, checks are made to see if it is logically embedded within the execution of a running SQL statement. This occurs if the statement is run from a trigger or from a subprogram that was in turn invoked from the running SQL statement. In these cases, further checks determine if the new SQL statement is safe in the specific context.
    These restrictions are enforced on subprograms:
      A subprogram invoked from a query (SELECT statement) or DML statement cannot end the current transaction, create or rollback to a savepoint, or ALTER the system or session.
      A subprogram invoked from a query or parallelized DML statement cannot run a DML statement or otherwise modify the database.
      A subprogram invoked from a DML statement cannot read or modify the particular table being modified by that DML statement.
    >
    But then if you read the very next sentence in that doc you will see this:
    >
    You can avoid these restrictions if the execution of the new SQL statement is not logically embedded in the context of the running statement. PL/SQL autonomous transactions provide one escape (see "Autonomous Transactions" ).
    >
    And finally if the term DML includes the SELECT statement and the SQL Language doc DOES use it that way
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_1001.htm#i2099257
    >
    The SELECT statement is a limited form of DML statement in that it can only access data in the database. It cannot manipulate data stored in the database, although it can manipulate the accessed data before returning the results of the query.
    >
    That doc also lists statements other than the traditional SELECT, INSERT, UPDATE or DELETE
    >
    Data Manipulation Language (DML) Statements
    Data manipulation language (DML) statements access and manipulate data in existing schema objects. These statements do not implicitly commit the current transaction. The data manipulation language statements are:
    CALL
    DELETE
    EXPLAIN PLAN
    INSERT
    LOCK TABLE
    MERGE
    SELECT
    UPDATE
    >
    So the CORRECT answer is:
    1. No, Frank's answer, if by DML you are only considering INSERT, UPDATE or DELETE statements and you do NOT use the AUTONOMOUS_TRANSACTION pragma.
    2. Yes - if DML includes SELECT (LOCK TABLE also works) - you don't need the pragma. A common use of functions is in LOOKUP operations. These functions can be, but should NOT be, called from a sql statement.
    3. Yes - if the AUTONOMOUS_TRANSACTION pragma is used. This is NOT recommended.
    Try some of the following code examples
    >
    create or replace function get_dname(p_deptno IN number) return varchar2 is
    v_dname dept.dname%type;
    begin
      select dname into v_dname from dept where deptno = p_deptno;
      return v_dname;
    end;
    select empno, ename, deptno, get_dname(deptno) from emp e
    where rownum < 4
    EMPNO,ENAME,DEPTNO,GET_DNAME(DEPTNO)
    7369,SMITH,20,RESEARCH*
    7499,ALLEN,30,SALES**
    7521,WARD,30,SALES**
    create or replace function get_dname1(p_deptno IN number) return varchar2 is
    v_dname dept.dname%type;
    begin
      update dept set dname = dname || '*' where deptno = p_deptno;
      select dname into v_dname from dept where deptno = p_deptno;
      return v_dname;
    end;
    select empno, ename, deptno, get_dname1(deptno) from emp e
    where rownum < 4
    ORA-14551: cannot perform a DML operation inside a query
    ORA-06512: at "SCOTT.GET_DNAME1", line 4
    create or replace function get_dname2(p_deptno IN number) return varchar2 is
    PRAGMA AUTONOMOUS_TRANSACTION;
    v_dname dept.dname%type;
    begin
      update dept set dname = dname || '*' where deptno = p_deptno;
      commit;
      select dname into v_dname from dept where deptno = p_deptno;
      return v_dname;
    end;
    select empno, ename, deptno, get_dname2(deptno) from emp e
    where rownum < 4
    EMPNO,ENAME,DEPTNO,GET_DNAME2(DEPTNO)
    7369,SMITH,20,RESEARCH**
    7499,ALLEN,30,SALES***
    7521,WARD,30,SALES****
    create or replace function get_dname3(p_deptno IN number) return varchar2 is
    v_dname dept.dname%type;
    begin
      lock table emp_copy in share mode;
      select dname into v_dname from dept where deptno = p_deptno;
      return v_dname;
    end;
    select empno, ename, deptno, get_dname3(deptno) from emp e
    where rownum < 4
    EMPNO,ENAME,DEPTNO,GET_DNAME2(DEPTNO)
    7369,SMITH,20,RESEARCH**
    7499,ALLEN,30,SALES***
    7521,WARD,30,SALES****
    >

  • How do I build a dynamic property list?

    It has been a long time and all my old Authorware stuff is in the shed somewhere. I want to dynamically build a property list statement in Authorware 7
    I figured it was something like property_list[1]["#"^variable_text]
    but this doesn't seem to be working so I just wanted to check I was using the correct syntax?

    Found some old code.
    I think you need to do
    property_text = "#"^variable_text
    then you can do the following
    property_list[1][property_text]
    That seemed to work.

  • List Partition

    I am creating list partition table using the following script
    Create table emp(empname varchar2(25), empno number,state varchar2(25)
    partition by list(state)
    (partition p1 value('Kar'),
    partition p2 value('Tamilnadu'));
    Now i want to fetch kar data only how i can write select query
    Pls anyone help me
    Thanks in advance

    I am creating the below partition table
    CREATE TABLE NOTFN
    NOTFN_ID INTEGER NOT NULL,
    VALDTN_TYPE VARCHAR2(50),
    VALDTN_TITLE VARCHAR2(255),
    VALDTN_DESC VARCHAR2(4000),
    NOTIFCATION_TM DATE,
    STATUS CHAR(1),
    GMID CHAR(6) NOT NULL,
    ARCHIVED CHAR(1) NOT NULL
    PARTITION BY LIST (ARCHIVED)
    PARTITION NOTFN_ARCHIVED VALUES ('y')
    LOGGING,
    PARTITION NOTFN_NOTARCHIVED VALUES ('N')
    LOGGING
    NOCACHE
    NOPARALLEL
    MONITORING;
    and i am inserting two rows
    INSERT INTO NOTFN ( NOTFN_ID, VALDTN_TYPE, VALDTN_TITLE, VALDTN_DESC, NOTIFCATION_TM, STATUS,GMID, ARCHIVED )
    VALUES ( 1, 'current', 'notifications', 'its good', TO_Date( '01/20/0001 07:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') , '1', '15 ', 'y');
    INSERT INTO NOTFN ( NOTFN_ID, VALDTN_TYPE, VALDTN_TITLE, VALDTN_DESC, NOTIFCATION_TM, STATUS, GMID, ARCHIVED )
    VALUES ( 2, 'archive', 'task', 'scen', TO_Date( '01/07/0010 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') , '2', '15 ', 'N');
    Now i want to update one row like
    update notfn set archived='Y' where notfn_id=2 and gmid='15'
    then i got the following error
    ORA-14402: updating partition key column would cause a partition change
    how i can update ? pls help me
    Thanks in advance

  • Problem in screen list output

    HI Friends,
    I am modifying one of the module program, where I have internal table with 3 fields and now as per requirement I added fourth field. At output it is showing data for all four fields but in header it is showing 3 fields only.
    I tried to find out where this header is coming, so that I can change there and add fourth column, but there is no syntax like top-of-page, or any write statement in program.
    Any idea how to find where this header data is coming.
    Thanks
    Priyank

    Hi Guys,
    Any Idea, May be if you have faced this type of problem,
    I have module pool program, and there is no code for top-of-page in my module pool, and all PBO,PAI modules. But still it is getting header when first LIST statement is executed, like in my case is SKIP.
    Here is my code if it helps to you finding a problem solution.
    MODULE PROGRAM ZABC.
    INCLUDE ZINC1. " global Data
    INCLUDE ZINC2.  " modules
    INCLUDE ZINC3. " forms
    *in one of the routine I am retrieving data and displaying as list output.
    FORm DISPLAY_OUTPUT.
      LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 10.
      PERFORM DISPLAY-LIST_PROCESS.
    ENDFORM.
    FORM DISPLAY-LIST_PROCESS.
      SET PF-STATUS 'LIST'.
      SET TITLEBAR 'LIST' WITH HEADER_DATE HEADER_TIME.
      NEW-PAGE LINE-SIZE 80.
      LOOP AT IDATA.
        SKIP. " When this syntax is executing it has header with material,batch . I added plant as new req. but *               how to add in header that is my question,I coudlnt find any top-of-page in this program.
        AT NEW IDATA-MATNR.
          WRITE: 5(24) IDATA-MATNR.
        ENDAT.
        WRITE: 32(4) IDATA-WERKS.
        WRITE: 39(5) ICROSS-BATCH.
      ENDLOOP.
    ENDFORM.
    So in module program where we are defining header syntax.
    It looks simple but I tried all ways like searching text TOP-of-PAGE in main program, also used RS_ABAP_SCAN_PROGRAM to scan TOP-OF-pAGE in relevant Z program but no-luck.
    Any Idea where I can find TOP-OF-PAGE syntax.
    Pls. Help me.
    Thanks
    PP

Maybe you are looking for

  • DVI on one monitor

    Hello, is it possible to connect my MSI Geforce4 Ti4600 card with DVI out and my Philips (with DVI in) without the 'old' analoge 15pins cable ? When I try this, my monitor says 'no signal input'? thanks.

  • Is it possible to throw an exception in a constructor?

    I have a constructor that calls its super contructor, but I want to check its variable before passing a variable to the super contructor. Something like: public FlatPanelTV(int inches) super(inches); How can I check "inches" before passing it to the

  • Your submission could not be processed because the token has expired. Please reload the window.

    Your submission could not be processed because the token has expired. Please reload the window. This is an error that is very common on message boards, and only seems to happen fore firefox...people on chrome, IE, etc don't seem to get it. This error

  • Which method specify size of the director?

    I want to specify size of the director. which method need to use?

  • Syncing itouch to new computer?

    Hi Guys, I moved jobs in a rush and never transfered or put my itunes library onto a hard drive. I have all my music on my i touch but have no idea how to set this up on my new laptop. Cheers Aoife82 (Eva)