How to allocate new g/l acouts for each plant
hai gurus
i am new to mm
here is a scenario
our client has 4 plants at different locations.he wants to maintain different g/l accounts for each plant.valuation area is plant and valuation grouping code is different for all plants.how can we assign different g/l accounts for each plant with same chart of account
pl clarify my doubt
Hi Ranjith,
Not advice to create different G/L accounts for different plant for same chart of account fo same transaction.Its Ok you are having different valuation areas plantwise,its also not even adviceable to go for different valuation grouping Code.So when you are mataining only one G/L account, the value will be recorded in that G/L account only but it will valuate the goods for diffrent valuation areas(Plantwise)
But if you want to go as u have explained,then in that case you have to create four G/L accounts for each tranaction event key.With different valuation grouping Code,same transaction event key assign different G/L acccount in automatic account assignment OBYC.
If helpful answer then reward with points.
Regards,
Biju K
Similar Messages
-
I have been using one apple ID for 4 family members. Up until now it hasn't been a problem but now that we all have our own devices how do I create new apple ID's for each of us and them move the approprioate things from the original apple ID account to the new ones for each of us?
stuartx4 wrote:
Thanks Csound1, wish I have seperated everything from the beginning but when your kids are little and start buying music etc it just didn't seem like an issue.
That has a familiar ring to it -
How to add new tab after reason for rejection tab using tcode va01
Hello,
how to add new tab after reason for rejection tab using tcode va01.Hi,
You can check this link...
Hope it will be helpful to you.
[https://forums.sdn.sap.com/click.jspa?searchID=23016273&messageID=6825861]
[http://www.sapdevelopment.co.uk/enhance/fexits.htm]
-Maharshi
Edited by: Maharshi Vyas on Mar 3, 2009 12:45 PM -
How do I get separate iCloud accounts for each family members device and still share iTunes?
how do I get separate iCloud's for each family members iPhone, iPod and iPad and still share iTunes?
Have everyone share the same iTunes store ID, but use separate IDs for iCloud. The ID you use for iCloud does not have to be the same as the ID you use for the iTunes & App store.
-
Any way possible to have different New Eamil alret sounds for each account
I have 4 different email accounts on my iPhone. Is there a way to have a different New Email Alert sound for each account. Most of the times I am only interested in emails I get in one or two of the accounts and if I had a different Alert for them I would know right away rather than having to go through each account inbox to find out which one got a new email.
Not at this time.
-
Trigger how to get new and old value for nested table column?
Hi,
I have created a nested table based on the following details:
CREATE TYPE typ_item AS OBJECT --create object
(prodid NUMBER(5),
price NUMBER(7,2) )
CREATE TYPE typ_item_nst -- define nested table type
AS TABLE OF typ_item
CREATE TABLE pOrder ( -- create database table
ordid NUMBER(5),
supplier NUMBER(5),
requester NUMBER(4),
ordered DATE,
items typ_item_nst)
NESTED TABLE items STORE AS item_stor_tab
INSERT INTO pOrder
VALUES (800, 80, 8000, sysdate,
typ_item_nst (typ_item (88, 888)));
Now I would like to create a trigger on table pOrder for after insert or update or delete
and I would like to track the new and old value for the columns inside nested table.
Can anybody direct me how to do it?
I would like to know the sytax for it like:
declare
x number;
begin
x := :new.nestedtablecolumn;--how to get the new and old value from nested table columns
end;
Hope my question is clear.
Thanks,
LavanHi,
Try like this:
CREATE OR REPLACE TRIGGER PORDER_I
BEFORE INSERT
ON PORDER
REFERENCING OLD AS old NEW AS new
FOR EACH ROW
DECLARE
items_new typ_item_nst;
ordid_NEW NUMBER;
BEGIN
FOR i IN :new.items.FIRST .. :new.items.LAST LOOP -- For first to last element
DBMS_OUTPUT.PUT_LINE(':new.items(' || I || ').prodid: ' || :new.items(I).prodid );
DBMS_OUTPUT.PUT_LINE(':new.items(' || I || ').price: ' || :new.items(I).price );
END LOOP;
END;Regards,
Peter -
Hi how to add new folders under root for jsp in tomcat4.1.18
hi,
previsously i used tomcat3.3 and tomcat4.1.12 run sucessfully.
now i downloed jakartha_tomcat4.1.18,
i am running sample succesfuly direcly under root.
now i want my some jsp appilcationes to run under xyz,pqr folders
here my jsp files are abc.jsp,fgh.jsp while running file url like this
http://localhost:8080/xyz/abc.jsp
http://localhost:8080/pqr/fgh.jsp
while running url server not locate the files.
where i add these xyz and pqr folders in server.xml.
here my server.xml like this any one can modify this
<!-- Example Server Configuration File -->
<!-- Note that component elements are nested corresponding to their
parent-child relationships with each other -->
<!-- A "Server" is a singleton element that represents the entire JVM,
which may contain one or more "Service" instances. The Server
listens for a shutdown command on the indicated port.
Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<!-- Comment these entries out to disable JMX MBeans support -->
<!-- You may also configure custom components (e.g. Valves/Realms) by
including your own mbean-descriptor file(s), and setting the
"descriptors" attribute to point to a ';' seperated list of paths
(in the ClassLoader sense) of files to add to the default list.
e.g. descriptors="/com/myfirm/mypackage/mbean-descriptor.xml"
-->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
debug="0"/>
<!-- Global JNDI resources -->
<GlobalNamingResources>
<!-- Test entry for demonstration purposes -->
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users -->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">
</Resource>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" (and therefore the web applications visible
within that Container). Normally, that Container is an "Engine",
but this is not required.
Note: A "Service" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Tomcat-Standalone">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Each Connector passes requests on to the
associated "Container" (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second Connector
entry. SSL support requires the following steps (see the SSL Config
HOWTO in the Tomcat 4.0 documentation bundle for more detailed
instructions):
* Download and install JSSE 1.0.2 or later, and put the JAR files
into "$JAVA_HOME/jre/lib/ext".
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
with a password value of "changeit" for both the certificate and
the keystore itself.
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost(). This can have an adverse impact on
performance, so you can disable it by setting the
"enableLookups" attribute to "false". When DNS lookups are disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
-->
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" scheme="https" secure="true"
useURIValidationHack="false" disableUploadTimeout="true">
<Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false" protocol="TLS" />
</Connector>
-->
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<!-- Define an AJP 1.3 Connector on port 8009 -->
<!--
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
-->
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8082" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" connectionTimeout="20000"
proxyPort="80" useURIValidationHack="false"
disableUploadTimeout="true" />
-->
<!-- Define a non-SSL legacy HTTP/1.1 Test Connector on port 8083 -->
<!--
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8083" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" />
-->
<!-- Define a non-SSL HTTP/1.0 Test Connector on port 8084 -->
<!--
<Connector className="org.apache.catalina.connector.http10.HttpConnector"
port="8084" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" />
-->
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host). -->
<!-- You should set jvmRoute to support load-balancing via JK/JK2 ie :
<Engine name="Standalone" defaultHost="localhost" debug="0" jmvRoute="jvm1">
-->
<!-- Define the top level container in our container hierarchy -->
<Engine name="Standalone" defaultHost="localhost" debug="0">
<!-- The request dumper valve dumps useful debugging information about
the request headers and cookies that were received, and the response
headers and cookies that were sent, for all requests received by
this instance of Tomcat. If you care only about requests to a
particular virtual host, or a particular application, nest this
element inside the corresponding <Host> or <Context> entry instead.
For a similar mechanism that is portable to all Servlet 2.3
containers, check out the "RequestDumperFilter" Filter in the
example application (the source for this filter may be found in
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
Request dumping is disabled by default. Uncomment the following
element to enable it. -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
debug="0" resourceName="UserDatabase"/>
<!-- Comment out the old realm but leave here for now in case we
need to go back quickly -->
<!--
<Realm className="org.apache.catalina.realm.MemoryRealm" />
-->
<!-- Replace the above Realm with one of the following to get a Realm
stored in a database and accessed via JDBC -->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority"
connectionName="test" connectionPassword="test"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
connectionName="scott" connectionPassword="tiger"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="sun.jdbc.odbc.JdbcOdbcDriver"
connectionURL="jdbc:odbc:CATALINA"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- Normally, users must authenticate themselves to each web app
individually. Uncomment the following entry if you would like
a user to be authenticated the first time they encounter a
resource protected by a security constraint, and then have that
user identity maintained across all web applications contained
in this virtual host. -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn"
debug="0"/>
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
-->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
-->
<!-- Logger shared by all Contexts related to this virtual host. By
default (when using FileLogger), log files are created in the "logs"
directory relative to $CATALINA_HOME. If you wish, you can specify
a different directory with the "directory" attribute. Specify either a
relative (to $CATALINA_HOME) or absolute path to the desired
directory.-->
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
<!-- Define properties for each web application. This is only needed
if you want to set non-default properties, or have web application
document roots in places other than the virtual host's appBase
directory. -->
<!-- Tomcat Root Context -->
<Context path="" docBase="ROOT" debug="0"/>
<!-- Tomcat Examples Context -->
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_examples_log." suffix=".txt"
timestamp="true"/>
<Ejb name="ejb/EmplRecord" type="Entity"
home="com.wombat.empl.EmployeeRecordHome"
remote="com.wombat.empl.EmployeeRecord"/>
<!-- If you wanted the examples app to be able to edit the
user database, you would uncomment the following entry.
Of course, you would want to enable security on the
application as well, so this is not done by default!
The database object could be accessed like this:
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
UserDatabase database =
(UserDatabase) envCtx.lookup("userDatabase");
-->
<!--
<ResourceLink name="userDatabase" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
-->
<!-- PersistentManager: Uncomment the section below to test Persistent
Sessions.
saveOnRestart: If true, all active sessions will be saved
to the Store when Catalina is shutdown, regardless of
other settings. All Sessions found in the Store will be
loaded on startup. Sessions past their expiration are
ignored in both cases.
maxActiveSessions: If 0 or greater, having too many active
sessions will result in some being swapped out. minIdleSwap
limits this. -1 or 0 means unlimited sessions are allowed.
If it is not possible to swap sessions new sessions will
be rejected.
This avoids thrashing when the site is highly active.
minIdleSwap: Sessions must be idle for at least this long
(in seconds) before they will be swapped out due to
activity.
0 means sessions will almost always be swapped out after
use - this will be noticeably slow for your users.
maxIdleSwap: Sessions will be swapped out if idle for this
long (in seconds). If minIdleSwap is higher, then it will
override this. This isn't exact: it is checked periodically.
-1 means sessions won't be swapped out for this reason,
although they may be swapped out for maxActiveSessions.
If set to >= 0, guarantees that all sessions found in the
Store will be loaded on startup.
maxIdleBackup: Sessions will be backed up (saved to the Store,
but left in active memory) if idle for this long (in seconds),
and all sessions found in the Store will be loaded on startup.
If set to -1 sessions will not be backed up, 0 means they
should be backed up shortly after being used.
To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,
and minIdleBackup all to -1, saveOnRestart to false, then restart
Catalina.
-->
<!--
<Manager className="org.apache.catalina.session.PersistentManager"
debug="0"
saveOnRestart="true"
maxActiveSessions="-1"
minIdleSwap="-1"
maxIdleSwap="-1"
maxIdleBackup="-1">
<Store className="org.apache.catalina.session.FileStore"/>
</Manager>
-->
<Environment name="maxExemptions" type="java.lang.Integer"
value="15"/>
<Parameter name="context.param.name" value="context.param.value"
override="false"/>
<Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/EmployeeAppDb">
<parameter><name>username</name><value>sa</value></parameter>
<parameter><name>password</name><value></value></parameter>
<parameter><name>driverClassName</name>
<value>org.hsql.jdbcDriver</value></parameter>
<parameter><name>url</name>
<value>jdbc:HypersonicSQL:database</value></parameter>
</ResourceParams>
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"/>
<ResourceParams name="mail/Session">
<parameter>
<name>mail.smtp.host</name>
<value>localhost</value>
</parameter>
</ResourceParams>
<ResourceLink name="linkToGlobalResource"
global="simpleValue"
type="java.lang.Integer"/>
</Context>
</Host>
</Engine>
</Service>
<!-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
as its servlet container. Please read the README.txt file coming with
the WebApp Module distribution on how to build it.
(Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
To configure the Apache side, you must ensure that you have the
"ServerName" and "Port" directives defined in "httpd.conf". Then,
lines like these to the bottom of your "httpd.conf" file:
LoadModule webapp_module libexec/mod_webapp.so
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/
The next time you restart Apache (after restarting Tomcat, if needed)
the connection will be established, and all applications you make
visible via "WebAppDeploy" directives can be accessed through Apache.
-->
<!-- Define an Apache-Connector Service -->
<!--
<Service name="Tomcat-Apache">
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true" appBase="webapps"
acceptCount="10" debug="0"/>
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Engine>
</Service>
-->
</Server>
==========
any one may modify above one
thanks
pullareddyjAs the server.xml is big enough, I took the minimum portion of it. Hope u can proceed with it.
<!-- Tomcat Root Context -->
<Context path="" docBase="ROOT" debug="0"/>
<!-- New contexts -->
<Context path="/xyz" docBase="pathTo_xyz" debug="0" crossContext="true"/>
<Context path="/pqr" docBase="pathTo_pqr" debug="0" crossContext="true"/>
<!-- Tomcat Examples Context -->
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
You should also provide a WEB-INF folder under pqr or xyz folder.
You should also provide a web.xml file under each WEB-INF folder.
The minimal web.xml is
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtd/web-app_2_3.dtd">
<web-app>
</web-app>
That's it. Try it out. Hope it is OK.
Hafizur Rahman
SCJP -
How to create new Wage type specifically for IT14 and IT15 only
Hi Gurus,
I was assigned to create a new wage type to be used for Infotypes 14 and 15 only.
Another thing is to have this for % deduction rather than having a fixed amount ($).
Appreciate all your help.
thanks!FOR IT0014
PM - - - - > PA- - - - >PAYROLL DATA- - - - > RECURRING PAYMENTS AND DEDUCTIONS- - - - >WAGE TYPES- - - - >CREATE WAGE TYPE CATALOG
PM - - - - > PA- - - - >PAYROLL DATA- - - - > RECURRING PAYMENTS AND DEDUCTIONS- - - - >WAGE TYPES- - - - >Check wage type group 'Recurring Payments and Deductions
PM - - - - > PA- - - - >PAYROLL DATA- - - - > RECURRING PAYMENTS AND DEDUCTIONS- - - - >WAGE TYPES- - - - >CHECK WAGE TYPE CATALOG- - - - >CHECK ENTRY PERMISSIBILITY PER INFOTYPE
PM - - - - > PA- - - - >PAYROLL DATA- - - - > RECURRING PAYMENTS AND DEDUCTIONS- - - - >WAGE TYPES- - - - >CHECK WAGE TYPE CATALOG- - - - >Define Wage Type Permissibility for each PS and ESG
PM - - - - > PA- - - - >PAYROLL DATA- - - - > RECURRING PAYMENTS AND DEDUCTIONS- - - - >WAGE TYPES- - - - >CHECK WAGE TYPE CATALOG- - - - >Check wage type characteristics
FOR IT0015
PM - - - - > PA- - - - >PAYROLL DATA- - - - > ADDITIONAL PAYMENTS- - - - >WAGE TYPES- - - - >CREATE WAGE TYPE CATALOG
PM - - - - > PA- - - - >PAYROLL DATA- - - - > ADDITIONAL PAYMENTS- - - - >WAGE TYPES- - - - >Check wage type group ADDITIONAL PAYMENTS
PM - - - - > PA- - - - >PAYROLL DATA- - - - > ADDITIONAL PAYMENTS- - - - >WAGE TYPES- - - - >CHECK WAGE TYPE CATALOG- - - - >CHECK ENTRY PERMISSIBILITY PER INFOTYPE
PM - - - - > PA- - - - >PAYROLL DATA- - - - > ADDITIONAL PAYMENTS- - - - >WAGE TYPES- - - - >CHECK WAGE TYPE CATALOG- - - - >Define Wage Type Permissibility for each PS and ESG
PM - - - - > PA- - - - >PAYROLL DATA- - - - > ADDITIONAL PAYMENTS- - - - >WAGE TYPES- - - - >CHECK WAGE TYPE CATALOG- - - - >Check wage type characteristics
Last step of the both set you ( V_T511) have to define the indirect valuation method ( PRZNT, SUMME Etc)
Don't forget to maintain V_T539J, the place where you defining your component is a percentage of another component -
I am going to try asking this same question a different way as I have yet to find a working solution to my problem. I have a main report and then 8 sub reports. My main report has one data set and returns one row of data per account number. One
of the fields in the main data set is called AccountProf. My main report displays one page per Account number and then calls a different sub report based on that account's AccountProf value. The sub reports take in the account number as a parameter
and get multiple rows of data to display that accounts usage formatted differntly for each AccountProf (hence the 8 different sub report.
So far I can figure out how to do everything but setting the visibility property of each sub-reports when I have multiple accounts. If I use the following expression for the visibility property on each sub report, it makes all the applicable sub report
for all the accounts requested visible at once:
=IIF(Fields!AccountProf.Value= "USE_PLUS_DMD",False,True)
*The value in bold USE_PLUS_DMD is different for each sub report.
Here is a look at what the main report look like:
Here is the main reports data set:Hi JasonDWilson77,
According to your description, there is a main report and 8 sub reports in the report, you want to set visibility of sub reports, if no value is passed to the parameter of sub report, the sub report will not be displayed. If that is the case, please refer
to the following steps:
1. Create a new parameter named NewAccountNumber, set its data type the same as @AccountNumber, select Allow multiple values, set Visibility to be hidden, then set all available values to default values.
2. Right-click the first sub report and open Subreport Properties dialog box, click Parameters in left pane, set name to AccountNumber, then click (fx) button, type the expression like below:
=Parameters! NewAccountNumber(0)
3. Click Visibility in left pane, select Show or hide based on an expression, then click (fx) button and type the expression like below:
=IIF(InStr(Join(Parameters! AccountNumber.Value), Parameters!NewAccountNumber.Value(0))>0 , false,true)
4. Modify parameter of other sub reports like step2.
5. Set visibility of other sub reports like step3.
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.
Wendy Fu
TechNet Community Support -
How to define a separate virtual host for each client in SICF
Hello,
We have an ERP system with multiple clients running on it. The WebDynpro ABAP applications once developed are available on all clients, as standard. However, this is not our desired behavior. We want:
1. The WebDynpro ABAP applications should be managed separately in SICF depending on the client
2. The URL for accessing the WebDynpro application should have a own host name for each client. e.g.
A WebDynpro application on client 100 should be accessed by http://host1:5000/sap/bc/... and the same application on client 200 should be accessed by http://host2:5000/sap/bc/...
After a while researching I find out that creating a virtual host for each client in SICF would be a possible solution to fulfill the above mentioned requirments:
1. Set the profile parameter is/HTTP/virt_host_* with corresponding host name and port number
2. Create a new virtual host in SICF assigning the profile paramter to it
3. Assign a client to this virtual host
My question is how to specify a client to a virtual host? I didn't find any possibilities in SICF!
Anyone can help me? Thanks a lot in advance!
Best Regards
Di LiHi Srikishan,
thanks for your reply. Your suggested way is certainly a potential, and also my preferred option for solving the multiple-client-capable URL access to WebDynpro / BSP applications.
However, for some reasons, based on the customer requirements, the client should not be visible in the URL. The URL for accessing the WebDynpro / BSP applications on different client should have different host name, as if they are different companies. Besides that, we want to manage each WebDynpro / BSP application on different clients in SICF separately.
Therefore, at least on my opinion, we need to introduce a virtual host for each client in SICF. But how do I make it happen?
Regards
Di -
How to define a separate virtual host for each client in ICF for WebDynpro
Hi,
We have an ERP system with multiple clients running on it. The WebDynpro ABAP applications once developed are available on all clients, as standard. However, this is not our desired behavior. We want:
1. The WebDynpro ABAP applications should be managed separately in SICF depending on the client
2. The URL for accessing the WebDynpro application should have a own host name for each client. e.g.
A WebDynpro application on client 100 should be accessed by http://host1:5000/sap/bc/... and the same application on client 200 should be accessed by http://host2:5000/sap/bc/...
After a while researching I find out that creating a virtual host for each client in SICF would be a possible solution to fulfill the above mentioned requirments:
1. Set the profile parameter is/HTTP/virt_host_* with corresponding host name and port number
2. Create a new virtual host in SICF assigning the profile paramter to it
3. Assign a client to this virtual host
My question is how to specify a client to a virtual host? I didn't find any possibilities in SICF!
Anyone can help me? Thanks a lot in advance!
Best Regards
Di LiHi Srikishan,
thanks for your reply. Your suggested way is certainly a potential, and also my preferred option for solving the multiple-client-capable URL access to WebDynpro / BSP applications.
However, for some reasons, based on the customer requirements, the client should not be visible in the URL. The URL for accessing the WebDynpro / BSP applications on different client should have different host name, as if they are different companies. Besides that, we want to manage each WebDynpro / BSP application on different clients in SICF separately.
Therefore, at least on my opinion, we need to introduce a virtual host for each client in SICF. But how do I make it happen?
Regards
Di -
How to add a vertical resize bar for each TableRow in a TableView?
I am looking for a best approach / best practice to accomplish this task. I need to be able to implement, in the least, re-sizable (by dragging on a divider line) TableRows. I understand this to be a bit more difficult to retain the height of each individual TableRow because they are virtual and reused. My first goal is only to have all TableRows re-sized (eliminating the need to carry individual row sizes ).
I am able to implement my own TableRow by extending TableRow - and I was able to retrieve a reference to the TableRow's Skin and adding a divider line (Rectangle) and capturing the Mouse events to effectively re-size the height of the Row by dragging.
My Question is this: Without implementing a new TableRowSkin - how can I force the divider line to be at the bottom of the TableRow? Currently - I am just adding the Rectangle Node (Divider) to the TableRowSkin's children list - causing the divider line to be positioned at the top of the TableRow (This gives an odd feeling when resizing - the line should be on the bottom).
I feel like I am hacking at the issue without realizing the intent of the JavaFX developers. Is the intent for Row Height resizing to be implemented by providing a new Skin? There doesn't seem to be an easy way to accomplish this task using the existing TableRow or TableRowSkin.
I can post example code if requested - but I will need to condense the example to a small enough self-contained file.
If the answer is "Yes - implement a new skin" that is fine, but this task might be difficult without the source code for guidance :) [hint..hint..]After attempting to override the TableRow itself - I ran into a bug in the underlying skin causing a ClassCastException when sorting on the headers - apparently the underlying TableRowSkin doesn't like it when you add anything other then a TableCell (I added a Rectangle in this case, could not be cast to a TableCell). The bug was filed in Jira and fixed for 2.1 - so in the mean time I took the individual TableCell approach - add a divider to the bottom of each tableCell.
The trick is not the the divider - but it is the other Control you have above the divider. I am using a TextArea, and you may generally want to override the PreferredHeight otherwise the height of the Control continues to extend. This behavior may be a result of using VBox to house the TextArea and the Rectangle vs your suggestion of a BorderPane.
I was able to get the aesthetic functionality working to my desire. NOTE: functionality needs to be added for the table to "remember" any change of tablerowheight for each associated data item - otherwise the TableRow with the differeing height will get recycled and used for a different data item later. This shouldn't be too hard to implement with a Map for every non-default tableRowHeight change with a key of the TableRow Data Item. (Perhaps a max memory of associations as to not use up all available memory if someone wanted to resize all rows, for instance. Or we could also apply a new default Row size as well. I'm thinking this functionality should be applied to a sub-classed TableView).
editThe posted code does not have a bug - it is placing the vertical resize divider in each cell, not each tablerow. Aesthiticaly - it will take some additional tweaking. You will notice the Textarea scroll bar "bleeds" into the other Transparent cells.. Not a critical bug, but an issue to deal with I will have to tackle later. If I can hack into the TableColumn resizing behavior - or set a minWidth on each Tablecolumn - that will be my approach to deal with it for now.--edit--
public class TextAreaCell<S> extends TableCell<S,String> {
private TextArea textArea;
private StringProperty boundToCurrently = null;
private Rectangle r = new Rectangle(1,3,Color.TRANSPARENT);
private VBox vbox = new VBox();
public TextAreaCell() {
this.getStyleClass().add("table-cell-for-controls");
textArea = new TextArea();
textArea.getStyleClass().add("table-cell-text-field");
textArea.setWrapText(true);
textArea.prefHeightProperty().set(5);
textArea.minHeightProperty().set(0);
vbox.getChildren().add(textArea);
vbox.getChildren().add(r);
vbox.setFillWidth(true);
r.widthProperty().bind(vbox.widthProperty());
r.setCursor(Cursor.V_RESIZE);
r.setOnMouseDragged(new EventHandler<MouseEvent>() {
@Override
public void handle(MouseEvent event) {
TextArea y = TextAreaCell.this.textArea;
TextAreaCell.this.printTextAreaInfo(y, event);
TableRow tr = TextAreaCell.this.getTableRow();
double newHeight = tr.getHeight() + event.getY();
if (newHeight <= 24) {
newHeight = 24;
tr.setPrefHeight(newHeight);
tr.requestLayout();
VBox.setVgrow(textArea, Priority.SOMETIMES);
vbox.setMinWidth(1);
this.setGraphic(vbox);
@Override
protected void updateItem(String item, boolean empty) {
super.updateItem(item, empty);
if(!empty) {
// Show the Text Area
this.setContentDisplay(ContentDisplay.GRAPHIC_ONLY);
// Retrieve the actual String Property that should be bound to the TextField
// If the TextField is currently bound to a different StringProperty
// Unbind the old property and rebind to the new one
ObservableValue<String> ov = getTableColumn().getCellObservableValue(getIndex());
SimpleStringProperty sp = (SimpleStringProperty)ov;
if(this.boundToCurrently==null) {
this.boundToCurrently = sp;
this.textArea.textProperty().bindBidirectional(sp);
else {
if(this.boundToCurrently != sp) {
this.textArea.textProperty().unbindBidirectional(this.boundToCurrently);
this.boundToCurrently = sp;
this.textArea.textProperty().bindBidirectional(this.boundToCurrently);
else {
this.setContentDisplay(ContentDisplay.TEXT_ONLY);
private void printTextAreaInfo(TextArea t, MouseEvent e) {
StringBuilder s = new StringBuilder();
s.append(e.toString()).append("\n");
s.append("\tTextArea.prefHeight:").append(t.getPrefHeight()).append("\n");
s.append("\tTextArea.MinHeight:").append(t.getMinHeight()).append("\n");
s.append("\tTextArea.MaxHeight:").append(t.getMaxHeight()).append("\n");
s.append("\tTextArea.Height:").append(t.getHeight()).append("\n");
s.append("------------------------------------------------------------------------------------------------------------------------");
System.out.println(s.toString());
}And the Css
.table-cell-for-controls {
-fx-skin: "com.sun.javafx.scene.control.skin.TableCellSkin";
-fx-padding: 0; /* 2px, plus border adds 1px */
-fx-background-color: transparent;
-fx-border-color: -fx-table-cell-border-color -fx-table-cell-border-color -fx-table-cell-border-color -fx-table-cell-border-color;
-fx-border-width: 0.083333em; /* 1 */
-fx-cell-size: 2.0em; /* 24 */
.table-cell-text-field {
-fx-background-color: transparent;/*-fx-control-inner-background;*/
-fx-background-insets: 0;
-fx-background-radius: 0;
-fx-padding: 3 5 3 5;
-fx-prompt-text-fill: derive(-fx-control-inner-background,-30%);
-fx-cursor: text;
}Edited by: jkaufmann on Nov 7, 2011 4:33 AM -
How do you create a separate iCloud for each phone in the family?
We have 3 people in our family with iPhones, plus 1 iPad2. How can we give each of us a separate apple ID so that we can each have our own iCloud storage? The 55 GB is not enough for all of us. Deleting the accounts to create new ones is not an option because one of our phones is not backed up on iCloud AT ALL (could never back it up because the 55 is not enough for the 3 of us).
For each phone, go to http://appleid.apple.com and create a new Apple ID.
On the phone, sign out in Settings>iCloud by clicking the 'Delete account' button. You are going to have to do this or you cannot proceed.
Sign in with the new Apple ID. Create a new @icloud.com address. In the Settings>iCloud page, purchase such extra storage as you need. Do a new backup.
Leave the phone which hasn't been backed up until you've done this with the others. Delete their backups from the original account. Back this phone up to the original account. Then follow the procedure above.
If you want these phones still to have access to the email, calendars, contacts etc. of the original account you can sign into it in Settings>Mail, Contacts & Calendars. -
How to parse RSS Feed - Different URL for each button
I'm making an app with AS3 and I want to be able to load a different RSS Feed when the user clicks on each button. This is the code I have so far, has anyone any idea how I can modify my code to do this?
here's my code so far:
//IMPORT CLASSES
import fl.controls.List;
import flash.net.URLLoader;
import flash.events.Event;
import flash.net.URLRequest;
cGOSSIP.addEventListener(MouseEvent.CLICK, doClick);
function doClick (e:MouseEvent):void
cGOSSIP.gotoAndStop ("GOSSIP");
wNEWS.addEventListener(MouseEvent.CLICK, doClick2);
function doClick2 (e: MouseEvent):void
wNEWS.gotoAndStop ("WORLD NEWS");
eNEWS.addEventListener(MouseEvent.CLICK, doClick3);
function doClick3 (e: MouseEvent):void
eNEWS.gotoAndStop ("ENT NEWS");
fbNEWS.addEventListener(MouseEvent.CLICK, doClick4);
function doClick4 (e: MouseEvent):void
fbNEWS.gotoAndStop ("FB NEWS");
//NEWSLIST FORMATTING
var newsListTf:TextFormat = new TextFormat();
newsListTf.font = "Verdana";
newsListTf.color = 0xFFFFFF;
newsListTf.size = 18;
newsListTf.align = "left";
newsList.setRendererStyle("textFormat", newsListTf);
newsList.rowHeight = 100;
newsList.allowMultipleSelection = false;
//newsList.wordWrap = true;
//NEWSDISPLAY TEXT AREA FORMATTING
var rssStoryTf:TextFormat = new TextFormat();
rssStoryTf.font = "Verdana";
rssStoryTf.color = 0x6699CC;
rssStoryTf.size = 22;
rssStoryTf.align = "left";
rssStory.setStyle("textFormat", rssStoryTf);
//READMORE BUTTON FORMATTING
var buttonTf:TextFormat = new TextFormat();
buttonTf.font = "Verdana";
buttonTf.color = 0xFFFFFF;
buttonTf.size = 22;
btn_ReadMore.setStyle("textFormat", buttonTf);
//RSS FEED
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest = new URLRequest
("http://rssfeeds.tv.adobe.com/adobe-higher-education-solutions.xml");
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
newsList.addEventListener(Event.CHANGE, selectRssStory);
btn_ReadMore.addEventListener(MouseEvent.CLICK, goToURL);
rssLoader.load(rssURL);
var newsXML:XML = new XML();
var currentStoryURL:URLRequest = new URLRequest();
newsXML.ignoreWhitespace = true;
function rssLoaded(evt:Event):void
newsXML = new XML(rssLoader.data);
//trace(newsXML);
for(var item:String in newsXML.channel.item) {
//newsList.addItem({label: newsXML.channel.item[item].pubDate.substr(0, 16)
//+": " + newsXML.channel.item[item].title } );
newsList.addItem({label: newsXML.channel.item[item].title.substr(0, 40)
+" ..." } );
newsList.selectedIndex = 0;
//FIRST LOAD
currentStoryURL = new URLRequest(newsXML.channel.item[0].link);
rssStory.htmlText = newsXML.channel.item[0].description;
function selectRssStory(evt:Event):void
rssStory.htmlText = newsXML.channel.item[evt.target.selectedIndex ].description;
currentStoryURL = new URLRequest(newsXML.channel.item[evt.target.selectedIndex
].link);
function goToURL(event:MouseEvent):void
navigateToURL(currentStoryURL);I copied the wrong code, it works and loads the feed but I have a number of buttons in the main menu and I want to be able to load a different rss feed for each button?
Here's the code.
btn_Home.addEventListener(MouseEvent.CLICK, clickHome);
function clickHome(e:MouseEvent):void
gotoAndStop ("START");
//NEWSLIST FORMATTING
var newsListTf:TextFormat = new TextFormat();
newsListTf.font = "Verdana";
newsListTf.color = 339999;
newsListTf.size = 18;
newsListTf.align = "left";
newsList.setRendererStyle("textFormat", newsListTf);
newsList.rowHeight = 100;
newsList.allowMultipleSelection = false;
//newsList.wordWrap = true;
//NEWSDISPLAY TEXT AREA FORMATTING
var rssStoryTf:TextFormat = new TextFormat();
rssStoryTf.font = "Verdana";
rssStoryTf.color = 0x6699CC;
rssStoryTf.size = 22;
rssStoryTf.align = "left";
rssStory.setStyle("textFormat", rssStoryTf);
//READMORE BUTTON FORMATTING
var buttonTf:TextFormat = new TextFormat();
buttonTf.font = "Verdana";
buttonTf.color = 0xFFFFFF;
buttonTf.size = 22
btn_ReadMore.setStyle("textFormat", buttonTf);
//RSS FEED
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest = new URLRequest
("http://www.tmz.com/rss.xml");
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
newsList.addEventListener(Event.CHANGE, selectRssStory);
btn_ReadMore.addEventListener(MouseEvent.CLICK, goToURL);
rssLoader.load(rssURL);
var newsXML:XML = new XML();
var currentStoryURL:URLRequest = new URLRequest();
newsXML.ignoreWhitespace = true;
function rssLoaded(evt:Event):void
newsXML = new XML(rssLoader.data);
//trace(newsXML);
for(var item:String in newsXML.channel.item) {
//newsList.addItem({label: newsXML.channel.item[item].pubDate.substr(0, 16)
//+": " + newsXML.channel.item[item].title } );
newsList.addItem({label: newsXML.channel.item[item].title.substr(0, 40)
+" ..." } );
newsList.selectedIndex = 0;
//FIRST LOAD
currentStoryURL = new URLRequest(newsXML.channel.item[0].link);
rssStory.htmlText = newsXML.channel.item[0].description;
function selectRssStory(evt:Event):void
rssStory.htmlText = newsXML.channel.item[evt.target.selectedIndex ].description;
currentStoryURL = new URLRequest(newsXML.channel.item[evt.target.selectedIndex
].link);
function goToURL(event:MouseEvent):void
navigateToURL(currentStoryURL); -
How can I turn off an alert for each txt when message app is open?
I think this is a simple problem but I can't find a solution! I want to receive an alert (either vibration or sound, depending on the position of the silence switch) when I get a new txt. This is how I am set up now. However, once I open the messages app and am engaged in a discussion, I no longer want to receive an alert for each message. So basically: If message app is open, no alert... otherwise, alert! Is this possible?
Latest update on 'Network Lost' Message. I have tried all the suggestions, ie, Setting my carrier to Automatic and resetting my Network settings but nothing works. I had a long conversation with someone at Apple this morning and he said there was no way to stop this from happening. Gutted! My husband and I went through the settings on both our iPhones earlier and discovered that he has a different software version to mine, He hasn't updated his and he never gets the message. Now I am wondering if it's possible to go back to an earlier version and if so how? Can anyone tell me please?
Maybe you are looking for
-
ADC exception=BAM-01262: Active Data Cache server exception in openViewset
Hi All, I am getting the below mentioned error when i try to open a report from Active Studio in BAM. If i give parameter value ' All ' in the prompt, it shows all the value. But if i give specific values like one parameter value 1007 and other All e
-
Hi plesae see example that I send , its export data from table to excel file and save the excel file in c: the main problem I have number with 20 digit and other number with 15 digit , when I save and open in using excel the number look as 8.9972E+19
-
Validation Report shows #MissingCaptionKey#
When performing the Validation step our system is showing "#MissingCaptionKey" for all of the headings / captions on the Validation report. I cannot determine what configuration is missing ... this appears to be Adapter specific.
-
Dear Sapguys, while creating of asset purchase i am getting below error message You cannot post to asset in company code 1010 fiscal year 2010 Message no. AA347 Diagnosis A fiscal year change has not yet been performed in Asset Accounting for company
-
I want to give the content in an alertbox as center aligned and the title of the same as left aligned.... and for the same the code given by me is as follows, but it doesn't work... every thing (title+content) is center aligned... Please help me....