How can I put check conditions when using Function 'LDB_PROCESS'
Hy experts,
I am using LDB_PROCESS and I don't know how to use check conditions in the callback forms.
for example:
FORM CALLBACK_QALS USING NAME TYPE LDBN-LDBNODE
WA TYPE QALS
EVT TYPE C
CHECK TYPE C.
CASE EVT.
WHEN 'G'.
MOVE-CORRESPONDING wa to ITAB_QALS.
APPEND ITAB_QALS.
ENDCASE.
endform. " CALLBACK_QALS
Have anyone an example of how I can use check conditions in this type of form???
thx in advance
Hi
U should indicate in which node (the GET) you need to check the condition, you form should have the following interface:
FORM <formname> USING <nodename> LIKE LDBCB-LDBNODE
<workarea> (LIKE ...)
<mode>
<selected>.
So the code should be:
CHECK <WORKAREA>-FIELD = ............
Max
Similar Messages
-
How can we get ADFSecurity work when used in OC4J, OID and OAM?
I am getting error in http server log "mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context."
But I am not using Oracle SSO and my client doesn't want to use it either, I am using OAM SSO(CoreIDSSO) in my configuration. Please read the details below.
I am using ADFSecurity in an app that is protected by OAM. To migrate ADFSecurity permissions from
system-jazn-data.xml to OID, I used JAZNMigrationTool to populate OID with Grantees and Permissions. OAM gives login page, and authentication works fine.
But ADFSecurity is not working. ADFComponent Delete button is enabled even for roles that dont have permissions for the iterator delete.
- The app works fine when I use without OAM. ADF Security permissions work fine.
- The app works fine when used with OAM, but with ADFSecurity disabled (enforce=false).
- When I enforce ADFSecurity alongwith OAM, ADFSecurity is not working.
In the doc "Oracle Containers for J2EE Security Guide b28957", there is a mention of use of CoreIDPrincipal for permissions. Our OID Permissions entries show
LDAPRealmRole for attribute orcljaznprincipal. I am not sure if this could be the reason.
We have configured AccessServerSDK for the SOA instance and have policy for the urls in the policy manager. We have entries in orion-application.xml, orion-web.xml and system-jazn-data.xml as per the documentations.
How can we get ADFSecurity work when used with OID and OAM?Have you been able to successfully integrate OAS with OAM & OID? We have similar requriement and so far we have not been able to get it working.
We have application specific roles which we map to OID roles using orion-application.xml.
Any pointers to achieve this would be greatly appreciated.
thanks,
Dipal -
How can I customize the toolbar when using the attribute browser
In CVI 2012, the toolbar changes depending on the environment, e.g. it is different for the source window and the UI editor. The toolbar can be customized using the menu Options / Toolbar...
Unfortunately, when using the attribute browser of the UI editor, another toolbar is displayed, i.e. not the UI editor toolbar.... I would have assumed that the attribute browser belongs to the UI editor, obviously it doesn't... So how can I customize the toolbar when using the attribute browser?
Solved!
Go to Solution.Luis,
It's nice to have you back
Thank you for the clarification, so I'll elaborate a bit more: In the regular workspace toolbar, I have a disk symbol to save the file. This symbol is gone in the attribute browser...
So I have three different toolbars, for source code (workspace), UI editor, and the UI editor displayed but the attribute browser clicked on (selected)...
Thanks
Wolfgang
Source code:
UI editor:
Attribute browser: -
How can i set "Createdby" attribute When using Custom JheadStart Security
Hello
We do not use JASS for Authentication , please help us how can i set createtby attributes with jhs.username in application for any entity object?
thanksSee a similar question at History Attributes when using Custom Authentication Type
-
How can you Keep column links when using export CVS
I am exporting a report using Report Template of export: CVS. This report is a copy of a report that have column links that work. However, when I export the report using export: CVS the excel file no longer has the links in the columns.
How can I get the link to be transferred to excel?
Thanks446336,
When you export anything as CSV type it is a plain ordinary text file - MS Excel opens it because it has knowledge of this type of file (ie text delimited by comma/tab).
You seem to need a bit more than that - best if you search the forum for ¨excel¨ or maybe ¨report exports¨. I believe there are some threads here that may help - I think it needs java or some fancy PL/SQL to do it.
Greg -
How can I disable color print when using airprint?
How can I print from my iPhone or iPad in black and white only, so as to save my color ink? I am using HP Photosmart 5510. I can't see how airprint gives that option. Is there an app out there for this?
That is a function of your printer, you can set your printer to be B&W via it's front panel settings.
-
How can I magnefy the screen when using firefox
I have seen in other Browsers that you can magnify the screen by choosing 100% or 150%, etc.
Please how can one do this in Firefox.
Thank You
Alvaro Gil FernandezSee this:
https://support.mozilla.com/en-US/kb/Page+Zoom
The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
Try the Default FullZoom Level extension: <br />
https://addons.mozilla.org/en-US/firefox/addon/6965
Or the NoSquint extension: <br />
https://addons.mozilla.org/en-US/firefox/addon/2592/ -
How can I disable developers tools from using function keys?
Every time I try to use my Quake like console binded to the F12 key, it opens the dev.Tools. How can I disable or even better uninstall dev. Tools.
I don't want to change the key I use for my console, I want dev.tools to stop bothering me when I'm browsing the web, IT'S DISTURBING!!!
Most people doesn't need dev tools, just put it as a plugin !!!Was eventually able to eliminate this problem by deleting the size entry in the devtools.toolbox.host using about config.
At least it's invisible now instead of occupying half the page every time I hit F12. -
How can I send an email when a function returns false?
Im trying to make this code work, but i still receive an email when the function is equal to false. Can anyone assist me in finding the issue? What the program does is look for servers that has a set limit (in GB) on specific drives.
#This Program goes through all the servers and informs any level below the limit
$ErrorActionPreference = "SilentlyContinue";
$scriptpath = $MyInvocation.MyCommand.Definition
$dir = Split-Path $scriptpath
#=================Function============
Function isLow($server, $drive, $limit)
$disk = Get-WmiObject -ComputerName $server -Class Win32_LogicalDisk -Filter "DriveType = 3 and DeviceID = '$drive'";
[float]$size = $disk.Capacity;
[float]$freespace = $disk.FreeSpace;
$sizeGB = [Math]::Round($size / 1073741824, 2);
$freeSpaceGB = [Math]::Round($freespace / 1073741824, 2);
if($freeSpaceGB -lt $limit){
return $true;
else{
return $false;
#================Servers==============
#------------------###server1--------------
$server = "###server1";
$drive = "C:";
$lim = 25;
if(isLow $server $drive $lim)
$Alert += $server + " || " + $drive + " is low<br>"
$server = "###server1";
$drive = "D:";
$lim = 35;
if(isLow $server $drive $lim)
$Alert += $server + " || " + $drive + " is low<br>"
#-----------------###(more servers ect.)--------------
#================EMAIL===============
$smtpServer = "192.168.x.x"
$ReportSender = "[email protected]"
$users = "[email protected]"
$MailSubject = "ALERT!!! Low DiskSpace"
foreach($user in $users){
if($true){
Write-Host "Sending Email notification to $user"
$smtp = New-Object Net.Mail.SmtpClient($smtpServer)
$msg = New-Object Net.Mail.MailMessage
$msg.To.Add($user)
$msg.From = $ReportSender
$msg.Subject = $MailSubject
$msg.IsBodyHTML = $True
$msg.Body = $Alert
$smtp.Send($msg)
else($false){
Write-Host "No one is pass the limit"Using a CSV is good. Just load the "$servers" hash array from a CSV and the rest will work the same. The overall structure would work better if it was more like this.
Function isLow($server, $drive, $limit){
$disk = Get-WmiObject -ComputerName $server -Class Win32_LogicalDisk -Filter "DriveType = 3 and DeviceID = '$drive'"
if($disk.FreeSSpace -lt $limit){
$true
}else{
$false
$servers=@()
$servers=@{
Server="###server1"
Drive='C:'
Limit=25Gb
$servers=@{
Server="###server2"
Drive='D:'
Limit=15Gb
$servers=@{
Server="###server3"
Drive='C:'
Limit=50Gb
$results=foreach($servers in $servers){
if(isLow $server.Server $server.Drive $server.Limit){
'{0} || {1} is low<br>' -f $servers.Server,$server.Drive
if($results){
Write-Host 'Sending Email notification' -fore green
$mailprops=@{
SmtpServer='192.168.x.x'
From='[email protected]'
To=$users
Subject='ALERT!!! Low DiskSpace'
Body=$results
BodyAsHtml=$true
Send-MailMessage @mailprops
}else{
Write-Host 'No one is past the limit' -ForegroundColor green
The biggest issue is to realize that this is a computer. If you type the same thing more than once then consider that the computer can do it for you. Once you learn to think like a computer all of this becomes easier.
¯\_(ツ)_/¯ -
How can I add check boxes without using the form widget?
I would like to use check boxes for our facets for our search engine. You can see an example below. Is there anyway to do this without using the form widget?
PJM - Site UpdatesIt is not possible to accomplish this with the Muse's Form Widgets. You may need to look for other online solutions and fetch the source code and add to the Muse page using the Insert HTML feature.
Cheers,
Vikas -
How can I generate printer spreads when using an Indesign Book?
Our design team utilizes the Indesign Book feature to tackle magazine design. This convenient feature has become part of our workflow for both print and dps versions of the content since we do not work in the same locations yet share design responsibility. We're able to see when someone else is working in a "chapter" and keep our overall content synced.
Is there a way from the Indesign Book palette to generate a pdf that is in printer's spreads? The export options included within the Book Palette appear geared to reader spreads only. It seems the only automated option is to work from 1 large Indesign file and use the File > Print Booklet option. Is there a better solution that is geared more toward the Indesign Book user that offers the same outcome without a lot of manual work?I usually (when needed as sometimes is) export the entire book to a PDF using the pdf settings- bleeds etc. but I don't include inside bleeds.
I then create a new document the original size - and use the MultiPage importer script http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-i ndd-files.php
You can then offset the PDF to the bleed using a negative value in the placement options (it's tricky to get the hang of this so try a few pages first)
Then I can use File>Print Booklet and Choose PDF.
It's a hack and a half but it can work - but I'd never send this particular file to a printers to be printed.
As always - be careful. -
How can you see the progress when using a ForEach loop?
Hi,
I have an array with about 100 containers in it. My main thread uses a ForEach loop with an inner case structure with six possibilities. My previous program had all the steps in a very long list, executing them one by one. I find this new approach is much nicer to look at, and easier to change, but there isn't really any way of telling how far along the test is (unless you know it by heart). In the long list approach, you could see all the Done/Passed outcomes and how many remained, now there is no way of telling.
Any tips on making some kind of progress indication?
Solved!
Go to Solution.As ObjectReference parameter, you should use 'Nothing'. The last parameter (synchronuous?) you can choose true or false. Please refer to the documentation of PostUIMessageEx for further information.
The numeric parameter should range between 0-100. Since it is "Progress Percent", this makes sense, does it?
The status bar has several panes, one e.g. displaying the logged in user or the used process model. The pane on the right most side will display the Progress Percent if used in your sequence.
The default reporting, as already stated, includes this feature. So if you have a sequence with e.g. 500 steps, the reporting "will have a visible progress" in that pane (with less than 100 steps, it is most often too fast to see). Remember that NI Sequence Editor and the Full Featured User Interfaces do have this feature, the Simple UI does not have it.
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
How can i run wireless internet when using windows xp on my imac?
I recently installed Windows XP on my imac using Boot Camp, everything works great except the internet. ive been looking but i have found no way to get the internet to work via my wireless connection, or is it just not possible?
Could it be that i am missing some drivers? Anyone know where i can get them?
Sorry if im asking too much stuff.
Thanks in advanceDepending on the wireless base station brand and specifications,
you may have to set up the Windows system to find & use it...
Just about the same as setting up any Windows PC to go online;
except, if you have an Apple base station...
If you have an AirPort base station, there are updates for Windows
to help use that access point, from your Mac, running Windows.
An example, but not necessarily the correct answer, in the following:
• AirPort Utility 5.4.2 for Windows
http://support.apple.com/kb/DL840
Since you have posted this request in 10.5 Leopard> Automator
discussion, this won't be a suitable place to find matching replies.
see: Windows compatible technologies> Airport for Windows:
http://discussions.apple.com/forum.jspa?forumID=1014
There are other topic discussions under the Windows area,
so if you look into the main Discussions page and look into
the bottom of the listings, you can see the larger group there.
Apple Support Discussions - Forum Home:
http://discussions.apple.com/index.jspa?categoryID=1
Perhaps after reading through topics in the Windows> Airport
thread, you may wish to reconstruct and repost it in that area.
Good luck & happy computing!
{ edited to add Airport Utility info & misc explanation } -
How can I rotate the view when using my surface tablet in a docing station
previous answers suggest to rotate the tablet which does not work in this case.
Bernd, great to hear the message again. But this is ab big issue to use Adobe Reader in professional environment with my tablet in a docing station conected to a 24" screen: "Just turn your tablet" does not work in this case. Is there a chance of an update soon or is it possible with Adobe Profesional?
-
How to reduce size of popupbox when using function module POPUP_TO_CONFIRM
hi all,
i have one doubt. when i use POPUP_TO_CONFIRM function module it is showing the message in a popup. this popupbox size is constant. now i want to change the size of the window. is there any function module exist. i refered old threads but i unable to find the suitable function module.
thanks,
maheedhar.tYou cannot by using the POPUP_TO_CONFIRM.
You can try one of the following function modules :
POPUP_TO_CONFIRM_STEP
POPUP_TO_CONFIRM_WITH_MESSAGE
POPUP_TO_CONFIRM_WITH_VALUE
POPUP_TO_DECIDE
POPUP_TO_DISPLAY_TEXT
POPUP_TO_GET_VALUE
regards,
Hans
Please reward all helpful answers !!!!!
Maybe you are looking for
-
How do I rid pop-ups from my Mac desktop?
For the past several weeks I have been inundated with pop-ups. How do I get rid of them? Also, can I upgrade my operating system?
-
so i got the airline adapter to use on a flight that i'm taking next week. but just curious. will this adapter work in the standard cigarette plug in my truck w/o frying anything or will i need a power inverter?
-
Hi, Could you please provide me Siemens meterial for SAP-XI Thanks, RamuV
-
Call of duty is not uninstall programme and feature
call of duty is not uninstall programme and feature how to uninstall properly
-
Creating Object using Class.forName vs new
Hello, Is there any difference between: Class c = Class.forName("Foo"); Foo foo = (Foo) c.newInstance(); and Foo foo = new Foo(); Thanks.