Use of the object
Hi,
According to the sample app from
http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/
within ImageServlet.java, can you tell me what the need is for defining the object “ULDLAppModuleImpl” inside that?
Off topic for this forum. Ask the author. Locking.
Similar Messages
-
Could someone explain how to use of the object Thermometer?
Hi to all,
please, could someone write a real example explaining how to use the thermometer in order to indicate the progress of a process like to submit a document?
I need to do it exactly to indicate this process in Adobe Reader.
Thanks.
DanSorry but I surely have explained my problem badly. I understand how to use the object thermometer perfectly.
I need to use this object in order to determine the progress of the document's transference when I submit a PDF form from Adobe Reader.
I'm having problems when I try to do this, and I would like to know if there exists some way to do it.
b I have tried the following:
var t = app.thermometer;
t.duration = 1000;
// How can I know this value?
t.begin();
t.text = "Please wait";
// Is this a madness?
while( event.target.submitForm( { cURL: [...], cSubmitAs: [...] } ) )
t.value++;
t.end();
Thank you for your time
Dan -
Need Ideas for creating and using Custom Business Object
Hello Guys,
I am developing an application which uses a Request->Approve->Create approach for creating Purchase documents.
Now I am a little puzzled about how to make use of the Business Object BUS2014.
The application I am developing has its own unique 'Request Number' (say REQID) which will point to the Request for Creation of a purchase order.
Whenever a Request is created (from a Z-Tcode) a workflow needs to be initiated and it has to be sent to the approver.
The Purchase Document will be created once the approver approves.
Now my confusion here is, if I use BUS2014, the object will be instantiated only during the final step of the workflow. But I need an instance during the beginning of the Requestor ->Approver negotiations as I am playing with events. These events needs an Object_key.
How should I proceed here?
Should I create a new logical Business Object like ZPOREQ where I have the above mentioned REQID as the key?
And should I have an attribute of type BUS2014 inside the custom BO?
How will I make use of the methods like BUS2014.Create etc which I may need to create the purchase document?
Any small direction will be a huge help for me to get used to this wilderness.Hi,
You should continue with the ABAP class idea. The business objects are kind of "obsolete" already, and if there is a need to create a new "object", ABAP classes are the way to go. Business objects are still useful, but I normally use them only when an existing standard business object fulfills the requirements (possibly with slight additions) which is almost never.
From my point of view you can use the existing class. Depending on the circumstances I normally have just one class that I use for both workflow and the possible other functionality that is required, but you have to understand that I have this goal in my mind already when starting the development process. As your class most probably has many useful features already (such as you have the header and item data as attributes etc. (if I understood correctly?), these are also useful in in workflow (class attributes will be available in WF container etc.).
If you are hesitant to use the same class directly in your workflow, you could also create a new class ZCL_REQUEST_FOR_WF (with the workflow interface), and then simply add your existing class ZCL_WF_REQUEST as an attribute to this new class. Then this new workflow class could include the pure workflow stuff, and your existing class the non-workflow stuff. But this most probably will not make much sense - just implement the if_workflow interface in your existing class (this is just one possibility that you might consider.)
Regards,
Karri -
Object Visualization and accessing the object's attributes
Hi all,
I am trying to configure SWFVISU to allow us to call an ABAP Web Dynpro which displays an adhoc object attached to a workflow in the UWL.
I've had success with a business object of a task which is not an adhoc object by binding an attribute to the task container and creating a custom attribute in the UWL. However this is not possible with Adhoc Objects as there could be 0..n objects at runtime.
I've seen plenty of threads that refer to using ${item.externalObjectId} as part of the visualization parameters, ie in Visualization Parameters:
APPLICATION FMCA_WDY_FPF
DYNPARAM WDCONFIGURATIONID=FMCA_WDY_FPF_CONF&RETURN_ID=${item.externalObjectId}
NAMESPACE sap
SYSTEM_ALIAS SAP_ERP_Public_Sector
however in this case the attribute we need access to is an attribute to the Object Class, not the Work Item.
Is there any other variable substitution we can use in the Object Visualization to reference an attribute of the Object Class itself?
Thanks in advance
AlexHi,
Please visit the below link. This might help you.
http://weblogs.sdn.sap.com/cs/blank/view/wlg/20379
Thanks and regards,
SNJY -
1)Now I use Lightrom 5.7 how to upgrade to 6 or CC?
2) What is the difference between 6 and CC version?
3) When I used lightromm 3, I could see in EXIF the distance in meters till the object I took, in the later virsions that function disappeared, it is very sad I am stiil waiting and hope that it would be possibble in the new versions. Or this indication may possible by setting?1)Now I use Lightrom 5.7 how to upgrade to 6 or CC?
Purchase the standalone upgrade from here: Products
Download CC version from here: Explore Adobe desktop apps | Adobe Creative Cloud
2) What is the difference between 6 and CC version?
See this comparison chart: Compare Lightroom versions | Adobe Photoshop Lightroom CC
3) When I used lightromm 3, I could see in EXIF the distance in meters till the object I took, in the later virsions that function disappeared, it is very sad I am stiil waiting and hope that it would be possibble in the new versions. Or this indication may possible by setting?
Rob Cole's ExifMeta plugin displays the Subject Distance field (and much more). Unfortunately, his Web site appears to be down again. He used to be very active here, but he hasn't posted in several months. -
I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different place than where it is on frame 2. Confused!
Hi Melissa - thanks for your interest. Here's the first frame, the second frame and the tween frame. I don't understand why the tween is changing the position of the object in frame 2, was expecting it to just fade from one frame to the next.
-
How do I find out all the objects I use in my application.
As I am creating my documentation, I realized it would be helpful to know all the objects that my application uses ( tables, views, packages etc). Is there a way to find that out i.e. any script or simple alternative etc ?
Thanks, folks!I am on version 3.0.1.00.08 and am trying to figure this out for this version.The navigation path is different but the report is available somewhere.
Also, is there a way to get the sql from all the pages out ?What do you mean?
Scott -
How to persist data in the object n memory after fetching it once from database and use it with linq
Hi,
I have some data from the database around 8 to 10 records .
These records are interrelated and I need to show cascade drop down.
I want to get the records from the database using c#.
And then based on certain events on the page want to use linq over the same data without having to get the data from the data base again.
i.e
ProductName
Product Plan
Product type
Monthly
Annually
pordA
Gold
Individual
1
5
pordA
Gold
Spouse
2
6
pordA
Silver
Individual
3
7
pordA
Silver
Spouse
4
8
Prod B
Platinum
Individual
5
9
Prod B
Platinum
Spouse
6
10
Prod B
Gold
Individual
1
5
Prod B
Gold
Spouse
2
6
pordA
Silver
Individual
3
7
pordA
Silver
Spouse
4
8
pordA
Platinum
Individual
5
9
Now on page load I want product name in drop down.
Based on the productName selected i want to show Product Plan in another drop down and based on prduct plan want to show prduct type in drop down and then the annual and monthly in drop down.
I want to get all the records of prod A and then using linq to object load the drop downs instead of running query to database.
How can I keep the records available across the function calls.
Regards
VinodThis is mostly a ASP.NET question. You get better answers if you post it in ASP.NET forum.
This is my answer:
Session is not a suitable choice, since each user will have a duplicate of the data. Cache is a better option.
You can put something in Cache option and retrieve it from Cache similar to using Session. This is the manual method of caching and management of the cache content is on yourself.
public List<Product> GetAll()
List<Product> products = null;
if (Cache["Products"] == null)
DataSet data = RetrieveProducts();
products = ConvertProductsDataSetToObject(data);
Cache.Insert("Products", products, null, DateTime.Now.AddMinutes(30), TimeSpan.Zero);
else
products = (List<Product>)Cache["Products"];
return products;
When putting something in the cache, you should set its expire time. But one thing that is more important over this is to clear the cache when your data is changed in the data store (e.g. database).
public void UpdateProduct()
// update product in the database
// clear the cahce, so that the next request for Products, receives a fresh copy of the data
Cache["TestItem"] = null;
Other than using cache manually, there are also some helper funcationalities that manage cache automatically for you, based on the technology you use (ASP.NET Web Forms or ASP.NET MVC). For example in ASP.NET Web Forms you can ask ASP.NET Web Forms engine
to cache the output of a User Control automatocally by adding OutputCache directive to the user control. In ASP.NET MVC you can you [OutputCache] attribute and apply it to actions.
[OutputCache(Duration = 86400, Location = OutputCacheLocation.All)]
public ActionResult Index()
var model = ProductBL.GetAll();
return View(model);
Also, there is a concept named cache dependency, by which you can specify a dependency for the item being cached. When the condition is met, the cache automatically invalidates and clears.
There are three kinds of cache dependency:
Item dependency: make cached data dependent on another cached data
File dependency: make cached data dependent on a file
Sql dependency: make cached data dependent on the result of a SQL query -
How to handle the Exception in GP using executable callabel object.
Hi all,
I handled an exception in GP using Background callable Object. That is working fine.
(Ex: Exception_No_User_Found). The Problem is I am not able to handle the exceptions for normal callable object. I have done the same thing as i did in background callable object except implementing IGPBackgroundCallableObject Class. I have created an WebDynpro DC Project where in getDescription method i declared an Exception and in execute method of component controller I caught the exception if no user found.
Then i created an callable object for this simple DC project. but that is not working i could not catch the exception. when i execute the process it is asking the User ID if i give the wrong userId it is not refreshing back to the user id input form.
But if i test that simple callable object separately it is throwing an Exception when I give the wrong input..
but the same thing is working fine using background callable object.
I couldn't handle the exception for the simple callable object or executable callable object.
Please If anyone bring me the solution that would be appreciated.
Thanks in advance.
Regards,
Malar.Hi Shikhil
Thanks for your reply
Please have a look below for exceptions which i am getting in GP and let me know how to handle these exceptions.
1) "Activity could not be read"
2) "Action has been stopped"
3) error while processing the item can not be displayed
if you give any idea/clue how to handle these exceptions then it would be great help to me
Thanks
Sunil -
To get the Workflow status using the Object Key
Hi Experts,
Do we have any transaction code or a Standard table where I can see the status of the Workflow using the Object Key.
For example I have an Invoice Document number for which a Workflow has been triggered and now I want to see the which workflow has been triggered and what is the status for the same. I have only the Invoice Document Number.
I think I can use the SWI1, SWEL etc but I don't have Object key as Input field.
Thanks in advance.
Regards,
SRinivasHi,
You can find the workitem id in table SWW_WI2OBJ.
Here you need to pass the invoice number in "Instacne ID" with leading zeros, business object in Object type.
This may take little bit longer time.
After getting the workitem number then look into table SWWWIHEAD for the workitem status.
Thanks and regards,
SNJY -
How to use a scaled object(MC) to fill the background with the new properties
So lets say i have a stage 300 to 200 and all object that i have are for this dimensions.Also have an pattern function that fills the background.
But the user is thinking of resizing the stage to lets say 1024 to 480 (he switched from a phone to a tablet).And now the scale of the objects in the tablet screen are more than 3times before(when seen on the Phone)
How do i save the current new size object and use it in the creation of the new background (the 1024x480).
currently i have this :
public static const GAME_ORG_WIDTH:uint = 300;
public static const GAME_ORG_HEIGHT:uint = 200;
public function MainClass_road() {
addEventListener(Event.ADDED, init);
public function init(e:Event):void{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, setUpScreen);
public function setUpScreen(ev:Event):void{
stage.removeEventListener(Event.RESIZE, setUpScreen);
if(stage.fullScreenHeight > stage.fullScreenWidth){
gameStageWidth = stage.fullScreenWidth;
gameStageHeight = stage.fullScreenHeight;
}else {
gameStageWidth = stage.fullScreenHeight; // 480
gameStageHeight = stage.fullScreenWidth; //1024
rescaleRatio = gameStageWidth / GAME_ORG_WIDTH;
//rescale every object, ie:
myC.scaleX = myC.scaleY = rescaleRatio;
//start filling the Background with the pattern
tileBgF();
and then I use the while loop for filling the screen/background
public function tileBgF(e:Event=null):void {
var bgClip = MyC;
var i:int = 0;
var j:int = 0;
while (bgClip.x < stage.stageWidth) {
bgClip = MyC;
while (bgClip.y < stage.stageHeight) {
bgClip = MyC;
tileLayer.addChild(bgClip);
bgClip.x = bgClip.width * i;
bgClip.y = bgClip.height * j;
j++;
j = 0;
i++;
addChildAt(tileLayer,0);
why does it give me
Line 52
1120: Access of undefined property MyC.
in public function tileBgF
and further more.After filling the background/screen with the pattern , how do i save it all like one big bitMap so i can use /add it after time without doing all the checking of screen and things again.and is it better to use
stage.fullScreenHeight
in the while loop or leave it like it is ,or its irrelevant -
I need to get the cluster information using"MSCluster.Cluster" object
Hi,
Please anyone solve my problem ? I need to get the cluster information using"MSCluster.Cluster" object.
Set objCluster = CreateObject("MSCluster.Cluster")
objCluster .open <clustername>
If i run the vbscript " Microsoft VBScript runtime error: ActiveX component can't create object: 'MSCluster.Cluster' " error is thrown.
Kindly explain what is the issue and what can i do ?
-Sundar.this question was closed and answered a long time ago.
Post questions about WS2012 in th WS2012 forum.
The cluster object will no longer work in WS2012. Use the supplied CmdLets and utilities.
post future questions in the WS2012 forum.
¯\_(ツ)_/¯ -
Some of my rotation animation is stepping at about one degree increments instead of tweening smoothly. I'm using classic tweening. I see that if I select the whole interval and use F6 to convert every tween frame to a key and then select the object at the different frames, that I see under transform that the skew values are changes from frame to frame aroung that same one degree range. Is there a solution to this?
Some of my rotation animation is stepping at about one degree increments instead of tweening smoothly. I'm using classic tweening. I see that if I select the whole interval and use F6 to convert every tween frame to a key and then select the object at the different frames, that I see under transform that the skew values are changes from frame to frame aroung that same one degree range. Is there a solution to this?
-
What is the use of Adapter objects in I.R
what is the use of Adapter objects in I.R
congratulations you successfully opened 1000 new threads...
adapters are components of the adapter engine, their main action is to connect different sysems with each other. therefore are different adapters:
SAP-2-SAP Adapters: like IDoc and RFC
SAP-2-NOT-SAP-ADapters: like JMS, JDBC, HTTP..
and B2B Adapters...
there are some rules in any board that you should accept:
use search first
use the sap help http://help.sap.com/
and read the forum rules
regards cc -
How to get the Objects which are used in the webi Report.
Hi Expert,
I am trying to get the list of WebI reports and Objects which are present in the report at BO 4.0.
I can able to get details for only the list of reports and universes.
Could any one help me to get those details.
Regards,
Murali SWith 4.0, there is no longer a way to do this using just the .NET SDK because the ReportEngine SDK no longer exists for .NET. Instead, you'll have to look at using the RESTful Web Services SDK for Webi which runs in the Web Application Container Server on your report server (NOT on the web server!)
RESTful web services are platform-independent and don't require the installation of any SDK files. Everything is done through standard HTTP Get, Put, and Post commands and the results are returned in either XML or JSON format. You don't mention which service pack of 4.0 you're on, but the RESTful web services have evolved over the course of the 4.0 service packs, so more recent is definitely better.
You can find the documentation for this in the "Development Information" section at help.sap.com/bobip40. There is also a "space" on SCN for this at http://scn.sap.com/community/restful-sdk and there are some links on this page for various resources and sample code.
-Dell
Maybe you are looking for
-
I bought a mini display/port adaptor and an hdmi cable to connect my laptop to my tv as a monitor. I've used it a few times and it works fine, but my display changes in some ways, I don't have mhy desktop picture, just a blank screen. Everything se
-
i just bought a new computer and need to deaothorize my old computer but the problem is I can't open up my old computer to do that. So how can authorize my new computer?
-
Save file with script (skip warning 'modified outside Illustrator')
Hi All, We all know that command: app.activeDocument.save(); saves the document skipping all the dialogs and even alert that is popping out every time when you manually saving your file on a server: My issue is that I am working on PDF files (with pr
-
Hello, After I created an Oracle 9i database using Database Configuration Assistance, I noticed several tablespaces are created including SYSTEM, UNDO, and USER. I created one permanent and one temporary tablespaces of my own (TESTTB1, TESTTEMPTB1).
-
Please help! Mail is freaking out on me!
Mail is downloading thousands of messages into my inbox, i think it's old emails from my yahoo account (the email service i use), but normally in my in-box i have about 100 messages. they keep coming and won't stop, even when i quit mail and go back