How to display the actual code name on the table of the uix file?
I have established entity object:Schoolinfo,and a view object SchoolinfoView,and registered in the application module.and I drag and drop to a uix file the Datacontrol and it works well,i can see the schoolinfo table's contents.The problem is:in schoolinfo there is an attribute schooltype code,like 1,and referenced to another table:CodeDict in the database, and I want to display the actual code name when displaying the table on the uix file,like "middle school", not just the code 1.How can I do?
This is more of BC4J question.
The data that is displayed (View) is a SQL query. You should be able to change the SQL query represented by the view object appropriately to get the desired output. You can see more information on view objects from Jdev help to get more information on it.
Thanks
Vijay V
Team UIX
Similar Messages
-
How to Display the SAVE file name dialogue in Forms 6i
Dear All,
Just like we use Get_file_Name to display the MS Open file dialogue..
how do we display the SAVE file dialogue in forms..??
whats the function name???
regards,
Sidhanthello friend,
u can use webutill lib to open/save dialog box
also must refer this link,
Re: How To Call Save As Dialog?
Regards
Chandan -
How to display the HTML File Titles instead of File Names
Hello All,
I want to display the HTML file titles instead of File names in the Search Results. I've tried to give this command in the 'Visible Properties' in the 'SearchResourceRenderer' as:-
Visible Properties: rnd:displayTitle
However this is not working for me. If anyone has an idea of what to pass here or any other alternative to display the Titles.
Regards
VaibSummary of steps:
1) Standard Layout Set used: SearchResultLayoutSet
2) Create a new layout set using ADVANCED COPY
3) Change properties as you require
4) Next modify the search OTH file to reflect this newly created Layout Set (under KM > root > etc > oth > search.oth edit xml file property rndLaoutSet from SearchResultLayoutSet to MyCustomSearchResultLayoutSet)
5) Check in the document to complete the editing process if Edit Locally is used!
6) Lastly, activate the OTH file by
Setting Debugging settings via Debugging Settings
Performing a normal search
Clicking Rendering information and then following link OTH Overview click on Reload
7) Reload above reloads the OTH file and performing search again will yield the desired result
8) To turn off the Rendering Information link remove the user id from Debugging Settings.
Cheers
Ankit -
How to display the attached file of DMS in WEB Dynpro
Hello everybody! I have to work with DMS documents on the portal. Do You know, how display the attached files of DMS document in WEB Dynpro?
Pavel TruhlářHi Pavel,
By using the below F.M we can display DMS Document.
CALL FUNCTION 'CVAPI_DOC_VIEW'
EXPORTING
PF_DOKAR = 'ZAP'
PF_DOKNR = LS_DMS_TABLE-DOKNR
PF_DOKVR = '00'
PF_DOKTL = '000'
PF_HOSTNAME = 'DEFAULT'
PF_APPL_START = ' '
PF_GET_URL = 'X'
IMPORTING
PFX_URL = V_URL
EXCEPTIONS
ERROR = 1
NOT_FOUND = 2
NO_AUTH = 3
NO_ORIGINAL = 4
OTHERS = 5.
After getting the V_URL Create External Window.
LO_API_COMPONENT = WD_THIS->WD_GET_API( ).
LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
LO_WINDOW = LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW(
URL = LW_URL ).
BR,
Jack. -
How to display the uploaded file
Hi All ,
I have the below requirement .
1. Upload the file (any file type) -- no problem done with FileUpload UI element.
2. Display the uploaded file as icon or link .
3. User should be able to delete the uploaded file using icon or link (depends upon step2 ).
I am struggling with step2 and 3 .
Please guide me
Regards,
RaviHi,
You can use the file download UI element for your requirment. You will have the Resource type context that is used to bind the File upload UI element. bind the same context to the file download UI element. And hence without any extra coding your requirment is achieved.
For deleting the Uploaded file delete the context element of type reource.
For your reference refer to the following link
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f
Regards,
Raju Bonagiri -
How to display the open file dialogue in SBO 2007
Hi
I have my own form on screen with a edit text box which will contain the path and name of a file entered by the user
Is there any way I can display the windows open file dialogue so the user can search for a file ?
Many thanks
Regards AndyHi Anoop
Code below, simple and it seems to work well
Thanks for your help
Regards Andy
fpath = ""
Dim thread As New System.Threading.Thread(AddressOf openfile)
thread.SetApartmentState(Threading.ApartmentState.STA)
thread.Start()
thread.Join()
form.Items.Item("4").Specific.string = fpath
Sub openfile()
Dim abform As Form1
abform = New Form1
abform.Show()
abform.OpenFileDialog1.Filter = "CSV Files|*.csv"
If abform.OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
fpath = abform.OpenFileDialog1.FileName
End If
abform.Close()
End Sub -
How to display the rdf file column in XML Publisher
Hi
I have used the formula bar and returned the value to diaplay in xml output .so that i can use in template.But i could not find the value which i returned in rdf.
Can anybody suggest me do i need to change/modify in any other places to find my column/value in xml output.
Thanksno need to do any specific changes.
if you have a formulae column in RDF it will definitely show up in your xml output,
see if you are doing any silly mistake like,
RDF not saved peoperly,
.RDF is not replaced with the updated version or something like that -
How to display the name of my metric in a PivotTable.
Hi I am working with OBIEE Plus
How to display the name of my metric in a PivotTable.
Why when I add a field to the sector of the measures in a PivotTable field name disappears.
Help please
Thanks beforehandWhere are your 'measure labels' ? These show what the metric is.
-
How to display the data of CJ2C(T-CODE) using web dynpro abap
Hi all:
How to display the data of CJ2C(T-CODE) using web dynpro abap.
CJ2C used to display a Gantt Chart.
Thanks.Hi,
Create a Value attribute (resource) of type Resource, bind it with the property of File Upload UI element.
On action place the code and Deploy the application
byte[] bytes = new byte[ 1024];
FileOutputStream out = new FileOutputStream( new File( <path in server>));
InputStream in = resource.read( true);
int len;
while( ( len = in.read( bytes)) > 0)
out.write( bytes, 0, len);
in.close();
out.close();
Regards
Vinod V -
How to display the proxy settings for a specific group of servers in an OU ?
Hi,
Can anyone here please assist me in how to display the value of Proxy server settings from the computers in a specific OU member ?
$Computers = Get-ADComputer -Filter * -SearchBase "OU=Terminal Servers,OU=Servers,DC=domain,DC=com" | Where-Object { Test-Connection $_.Name -Count 1 -Quiet }
ForEach ($Computer in $Computers) {
| Export-csv "C:\Proxy-Setting-Results.csv" -Append -NoTypeInformation -UseCulture
I've done similar script for some other task but not sure how to do this for Proxy setting.
Thanks.
/* Server Support Specialist */Proxy settings are not set in Active Directory
The below code works for 2003 servers and Win XP
$colItems = get-wmiobject -class "Win32_Proxy" -namespace "root\CIMV2" `
-computername $env:computername
foreach ($objItem in $colItems) {
write-host "Caption: " $objItem.Caption
write-host "Description: " $objItem.Description
write-host "Proxy Port Number: " $objItem.ProxyPortNumber
write-host "Proxy Server: " $objItem.ProxyServer
write-host "Server Name: " $objItem.ServerName
write-host "Setting ID: " $objItem.SettingID
write-host
You can try checking the registry values- Works in 2008 + and Windows 7
Get-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
or use netsh
netsh winhttp show proxy -r <remotemachinename>
Regards Chen V [MCTS SharePoint 2010] -
How to display the time length of video (current time/ total time) ?
Hi,everyone. I would like to ask how to display the time length of the video which show only in system example: it show the current time and total time? using AS 3.0.
It there any information or solution to solve it? .
I appreciate it any of you able to answer it. ^^
Thank you.Hi,
Actually I have this requirement for MAC OS 10.5. With the code you provided, I got the output as "6289375". When I changed the URL to point to my file (file:///Users/VPKVL/Desktop/MyRecord/tempAudio.wav), I am getting the below mentioned Exception:
Exception in thread "main" javax.sound.sampled.LineUnavailableException: Failed to allocate clip data: Requested buffer too large.
at com.sun.media.sound.MixerClip.implOpen(MixerClip.java:561)
at com.sun.media.sound.MixerClip.open(MixerClip.java:165)
at com.sun.media.sound.MixerClip.open(MixerClip.java:256)
at TestWavLength.main(TestWavLength.java:13)The "tempAudio.wav" file is created by using java sound API. I am using the SSB USB Headphone Set to record the audio with the following settings for AudioFormat object:
AudioFormat audioFormat = new AudioFormat(
AudioFormat.Encoding.PCM_SIGNED, // the audio encoding
// technique
48000.0F,// sampleRate the number of samples per second
16, // sampleSizeInBits the number of bits in each sample
2, // channels the number of channels (1 for mono, 2 for
// stereo, and so on)
4, // frameSize the number of bytes in each frame
48000.0F,// frameRate the number of frames per second
false); // bigEndian indicates whether the data for a single
// sample is stored in big-endian byte order
// (false means little-endian)Can you please suggest where I am going wrong ? -
How to display the eror message in the iView
Hi
I want to check the user input in the client side and display an error message in the iView instead of displaying the error message as an alert
it is ok when I tried to do it as an alert
alert('ERROR MESSAGE');
but the problem is how to display the error message as a text in the iView ...
I wrote the below code..
any one can see it and has any sugestion?
Thanks
=============
<%@ taglib uri="tagLib" prefix="hbj" %>
<%
String compid = "";
String message = "";
%>
<hbj:content id="MyContent">
<hbj:page title = "Selection Screen">
<hbj:form id = "myForm">
<br>
<br>
<br>
<center>
<H3>Benefits Statement </H3>
<H4>Selection Screen</H4>
<hbj:gridLayout
id="FSSLayout"
debugMode="False"
width="40%"
cellSpacing="5"
>
<hbj:gridLayoutCell
rowIndex="1"
columnIndex="1"
width="10%"
horizontalAlignment="LEFT"
style="WildStyle"
>
<hbj:label
id="label_inputPernr"
required="TRUE"
text="Personal Number:"
design="LABEL"
labelFor="inputPernr"
/>
</hbj:gridLayoutCell>
<hbj:gridLayoutCell
rowIndex="1"
columnIndex="2"
width="40%"
horizontalAlignment="LEFT"
>
<hbj:inputField id = "inputPernr"
>
<%
compid=MyContent.getParamIdForComponent(inputPernr);
%>
</hbj:inputField>
</hbj:gridLayoutCell>
<hbj:gridLayoutCell
rowIndex="10"
columnIndex="1"
width="40%"
horizontalAlignment="CENTER"
colSpan="2"
>
<hbj:button id = "myButton" text="Submit.." design="EMPHASIZED"
tooltip="Click me to submit this form" onClick="ClickEvent" onClientClick="validRequired()">
</hbj:button>
</hbj:gridLayoutCell>
</hbj:gridLayout>
</center>
<p font="Arial" size=20><%= message%></p>
</hbj:form>
<SCRIPT LANGUAGE="Javascript">
function validRequired()
var myvar = document.getElementById('<%=compid%>').value;
var ivID='<%=componentRequest.getComponentContext().getContextName()%>';
if (myvar = " ")
message = "Enter Employee Number";
ivuRefresh(ivID);
htmlbevent.cancelSubmit=true;
</SCRIPT>
</hbj:page>
</hbj:content>No problem, here is an example of some html code and javascript that you can adapt to your needs. You can display this standalone to see how it works.
I hope this helps
<html>
<head>
<script language="JavaScript">
function validateForm(){
if(document.getElementById("nameField").value == "")
document.getElementById("errormessage").innerHTML = "Please enter the Name";
else if(document.getElementById("ageField").value == "")
document.getElementById("errormessage").innerHTML = "Please enter the Age";
else if(document.getElementById("idField").value == "")
document.getElementById("errormessage").innerHTML = "Please enter the id";
else
document.getElementById("errormessage").innerHTML = "";
</script>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>Name</td>
<td><input type="input" id="nameField" name="nameField"></td>
</tr>
<tr>
<td>Age</td>
<td><input type="input" id="ageField" name="ageField"></td>
</tr>
<tr>
<td>Id</td>
<td><input type="input" id="idField" name="idField"></td>
</tr>
<tr><td><font color="red"><span id="errormessage"></span></font></td></tr>
<tr><td><input type="button" name="validate" onClick="validateForm()" value="Click to validate"/></td></tr>
</table>
</body>
</html> -
How to display the err msg in statusbar
Hi friends,
How to display the error msg (red color) in statusbar and other msg is green color in same report of the status bar .
Plz help any one.
Thanks in advance.Hi YUMKUMAR ,
You can use the below code.
Create a message class : ZMSSG or with any other name and use the below code.
IF SY-SUBRC NE 0 .
MESSAGE : E000(ZMSSG) WITH 'Data not available for this entry'.
ENDIF .
or
IF SY-SUBRC NE 0 .
MESSAGE : S000(ZMSSG) WITH 'Data not available for this entry'.
ENDIF .
Regards,
Kittu
Edited by: Kittu on Feb 1, 2010 7:51 AM -
How to display the Message Pool Messages in CE 7.2
Hi Experts,
Please let me know how to display the Message Pool Messages in CE 7.2.
I have tried with reportContextAttributeMessage, but it is deprecated in CE 7.2.
Please do the needful.Its Urgent.
Thanks & Regards,
SatheshKumar RHi Sathesh,
Do the following steps:
1.) After creating a component, under it you will see Message Pools. Double click and open it.
2).Click "Add Message" and add a new message. (Give a message key, type of message (either warning, error etc ) and message text).
3). Save the metadata.
4). Raise this message where all you want by using following code(For example, on click of a button) :
IWDMessageManager msgnr = wdThis.wdGetAPI().getComponent().getMessageManager();
msgnr.reportMessage(IMessage<component name>.<message>,null,true);
For example, I have a component name TestAppComp and under message pool I have message called message1, then use lik this:
IWDMessageManager msgnr = wdThis.wdGetAPI().getComponent().getMessageManager();
msgnr.reportMessage(IMessageTestAppComp.MESSAGE1,null,true);
Reply me if you any doubt.
Regards,
Jithin -
How to display the data according to the search criteria
Hi ,
I want to display the order data in my application.
I have certain search criteria in my application like
ordernumber , date etc.
If I click the submit button without giving any criteria , all the data is getting displayed properly in the table.
But,If I want to display the data according to the order number, all the orders present are getting displayed , but actually it should display the order only for that particular order number.
The code is like : onActionSearch()
wdThis.wdComponentController().executeGetlist_Input();
Can any one tell me how to display the orders depending upon the search criteria.
Ideas & suggestions are truely welcome.
Thanks & Regards
Neha MahantyHi Neha,
Design ur RFC in such a way that it should display the result according to your search criteria.
If you are making a search on "Order Number" pass some input(search criteria along with some parameter, if order number is not null then pass "X" as parameter) to RFC so that it will return the result accordingly. And same with date also.
Thanks n Regards,
Jhansi Miryala
Maybe you are looking for
-
What happened to the "closed tabs" list in 4.0 RC2?
What happened to the "closed tabs" list in 4.0 RC2? In prior versions of Firefox, I could open a list of closed tabs, but I can't find the button now.
-
Custom infotype field data in Rem. Statement
Hi, I am trying to display a date in the Rem statement from a field in custom infotype.Have given the table and the field and pulled the same into the Remu. statement with conversion being Date formatting.But the date is not reflecting in the slip. R
-
Webdynpro ABAP Performance: SearchHelp
Hi when we select a search help in wda it takes up to 4 seconds to show it and up to 4 seconds to go back to main screen again this slows down the maintenance server cpu usage is very low Webas700 SP15 what can we do to increase speed here? who is ex
-
I need to setup Virtual IP in both the sever. I put two IP in each server as public in LAN card. But it has a problem in virtual IP. Could u pls tell how to setup Virtual IP.
-
hello: I have a problems with adobe premier and photoshop- CS4 In premier CS4: I cannot see imported videos (avi, mpg, wmv, etc) I see the icon in the Time-line but not in the window preview and with the videos avi i don't have sound, but with the