No mapping property with name sap.bc.bmt.wfm.xi.interface.synch
Hi All,
I configured Sync/Async BPM scenario, but message is failing at "Call Adapteru201D while calling BPM.
Below is the PI trace :
<Trace level="1" type="B" name="SA_COMM">
<Trace level="1" type="T">Start Sync/Async Communication</Trace>
<Trace level="1" type="Timestamp">2009-11-10T17:57:36Z CET Starting Processing</Trace>
<Trace level="1" type="T">Pipeline Timeout: 10.11.2009 18:58:37 CET</Trace>
<Trace level="3" type="T">Calling BPE Adapter</Trace>
- <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
<Trace level="3" type="T">Processing mode is</Trace>
<Trace level="1" type="T">No mapping property with name sap.bc.bmt.wfm.xi.interface.synch.http://***/OrdereateRequestConfirmation_Out</Trace>
<Trace level="1" type="T">OrdereateRequestConfirmation_Out really used in process?</Trace>
</Trace>
And the error message that I am getting is :
<SAP:AdditionalText />
<SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages An exception has occurred.</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
BPM start receive step has below properties:
Mode :Sync/async Bridge
Synchronous Interface: Synchronous interface of abstract type.
Message: Asynchronous abstract message, which had the same request message as out bound synchronous interface.
Additionally I checked BPM cache , which is fine with out error.
Please suggest.
Regards,
Venkat Tirumalasetti
Goutam,
MI_RecipeDownload_Abstract is my first recv step in BPM
It is also the recv interface for RFC sneder
>> for rec interface for RFC sender it should be with out abstract. only steps inside BPM must be abstract.
Regards
Sreeram.G.Reddy
Similar Messages
-
No mapping property with name - BPM error
Hi all ,
In our BPM scenario we are getting this error .. "No mapping property with name"
when the message passed from Sender system to BPM
RFC - BPM - File
<Trace level="1" type="T">No mapping property with name sap.bc.bmt.wfm.xi.interface.synch.http://test.com/tp/pcs:MI_RecipeDownload_Abstract</Trace>
<Trace level="1" type="T">MI_RecipeDownload_Abstract really used in process?</Trace>
Few points: MI_RecipeDownload_Abstract is my first recv step in BPM
It is also the recv interface for RFC sneder - BPM
Any clue will be very helpful...
Kind regards
GoutamGoutam,
MI_RecipeDownload_Abstract is my first recv step in BPM
It is also the recv interface for RFC sneder
>> for rec interface for RFC sender it should be with out abstract. only steps inside BPM must be abstract.
Regards
Sreeram.G.Reddy -
How can I use propertiers in workflow-task like "sap.bc.bmt.wfm.groups"
Hello Friends,
i'm hoping you can help me with this question:
- How can I use the properties in the task definition of a workflow?
- And what can i do with it?
At http://help.sap.com is a very low level documentation.
Best regards,
ChristianAnswered myself.
Thanks
Christian -
Confusion with name SAP NetWeaver '04
Hello,
I have some confusion with below document.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/778ac2ee-0901-0010-61a9-a2e174996bd7?QuickLink=index&overridelayout=true
The title for this document is :
How Tou2026 Migrate from SAP Enterprise Portal 6.0 SP2 to SAP NetWeaver '04
Now as far as I know....Netweaver 04 is referred for EP6.0...
So the way i read this document title is :
How Tou2026 Migrate from SAP Enterprise Portal 6.0 SP2 to EP 6.0
Can anybody explain me this confusion (how does this document talks about migrating EP6 to EP6).Saurabh,
Also is SR1 on NetWeaver and SP2 on non-Netweaver environment.
Is this the basic difference.
Apparently, it looks like that. You might want to refer to the SAP Notes or documentation on help.sap.com
Cheers!
Sandeep Tudumu -
How can I map the composite_dn name with a composite in run time
Hi All,
I want to craete a report on number of total business and system faults with the help of Information Publisher in OEM 12c Cloud Control. I am fetching data from the table composite_instance_fault present in SOAINFRA schema. Below os my SQL statement:-
select error_category,count(error_category) from prefix_SOAINFRA.composite_instance_fault where composite_dn=??EMIP_BIND_TARGET_GUID?? group by error_category
Now I want to know that how can I map the composite_dn name with a composite in run time. When we fetch data from the repository we used to map target in rumtime by using ??EMIP_BIND_TARGET_GUID?? but here as I am not fetching data from repository, how can I map target in run time.
On executing the above SQL statement its returing an empty table without any data.
Please guide!!
Thanks in Advance!!Hi,
try something like this.
Mike
Attachments:
Unbenannt 5_LV80.vi 12 KB -
API040 Mapping with name table1 already exists
Hi,
In a OWB 10.2.0.1 I did a "create and bind" and got a message "API0408: Mapping with name table_1 already exists", even though it does not. I deleted the mapping and started over again and go the same message. I veified the table does not exist.
Any help is appreciated!You did create and bind on table in mapping and got this message.
All I get is API0408: Table object with name table1 already exists. witch makes sense if table exists, but you got message that mapping already exists.
Can you try this again with another table name, and please check if you are looking for the table that you get error for, in the right scheme.
thanks -
There is no property with the name 'ROW1'
When deploying my VC model, I get the error message:
Error in compiling Flex application: Error 1103: There is no property with the name 'ROW1'
Anyone know what could cause this?Hi
When you get this error message, then please go to 'Design Story Board' of VC & then click on this error message. It will show you the exact error location where the error is. Can you please tell some details of that part the vc model.
Regards
Sandeep -
WLST and reading a property with a "." in the name...
I am trying to share a properties file between two processes.
The file has entries in it similar to the following:
domain.name=myDomainName
in my wlst script, when I try to read this property and assign its value to a variable in my script, it chokes because of the period. Is there an easy way to escape the period, or something in my script, so wlst can read this kind of property?Thanks Mark,
I saw a similar example in another script, but for some reason it is not working in mine, and I'm not sure why....
So... I went ahead and created a test script:
from java.io import FileInputStream
from java.util import Properties
from java.io import File
import DspCommonCommands as dsp
def loadPropertiesFromFile(configPropFile):
configProps = Properties()
propInputStream = FileInputStream(configPropFile)
configProps.load(propInputStream)
propInputStream.close()
return configProps
importConfigFile = sys.argv[1]
print importConfigFile
domainProps = loadPropertiesFromFile(importConfigFile)
try:
keySet = domainProps.keySet();
for key in keySet:
print 'Key = Value '
print 'domain.name =' + domainProps
exit()
except:
dumpStack()
print '********************************************'
print '* E R R O R O C C U R R E D *'
print '********************************************'
print ''
raise
when I run it by calling wlst.sh and passing the script name (mytest.py) and the property file name (import.prop) I get the following (after my classpath is displayed):
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
import.prop
Key = Value
* E R R O R O C C U R R E D *
Problem invoking WLST - Traceback (innermost last):
File "/wls_domains/scripts/bea_scripts/v10gR3/aldsp/mytest.py", line 25, in ?
TypeError: __add__ nor __radd__ defined for these operands
----- -
SFTP sender to File receiver mapping of file names
My scenario is: sender channel = SFTP (Seeburger) transferring multiple PDF files to Receiver adapter File (NFS).
These PDF files need to have the same name as the original files from the sender (3rd party) system.
Because these files are being processed without an interface, I can't use UDF to help map the file names.
I've tried using Seeburger's localejbs/Seeburger/AttribMapper to map the names, as follows:
File (NFS) receiver channel config:
- ASMA boxes for 'Use Adapter-Specific Message Attributes' and 'File Name' are ticked
- Module localejbs/Seeburger/AttribMapper is on the first line in the module tab under processing sequence, with module key = AttributeMapper
- Under Module Configuration:
- Module Key = AttributeMapper
- Parameter Name = http://sap.com/xi/XI/System/File/FileName
- Parameter Value = @http://seeburger.com/xi/SFTP/dtSubject
(I haven't entered any attribute module config on the sender side)
This setup fails on the receiver side with the message 'Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.RetryControlException: Channel stopped by administrative task.' (not very helpful!). All I can get from that is that it doesn't like my module configuration!
Can anyone help me understand the correct way to do the file name mapping for my specific scenario?
Regards,
ChristineWe've got this working at last!
The main problem was indeed the missing .sca file from Seeburger: SeeModuleCollectionPI.sca
Our Basis team deployed this file this morning. After a bit of fiddling around with the attribute mapping, my test files were transferred successfully with their original names.
The config I ended up with is just as described in another forum post for SFTP to FTP, but I'll repeat it in more detail here:
Sender channel
Parameters tab:
Adapter Type = SFTP (Seeburger)
(sender, transport & message protocol = SFTP)
Scheduler = x in all appropriate days, with interval = 1 (minimum allowed)
(rest here is specific to your environment, but I set filename to *.pdf to get all .pdf files from the sender)
Module tab
Processing Sequence
Number Module Name Type Module Key
1 localejbs/Seeburger/AttribMapper Local Enterprise Bean AttribMapper
2 localejbs/Seeburger/solution/sftp Local Enterprise Bean solutionid
3 localejbs/CallSapAdapter Local Enterprise Bean exit
Module Configuration
Module Key Parameter Name Parameter Value
AttribMapper http://sap.com/xi/XI/System/File/FileName @http://seeburger.com/xi/common/dtSubject
Receiver Channel
Parameters tab:
Adapter type = File
(receiver, with transport protocol File System (NFS), etc)
Target tab:
Target directory (set to your required PI server directory)
File Name Schema = * (can be anything, will be ignored)
Processing tab:
(your requirements-specific settings - mine were create, write directly, file type binary)
Advanced tab:
Under Adapter-Specific Message Attributes (ASMA):
tick the following:
Use Adapter-Specific Message Attributes
Fail If Adapter-Specific Message Attributes Missing
File Name
Modules tab:
Processing Sequence
Number Module Name Type Module Key
1 CallSapAdapter Local Enterprise Bean 0
(nothing under Module Configuration)
Thanks to those who kindly took the time to try and help me, your suggestions pointed me at the real problem.
Christine -
Hello
I am using Hibernate 4, Spring 3 , JSF 2.0 and Weblogic 10.3.6
When I start weblogic server and server starts successfully, however whenever it starts publishing application, I am getting the following exception.
Error creating bean with name
'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0'
defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException:
Caused By: org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'entityManagerFactory'defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Invocation of init method failed;
nested exception is java.lang.NoSuchMethodError:
javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()Ljavax/persistence/
SharedCacheMode;
Caused By: java.lang.NoSuchMethodError:
javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()
Ljavax/persistence /SharedCacheMode; at
org.hibernate.ejb.util.LogHelper.logPersistenceUnitInfo(LogHelper.java:38) at
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:525)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManager I have the following in applicationContext.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="net.test" />
<!-- Data Source Declaration -->
<bean id="DataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
destroy-method="close">
<property name="driverClass" value="oracle.jdbc" />
<property name="jdbcUrl" value="jdbc:oracle:thin:@server:1521:DB" />
<property name="user" value="scott" />
<property name="password" value="tiger" />
<property name="maxPoolSize" value="10" />
<property name="maxStatements" value="0" />
<property name="minPoolSize" value="5" />
</bean>
<bean
class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor" />
<!-- JPA Entity Manager Factory -->
<bean id="entityManagerFactory"
class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="dataSource" ref="DataSource" />
<property name="packagesToScan" value="net.test.entity" />
<property name="jpaVendorAdapter">
<bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
<property name="showSql" value="true" />
<property name="generateDdl" value="false" />
<property name="databasePlatform" value="${jdbc.dialectClass}" />
</bean>
</property>
</bean>
<bean id="defaultLobHandler" class="org.springframework.jdbc.support.lob.DefaultLobHandler" />
<!-- Session Factory Declaration -->
<bean id="SessionFactory"
class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
<property name="dataSource" ref="DataSource" />
<property name="annotatedClasses">
<list>
<value>net.test.entity.Department</value>
<value>net.test.entity.Employees</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.query.factory_class">org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory
</prop>
</props>
</property>
</bean>
<!-- Enable the configuration of transactional behavior based on annotations -->
<tx:annotation-driven transaction-manager="txManager" />
<tx:annotation-driven transaction-manager="transactionManager" />
<!-- Transaction Config -->
<bean id="txManager"
class="org.springframework.orm.hibernate4.HibernateTransactionManager">
<property name="sessionFactory" ref="SessionFactory" />
</bean>
<bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
<property name="entityManagerFactory" ref="entityManagerFactory" />
</bean>
<context:annotation-config />
<bean id="hibernateStatisticsMBean" class="org.hibernate.jmx.StatisticsService">
<property name="statisticsEnabled" value="true" />
<property name="sessionFactory" value="#{entityManagerFactory.sessionFactory}" />
</bean>
<bean name="ehCacheManagerMBean"
class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" />
<bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServerFactoryBean">
<property name="locateExistingServerIfPossible" value="true" />
</bean>
<bean id="jmxExporter" class="org.springframework.jmx.export.MBeanExporter"
lazy-init="false">
<property name="server" ref="mbeanServer" />
<property name="registrationBehaviorName" value="REGISTRATION_REPLACE_EXISTING" />
<property name="beans">
<map>
<entry key="SpringBeans:name=hibernateStatisticsMBean"
value-ref="hibernateStatisticsMBean" />
<entry key="SpringBeans:name=ehCacheManagerMBean" value-ref="ehCacheManagerMBean" />
</map>
</property>
</bean>
</beans>
pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.test</groupId>
<artifactId>myappp</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>myappp</name>
<url>http://maven.apache.org</url>
<repositories>
<repository>
<id>prime-repo</id>
<name>PrimeFaces Maven Repository</name>
<url>http://repository.primefaces.org</url>
<layout>default</layout>
</repository>
</repositories>
<properties>
<spring.version>3.1.1.RELEASE</spring.version>
</properties>
<dependencies>
<!-- Spring 3 dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- JSF library -->
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.6</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.1.6</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<!-- Primefaces library -->
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>3.4.2</version>
</dependency>
<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>afterwork</artifactId>
<version>1.0.8</version>
</dependency>
<!-- Hibernate library -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.1.0.Final</version>
</dependency>
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.12.1.GA</version>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
</dependency>
<!-- Oracle Java Connector library -->
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
</dependency>
<!-- Log4j library -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.4</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>1.2.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>4.1.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
<version>1.0.1.Final</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.extensions.cdi.core</groupId>
<artifactId>myfaces-extcdi-core-api</artifactId>
<version>1.0.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>
<version>4.0.1.Final</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArgument>-proc:none</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
<version>2.0.6</version>
<executions>
<execution>
<id>process</id>
<goals>
<goal>process</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<!-- source output directory -->
<outputDirectory>target/metamodel</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>In Weblogic 10.3.6 I have enabled JPA2 support by adding the following in commEnv.cmd
@rem Enable JPA 2.0 functionality on WebLogic Server
set PRE_CLASSPATH=%BEA_HOME%\modules\javax.persistence_1.1.0.0_2-0.jar;
%BEA_HOME%\modules\com.oracle.jpa2support_1.0.0.0_2-1.jarApplication which works on WLS 10.3.6 is http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_dev.zip and the one which is not working is
http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_win32.exe.
How can I resolve these errors and exceptions? Any help is highly appreciable.
ThanksLooks like you might have a spelling error in your spring config, or are trying to set a read-only property. BdasInterfaceManagerImpl has been configured as having a method called setBdasInterfaceJdbcDao() : does it?
By the way, we now know that you're writing code for JP Morgan - there's a slight risk that this could bite you in the @ss at some point (there are some malicious people around) you might want to take that into consideration next time! -
Why i have to specify the parameters (property and name) in both tags?
Recently i learned how to populate a html:select with data from a DB table with a int value and a String value (value and label of an option). For that i create a business object that represent one pair value&label (i called categoryBO) and another business object that contains a list of the business objects categoryBO. So in my JSP i have the next code:
<html:select name="lista" property="listaPropiedades">
<html:optionsCollection name="lista" property="listaPropiedades" value="varValor" label="varLabel" />
</html:select> Well i understand the next: name is the name of the business object that contains the list with the objects that represents the options in the select tag; property is the name of the list object, in the business object i need to have the getters and setters for that list; then value is the name of the variable that contains the data that will be the value of each option and label is the name of the variable that contains the data that will be the value of each label.
But i have the next questions:
1. Why i have to establish the parameters property and name for bot html:select and html:optionsCollection? Why not only in html:select or only html:optionsCollection?
2. In the ActionForm for my JSP i don�t know what data type have to use to declare the variable that's linked with the option or with the select. I'm using Object for now.
3. Why the only way to populate the html:optionsCollection in the Action is passing the object in the request object as an atribute in the next way:
request.setAttribute("lista", objectThatContainsList);instead
((ActionForm)form).setListaPropiedades(objectThatContainsList);why's that? I have the same question when i'm populatina a normal html table using a logic:iterate tag or using a display:table tag from displaytag library.Ok, you have one big misconception here - you're using the same name/property for both the select component and its contents.
The html:select should refer you to ONE selected value (in this case an int). It should tie to a field on your action form.
The html:optionsCollection should refer to a list of beans used to populate this select component.
<html:select property="selectedItem">
<html:optionsCollection name="myList" property="listOfProperties" value="varValor" label="varLabel" />
</html:select>
1. Why i have to establish the parameters property and name for bot html:select and html:optionsCollection? Why not only in html:select or only html:optionsCollection?Because they actually refer to two different things, and should be two different values.
html:options gets the list of possible values
html:select stores the "selected" option. (consider what you would have if you just used a standard html:input here, and typed the id directly in - THATS the property to bind to)
2. In the ActionForm for my JSP i don�t know what data type have to use to declare the variable that's linked with the option or with the select. I'm using Object for now.You do now - because it is declared/mapped seperately
3. Why the only way to populate the html:optionsCollection in the Action is passing the object in the request object as an atribute in the next way:Its not.
The way you mentioned is also valid. If both the "selectedItem" and "listOfItems" are properties on your action form, you can leave out the "name" attribute, and they will be found there.
However if you are dealing with request scoped beans, you will have to populate the list on each access of the page - you will need a "load" action to poupulate the bean with the items for the dropdown, and make sure that it is always populated when you return to it (eg on an error condition).
That is why setting it as an attribute is sometimes preferable.
Cheers,
evnafets -
List of Map objects with html:options collection
Hello All,
I'm trying to get an arraylist of map objects to display dynamically as a dropdown select with html:options collection. I've spent hours on this and I haven't been able to get it working. Any ideas as to how this is done?
Thanks,
JamesAn arraylist of Map objects?
What is it that you want to show up in the dropdown box - all the name value pairs included in all the maps of the list?
Assuming with a Map the "key" is what you want submitted and the "value" is what to display to the user
Definitely sounds like a double loop structure is required. One to loop through all the maps. Another to generate all the options in each map.
This one does it at the basic level of things
<c:forEach var="map" items="${listOfMaps}">
<c:forEach var="entry" items="${map}">
<html:option value="${entry.key}">${entry.value}</html:option>
</c:forEach>
</c:forEach>The following might also work.
<c:forEach var="map" items="${listOfMaps}">
<html:options collection="map" property="key" labelProperty="value"/>
</c:forEach>Cheers,
evnafets -
Outbound idoc: creating segment with name 'BATCHCOLLECTION'
Hello gurus.
I'm developing my own idoc outbound xml solution and one of the xml requirement is that the segmentnames and fieldnames is not in the SAP name range (of course).
I have e.g a segment called BATCHCOLLECTION and when I try to create it in transaction WE31 I receive the following message:
Error: Name range violation : Name BATCHCOLLECTION not permitted in CUSTOMER system
Is it possible to map all the names before the outbound xml is created ?
How ?
Please advice.
Edited by: Erik Hoven on Feb 20, 2009 10:01 AMHi,
You can find information on this post :
https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://Re: Sending IDoc Batches to SAP: Issue with Header Mapping for SNDPRN
There is no problem if you send idoc one by one with one EDIDC. But if you want to send Idocs with differents EDIDC, today, there is no way.
Regards,
Chris -
Hi all,
can we have a map property in properties file, i.e key value pair , and the value being a List or map or Array for example,
States.properties
state=\
AL=Alabama,\
MA=Massachusetts,\
CA=California,\
xyz=List or Map or array
can we have a list or map or array as value for XYZ????Nucleus doesn't have any code that understands complex collection element structures. In other words, there's no automatic parsing of maps within maps or arrays within arrays. If you want that kind of structure, you have to write your own parsing code for the children. You have to be careful with your choice of delimiters so that something in a child isn't interpreted as a parent delimiter. The most complex example is a map of maps. You'd have a hard time if you tried to use = to separate the keys and values in the child maps and tried to use comma to separate child map elements.
Another option for the map of maps case is a ServiceMap, which is a map of Nucleus components. Instead of configuring child maps in the parent's properties file, you'd configure each child in its own properties file. If you go to the trouble of splitting out the child configurations into separate components, you might as well take the next step and create a pojo with named properties instead of stuffing all the child information into a map. Accessing pojo properties by name usually makes for more readable application code. -
Map variant technical name to text name
Hello Community,
In SE38, variants for each program have text based names.
In the STEP overview of SM37, and also in table TBTCP, the variant name (or "the parameter") is a technical name. For example: &0000000065119
How does one map the technical name of a variant to the text name for that variant ?
Even better: since I already have the technical names --> in which table does SAP store the values of the variant together with this technical name ?
Ultimately, I am searching for the values, based on the tech name (e.g. &0000000065119)
Thanks!!Does this do what you want?
thisComp.name
Dan
Maybe you are looking for
-
Not able to download songs in nokia music lumia630
Not able to download songs in music store its showing no free subscription for this mobile model.
-
Trying to config a Dlink 655 router with a ActionTec
Hello- I have the FIOS Triple Play Internet/TV/Phone). I desperately want to upgrade to Wireless N and run 1GB hard wired connections to my internal network. Is there any way to do this? It seems that I am stuck using the ActionTec router supplied by
-
HDV 1080p30 very slow when files are from Shake
Hi, I have a totally tricked out 8 core Mac pro with 8 GB ram and a 1 TB drive (mostly empty). I'm using the Latest FCP. Recently, I've been editing some HD video that I've shot and have been quite pleased with the performance of the machine/software
-
Scheduled Email Reports?
Maybe we are just missing something very simple, even after all of the complexities of setting up Usage based reports that calculate a cost of running a VM per hour. My customer wants a weekly report emailed to them, Excel, PDF doesn't matter. While
-
Has anyone ever had something in your Drafts folder that you've never saved?
Three days ago I had found a (copied and pasted) link in my husband's Drafts folder. He claims that he never added/saved the link nor has he ever visited the website where the link brings you to. The reason for me noticing it while using his company