Check Weather UDF Form Exist or Not ?
hi,
I have to work on UDF Fields and problem is that i have to check weather UDF Form (right hand side form which is visible only when we click VIEW>User Defined Field)
is visible or not.
Do any one know such method/varible by which i would be able to know that UDF form is visible / not visible....
Regards ,
Ganesh
Hi Ganesh,
You can check the status of the menu visible and/or checked to see if the UDF form is visible.
Regards
Ad
Similar Messages
-
How to check whether portal user exists or not using UM API.
Hi Experts,
Let us say i need to create an user account "PortalUser",i know how to create an user,setting first name,lastname,password for that.
but here before creating the portal user, i need to check whether that user exists or not.If user already exists ,then i need to skip the below for creating the user.
IUserFactory userFact = UMFactory.getUserFactory();
IGroupFactory groupFact = UMFactory.getGroupFactory();
IRoleFactory roleFact = UMFactory.getRoleFactory();
IUser tuser = userFact.getUserByLogonID("PortalUser");
IUserMaint newUser = userFact.newUser("PortalUser");
newUser.setFirstName("PortalUser");
newUser.setLastName("Test");
newUser.setEmail("PortalUser.Testatgmaildotcom");
//Locale PortalLanguage = new Locale(Lang.toLowerCase(), "");
Locale PortalLang=new Locale("en");
newUser.setLocale(PortalLang);
newUser.save();
newUser.commit();
IUserAccount userAcc = UMFactory.getUserAccountFactory().newUserAccount("PortalUser", newUser.getUniqueID());
userAcc.setPassword("test1test$");
userAcc.save();
userAcc.commit();
Thanks in advance.
Thanks
Sony.Hi,
Try this code,
IUserFactory factory = UMFactory.getUserFactory();
IUser user = factory.getUserByLogonID(userId);
lastName = user.getLastName();
firstName = user.getFirstName();
refer this pdf,its very helpful
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/webinars-nw-rig/using%20the%20user%20management%20api%20with%20ep%20applications%20-%20webinar%20powerpoint.pdf
Regards,
Sunaina Reddy T -
Plz help me for checking the Header record exists or not
Hi
How we check the whether the Header record exists or not.. if it is not exists i have raise an exception.. i wanna do this using UDF
Plz help me its urgent..
venkatMaybe you should read all the responses in your earleir threads and read the rules of engagement also,
/thread/117188 [original link is broken]
Regards
Bhavesh -
How to check whether a Record Exists or not in Ztable
Hi all,
I have Req like this
In ZTable i have 2 fields * Legacy System , Legacy Material No*
Environment Value is coming in one of the field in Idoc
The logic is if the Environment Value is UK and a Record Exists on the ZTable for Legacy Sysyetm = Leg1 means i have send Legacy Material No , else Send 01
Please suggest me the process for this
REgards
Vamsi
Edited by: Vamsi Krishna on May 19, 2009 5:31 PMHi Michal / Aamir,
Thanks for your replies.
The ZTable is at R/3 side only, iam using RFC Lookup for this, but iam bit confuse on how to construct the logic to check whether there is a record Exists or not on Ztable
Logic shld be If the Environment value is UK and a record exists on the Ztable for Legacy system "ABC" means then send Legacy material number else send 01
In Table we will have the fields Legacy System Legacy Material No & Environment value is coming from Idoc itself( Ex: UK or US)
Regards -
To check weather JAVAVM being used or not?
Hi,
We are in the process of cleaning up unnecessary components. As a part of this, first of all we are checking weather JAVAVM is being used or not? How to confirm weather JAVAVM is being used or not?
I gone through Database Feature Usage but could not find any entry related to JAVAVM, for rest of the components i was able to. Any hints on this.
DBA_REGISTRY
COMP_ID
COMP_NAME
VERSION
STATUS
MODIFIED
CATALOG
Oracle Database Catalog Views
10.2.0.5.0
VALID
23-JUN-2013 06:16:06
CATPROC
Oracle Database Packages and Types
10.2.0.5.0
VALID
23-JUN-2013 06:16:06
JAVAVM
JServer JAVA Virtual Machine
10.2.0.5.0
VALID
23-JUN-2013 06:16:07
CATJAVA
Oracle Database Java Packages
10.2.0.5.0
VALID
23-JUN-2013 06:16:07
And features usage is as follows.
Database Feature Usage
NAME
DETECTED_USAGES
ASO native encryption and checksumming
0
AWR Report
17
Advanced Replication
0
Advanced Security
0
Audit Options
41
Automatic Database Diagnostic Monitor
6
Automatic SQL Execution Memory
41
Automatic Segment Space Management (system)
41
Automatic Segment Space Management (user)
41
Automatic Storage Manager
0
Automatic Undo Management
41
Automatic Workload Repository
1
CSSCAN
0
Change Data Capture
0
Change-Aware Incremental Backup
0
Character Semantics
0
Character Set
41
Client Identifier
0
Data Guard
0
Data Guard Broker
0
Data Mining
0
Database Replay: Workload Capture
0
Diagnostic Pack
0
Dynamic SGA
0
EM Database Control
0
EM Grid Control
0
Extensibility
41
File Mapping
0
Flashback Database
0
Internode Parallel Execution
0
LOB
41
Label Security
0
Locally Managed Tablespaces (system)
41
Locally Managed Tablespaces (user)
41
Locator
0
MTTR Advisor
0
Materialized Views (User)
41
Messaging Gateway
0
Multiple Block Sizes
0
OLAP - Analytic Workspaces
0
OLAP - Cubes
0
Object
41
Oracle Database Vault
0
Oracle Managed Files
0
PL/SQL Native Compilation
0
Parallel SQL DDL Execution
24
Parallel SQL DML Execution
0
Parallel SQL Query Execution
35
Partitioning (system)
41
Partitioning (user)
0
Protection Mode - Maximum Availability
0
Protection Mode - Maximum Performance
41
Protection Mode - Maximum Protection
0
Protection Mode - Unprotected
0
RMAN - Disk Backup
0
RMAN - Tape Backup
0
Real Application Clusters (RAC)
0
Recovery Area
0
Recovery Manager (RMAN)
0
Resource Manager
0
SQL Access Advisor
0
SQL Tuning Advisor
7
SQL Tuning Set
41
Segment Advisor
40
Server Parameter File
5
Shared Server
37
Spatial
0
Standby Archival - ARCH
0
Standby Archival - LGWR
0
Standby Transmission
0
Streams (system)
0
Streams (user)
0
Transparent Gateway
0
Tuning Pack
0
Undo Advisor
0
Virtual Private Database (VPD)
0
XDB
0
D
Regards
DBA.We are in the process of cleaning up unnecessary components. As a part of this, first of all we are checking weather JAVAVM is being used or not? How to confirm weather JAVAVM is being used or not?
Yes - if you have an Oracle database the JVM is being used.
There is NOTHING to 'clean up' as far as the internal JVM that is part of Oracle.
You can NOT modify it or upgrade it. And if you remove it Oracle will also remove your database.
See the Database Installation Guide
http://docs.oracle.com/cd/B28359_01/install.111/b32002/remove_oracle_sw.htm#CCHBABDE
In the Inventory screen, select the Oracle home and the products that you want to remove, then click Remove.
Note:
If you choose to remove Oracle JVM, Oracle Universal Installer removes all installed products that depend on Oracle JVM, including Oracle Database 11g. -
Smart form exists but not recognised by application
Hi all,
We are testing SAP ERP 6.0 and migrated a smart form into our client. The form can be displayed in SMARTFORMS and also shows as "active". I also generated the form. However, when running the dunning program, I get an error message like:
"Form XXXXX language EN is not active and has no errors"
The long text says that the form may not exist. In my legacy client it works fine.
Does anyone know what may be missing to ensure that the smartform is recognised?
Thanks
ReneHi Rene
I am facing the same problem
I have implemented event 1720 and function but F150D does not call this event and does not recognise smartform
this is what comes up
Form ZFSCD_DUNNING_TG language EN is not available in client 220 Message no. TD131 Diagnosis You want to display a form which does not exist. System Response If the form does not exist in the specified language in the current client, the form which was used for printing is displayed by accessing another client. The search is thus graded as follows: - Current client, form in specified language, status irrelevant - Current client, form in original language, status active - Client '000', form in specified language, status active - Client '000', form in original language, status active Procedure You can obtain a list of the form available in the current client using the function 'Find' in the initial screen of the form maintenance. Here you can also output a list of the forms in your current client or another client, using the menu option 'Utilities -> Client comparison'. Did this but still not working After executing F150 it is not printing dunning letter as it showing Forms for MAHNR: 'TG', RBUKM: '2200', KOART: 'D' do not exist (T047E) Thanks
looks like it recognises SAPscript as default and does not change its form to smartfor
please help how to make it happen
thanks in advance -
Change material # before it checked weather its in SAP or not.
Hi all,
If user enter wrong material during creation of order, we have to change that material with dummy material and save the order.
In sap if we enter material which is not exists in sap it will give us erro before it goes to mv45afzz user exit. is there any way i can change the wrong material with dummy material before checking materila is in sap or not.
I am think we need to work on screen field user exit. but not sure which user exit or badi.Hi ABAP Developer,
because this is enforced via check table there is no way except of creating own filtering transaction and let that call the standard.
Regards,
Clemens -
Whats the best way to check weather a file exists online, or not?
Hi!
I need to show an Image File in my app which may have different sizes. _1.jpg, _2.jpg and so on.. If, for example, _2.jpg does not exist, I have to take _1.jpg.
So my question is: is there a better way instead of making/allocating a pic and asking pic != nil ?
thx!
alexHi Alex -
The subject line says "file exists online, or not?". Are you trying to check existence at a network site, or the local file system? I'll cover the local fs first, since that's the easiest. If you need to search a remote site, I think we'll need some more details.
Assuming an iPhone project (not specified, but your usual topic), NSFileManager will probably be all you need unless the files are localized and/or in the application bundle, in which case you'll want NSBundle. For example, say you're storing all the jpg's in the user's cache directory:
#define MAXFN 5
// return nil or the path to the file with the highest numeric suffix
- (NSString)getPathForBestFile:(NSString)baseName extension:(NSString*)ext {
NSString *bestFilePath = nil;
NSFileManager *fileManager = [NSFileManager defaultManager];
// locate the user's cache directory
NSArray *paths = NSSearchPathForDirectoriesInDomains(
NSCachesDirectory, NSUserDomainMask, YES);
NSString *cacheDirectory = [paths objectAtIndex:0];
NSLog(@"cacheDirectory=%@", cacheDirectory);
// loop through file names with numeric suffixes
for (int i = 1; i <= MAXFN; i++) { />/
NSString *fileName =
[NSString stringWithFormat:@"%@_%d.%@", baseName, i, ext];
NSString *filePath =
[cacheDirectory stringByAppendingPathComponent: fileName];
NSLog(@" filePath=%@", filePath);
if ([fileManager fileExistsAtPath:filePath])
bestFilePath = filePath;
return bestFilePath;
If you need to use NSBundle, see pathForResource:ofType:. If you need to determine the existence of a file at a network site, please give us some details about the kind of server and how much you'll know about the possible file locations.
Hope that helps!
- Ray -
Want to check whether cost center exists or not during payroll process ?
Dear All,
Requirement is to throw an error for an employee during payroll run if the cost center does not exist.
I guess this may be achieved by PCR only. There is an operation OUTWPCOSTC which can help.
Issue is that there are parameters like VALEN and VAOFF which need to be taken care of while using OUTWPCOSTC.
Also, when cost center is not assigned, its value in WPBP is BLANK. How to query a BLANK value in PCRs?
Can any help on this with an complete example?
Regards,
AnkitHi Ankit,
Try with PCR
VALEN 1
OUTWPCOSTC
Update the PCR in sub schema COPY Z002 Edit basic data
000040 WPBP Read Work Center/Basic Pay Data
000050 GON Continue if Data is Complete
000060 ACTIO ZQ14 GEN Check if cost centre exits
000070 BLOCK END Edit basic data
This will help you while runing the Payroll.
Thanks & Regards
Vikram Mali -
I want to check weather it is original or not
i want to know weather my i phone is original or not
can u check by my emi number ..its original or not ?
-
Check weather phone is original or not??
Hi..I got a Apple i5 through net, But I have doubt that weather it is a geniun aplle product or not. How can I check that it is original apple product???
Connect iPhone to iTunes with Lightning USB Cable. If real iPhone, iTunes will recognize it and identify it for you.
-
How check on the WS - exist or not exist InventoryJob ?
From The C1 create XP_Inventory politic and apply it to the WS.
Use time shedule:
Tusday between 13:00...16:00 , System, below normal prior.
at the 12:45 WS was rebooted (reboot | log in to the NW| reboot again | log
in to the NW)
But i do not see any info about WS in the Tree. See only WS object without
Minimal Information of the Workstation.
What and where i can check on the WS for check :
1 - get WS this Job for inventory ?
2 - run WS this Job or no ?
3 - debug file for Inventory on the WS ?
SergWed, 06 Dec 2006 09:09:12 +0000, Marcus Breiden
> On Tue, 05 Dec 2006 15:20:51 GMT, Serg wrote:
>
>> Tusday between 13:00...16:00 , System, below normal prior.
>
> did you select random spread for this time too?
>
> if yes, the inventory will start sometime between 13:00 and 16:00..
>
> so let's say you start working on 8:00, the wks picks 14:35 to run
> inventory and you shut down at 14:20... no inventory done...
>
> you start the machine again at 14:25, the wks picks 13:05, already in the
> past.... no inventory done..
For test i shedule at this morning (wedn. between 11:10..16:30) and as i
see - not inventory..
How check on the WS - ws get this job or no ?
Serg -
How to check whether a file exists or not
i am in an image uploading utility. i hav succesfully uploaded the image to the server directory (say /uploads). but when displaying the uploaded image, i wanna show the picture only if the image exits (bcoz for some records there is no image). so i hav used this code
if(new File("uploads/1.jpg").exists())
out.print("image exists");
but its not working for me. i got it working fine when i give the full path "D:/Tomcat/webapps/diary/admin/uploads/1.jpg". but i think giving this absolute path is not an efficient method bcoz its a web application, bcoz i may not be able get the absolute path always. so how can i do this by specifieing the relative path
help me ASAP if u can
aleensHaii ameen
This is one way to rectify your problem..
if(new File("uploads/1.jpg").exists())
out.print("image exists");
instead of this u can write like
<%
ServletConfig cf=getServletConfig();
ServletContext c=cf.getServletContext();
if(new File(c.getRealPath("uploads")+"/test.txt").exists())
out.print("image exists");
%>If u are not clear of what it is done let me know..i will xplain to you furthur...
Happy New Year
Shanu -
How to check weather my i phone is officially unlock of not
Hi everyone
Recently i got iphone 3g , but im not sure how to check weather its officially unlock or not. So that i should upgrade the os with locking it.
Serial no 5K9098AKY7K
Model MB496X
IMEI 01 180900 090330 3
Plz help me outLook i bought it from open market in pakistan
Then there is no way to confirm that your phone was officially unlocked. Buying from a non-official source, especially an "open market", means you're at the mercy of the seller as to the accuracy of the phone's status. Based on postings here, most of these phones have been hacked. You'll find out for sure though if you update to 3.1.3. -
How to check weather oracle db is started or not and how to start at oracle
Hi
could u please tell me how to check weather database is started or not
and also how to start . (on unix and windows)
waiting for ur reply.
rajendraHi rajendra,
You can use the following command at Unix/Aix operating system.
login into unix/aix operating system
& run the following command.
sqlplus "connect /as sysdba"
you come in sql prompt
& than run the following query
sql>select status from v$instance;
In windos you can check DB status using MMC.
if you have any query than message me freely.
Karan
Edited by: karan Singh on Jun 24, 2008 5:10 PM
Edited by: karan Singh on Jun 24, 2008 5:12 PM
Maybe you are looking for
-
How do I save changes to album info in "Get Info?"
I know this has been asked before, but I haven't found any answers related to recent versions of iTunes. Running latest version on Windows 7. When I make changes to fields in the "Get Info" screen on an album, the changes don't save -- when I go to
-
Java 1.4.2 install problem on Win98
Hello! I have the following problem: I downloaded JRE1.4.2 offline version (j2re-1_4_2_05-windows-i586-p.exe). When I try to install in on Windows98 the machine gets stuck. I see the following message: I see that all the files are extracted successfu
-
Hardware Change = Reinstall?
This goes to show that even though I've worked with Linux for awhile, I'm still somewhat of a newbie... probably a stupid question, but there you go... Anyways, my motherboard seems to be dieing a slow and painful death (taking out my Videocard on th
-
Running perl adpreclone.pl appltop merge to reduce node
Hi, I am following 233428.1, on the source system : (I ran maintain snapshot on both the nodes) When I run merge on DB-AP (CC), getting java error. {nypptd:applvis:PVIS}: /export/a1/oracle/app/pviscomn/admin/scripts/PVIS_nypptd =>perl adpreclone.pl a
-
Publishing an acquired app under its "original" name/id?
Hello everyone, I'd like to discuss a question that came up in my mind and that I couldn't find an answer on the inet. Let's say company B has published a good running iOS app, that company A acquires from B. Company A is interested in keeping the ap