Programmatically check the existence of objects in the system
Hi,
Is there a way to programmatically check the existence of objects? The idea is I'll accept a list of names of objects and their object types and then programmatically check their existence in the system?
Can you point me to a resource on how to do it?
Thanks in advance.
--Carl
Hi.
All custom objects (z, y) being referred to a program. May it be z or y table, data element, domain, sapscript form, function module/group.
The goal is actually to be able to transport a program from a source machine to a target machine. The objects being referred to from the program must also be transported, of course, for it to run properly. Thus, the need to check the objects' existence.
Thanks.
--Carl
Similar Messages
-
i had downloaded Mountain OX and installed it on my macbook air. The notes app is now not working. I get the following message
"Terminating app due to uncaught exception 'MFSQLiteException', reason: 'checking for existence of object'
abort() called
terminate called throwing an exception"
Can someone help me with solving the problem.i had downloaded Mountain OX and installed it on my macbook air. The notes app is now not working. I get the following message
"Terminating app due to uncaught exception 'MFSQLiteException', reason: 'checking for existence of object'
abort() called
terminate called throwing an exception"
Can someone help me with solving the problem. -
I am working on a SCSM change control workflow driven by email.
A lot of my work is based on the information found in this post:
http://blogs.technet.com/b/servicemanager/archive/2012/04/03/using-data-properties-from-the-parent-work-items-in-activity-email-templates.aspx#pi158453=4
This is an excellent post to which my Internet searches continually return. The workflow is about 90% complete.
My question is can I insert the properties of a related object of the parent workitem in a workflow email notification?
For example, I want to include the name property of the RequestedByUser related object of the parent workitem object in a review activity notification.Thank you for your reply. I have confirmed my template is using a projection that includes the parent workitem and requested by user. Where I am having trouble is the notification template syntax used to call the properties of the related
object of the parent workitem. The picker in the GUI won't show that related object, so I have no example to follow. I hope this reply makes sense! -
Problem in getting the function template object from the repository.
Hi all,
I have created a par file. I have a JCO connection in that. I am facing problems in getting the function template object from the repository. This thing is running successfully when i try to deploy it in Tomcat. But i am facing problems when i try to deploy it in SAP EP 6.0.
Below is statement which is giving error after being deployed to SAP EP6.
This is executing fine when executed in Tomcat Server.
// getting the object of function template
IFunctionTemplate functionTemplate =
aRepository.getFunctionTemplate("YADDNEWUSER");
Note : YADDNEWUSER is the name of the RFC which I am calling from my JAVA Code.
Thanks in advance,
DivijaThis sounds like a bug in the smart upload code. I have used this stuff before, but it's probably an older version, so maybe they broke something. Enumerations aren't usually guaranteed to keep things in any particular order. I would say for now, make a method to take the enumeration and a param name to find the value. And write to the JSPSmart people.
-
View all the available authority object in any system!!
Hi,
Is tere any way i can see all the avaiable authority object in any system?
Regards
GunjanHi,
Try transaction su21 .it should give you list.
Thanks.
Mark points if helpful. -
Revision: 14486
Revision: 14486
Author: [email protected]
Date: 2010-03-01 14:27:41 -0800 (Mon, 01 Mar 2010)
Log Message:
Add stream metadata support by extracting the actual metadata object from the binary data stream.
Fix bug 466
Modified Paths:
osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/Media.as
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingUtils.as
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FStreamInfo.assame problem, data not replicated.
its captured,propagated from source,but not applied.
also no apply errors in DBA_APPLY_ERROR. Looks like the problem is that LCRs propagated from source db do not reach target queue.can i get any help on this?
queried results are as under:
1.at source(capture process)
Capture Session Total
Process Session Serial Redo Entries LCRs
Number ID Number State Scanned Enqueued
CP01 16 7 CAPTURING CHANGES 1010143 72
2. data propagated from source
Total Time Executing
in Seconds Total Events Propagated Total Bytes Propagated
7 13 6731
3. Apply at target(nothing is applied)
Coordinator Session Total Total Total
Process Session Serial Trans Trans Apply
Name ID Number State Received Applied Errors
A001 154 33 APPLYING 0 0 0
4. At target:(nothing in buffer)
Total Captured LCRs
Queue Owner Queue Name LCRs in Memory Spilled LCRs in Buffered Queue
STRMADMIN STREAMS_QUEUE 0 0 0 -
How to add the Match code object for the requisitioner field in TCODE ME51N
Hi,
How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
Please do the needful to me.
Regards
Rajeshdon't you think that posting your question to a microsoft developer site would be more efficient?
regards,
anton -
How to find the size of the master data objects in the BW system?
Hi,
We would like to understand the size of the master data tables overall for a specific source system (Logical name is Ex.ABCD, which supplies all master data to BW). Can you please advise the procedure to find out this?
Is there any table that will allows to see all the master data objects related to specific sources system so that we can find out that table size? Thanks.
For example, we have many Texts, Hier & Attributes.
0COUNTRY_TEXT
0REGION_TEXT
0PERSON_ATTR
0MATERIAL_LPRH_HIER
Advance Thanks.
Edited by: BW USA on Feb 2, 2010 10:52 AMHi,
You can find out all the master data tales used in the BW system by
Tcode : SE11
Enter as /BIC/P* for master data tables and press F4 which gives list of master data tables currently used in BW system.
Similarly for Texts /BIC/T* and press F4
Similarly for Hierarchies /BIC/H-* press F4
and can know the size of the all tables.
Thanks,
Gopal -
How to transfer the attachment (DB object in the table:SOC3) to FTP Server
Hi,Experts:
I have a requirement to transfer an attachment to FTP Server,but the attachment have exist in DB for objects table(SOC3),I can down it to local PC via FM:SO_OBJECT_DOWNLOAD,but i can't transfer it to FTP Server via Dataset?
Thanks a lot in advance...........Hi Marcel,
Thanks for the reply,
I have exported the .gml file from the dev server Then i trying to import that .gml file in the production server. when i click on the import file option .it is opening the popup and disappearing immediately with out browsing the file I dont know wht is the problem around it.
But agin in the production server, i have just opend one existing model. then i clicked on the Import file option. then the popup is allowing me to browse the .gml file. but after i browsed the file, if say ok, it will be merging with the already opened model itself.
Can u please tell me , what is the problem, i am not able to browse the file ,when no model is not opened in the VC.
REgards
Vijay -
How to open the Transported model Object in the Target Portal Story Board
Hi All,
How To Transport Applications Modeled in Visual Composer from NetWeaver 2004s to NetWeaver 2004
I have transported one VC model from Development portal to Testing Portal. But Once i transported , under the
PortalContent -> Visual Composer -> Models folder , i am able to see the transport model and the view. If i want to edit that model in the VC story board , I am not able to see that model name in the list when logged into the visual composer Tool of the Testing portal server.
Is there any thing need to do the work around it.
And onemore thing, In the development portal server, when i am working on that model , it will be depended on on system object for retreiveing the BAPI data. In the Testing protal server after i transported. , i need to map some system object to run the model in Testing portal.
What is the work around this to map the system object with the Transported model in Testing portal server.
should i need to create the new system object even if the R3 server is same as in Testing portal server also. or the System object need to be create only if the mapped R3 server is different from the Development portal server.
Please let me know how to do this.
Regards
VijayHi Marcel,
Thanks for the reply,
I have exported the .gml file from the dev server Then i trying to import that .gml file in the production server. when i click on the import file option .it is opening the popup and disappearing immediately with out browsing the file I dont know wht is the problem around it.
But agin in the production server, i have just opend one existing model. then i clicked on the Import file option. then the popup is allowing me to browse the .gml file. but after i browsed the file, if say ok, it will be merging with the already opened model itself.
Can u please tell me , what is the problem, i am not able to browse the file ,when no model is not opened in the VC.
REgards
Vijay -
In Captivate, how to effectively control the movement of objects on the stage?
How to, say, make a shape (an arrow, for example) which points to a certain location move (and maybe rotate at the same time) to another location (another point on the stage) one second later. I know I can "apply effect" to it, but still I don't find it very easy to control the start position and end position of the arrow and the way it rotates (for example, how to make it rotate along the X, Y and Z axis respectively?)
Or, how can I make an image fly into the stage to a specific location from a certain direction, linger for a specific time, and then fly out in a specified direction? And while setting up this animation, is it possible to scrub across the timeline to see the effect of the animation, as you do in Flash Professional?An old pain, efficient control of motion paths and motion effects, I know.
All motion effects are relative to the start position of the object, that can allow you to realize the fly in and fly out: time both effects and leave the necessary 'linger' time between the effects. The motion paths can be edited. To have more precise coordinates you can either edit the XML that describes the effect, or create a motion effect in Flash Professional and save it as XML to be used in Captivate, or use my approach: I create a crosshair group with a perfect vertical and horizontal line object, that you can position exactly using the X and Y coordinates and then drag start or end point of the motion path over that cross hair. I have been pleading to have at least a snap function or a serious improvement that allows to enter coordinates but apparently not many users are wanting this improvement. I used that approach here in the first movie: Reset Effects in Captivate 6 - Captivate blog
And no, Preview slide (which is what you do when scrubbing the timeline) is not a real preview, you cannot see those effects.
Please, next time mention the version you are using. In CP7 and before effect duration was relative to object duration, in CP8 it is (finally) absolute timing. -
How to get a method to call the correct passed object in the constructor
I have 2 constructors for a certain object:
public class ABC{
//variables
private DEF def;
private GHI ghi;
public ABC(DEF def){
this.def = def;
someMethod();
public ABC(GHI ghi){
this.ghi = ghi;
someMethod();
}Now, this someMethod() references / calls a method from the 2 classes passed in the constructor say def.getSome() and ghi.getSome().
Depending on which constructor is used, it should call the respective xxx.getSome(). Do I need to write 2 someMethod()s or is there a way that one method will call the proper xxx.getSome() ?
Thanks.....Hi
Following the example may be help to you call correct method,
// Interface QuizMaster
public interface QuizMaster {
public String popQuestion();
// Class StrutsQuizMaster
public class StrutsQuizMaster implements QuizMaster{
public String popQuestion() {
return "Are you new to Struts?";
// Class SpringQuizMaster
public class SpringQuizMaster implements QuizMaster{
public String popQuestion() {
return "Are you new to Spring?";
// Class QuizMasterService
public class QuizMasterService {
QuizMaster quizMaster;
public QuizMasterService(SpringQuizMaster quizMaster){
this.quizMaster = quizMaster;
public QuizMasterService(StrutsQuizMaster quizMaster){
this.quizMaster = quizMaster;
public void askQuestion()
System.out.println(quizMaster.popQuestion());
// QuizProgram
public class QuizProgram {
public static void main(String[] args) {
// Option : 1
// StrutsQuizMaster quizMaster = new StrutsQuizMaster();
// Option : 2
SpringQuizMaster quizMaster = new SpringQuizMaster();
QuizMasterService quizMasterService = new QuizMasterService(quizMaster);
quizMasterService.askQuestion();
here you can create object of StrutsQuizMaster or SpringQuizMaster and pass into the QuizMasterService object constructor, base on the object correct method will be called. -
I have a Pages document with a header that contains both text and a line (a shape, inline) below the text. When I make the document two-sided (facing pages), with a 1" inside margin and a .75" outside margin, the line offsets either left or right in each section of the document. When a section starts with a right-hand page, the line is right justified on ALL the pages in the section (1" from the left and .75" from the right), even though it should be .75" from the LEFT on the LEFT-HAND pages. When a section starts with a left-hand page, the line is left justified on ALL the pages in the section.
Is there any way to get the header line to align with the margins properly in facing pages?Hi Debra,
Click on Inspector > Layout > Section > Configuration
Is there a tick in 'Left and right pages are different'?
Please post a screen shot of your headers. That will help to show what you are trying to achieve.
To take a screen shot, hold down the shift and command keys, then type 4. The cursor will change to crosshairs. Release the shift and command keys. Drag over that part of your screen then release the mouse/trackpad. A screen shot will appear on your desktop. In a reply to a message, click on the camera icon in the Toolbar above your reply and
Choose File > Choose > Insert Image
You may have to try this twice. Camera icon sometimes needs a wake-up call, but works the second time.
Remove any personal details before taking the screen shot.
Regards,
Ian. -
Find the missing Authorisation Object in the WEB Dyn pro applciation
Hi,
We are having the ECC6.0 with Enterprise portal. in EP we are running the application with some webdynpro
there are some missing authorisation when running the application
how can we track the what all authorisation is missing / checked for the web dyn pro
is there any way Like SU53 in the WEbdyn pro or any other method to check ?
all the web dynpro are custom developed
Thanks & Regards
Virandra ShardaHi,
SU53 dump may not work for the authorization issue as it provides last authorization check failed details.
Take trace by ST01 transaction. It will provide you the authorization check details..
Where Return Code (RC) will be 4(RC= 4), there user is facing authorization issue...
Try to find the error from from the first authorization check failed details..
There may be some false authorization check failed details, what is not required for the perticular work.
This kind of error comes due to program error. So you need to test the access by adding the authorizations.. try to provide minimum authorization to solve the issue.
Regards,
Sandip. -
Procedure to check the existence of Indexes
I have a procedure whcih drops all the indexes, when the same procedure is executed again, it gives error "object does not exists" (obviously)
I want to avoid this error, how can I check the existence of index inside the procedure, so that the procedure will check if the index exists before deleting the index?
Is there a ready-made procedure available for such scenario?
Thanks in advanceThe other approach is to catch the exception in your script, i.e.
BEGIN
EXECUTE IMMEDIATE 'DROP INDEX <<index name>>';
EXCEPTION
WHEN OTHERS THEN
-- Drop failed. Do something to record the failure.
NULL;
END;Now, most of the time, you'll want to catch a few specific exceptions and you'll want to do something when you catch them (i.e. generate a log entry).
Justin
Maybe you are looking for
-
When you click on an event to get the full details in a separate window, like a phone number for the meeting, if you move to another app like Skype the details window hides and you cannot look at the comments. This is kind of annoying.
-
Screen color is off on mac mini and recalibrating doesn't seem to help
the colors on my screen are off and I've tried recalibrating it at least 10 times and there is very little change to no change. is there an easier way like just resetting them to default or something?
-
Download Link in Interactive Report isn't Showing
I'm not sure if this is a bug or not, but I have an interactive report which allows users to download the report (under the Actions menu). The download formats that were used previously were HTML, Email and PDF, and it worked perfectly fine. However,
-
My Mac OS X has completely frozen...
This morning I was on my Mac, just checking facebook etc, I went to shut down all my windows and I then hovered over my finder, and it said it was not responding. I tried to force quit, and the spinning beach ball appeared. It's been about an hour
-
Compose a String with sy-uname
I have a String 'PerNr=', and now i will compose this string with sy-uname so that it look like PerNr=123. But it may be only one variable. Can someone help me?