Reg Pc Modeling
Hi Friends.
I am creating process chain like below
Start
Load PSA with Rout
Run DTP to MtPlant
Load PSA without Rout
Run DTP to MtPlant
Here its not allowing me to add another dtp to the 2nd IP.. saying predecessor is already there something like that
Please throw some lights on this
Thanks
Hi S R ,
If I understood you ....
The PSA is loaded first with two different infopackages...and then data is loaded from PSA to target
Then
Load ( ist infopackage )
Load (2nd infopackage )
DTP
See if this design helps...
Mann
Similar Messages
-
Hi,
I have created a model view and generated the partner profiles. when i am distibuting the model view, I am getting an error " Model View XXXX has not been updated" "Reason: Maintenance systems for model view XXXX are not identical".
could anybody tell me , how to resolve this issue.
Thanks & Regards,Any luck with the resolution to this error?
Thanks,
John -
In BPM Modelling an individual swim lane contains business scenarios from same company or from same application ?
RegardsIt could be both. It depends upon how you want to design your business flow. However, designing one only for an application is not that common.
Regards,
Prateek -
Hi All,
We have an IDoc exchange scenario like this:
1) We will receive a MBGMCR01 Idoc from a third party system into SAP system A. The same IDoc has to be dispatched to following SAP systems B1, B2, B3,...B10.
2) In system A, the target system B(n) for the incoming IDoc MBGMCR01 must be decided based on the purchase org value coming in the IDoc.
Question on part1: Can we use distribution model for the above scenario? Links for sample tutorials on creation of Distribution model would be highly helpful.
Question on part2: How can we do such a design using Distribution model? Can filters be useful?
thanks in advance.
Vish.Hi Vishwanath,
Yes, you can use the distribution model. Just go through the following steps to create the distribution model.
1. Go to change mode in transaction BD64 and click on u201CCreate Model Viewu201D from the Application tool bar. Give a Short text, Technical Name for the model. The Start date by default would be current date and the end date would be 31.12.9999. Just click on u201CContinueu201D.
2. Select the model just created, and click on, u201CAdd message typeu201D from the application tool bar and give the sender, receiver and message type details.
3. In order that the distribution model maintained in the sender would be visible at the receiver, select the model view just created and from the menu bar, choose, Edit -> Model view -> Distribute.
4. Just click on continue, which will then give you the log of the distribution. You can check here if the model view was created successfully in the target system.
To design the Idoc distribution based on the purchase org, maintain filters. Drill down the model view newly created deep until you find the text, "No filter set". Click on it and create a filter group. Add purchase orgs to it.
~ Bineah. -
Reg:Distribution model is currently being processed
Dear all,
When i am distributing my model view in BD64 i am getting following error.
Error:
Model view VCR3BW has not been updated
Distribution model is currently being processed
Thanks,
Sankar MHi shankar,
i think already one distribution model is running.
First delete that model view and create new one as per your requirement.
then it will work.
Regards,
Sakthivel.VT -
At end of tether! Reading in variables from a text file
Hi all
My stress factor has gone through the roof because I am trying to read in from a text file (you may have seen some earlir questions about ArrayLists) it's just not working!
The code is below. The result is that it's reading in all of the car data, none of the motorbike and only the first line for the services. It's odd and it's driving me insane!
Here's an example of the data it's reading. There are about 7-10 sets of data per type
<car><reg>AB04CDE</reg><make>Ford</make><model>Fiesta</model><colour>blue</colour><passenger_no>4</passenger_no></car>
<service><service_no>13570</service_no><reg>J605PLE</reg><date>15:07:2006</date><miles>20000</miles><part_replaced>brake_pads</part_replaced><part_replaced>front_tyres</part_replaced></service>
<motorbike><reg>TT05EKJ</reg><make>Triumph</make><model>Speedmaster</model><colour>black</colour><load>20.50</load></motorbike>
Here's the code
while (moreToRead) {
String line;
try {
line = fileReader.getNextStructure();
// collect the data from the file
if (line.indexOf("<car>")> -1){
// Select/Extract the registration element
int nStart = line.indexOf("<reg>");
int nEnd = line.indexOf("</reg>");
String reg = line.substring(nStart+5,nEnd);
// Select/Extract the make element
nStart = line.indexOf("<make>");
nEnd = line.indexOf("</make>");
String make = line.substring(nStart+6,nEnd);
// Select/Extract the model element
nStart = line.indexOf("<model>");
nEnd = line.indexOf("</model>");
String model = line.substring(nStart+7,nEnd);
// Select/Extract the colour element
nStart = line.indexOf("<colour>");
nEnd = line.indexOf("</colour>");
String colour = line.substring(nStart+8,nEnd);
// Select/Extract the passenger_no element
nStart = line.indexOf("<passenger_no>");
nEnd = line.indexOf("</passenger_no>");
String passenger_no = line.substring(nStart+14,nEnd);
//convert string to int
int passengerInt = Integer.parseInt(passenger_no);
// declare new object car and assign the variables then add it to the array.
Car c = new Car (reg, make, model, colour, passengerInt);
carList.add(c);
} else if (line.indexOf("<bike>")> -1) {
// Select/Extract the registration element
int nStart = line.indexOf("<reg>");
int nEnd = line.indexOf("</reg>");
String reg = line.substring(nStart+5,nEnd);
// Select/Extract the make element
nStart = line.indexOf("<make>");
nEnd = line.indexOf("</make>");
String make = line.substring(nStart+6,nEnd);
// Select/Extract the model element
nStart = line.indexOf("<model>");
nEnd = line.indexOf("</model>");
String model = line.substring(nStart+7,nEnd);
// Select/Extract the colour element
nStart = line.indexOf("<colour>");
nEnd = line.indexOf("</colour>");
String colour = line.substring(nStart+8,nEnd);
// Select/Extract the load element
nStart = line.indexOf("<load>");
nEnd = line.indexOf("</load>");
String load = line.substring(nStart+6,nEnd);
//convert load string to double
double bikeLoad = Double.parseDouble(load);
// declare new object motorbike and assign the variables then add it to the array.
Motorbike m = new Motorbike (reg, make, model, colour, bikeLoad);
bikeList.add(m);
} else {
// Select/Extract the service_number element
int nStart = line.indexOf("<service_no>");
int nEnd = line.indexOf("</service_no>");
String service_no = line.substring(nStart+12,nEnd);
console.println("service = " + service_no);
nStart = line.indexOf("<reg>");
nEnd = line.indexOf("</reg>");
String reg = line.substring(nStart+5,nEnd);
console.println("service = " + reg);
nStart = line.indexOf("<date>");
nEnd = line.indexOf("</date>");
String date = line.substring(nStart+6,nEnd);
console.println("service = " + date);
nStart = line.indexOf("<miles>");
nEnd = line.indexOf("</miles>");
String miles = line.substring(nStart+7,nEnd);
console.println("service = " + miles);
nStart = line.indexOf("<part_replaced>");
nEnd = line.indexOf("</part_replaced>");
String part_replaced = line.substring(nStart+15,nEnd);
console.println("service = " + part_replaced);
//convert string to int
int dateOfService = Integer.parseInt(date);
//convert string to double
double milesAtService = Double.parseDouble(miles);
//convert service no to unique int
int serviceNo = Integer.parseInt(service_no);
// declare new object service and assign the variables then add it to the array.
Service s = new Service (reg, part_replaced, serviceNo, dateOfService, milesAtService);
serviceList.add(s);
catch (Exception e) {
// Run out of data
moreToRead = false;
} If anyone can spy anything that could be causing this I love your advice. I simply can't see it.
Johi jos,
we have been asked not to use a parser for this assignment. evil
tutor i think! lolYour example seems to imply that all the <tag> ... </tag> pairs have
to occur on a single line; if that is so, you can do some cheap
programming like this:String getText(String line, String tag) {
int start= line.indexOf("<"+tag+">");
int end= line.indexOf("</"+tag+">", start);
if (start < 0 || end < 0) return null; // no <tag> ... </tag> pair found
// return the text in between the <tag> ... </tag> tags
return line.substring(start+tag.length()+2, end);
}kind regards,
Jos -
CUCM SQL Query - MGCP EPs IP Addresses
Hello,
CUCM 9.x.
Could you please advice me the CLI sql query to get registered MGCP endpoints IP addresses?
Thank you in advance.Hi,
these IP's aren't stored in the SQL DB.
Try RISDB:
admin:show risdb query gateway
----------- Gateway Information -----------
Number of Gateway entries: 412
#registered, #unregistered, #rejected, StateId, #ExpUnreg
216, 14, 182, 13605, 0
Seq#, Gateway Name, IPAddress, IPv6Address, Desription, DChannel #, DChannel Status, Perf Object, Reg Status, Model Type, Http Support, #Reg Attempts, Prod Id, Box Prod Id, RegStatChg TimeStamp
1, BRI/S0/SU0/[email protected], 10.14.71.44, , BRI/S0/SU0/[email protected], 0, UP, 12, unr, 121, no, 0, 90, 30060, 1425375416
Regards
Andre -
Reg: Error while deploying the Model
Hello All,
I developed a Model in the VC.
The compilation of the model was successful.
But when I tried to deploy the model I'm getting an Error message saying :
"Error in executing a process for Flex compilation, Not enough space" .
Can anyone tell me what to do to resolve this problem ?
Regards,
Deepu.KHi colleagues,
We also encountered this problem here at our customer´s system .
We told the basis administrators to increase the disk space which did not solve our problem, though.
After successfully compiling the vc model
Deploying with FLEX2 results in an error as follows:
"Process is not executed!"
while deploying with flex1 resulits in the error
"Error in executing a process for Flex compilation, Not enough space"
Since everything has been working smoothly for the last months until now,
we wonder how this error has suddenly occured.
Does anyone have an idea how to trace the error or has anyone encountered this error, too?
Thanks in advance!
Gideon -
Reg. Scenerio Sheets are not importing while importing the model.
Hi All ,
Due to some issues , I exported the existing model and then do the isreset before importing the model. I imported the model which i exported. I am unable to see any Scenerio Sheet , planning Sheet in Analysis Workbench which i created earlier. there is no data in Planning workbench .
Do i need to create new Scenerio sheets ? or Is there anyway i can retrive those sheets and Put it back ?
if yes then how, Please guide.
Thanks
Lokesh RathiHi ,
Sorry for late reply .
The version we r using IOP 4.0.1.32 .
Please let me know your thoughts on following issue :
1) we have already published a model which is having 5 Cubes ,11 dimensions and 100+ measures. Then we add two more cubes which are not related the previous one and we used different Dimension and measures for it. These cubes remain in unpublished state and somehow one of the cube from Earlier published model also came into unpublished state. Why the scenerio sheets which are already created not visible to me after importing this model (Unpublished) to the other instance. I can understand tht untill the model is processed it will not open but it was not visible also in the planner workbench. the planner workbench is completely empty.
lokesh -
Reg:The distribution model is currently being processed.
Hi all
I am trying to distribute the model, i have created. But i am getting the error msg saying " Model view has not been updated. Reason: the distribution model is currently being processed.
Helpful answers will be rewarded.
Thanks,
Sankar MHi shankar,
i think already one distribution model is running.
First delete that model view and create new one as per your requirement.
then it will work.
Regards,
Sakthivel.VT -
Namburi,
When you said you used the Reg Exp tool, did you use it only as
preconfigured by the iMT migrate application wizard?
Because the default configuration of the regular expression tool will only
target the files in your ND project directories. If you wish to target
classes outside of the normal directory scope, you have to either modify the
"Source Directory" property OR create another instance of the regular
expression tool. See the "Tool" menu in the iMT to create additional tool
instances which can each be configured to target different sets of files
using different sets of rules.
Usually, I utilize 3 different sets of rules files on a given migration:
spider2jato.xml
these are the generic conversion rules (but includes the optimized rules for
ViewBean and Model based code, i.e. these rules do not utilize the
RequestManager since it is not needed for code running inside the ViewBean
or Model classes)
I run these rules against all files.
See the file download section of this forum for periodic updates to these
rules.
nonProjectFileRules.xml
these include rules that add the necessary
RequestManager.getRequestContext(). etc prefixes to many of the common
calls.
I run these rules against user module and any other classes that do not are
not ModuleServlet, ContainerView, or Model classes.
appXRules.xml
these rules include application specific changes that I discover while
working on the project. A common thing here is changing import statements
(since the migration tool moves ND project code into different jato
packaging structure, you sometime need to adjust imports in non-project
classes that previously imported ND project specific packages)
So you see, you are not limited to one set of rules at all. Just be careful
to keep track of your backups (the regexp tool provides several options in
its Expert Properties related to back up strategies).
----- Original Message -----
From: <vnamboori@y...>
Sent: Wednesday, August 08, 2001 6:08 AM
Subject: [iPlanet-JATO] Re: Use Of models in utility classes - Pease don't
forget about the regular expression potential
Thanks Matt, Mike, Todd
This is a great input for our migration. Though we used the existing
Regular Expression Mapping tool, we did not change this to meet our
own needs as mentioned by Mike.
We would certainly incorporate this to ease our migration.
Namburi
--- In iPlanet-JATO@y..., "Todd Fast" <toddwork@c...> wrote:
All--
Great response. By the way, the Regular Expression Tool uses thePerl5 RE
syntax as implemented by Apache OROMatcher. If you're doing lotsof these
sorts of migration changes manually, you should definitely buy theO'Reilly
book "Mastering Regular Expressions" and generate some rules toautomate the
conversion. Although they are definitely confusing at first,regular
expressions are fairly easy to understand with some documentation,and are
superbly effective at tackling this kind of migration task.
Todd
----- Original Message -----
From: "Mike Frisino" <Michael.Frisino@S...>
Sent: Tuesday, August 07, 2001 5:20 PM
Subject: Re: [iPlanet-JATO] Use Of models in utility classes -Pease don't
forget about the regular expression potential
Also, (and Matt's document may mention this)
Please bear in mind that this statement is not totally correct:
Since the migration tool does not do much of conversion for
these
utilities we have to do manually.Remember, the iMT is a SUITE of tools. There is the extractiontool, and
the translation tool, and the regular expression tool, and severalother
smaller tools (like the jar and compilation tools). It is correctto state
that the extraction and translation tools only significantlyconvert the
primary ND project objects (the pages, the data objects, and theproject
classes). The extraction and translation tools do minimumtranslation of the
User Module objects (i.e. they repackage the user module classes inthe new
jato module packages). It is correct that for all other utilityclasses
which are not formally part of the ND project, the extraction and
translation tools do not perform any migration.
However, the regular expression tool can "migrate" any arbitrary
file
(utility classes etc) to the degree that the regular expressionrules
correlate to the code present in the arbitrary file. So first andforemost,
if you have alot of spider code in your non-project classes youshould
consider using the regular expression tool and if warranted adding
additional rules to reduce the amount of manual adjustments thatneed to be
made. I can stress this enough. We can even help you write theregular
expression rules if you simply identify the code pattern you wish to
convert. Just because there is not already a regular expressionrule to
match your need does not mean it can't be written. We have notnearly
exhausted the possibilities.
For example if you say, we need to convert
CSpider.getDataObject("X");
To
RequestManager.getRequestContext().getModelManager().getModel(XModel.class);
Maybe we or somebody else in the list can help write that regularexpression if it has not already been written. For instance in thelast
updated spider2jato.xml file there is already aCSpider.getCommonPage("X")
rule:
<!--getPage to getViewBean-->
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[getViewBean($1ViewBean.class]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
Following this example a getDataObject to getModel would look
like this:
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[getModel($1Model.class]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
In fact, one migration developer already wrote that rule andsubmitted it
for inclusion in the basic set. I will post another upgrade to thebasic
regular expression rule set, look for a "file uploaded" posting.Also,
please consider contributing any additional generic rules that youhave
written for inclusion in the basic set.
Please not, that in some cases (Utility classes in particular)
the rule
application may be more effective as TWO sequention rules ratherthan one
monolithic rule. Again using the example above, it will convert
CSpider.getDataObject("Foo");
To
getModel(FooModel.class);
Now that is the most effective conversion for that code if that
code is in
a page or data object class file. But if that code is in a Utilityclass you
really want:
>
RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
So to go from
getModel(FooModel.class);
To
RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
You would apply a second rule AND you would ONLY run this rule
against
your utility classes so that you would not otherwise affect yourViewBean
and Model classes which are completely fine with the simplegetModel call.
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[getModel\(]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[getModel\(]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[RequestManager.getRequestContext().getModelManager().getModel(]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
A similer rule can be applied to getSession and other CSpider APIcalls.
For instance here is the rule for converting getSession calls toleverage
the RequestManager.
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[getSession\(\)\.]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[getSession\(\)\.]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[RequestManager.getSession().]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
----- Original Message -----
From: "Matthew Stevens" <matthew.stevens@e...>
Sent: Tuesday, August 07, 2001 12:56 PM
Subject: RE: [iPlanet-JATO] Use Of models in utility classes
Namburi,
I will post a document to the group site this evening which has
the
details
on various tactics of migrating these type of utilities.
Essentially,
you
either need to convert these utilities to Models themselves or
keep the
utilities as is and simply use the
RequestManager.getRequestContext.getModelManager().getModel()
to statically access Models.
For CSpSelect.executeImmediate() I have an example of customhelper
method
as a replacement whicch uses JDBC results instead of
CSpDBResult.
matt
-----Original Message-----
From: vnamboori@y... [mailto:<a href="/group/SunONE-JATO/post?protectID=081071113213093190112061186248100208071048">vnamboori@y...</a>]
Sent: Tuesday, August 07, 2001 3:24 PM
Subject: [iPlanet-JATO] Use Of models in utility classes
Hi All,
In the present ND project we have lots of utility classes.
These
classes in diffrent directory. Not part of nd pages.
In these classes we access the dataobjects and do themanipulations.
So we access dataobjects directly like
CSpider.getDataObject("do....");
and then execute it.
Since the migration tool does not do much of conversion forthese
utilities we have to do manually.
My question is Can we access the the models in the postmigration
sameway or do we need requestContext?
We have lots of utility classes which are DataObjectintensive. Can
someone suggest a better way to migrate this kind of code.
Thanks
Namburi
[email protected]
[email protected]
[Non-text portions of this message have been removed]
[email protected]
[email protected]Namburi,
When you said you used the Reg Exp tool, did you use it only as
preconfigured by the iMT migrate application wizard?
Because the default configuration of the regular expression tool will only
target the files in your ND project directories. If you wish to target
classes outside of the normal directory scope, you have to either modify the
"Source Directory" property OR create another instance of the regular
expression tool. See the "Tool" menu in the iMT to create additional tool
instances which can each be configured to target different sets of files
using different sets of rules.
Usually, I utilize 3 different sets of rules files on a given migration:
spider2jato.xml
these are the generic conversion rules (but includes the optimized rules for
ViewBean and Model based code, i.e. these rules do not utilize the
RequestManager since it is not needed for code running inside the ViewBean
or Model classes)
I run these rules against all files.
See the file download section of this forum for periodic updates to these
rules.
nonProjectFileRules.xml
these include rules that add the necessary
RequestManager.getRequestContext(). etc prefixes to many of the common
calls.
I run these rules against user module and any other classes that do not are
not ModuleServlet, ContainerView, or Model classes.
appXRules.xml
these rules include application specific changes that I discover while
working on the project. A common thing here is changing import statements
(since the migration tool moves ND project code into different jato
packaging structure, you sometime need to adjust imports in non-project
classes that previously imported ND project specific packages)
So you see, you are not limited to one set of rules at all. Just be careful
to keep track of your backups (the regexp tool provides several options in
its Expert Properties related to back up strategies).
----- Original Message -----
From: <vnamboori@y...>
Sent: Wednesday, August 08, 2001 6:08 AM
Subject: [iPlanet-JATO] Re: Use Of models in utility classes - Pease don't
forget about the regular expression potential
Thanks Matt, Mike, Todd
This is a great input for our migration. Though we used the existing
Regular Expression Mapping tool, we did not change this to meet our
own needs as mentioned by Mike.
We would certainly incorporate this to ease our migration.
Namburi
--- In iPlanet-JATO@y..., "Todd Fast" <toddwork@c...> wrote:
All--
Great response. By the way, the Regular Expression Tool uses thePerl5 RE
syntax as implemented by Apache OROMatcher. If you're doing lotsof these
sorts of migration changes manually, you should definitely buy theO'Reilly
book "Mastering Regular Expressions" and generate some rules toautomate the
conversion. Although they are definitely confusing at first,regular
expressions are fairly easy to understand with some documentation,and are
superbly effective at tackling this kind of migration task.
Todd
----- Original Message -----
From: "Mike Frisino" <Michael.Frisino@S...>
Sent: Tuesday, August 07, 2001 5:20 PM
Subject: Re: [iPlanet-JATO] Use Of models in utility classes -Pease don't
forget about the regular expression potential
Also, (and Matt's document may mention this)
Please bear in mind that this statement is not totally correct:
Since the migration tool does not do much of conversion for
these
utilities we have to do manually.Remember, the iMT is a SUITE of tools. There is the extractiontool, and
the translation tool, and the regular expression tool, and severalother
smaller tools (like the jar and compilation tools). It is correctto state
that the extraction and translation tools only significantlyconvert the
primary ND project objects (the pages, the data objects, and theproject
classes). The extraction and translation tools do minimumtranslation of the
User Module objects (i.e. they repackage the user module classes inthe new
jato module packages). It is correct that for all other utilityclasses
which are not formally part of the ND project, the extraction and
translation tools do not perform any migration.
However, the regular expression tool can "migrate" any arbitrary
file
(utility classes etc) to the degree that the regular expressionrules
correlate to the code present in the arbitrary file. So first andforemost,
if you have alot of spider code in your non-project classes youshould
consider using the regular expression tool and if warranted adding
additional rules to reduce the amount of manual adjustments thatneed to be
made. I can stress this enough. We can even help you write theregular
expression rules if you simply identify the code pattern you wish to
convert. Just because there is not already a regular expressionrule to
match your need does not mean it can't be written. We have notnearly
exhausted the possibilities.
For example if you say, we need to convert
CSpider.getDataObject("X");
To
RequestManager.getRequestContext().getModelManager().getModel(XModel.class);
Maybe we or somebody else in the list can help write that regularexpression if it has not already been written. For instance in thelast
updated spider2jato.xml file there is already aCSpider.getCommonPage("X")
rule:
<!--getPage to getViewBean-->
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[getViewBean($1ViewBean.class]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
Following this example a getDataObject to getModel would look
like this:
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[getModel($1Model.class]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
In fact, one migration developer already wrote that rule andsubmitted it
for inclusion in the basic set. I will post another upgrade to thebasic
regular expression rule set, look for a "file uploaded" posting.Also,
please consider contributing any additional generic rules that youhave
written for inclusion in the basic set.
Please not, that in some cases (Utility classes in particular)
the rule
application may be more effective as TWO sequention rules ratherthan one
monolithic rule. Again using the example above, it will convert
CSpider.getDataObject("Foo");
To
getModel(FooModel.class);
Now that is the most effective conversion for that code if that
code is in
a page or data object class file. But if that code is in a Utilityclass you
really want:
>
RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
So to go from
getModel(FooModel.class);
To
RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
You would apply a second rule AND you would ONLY run this rule
against
your utility classes so that you would not otherwise affect yourViewBean
and Model classes which are completely fine with the simplegetModel call.
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[getModel\(]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[getModel\(]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[RequestManager.getRequestContext().getModelManager().getModel(]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
A similer rule can be applied to getSession and other CSpider APIcalls.
For instance here is the rule for converting getSession calls toleverage
the RequestManager.
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[getSession\(\)\.]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[getSession\(\)\.]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[RequestManager.getSession().]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
----- Original Message -----
From: "Matthew Stevens" <matthew.stevens@e...>
Sent: Tuesday, August 07, 2001 12:56 PM
Subject: RE: [iPlanet-JATO] Use Of models in utility classes
Namburi,
I will post a document to the group site this evening which has
the
details
on various tactics of migrating these type of utilities.
Essentially,
you
either need to convert these utilities to Models themselves or
keep the
utilities as is and simply use the
RequestManager.getRequestContext.getModelManager().getModel()
to statically access Models.
For CSpSelect.executeImmediate() I have an example of customhelper
method
as a replacement whicch uses JDBC results instead of
CSpDBResult.
matt
-----Original Message-----
From: vnamboori@y... [mailto:<a href="/group/SunONE-JATO/post?protectID=081071113213093190112061186248100208071048">vnamboori@y...</a>]
Sent: Tuesday, August 07, 2001 3:24 PM
Subject: [iPlanet-JATO] Use Of models in utility classes
Hi All,
In the present ND project we have lots of utility classes.
These
classes in diffrent directory. Not part of nd pages.
In these classes we access the dataobjects and do themanipulations.
So we access dataobjects directly like
CSpider.getDataObject("do....");
and then execute it.
Since the migration tool does not do much of conversion forthese
utilities we have to do manually.
My question is Can we access the the models in the postmigration
sameway or do we need requestContext?
We have lots of utility classes which are DataObjectintensive. Can
someone suggest a better way to migrate this kind of code.
Thanks
Namburi
[email protected]
[email protected]
[Non-text portions of this message have been removed]
[email protected]
[email protected] -
Importing multiple column names to Logical Model
I have approximately 2,000 column names to import into a new logical model and create my glossary. The names are in currently in .xls format. Is there an easy/efficient way to do this or must I enter each into the logical model attributes? Maybe a way to cut/paste multiple columns into the logical model?
Thanks...Hi,
it's not clear what are you trying to achieve:
I have approximately 2,000 column names to import into a new logical model are you trying to create attributes in logical model - you also need entities that will contain these attributes.
and create my glossary. The names are in currently in .xls format.or you want to create glossary from your file. You need to transform your file in following format and import it in glossary editor using ERwin txt format:
COUNTRY,CTRY,
IDENTIFICATION,ID,
REGION,REG,
DEPARTMENT,DEPT,
Maybe a way to cut/paste multiple columns into the logical model?if you have tables with columns in relational model then you can use "Engineer to logical model" functionality to get entities and attributes in logical model.
Philip -
Model 415 for Canary Islands Tax Auth.
Hi all,
¿Anyone knows how to get the flat file of declaration form 415 for Canary Islands Tax Authorities?
This form is very similar to 'DAO 347', but whit different file format.
Thanks a lot.Hi Manny,
Thnx for the input. However I checked table T5UTX to see the ceiling there. The ceiling is 9000.00. However amt in RT Table for /715 wage type is much below the ceiling value i.e 1,210.51.
Amt in /615 = 1,213.47 . This diff of $ 2.96 is due to the presence of Gross-up wagetype 12SC. I have checked the Tax Model settings for DC thoroughly to see that this wagetype 12SC gets included in the taxable for Er Job Devmt Assessmt tax. And /615 is being calculated as expected in the RT Table. The problem lies with /715 !!
I am a bit confused by the presence of 2 entries for Tax Type 15 in the payroll log in Func USTAX:
Tax authority DC District Of Columbia DA01
Tax Category Tax.inc Tax-free Inc.Declare Tax.earning Tax
01 Withholding Tax (REG) 1213.47 0.00 1213.47 1213.47 57.00
10 Employer Unemployment Tax (REG) 1213.47 0.00 1213.47 1213.47 15.78
15 Er Job Devmt Assessmt Tx (REG) 2.96 0.00 2.96 2.96 0.01
15 Er Job Devmt Assessmt Tx (REG) 1210.51 0.00 1210.51 1210.51 2.42
41 Employee Disability Tax (REG) 2.96 0.00 2.96 0.00 0.00
Why are there 2 entries separately for Tax Type 15 ? The answer might be the solution to this issue.
Please help.
Thanks And Regards,
Somdeb Banerjee. -
How to Hide the column in the model layer
Hi,
My Jdeveloper version is 11.1.1.3.0.
We can make an attribute visible / invisble by setting Display Hints value in the Control hints tab.
I want to display the column conditionally.
Is it possible to do it dynamically in Model Level itself by Display Hints Property?
Reg,
ViniFedor,
Now also i am getting the same output.
My requirement is i have to create the viewobject as it is in BaseVO and to hide some of the columns dynamically.
In Appmod level iam doing this:
String baseVo = (new StringBuilder("sample.model.")).append(baseVoName).toString();
ViewDefImpl newView = new ViewDefImpl(ViewDefImpl.DEF_SCOPE_SESSION, "DynamicVO", baseVo );
newView.resolveDefObject();
newView.registerDefObject();
ViewObject internalDynamicVO = findViewObject("DynamicVO");
if (internalDynamicVO != null)
internalDynamicVO.remove();
getTransaction().rollback();
createViewObjectForDef("DynamicVO", newView);
ViewObject VO = findViewObject("DynamicVO");
AttributeDefImpl de = ((AttributeDefImpl) VO.findAttributeDef("FirstName"));
de.setProperty(AttributeHints.ATTRIBUTE_DISPLAY_HINT, AttributeHintsImpl.ATTRIBUTE_DISPLAY_HINT_HIDE);
//de.setProperty(de.getUIHelper().ATTRIBUTE_DISPLAY_HINT, de.getUIHelper().ATTRIBUTE_DISPLAY_HINT_HIDE);
return "DynamicVO";
and in JSPX:
<af:table rows="#{bindings.DynamicVO.rangeSize}"
fetchSize="#{bindings.DynamicVO.rangeSize}"
emptyText="#{bindings.DynamicVO.viewable ? 'No data to display.' : 'Access Denied.'}"
var="row" rowBandingInterval="0"
value="#{bindings.DynamicVO.collectionModel}"
selectedRowKeys="#{bindings.DynamicVO.collectionModel.selectedRow}"
selectionListener="#{bindings.DynamicVO.collectionModel.makeCurrent}"
rowSelection="single" id="t1">
<af:forEach items="#{bindings.DynamicVOIterator.attributeDefs}" var="def">
<af:column headerText="#{def.name}" sortable="true"
rendered="#{bindings[def.name].hints[def.name].displayHint!='Hide'}"
sortProperty="#{def.name}" id="c1">
<af:outputText value="#{row[def.name]}" id="ot1"/>
</af:column>
</af:forEach>
</af:table>
and in Pagedef:
<executables>
<variableIterator id="variables"/>
<iterator Binds="DynamicVO" DataControl="AppModuleDataControl"
id="DynamicVOIterator"/>
</executables>
<bindings>
<tree IterBinding="DynamicVOIterator" id="DynamicVO">
<nodeDefinition Name="Dummy"></nodeDefinition>
</tree>
</bindings>
but iam not getting the entire columns to be hidden.
EmpoyeeID FirstName Lastname
100 King
101 Kochhar
i firstname column to be hidden.
Reg
vini -
Build model - view test result - i have no ROC tab
Dear all,
When I build eg. a classification SVM (Lin.Reg, Naive Bayes)) model and view the test results, in that window I have only these tabs: Performance, Performance Matrix, Lift, Profit. I have no Roc tab. Do you know why? Before I used SQL Developer 3.2.09.30_x64 with this problem. Now I use SQL Developer 3.2.20.09.87_x64 with this problem. When I try to tune the SVM algoritm (so not let it automatic), there are only these tabs: Cost, Benefit, Lift, Profit. But not ROC tab :(((
When I use the old Oracle Data Miner software from 2011, version 11.1.0.3.0 (build 11705) connecting to the same database server (using the same account), and I build a classification SVM model, I have ROC curve.
Can anyone help me to solve this misterious problem?
Than you!!!We don't have "preferred target value" during model building in the new data miner. However, you can use the Transform node to transform your target into 2 classes (preferred target value and others). You then use the output from the Transform node as input source for your model build.
Here is a process to transform your target into 2 classes:
- Create a Transform node
- In Transform node, select the target column, click "Add Transformation" icon on the toolbar
- In the Add Transform dialog, select "Custom" Binning Type, click "Generate Default Bins" button (accept default settings)
- In the "Custom bin values" listbox, remove the non-preferred target values (select the values and click the "Remove Transformation" icon on the toolbar)
- Now, you should have one preferred target value in the "Custom bin values" listbox, click OK to finish
You can now connect the Transform node to a Build node. In the Build node, select the transformed target (it should have the "_BIN" suffix in the name) as the Target for model build.
Hope this help!
Denny
Maybe you are looking for
-
Exsice tab not display in migo transaction
Dear All, for this error i got one note 1079123, i am using Ecc 6.0 Ehp4. when my basis person is going to apply that patch, that time he is telling me this will not applicable for EHP4, this will use only in 602 version... can any body help me.....
-
Function module that will return week details
Anyone know Sap FM that will return Week details(as below)for a given start and end dates (similar to the function module HR_99S_INTERVAL_BETWEEN_DATES which returns details for a month) independent of factory calendar I am expecting Inputs Start D
-
Why dont the music & music videos work the same as on iPhone?
why dont the music & music videos work the same as on iPhone?
-
Servlet execution threw an exception/NoClassDefFoundError
Hi there, could anyone help me - I'm already desperated ! I always get an error message running (or better trying to run) a servlet on my linux webserver. Servlet worked fine on my Windows ME Apache. Does anyone know, what the following message mean
-
Cannot connect to app store after downloading mountain lion
cannot connect to app store after installing mountain lion it says there is no network connection when there clearly is i am on the internet now and i had this problem with the bootcamp server i read that in another forum and the answer to remove the