Db link problem help required??
hello friends,
error occuredjava.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Could not update; currently locked by user 'admin' on machine 'mysystem-9ZT4OE'.
i get this error for using preparedstatement call.so i set the permission for the same in my system for my user account.after doin so i get the same error.
i implemented this in servlet program.
plz help reg. this issue
thank you
Hi Victor,
the problem is not the db-link. If you execute the statment "select * from table@dblinkname;" in an pl/sql program you get this error too. The user has not the select privelege maybe only a role. Please grant the select priveleg directly to the user.
Regards,
Bert.
Similar Messages
-
Mutating table problem help required
Hi. I am rather hoping someone will be able to help me with this problem.
I have two tables, sa and mv. Create script below:
create table mv (
moduleId Char(2) CONSTRAINT ck_moduleId CHECK(moduleId in ('M1', 'M2', 'M3', 'M4', 'M5', 'M6', 'M7', 'M8')),
credits Number(2) CONSTRAINT ck_credits CHECK(credits in (10, 20, 40)),
constraint pk_mv primary key(moduleId)
create table sa (
stuId Char(2) CONSTRAINT ck_stuId CHECK(stuId in ('S1', 'S2', 'S3', 'S4', 'S5')),
moduleId Char(2),
constraint pk_sa primary key(stuId, moduleId),
constraint fk_moduleid foreign key(moduleId) references mv(moduleId)
And the scripts below is to insert data into both:
insert into mv VALUES('M1', 20)
insert into mv VALUES('M2', 20)
insert into mv VALUES('M3', 20)
insert into mv VALUES('M4', 20)
insert into mv VALUES('M5', 40)
insert into mv VALUES('M6', 10)
insert into mv VALUES('M7', 10)
insert into mv VALUES('M8', 20)
insert into sa VALUES('S1', 'M1')
insert into sa VALUES('S1', 'M2')
insert into sa VALUES('S1', 'M3')
insert into sa VALUES('S2', 'M2')
insert into sa VALUES('S2', 'M4')
insert into sa VALUES('S2', 'M5')
insert into sa VALUES('S3', 'M1')
insert into sa VALUES('S3', 'M6')
Now for the actual problems.
Firstly I need to try and overcome the mutating table problem by ensure that stuid = S1 in table sa can not take both moduleId M5 and M6.
Just one or the other. I have created a single trigger, but if fails because of the mutating table problem.
The second problem I need to overcome is that none of the stuids can have moduleIds where total credit value of more than 120 credits. Credit value is stored in the mv table.
Many thanks in advance for any assistance.Use a statement level trigger:
Firstly I need to try and overcome the mutating table problem by ensure that stuid = S1 in table sa can not take both moduleId M5 and M6.
SQL> create or replace trigger sa_trg
2 after insert or update on sa
3 declare
4 c number;
5 begin
6 select count(distinct moduleId) into c
7 from sa
8 where stuid = 'S1'
9 and moduleId in ('M5','M6');
10 if c > 1 then
11 raise_application_error(-20001,'S1 on both M5 and M6!!');
12 end if;
13 end;
14 /
Trigger created.
SQL> select * from sa;
ST MO
S1 M1
S1 M2
S1 M3
S2 M2
S2 M4
S2 M5
S3 M1
S3 M6
8 rows selected.
SQL> insert into sa values ('S1','M5');
1 row created.
SQL> insert into sa values ('S1','M6');
insert into sa values ('S1','M6')
ERROR at line 1:
ORA-20001: S1 on both M5 and M6!!
ORA-06512: at "SCOTT.SA_TRG", line 9
ORA-04088: error during execution of trigger 'SCOTT.SA_TRG'
The second problem I need to overcome is that none of the stuids can have moduleIds where total credit value of more than 120 credits. Credit value is stored in the mv table
SQL> create or replace trigger sa_trg
2 after insert or update on sa
3 declare
4 c number;
5 begin
6 select count(distinct moduleId) into c
7 from sa
8 where stuid = 'S1'
9 and moduleId in ('M5','M6');
10 if c > 1 then
11 raise_application_error(-20001,'S1 on both M5 and M6!!');
12 end if;
13
14 select count(*) into c from (
15 select stuid
16 from mv, sa
17 where sa.moduleid=mv.moduleid
18 group by stuid
19 having sum(credits)>120);
20
21 if c > 0 then
22 raise_application_error(-20002,'A student cannot have more than 120 credits!!');
23 end if;
24
25 end;
26 /
Trigger created.
SQL> select stuid, sum(credits)
2 from mv, sa
3 where sa.moduleid=mv.moduleid
4 group by stuid;
ST SUM(CREDITS)
S3 30
S2 80
S1 100
SQL> insert into sa
2 values ('S1','M4');
1 row created.
SQL> select stuid, sum(credits)
2 from mv, sa
3 where sa.moduleid=mv.moduleid
4 group by stuid;
ST SUM(CREDITS)
S3 30
S2 80
S1 120
SQL> insert into sa
2 values ('S1','M7');
insert into sa
ERROR at line 1:
ORA-20002: A student cannot have more than 120 credits!!
ORA-06512: at "SCOTT.SA_TRG", line 20
ORA-04088: error during execution of trigger 'SCOTT.SA_TRG'Max
http://oracleitalia.wordpress.com -
N86 8GB -persistent problems -help required
I bought N86 yesterday.this phone hangs/freezes at almost anytime--while setting time, while typing the name of new contact, while renaming a music file,while using maps zoom in and zoom out,camera refuses open for hours together,opening the slide just befor typing something.I don't understand --DOES NOKIA EVER CHECK THE STABILITY OF ITS MODELS BEFORE RELEASING??????????. My old grandpa of nseries -N90 even to this date woks great wiithout a hitch!!!!!!!!!!!!!!!!!!!!!!. Hope does look into this!!!!!!!!!!!!!
Try to reinstall the firmware through NSU but it will reduce the freezing issue wont wipe out it completely. I am also facing the similar problem on N86 which I bought in Mumbai, India on 11th July. I have reinstalled the firmware which is 10.086 as only this is available in India on NSU. And my freezing problem reduced a lot. But still not completely gone. I am gonna ask for replacement from the distributor for my N86.
Please click on Kudos at upper right corner, If you think my post is helpful to you. -
Oracle 8i us7ascii character set problem - help required urgent.
Hi frnds,
I have a oracle 8i database server installed on sun solaris os. The database character set is us7ascii. In one of the tables TIFF images are stored in a long column. I m trying to fetch these images using oracle 9i client and visual basic(oracle ODBC drivers). But i m unable to do so. I can not fetch special characters.
Is it because of the character set problem? but when i run my code on the server itself, i m able to fetch the images. I tried to fetch the images using oracle 8 i client on windows XP machine but could not do so. Are there any special settings that i have to do on the client side?Indeed, it's an ODBC issue. Read this statement from Oracle:
From ODBC 8.1.7.2.0 drivers onwards it's NOT possible any more to
"disable" Characterset conversion by specifying for the NLS_LANG
the same characterset as the database characterset. There is now
ALWAYS a check to see if a codepoint is valid for that characterset.
Typically you will encounter problems if you upgrade an environment
that has NO NLS_LANG set on the client (or US7ASCII) and the database
was also US7ASCII. This incorrect setup allowed you to store characters
like èçàé in an US7ASCII database, with the new 8i drivers this is not possible
any more.
Basic problem is the 'wrong' characterset US7ASCII in the database. As long as no characterset conversion happens (that's the case on the unix server), special characters are no problem.
Werner -
Validation problem, HELP required
I have the followig HTML form, I have tried validating the values using Javascript but have had no success.
I am trying to validate the following: "set1ar" "set1aw" "set2ar" "set2aw" "set3ar" "set3aw" "set4ar" "set4aw".
I have to ensure that only integer values >= 0 are entered in these fields, so no negative numbers or text. Can someone please help me out here. My thanks in advance.
<HTML><HEAD><TITLE> Validate </TITLE></HEAD>
<BODY>
<form>
<table>
<tr><td align="center"> <input name = "set1ar" size=3 maxlength=3></td>
<td align="center"> <input name = "set1aw" size=3 maxlength=3> kg</td></tr>
<tr><td align="center"> <input name = "set2ar" size=3 maxlength=3></td>
<td align="center"> <input name = "set2aw" size=3 maxlength=3> kg</td></tr>
<tr><td align="center"> <input name = "set3ar" size=3 maxlength=3></td>
<td align="center"> <input name = "set3aw" size=3 maxlength=3> kg</td></tr>
<tr><td align="center"> <input name = "set4ar" size=3 maxlength=3></td>
<td align="center"> <input name = "set4aw" size=3 maxlength=3> kg</td></tr>
</table>
<input type="submit" value="submit">
</form>
</BODY></HTML>Hi !
You can try the following Javascript function . It will not allow the user to enter any character other than between 0-9 .
function check_key(evt)
var nbr,chr;
var bool=0;
if(window.Event)
nbr=evt.which;
else
nbr=event.keyCode;
if( (nbr>=0 && nbr<=32) || (nbr>=48 && nbr<=57) || (nbr==46) )
bool=1;
if(bool==0)
alert("Invalid Character");
return false;
else
if(bool==1)
return true;
Add the following HTML code .
< input type="text" name="T1" onKeyPress="return check_key(event);">
Also search for better alternatives .
Cheers.
- pranav -
Gorgeous Hello All,
Has anyone encountered the below-said show- stopper. Another BIG TIME help required, will help me in tremendous fashion.
Am using Adobe RoboHelp, Version 10 and IE version being 10.
In my local machine :
1.)I have completed my technical writing courtesy Design editor
2.)Generating chm File : View -> Pods –> Single Source Layouts -> Right Click on Microsoft HTML Help -> Tagged Set as Primary Layout
3.)Generating Primary Layout : File -> Generate -> Primary Layout (Microsoft HTML Help)…
4.)Viewing Primary Layout : File -> View -> Primary Layout
Everything works FANTASTICALLY till here with the required output (as Hide, Back, Refresh, Home, Print, Options, Contents, Index, Search, Glossary and with the data contents)
Show Stopper, At my Application Server :
5.)I copy the entire robohelp project folder from my local machine to my application Server path
6.)My Application has been developed in ASP .NET, Version 4.0.
7.)Help link has been created in this application wherein here the file name of < >.chm has been linked in the code to be read from the Server’s RoboHelp project folder\!SSL!\ Microsoft_HTML_Help\
8.)I login into my above-said application -> click on the Help page -> Displays the required structure /buttons as Hide, Back, Refresh, Home, Print, Options, Contents, Index, Search, Glossary
a.)Clicking on any of the Books or Topics appearing beneath Contents : The System prompts out with error cautionary message called “ Navigation to the webpage was cancelled. What you can try: Retype the address ”
*** This is a huge SHOW-STOPPER. I spent plenty of hours on this, but unable to deciper with a solution at all) ***
( Note : Am able to directly open and read the required data contents by Clicking on any of the Books or Topics appearing beneath Contents from Server’s RoboHelp project folder\!SSL!\ Microsoft_HTML_Help\ < >.chm )
Why is the RoboHelp not displaying the required data contents of <>.chm when linked as Help in my Application ?
Cheese – Vipin NambiarIf you looked at the error message and searched the forum, you should find the answer as this is a problem that started in 2005. You should not run CHM files from a server and cannot without editing the users registry. See the page below.
http://www.grainge.org/pages/authoring/chm_mspatch/896358.htm
All along your questions have been based on webhelp, why suddenly are we going go CHMs.
See Snippets on my site for the correct form of help to use in different scenarios.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Problem description:
My MacBook Pro is running really slow. Applications won’t open or take up to 10 min.
EtreCheck version: 2.1.5 (108)
Report generated December 27, 2014 at 9:15:58 PM CST
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
MacBook Pro (13-inch, Late 2011) (Verified)
MacBook Pro - model: MacBookPro8,1
1 2.4 GHz Intel Core i5 CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1333 MHz ok
BANK 1/DIMM0
2 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
Intel HD Graphics 3000 - VRAM: 384 MB
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: one day 6:55:8
Disk Information: ℹ️
TOSHIBA MK5065GSXF disk0 : (500.11 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
HD (disk1) / [Startup]: 498.88 GB (5.04 GB free) (Low!)
Core Storage: disk0s2 499.25 GB Online
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[loaded] com.epson.driver.EPSONProjectorUDAudio (1.30 - SDK 10.4) [Support]
[not loaded] com.seagate.driver.PowSecDriverCore (5.2.6 - SDK 10.4) [Support]
/System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
[not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.6 - SDK 10.4) [Support]
[not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.6 - SDK 10.5) [Support]
[not loaded] com.seagate.driver.SeagateDriveIcons (5.2.6 - SDK 10.4) [Support]
Problem System Launch Agents: ℹ️
[killed] com.apple.CallHistoryPluginHelper.plist
[killed] com.apple.coreservices.appleid.authentication.plist
[killed] com.apple.icloud.fmfd.plist
[killed] com.apple.telephonyutilities.callservicesd.plist
4 processes killed due to memory pressure
Problem System Launch Daemons: ℹ️
[killed] com.apple.ctkd.plist
[killed] com.apple.icloud.findmydeviced.plist
[killed] com.apple.ifdreader.plist
[killed] com.apple.nehelper.plist
[killed] com.apple.wdhelper.plist
[running] com.seagate.TBDecorator.plist [Support]
5 processes killed due to memory pressure
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
[loaded] com.carbonite.launchd.carbonitealerts.plist [Support]
[running] com.carbonite.launchd.carbonitestatus.plist [Support]
[loaded] com.coupons.coupond.plist [Support]
[loaded] com.hp.help.tocgenerator.plist [Support]
[loaded] com.trendmicro.itis.dca.plist [Support]
[running] com.trendmicro.itis.uimgmt.agent.plist [Support]
Launch Daemons: ℹ️
[failed] com.adobe.fpsaud.plist [Support]
[running] com.carbonite.launchd.carbonitedaemon.plist [Support]
[loaded] com.microsoft.office.licensing.helper.plist [Support]
[running] com.trendmicro.icore.av.plist [Support]
[running] com.trendmicro.icore.main.plist [Support]
[running] com.trendmicro.icore.wp.plist [Support]
[running] com.trendmicro.itis.plugin.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.AAM.Updater-1.0.plist [Support]
[loaded] com.google.keystone.agent.plist [Support]
[invalid?] com.jdibackup.JustCloud.autostart.plist [Support]
[invalid?] com.jdibackup.JustCloud.backupstart.plist [Support]
[loaded] com.trendmicro.itis.uninstaller.plist [Support]
User Login Items: ℹ️
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
bomgar-scc-20130819-104735 UNKNOWN (missing value)
bomgar-scc-20130905-143949 UNKNOWN (missing value)
USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
WDDriveUtilityHelper Application (/Applications/WD Drive Utilities.app/Contents/Resources/WDDriveUtilityHelper.app)
WDSecurityHelper Application (/Applications/WD Security.app/Contents/Resources/WDSecurityHelper.app)
USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
bomgar-scc-20130819-104735 UNKNOWN (missing value)
bomgar-scc-20130905-143949 UNKNOWN (missing value)
HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
HP Product Research Application (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
Internet Plug-ins: ℹ️
SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
FlashPlayer-10.6: Version: 15.0.0.223 - SDK 10.6 [Support]
CouponPrinter-FireFox_v2: Version: 5.0.5 - SDK 10.6 [Support]
Flash Player: Version: 15.0.0.223 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
QuickTime Plugin: Version: 7.7.3
Default Browser: Version: 600 - SDK 10.10
User internet Plug-ins: ℹ️
npBcsMcTcIO: Version: Unknown [Support]
Safari Extensions: ℹ️
Trend Micro Toolbar [Installed]
3rd Party Preference Panes: ℹ️
Carbonite [Support]
Flash Player [Support]
Paragon NTFS for Mac ® OS X [Support]
Seagate Dashboard for Mac OSX [Support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: ON
Auto backup: YES
Volumes being backed up:
HD: Disk size: 498.88 GB Disk used: 493.84 GB
Destinations:
Jens Seagate Backup [Local]
Total size: 999.86 GB
Total number of backups: 6
Oldest backup: 2014-06-24 10:33:56 +0000
Last backup: 2014-12-17 17:14:18 +0000
Size of backup disk: Too small
Backup size 999.86 GB < (Disk used 493.84 GB X 3)
My Passport for Mac [Local]
Total size: 2.00 TB
Total number of backups: 14
Oldest backup: 2013-08-21 19:19:35 +0000
Last backup: 2014-12-19 11:44:23 +0000
Size of backup disk: Excellent
Backup size 2.00 TB > (Disk size 498.88 GB X 3)
Top Processes by CPU: ℹ️
6% coreaudiod
5% CarboniteDaemon
4% iMovie
3% JustCloud
3% Wondershare Player
Top Processes by Memory: ℹ️
335 MB iPhoto Library Manager
180 MB Finder
142 MB iMovie
70 MB Preview
51 MB Microsoft Word
Virtual Memory Information: ℹ️
149 MB Free RAM
1.04 GB Active RAM
897 MB Inactive RAM
1.17 GB Wired RAM
30.53 GB Page-ins
1.42 GB Page-outs
Diagnostics Information: ℹ️
Dec 26, 2014, 05:17:12 PM /Library/Logs/DiagnosticReports/iPhoto_2014-12-26-171712_[redacted].cpu_resourc e.diag [Details]
Dec 26, 2014, 03:47:17 PM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-154717_[redacted].cp u_resource.diag [Details]
Dec 26, 2014, 02:22:01 PM Self test - passed
Dec 26, 2014, 11:48:03 AM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-114803_[redacted].cp u_resource.diag [Details]You have nearly run out of disk space. Either purchase a larger one or start cleaning out the one you have?
-
Problem in linking F4 help in alv grid display.
Hi,
I am linking F4 help in my program.My program gets activated properly but i am getting runtime error as : DYNPRO_NOT_FOUND and short text as
Dynpor existiert nicht.Please help me in removing this error.Below is the simple code in which i am getting the error for ur reference:
Thanks.
REPORT ZALVF4.
Global data definitions for ALV.......................................
DATA : alvgrid TYPE REF TO cl_gui_alv_grid,
custom_container TYPE REF TO cl_gui_custom_container,
fieldcatalog TYPE lvc_t_fcat.
table to contain fields that require f4...............................
DATA : lt_f4 TYPE lvc_t_f4 WITH HEADER LINE.
ok_code declaration...................................................
DATA : ok_code TYPE sy-ucomm.
Tables declaration....................................................
TABLES : zharry.
Types declaration.....................................................
TYPES : BEGIN OF ty_emp,
empid LIKE zharry-student,
empname LIKE zharry-sname,
END OF ty_emp.
Internal table declaration............................................
DATA : i_emp TYPE TABLE OF ty_emp.
Workarea declaration..................................................
DATA : wa_emp TYPE ty_emp.
Selection screen parameters...........................................
SELECT-OPTIONS : s_sno FOR zharry-student.
CLASS lcl_event_handler DEFINITION
CLASS lcl_event_handler DEFINITION.
PUBLIC SECTION.
METHODS :
handle_on_f1 FOR EVENT onf1 OF cl_gui_alv_grid
IMPORTING e_fieldname es_row_no er_event_data,
handle_on_f4 for event onf4 of cl_gui_alv_grid
importing e_fieldname es_row_no er_event_data
ENDCLASS.
CLASS lcl_event_handler IMPLEMENTATION
CLASS lcl_event_handler IMPLEMENTATION.
METHOD handle_on_f1.
custom f1 help for empid field.......................................
IF e_fieldname = 'STUDENT'.
CALL SCREEN 3001.
ENDIF.
to prevent processing of standard f1 help............................
er_event_data->m_event_handled = 'X'.
ENDMETHOD.
Method handle_on_f4.
standard f4 help will be invoked......................................
endmethod.
ENDCLASS.
start of selection....................................................
START-OF-SELECTION.
SELECT STUDENT SNAME FROM ZHARRY
INTO CORRESPONDING FIELDS OF TABLE i_emp
WHERE student IN s_sno.
CALL SCREEN 3000.
*& Module STATUS_3000 OUTPUT
text
MODULE status_3000 OUTPUT.
SET PF-STATUS 'ZTOOL'.
SET TITLEBAR 'ZTITLE'.
IF alvgrid IS INITIAL.
CREATE OBJECT custom_container
EXPORTING
container_name = 'ZCONTAINER'.
CREATE OBJECT alvgrid
EXPORTING
i_parent = custom_container.
PERFORM prepare_f4.
CALL METHOD alvgrid->register_f4_for_fields
EXPORTING
it_f4 = lt_f4[]
creating instance for event handler..................................
DATA : event_handler TYPE REF TO lcl_event_handler.
CREATE OBJECT event_handler.
SET HANDLER event_handler->handle_on_f1 FOR alvgrid.
SET HANDLER event_handler->handle_on_f4 FOR alvgrid.
preparing field catalog..............................................
PERFORM prepare_fieldcatalog CHANGING fieldcatalog.
CALL METHOD alvgrid->set_table_for_first_display
EXPORTING
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME =
IS_VARIANT =
I_SAVE =
I_DEFAULT = 'X'
IS_LAYOUT =
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
it_outtab = i_emp
it_fieldcatalog = fieldcatalog
IT_SORT =
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
others = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDMODULE. " STATUS_3000 OUTPUT
preparing field catalog...............................................
FORM prepare_fieldcatalog CHANGING i_fieldcatalog TYPE lvc_t_fcat.
DATA : ls_fcat TYPE lvc_s_fcat.
ls_fcat-fieldname = 'STUDENT'.
ls_fcat-ref_table = 'ZHARRY'.
ls_fcat-coltext = 'STUDENT NO'.
APPEND ls_fcat TO i_fieldcatalog.
CLEAR ls_fcat.
ls_fcat-fieldname = 'SNAME'.
ls_fcat-ref_table = 'ZHARRY'.
ls_fcat-coltext = 'STUDENT NAME'.
APPEND ls_fcat TO i_fieldcatalog.
ENDFORM.
*& Module USER_COMMAND_3000 INPUT
text
MODULE user_command_3000 INPUT.
CASE ok_code.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_3000 INPUT
*& Module USER_COMMAND_3001 INPUT
text
MODULE user_command_3001 INPUT.
CASE ok_code.
WHEN 'SAVE'.
LEAVE TO SCREEN 0.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_3001 INPUT
*& Module STATUS_3001 OUTPUT
text
MODULE status_3001 OUTPUT.
SET PF-STATUS 'GUI'.
SET TITLEBAR 'TITLE'.
ENDMODULE. " STATUS_3001 OUTPUT
preparing fields to be registered for f4 help.........................
FORM prepare_f4.
lt_f4-fieldname = 'EMPNAME'.
lt_f4-register = 'X'.
lt_f4-getbefore = 'X'.
lt_f4-chngeafter = 'X'.
APPEND lt_f4.
ENDFORM.Hi,
I am linking F4 help in my program.My program gets activated properly but i am getting runtime error as : DYNPRO_NOT_FOUND and short text as
Dynpor existiert nicht.Please help me in removing this error.Below is the simple code in which i am getting the error for ur reference:
Thanks.
REPORT ZALVF4.
Global data definitions for ALV.......................................
DATA : alvgrid TYPE REF TO cl_gui_alv_grid,
custom_container TYPE REF TO cl_gui_custom_container,
fieldcatalog TYPE lvc_t_fcat.
table to contain fields that require f4...............................
DATA : lt_f4 TYPE lvc_t_f4 WITH HEADER LINE.
ok_code declaration...................................................
DATA : ok_code TYPE sy-ucomm.
Tables declaration....................................................
TABLES : zharry.
Types declaration.....................................................
TYPES : BEGIN OF ty_emp,
empid LIKE zharry-student,
empname LIKE zharry-sname,
END OF ty_emp.
Internal table declaration............................................
DATA : i_emp TYPE TABLE OF ty_emp.
Workarea declaration..................................................
DATA : wa_emp TYPE ty_emp.
Selection screen parameters...........................................
SELECT-OPTIONS : s_sno FOR zharry-student.
CLASS lcl_event_handler DEFINITION
CLASS lcl_event_handler DEFINITION.
PUBLIC SECTION.
METHODS :
handle_on_f1 FOR EVENT onf1 OF cl_gui_alv_grid
IMPORTING e_fieldname es_row_no er_event_data,
handle_on_f4 for event onf4 of cl_gui_alv_grid
importing e_fieldname es_row_no er_event_data
ENDCLASS.
CLASS lcl_event_handler IMPLEMENTATION
CLASS lcl_event_handler IMPLEMENTATION.
METHOD handle_on_f1.
custom f1 help for empid field.......................................
IF e_fieldname = 'STUDENT'.
CALL SCREEN 3001.
ENDIF.
to prevent processing of standard f1 help............................
er_event_data->m_event_handled = 'X'.
ENDMETHOD.
Method handle_on_f4.
standard f4 help will be invoked......................................
endmethod.
ENDCLASS.
start of selection....................................................
START-OF-SELECTION.
SELECT STUDENT SNAME FROM ZHARRY
INTO CORRESPONDING FIELDS OF TABLE i_emp
WHERE student IN s_sno.
CALL SCREEN 3000.
*& Module STATUS_3000 OUTPUT
text
MODULE status_3000 OUTPUT.
SET PF-STATUS 'ZTOOL'.
SET TITLEBAR 'ZTITLE'.
IF alvgrid IS INITIAL.
CREATE OBJECT custom_container
EXPORTING
container_name = 'ZCONTAINER'.
CREATE OBJECT alvgrid
EXPORTING
i_parent = custom_container.
PERFORM prepare_f4.
CALL METHOD alvgrid->register_f4_for_fields
EXPORTING
it_f4 = lt_f4[]
creating instance for event handler..................................
DATA : event_handler TYPE REF TO lcl_event_handler.
CREATE OBJECT event_handler.
SET HANDLER event_handler->handle_on_f1 FOR alvgrid.
SET HANDLER event_handler->handle_on_f4 FOR alvgrid.
preparing field catalog..............................................
PERFORM prepare_fieldcatalog CHANGING fieldcatalog.
CALL METHOD alvgrid->set_table_for_first_display
EXPORTING
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME =
IS_VARIANT =
I_SAVE =
I_DEFAULT = 'X'
IS_LAYOUT =
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
it_outtab = i_emp
it_fieldcatalog = fieldcatalog
IT_SORT =
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
others = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDMODULE. " STATUS_3000 OUTPUT
preparing field catalog...............................................
FORM prepare_fieldcatalog CHANGING i_fieldcatalog TYPE lvc_t_fcat.
DATA : ls_fcat TYPE lvc_s_fcat.
ls_fcat-fieldname = 'STUDENT'.
ls_fcat-ref_table = 'ZHARRY'.
ls_fcat-coltext = 'STUDENT NO'.
APPEND ls_fcat TO i_fieldcatalog.
CLEAR ls_fcat.
ls_fcat-fieldname = 'SNAME'.
ls_fcat-ref_table = 'ZHARRY'.
ls_fcat-coltext = 'STUDENT NAME'.
APPEND ls_fcat TO i_fieldcatalog.
ENDFORM.
*& Module USER_COMMAND_3000 INPUT
text
MODULE user_command_3000 INPUT.
CASE ok_code.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_3000 INPUT
*& Module USER_COMMAND_3001 INPUT
text
MODULE user_command_3001 INPUT.
CASE ok_code.
WHEN 'SAVE'.
LEAVE TO SCREEN 0.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_3001 INPUT
*& Module STATUS_3001 OUTPUT
text
MODULE status_3001 OUTPUT.
SET PF-STATUS 'GUI'.
SET TITLEBAR 'TITLE'.
ENDMODULE. " STATUS_3001 OUTPUT
preparing fields to be registered for f4 help.........................
FORM prepare_f4.
lt_f4-fieldname = 'EMPNAME'.
lt_f4-register = 'X'.
lt_f4-getbefore = 'X'.
lt_f4-chngeafter = 'X'.
APPEND lt_f4.
ENDFORM. -
im can u please help me out this issue im trying to install iTunes in windows 7 some error showing " windows installer package problem DLL require to complete this installation" this message showing.
Try the following user tip:
" ... A DLL required for this installation to complete could not be run ..." error messages when installing iTunes for Windows -
Hi All
During installation of Oracle 9.2.0.1.0 on Linux, I received the following error:
Error:
Error in invoking target install of makefile
/opt/oracle/product/9.2.0.1.0/network/lib/ins_oemagent.mk
I did some research and found that it is executing the "relink" script. So I tried to debug it it. Here is the output:
[oracle@redash oracle]$ cd /opt/oracle/product/9.2.0.1.0/bin/
[oracle@redash bin]$ relink oemagent
chmod 755 /opt/oracle/product/9.2.0.1.0/bin
if [ linux = aix ]; then \
gcc -L/opt/oracle/product/9.2.0.1.0/lib/ -L/opt/oracle/product/9.2.0.1.0/rdbms/lib -L/opt/oracle/product/9.2.0.1.0/network/lib -L/opt/oracle/product/9.2.0.1.0/lib/ -L/opt/oracle/product/9.2.0.1.0/rdbms/lib -L/opt/oracle/product/9.2.0.1.0/network/lib -o dbsnmp /opt/oracle/product/9.2.0.1.0/network/lib/s0nmi.o -lvppdc /opt/oracle/product/9.2.0.1.0/network/lib/libvps.a \
/opt/oracle/product/9.2.0.1.0/network/lib/libnmi.a \
/opt/oracle/product/9.2.0.1.0/network/lib/libnmd.a /opt/oracle/product/9.2.0.1.0/network/lib/libnms.a /opt/oracle/product/9.2.0.1.0/network/lib/libnmt.a /opt/oracle/product/9.2.0.1.0/network/lib/libnml.a \
/opt/oracle/product/9.2.0.1.0/network/lib/libnmi.a /opt/oracle/product/9.2.0.1.0/net[i]Long postings are being truncated to ~1 kB at this time.Before installing Oracle 9.2 on linux (i'm using redhat 7.2), there are some steps you have to issue.
Those link problems are related to the wrong version of binutils, you need binutils-2.10.0.18-1.i386.rpm
You need also JDK,to set some kernel parameters and so on..
However follow the steps of this link http://www.puschitz.com/OracleOnLinux.shtml
For me it worked.
Hope this helps
Tarek -
i recive email from itunes to veritify my email adress and is said...''Click link below'' The problem is that i cant see the link plese help me!
Hi Maastricht2014,
Until and unless you remember the password to your old email address, you will not be able to access the eBooks as those eBooks are only authorized with your old email address only.
The only workaround or alternative to access your eBooks will be to contact the eBook vendor and ask them to migrate the eBook from your old email to the new one.
Hope that Helps!
~ Arpit -
Search Help with in a serach help required in SRM 4.0
Hi,
Requirement: Search help required for Product Category field in the Search help for Product(BBPH_PRODUCT) in SRM portal.
This search help is used in Create shopping Cart transaction. The hyper link on Internal Goods/Services leads to the search help BBPH_PRODUCT.
My analysis:
The field Product Category (CATEGORY_ID) has search help(COM_CAT_HIER) attached to its data element. When I single test the search help BBPH_PRODUCT in SAP GUI,I can see the search help for field product category in the selection dialogue box. However the same does not appear on the corresponding screen in HTML.
Please let me know whether I need to do some thing to make the search help appear on the HTML screen?
With Regards,
Prakash KamathHi Prakash,
I have the same problem but with another field. Unloading point. Could you please tell me how did you solve this problem with displaying F4 help on html/ SRM portal?
Thank you very much.
Best regards,
Danijela ZIvanovic -
My Mac is very slow and applications take a long time to load, especially Safari and iTunes. Please help. I have run the Etrecheck report and these are results.
Thanks Pat
EtreCheck version: 2.1.5 (108)
Report generated 4 January 2015 14:29:26 GMT
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
iMac (21.5-inch, Mid 2011) (Verified)
iMac - model: iMac12,1
1 2.7 GHz Intel Core i5 CPU: 4-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1333 MHz ok
BANK 1/DIMM0
2 GB DDR3 1333 MHz ok
BANK 0/DIMM1
empty empty empty empty
BANK 1/DIMM1
empty empty empty empty
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
AMD Radeon HD 6770M - VRAM: 512 MB
iMac 1920 x 1080
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: 0:32:50
Disk Information: ℹ️
ST31000528AS disk0 : (1 TB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 999.35 GB (717.51 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
OPTIARC DVD RW AD-5690H
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Seagate Expansion Desk 2 TB
EFI (disk1s1) <not mounted> : 210 MB
Seagate Expansion Drive (disk1s2) /Volumes/Seagate Expansion Drive : 2.00 TB (1.66 TB free)
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. iPhone
Apple Internal Memory Card Reader
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Library/Application Support/Avast/components/fileshield/unsigned
[loaded] com.avast.AvastFileShield (2.1.0 - SDK 10.9) [Support]
/Library/Application Support/Avast/components/proxy/unsigned
[loaded] com.avast.PacketForwarder (2.0 - SDK 10.9) [Support]
Problem System Launch Agents: ℹ️
[failed] com.apple.syncservices.SyncServer.plist
Launch Agents: ℹ️
[loaded] com.avast.userinit.plist [Support]
[running] com.epson.Epson_Low_Ink_Reminder.launcher.plist [Support]
[loaded] com.epson.esua.launcher.plist [Support]
[running] com.epson.eventmanager.agent.plist [Support]
[loaded] com.oracle.java.Java-Updater.plist [Support]
[running] com.trusteer.rapport.rapportd.plist [Support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Support]
[loaded] com.avast.init.plist [Support]
[loaded] com.avast.uninstall.plist [Support]
[failed] com.avast.update.plist [Support]
[loaded] com.microsoft.office.licensing.helper.plist [Support]
[loaded] com.oracle.java.Helper-Tool.plist [Support]
[running] com.trusteer.rooks.rooksd.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Support]
[invalid?] com.avast.home.userinit.plist [Support]
[running] com.microsoft.LaunchAgent.SyncServicesAgent.plist [Support]
User Login Items: ℹ️
iTunesHelper ApplicationHidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Internet Plug-ins: ℹ️
FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
Default Browser: Version: 600 - SDK 10.10
AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 [Support]
AdobePDFViewer: Version: 11.0.07 - SDK 10.6 [Support]
DivXBrowserPlugin: Version: 2.2 [Support]
Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
OVSHelper: Version: 1.1 [Support]
QuickTime Plugin: Version: 7.7.3
JavaAppletPlugin: Version: Java 8 Update 25 Check version
Safari Extensions: ℹ️
wrc [Installed]
3rd Party Preference Panes: ℹ️
DivX [Support]
Flash Player [Support]
Flip4Mac WMV [Support]
GoToMyPC Preferences [Support]
Java [Support]
Trusteer Endpoint Protection [Support]
Time Machine: ℹ️
Skip System Files: NO
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 999.35 GB Disk used: 281.84 GB
Destinations:
Seagate Expansion Drive [Local]
Total size: 2.00 TB
Total number of backups: 78
Oldest backup: 2013-07-28 18:09:06 +0000
Last backup: 2015-01-04 14:29:38 +0000
Size of backup disk: Adequate
Backup size 2.00 TB > (Disk used 281.84 GB X 3)
Top Processes by CPU: ℹ️
2% WindowServer
1% mds
0% fontd
0% mds_stores
0% com.avast.daemon
Top Processes by Memory: ℹ️
120 MB Safari
112 MB com.avast.daemon
94 MB com.apple.WebKit.WebContent
56 MB spindump
52 MB mds_stores
Virtual Memory Information: ℹ️
479 MB Free RAM
1.56 GB Active RAM
1.11 GB Inactive RAM
904 MB Wired RAM
5.37 GB Page-ins
75 MB Page-outs
Diagnostics Information: ℹ️
Jan 4, 2015, 01:57:18 PM Self test - passed
Standard users cannot read /Library/Logs/DiagnosticReports.
Run as an administrator account to see more information.patbythesea wrote:
Can I assume that with my Mac I do not need any additional virus protection software? If I do, what should I use?
See my Mac Malware Guide for help on protecting yourself from malware. You generally don't need anti-virus software.
(Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.) -
YouTube login & linking problems - one possible solution
Rather than add this comment to one of the several topics concerning YouTube login and account linking problems, I'm starting this topic to isolate this particular problem and the solution that worked for me.
* SKIP TO LAST LINE FOR MY SOLUTION ->
The problem I experienced surfaced when I first tried to upload a video to YouTube from my iPhone 4. YouTube would no longer accept my YouTube password. My YouTube account was linked to my gmail.com account. Having read some of the suggestions in other threads, I unlinked the two accounts, but that did not help matters.
I signed out of the YouTube app in order to sign back in, as suggested elsewhere, but then I could no longer sign in to the YouTube app.
So I tried shutting down my iPhone and starting it up again, as was also suggested elsewhere. That didn't help.
So, exasperated, I went to the YouTube site and tried to change my YouTube account password to itself - and therein lay the solution! YouTube told me the password has to be 5 to 20 characters long and my (old) password was only 4 (because I had created my YouTube account long ago before they had that requirement.)
Once I set a new password that was long enough to satisfy this requirement, I was able to login to the YouTube app just fine and everything is working.
* The solution -> MAKE SURE YOUR YouTube PASSWORD IS LONGER THAN 4 CHARACTERS
Message was edited by: caf
Message was edited by: cafNo, it didn't work. After buying my MacBook Pro I updated everything including QT. As a result QT 7.2 simply didn't play any of my divx avi files. Before adopting the rude way, I obviously tried to update/replace all of the components including: Perian, DivX, Flip4mac. No way. I then forced a downgrade to ver. 7.1.6 using Pacifist (a package manager) and as a result I put the hole system in danger. It was in a total state of malfunction. I had to restore the system with the cd. Fortunately it kept my home! But I now run ver 7.1.6 and I do NOT have any intention to update it. I use Pro so I don't have any necessity of full screen support or else. Maybe if Apple will release a stable version I will consider the update. But for now, "nowing it is not installing it".
-
"Link Problem" in Incident Form does not seem to work right? How do I do it correctly?
1. The Link Problem tool in the task pane on our Incidents, do not seem to actually link the Incident to the Problem.
2. I can link the two by going to the Problem and adding it on the related items tab, but this is very time consuming in a call center environment, especially during an outage where we are relying a lot more on Problem and root cause analysis.
3. I have tried creating the incident and applying, then doing the Link Problem tool and selecting the problem, then applying again and selecting OK to close the incident. Again it doesn't work for me.
What am I doing wrong, number one?
Can we do this without manually opening the problem for every incident and attaching from there?
3. Can I build an incident template that will automate the Attachment to the problem at creation? (Tried this today to and it wouldn't work, but then again, the Link Problem might again be the culprit) This would be great for real time saving during
an outage. Once outage is found, I could create the template with all the necessary items filled out, and would like to have it automatically attach to the specific problem I choose at template creation, and that way analysts can simply apply template, and
click OK when they get a call related to the outage.Thanks for the response Thomas!
The functionality seems to work just fine. I use the LINK PROBLEM and it pops up the problem search box, I search for and select a Problem, I then select it and click ok, and I get no error saying the relationship was not created.
The problem is, when I open the problem after that, there is never any relationship showing in related items there, as it says there should be.
Also, to point out, I am talking about newly created Incidents. I tried even using APPLY prior to doing the LINK PROBLEM but it still did not work. I suspect it may be a workflow problem, where the workflow to create the incident has not completed, there
for the relationship is not completed.... and I get no error.
In my work environment, we have analysts during outages taking a call every 30 seconds, and I need a more efficient way for this system to work. As of now, they spend 1-2 minutes doing the ticket, and that is too long.
I have decided to try a newb way, where I created an Incident (GENERIC OUTAGE) that folks can use, and every 15-30 minutes during an outage, I can open the problem and search for open incidents with that title, and attach all that I find from the problem
side. This is assuming that once attached they will not show up in the search to attach the next time lol. Also this assumes that if attached from the problem, they will auto resolve when the problem is resolved.
I am rusty on my programming, and am currently trying to get refreshed. I am sure that would come in handy for this :)
Oh and lastly, one additional tidbit that will make this clearer, with regard to work flow, we re also running our Service Manager in our help desk, virtualized, as they have not upgraded to Win 7 yet :(. So that compiles my time to add ticket issue :(.
Maybe you are looking for
-
AppleShare error message when connecting to network in Classic
I have been using an old PowerPC Macintosh 7300/166 as a file server connected by ethernet cable to a 15" PowerBook G4 running OS X (10.3.9) in Classic without problems. However on updating to 10.4.8 I get the message "AppleShare system error" after
-
Why does my usage add up to 9 but remaining is 18 on a 32 gb mini
Why does my usage add up to 9 but remaining is 18 on a 32 gb mini
-
Item deletion when a subsequent document exists
Hello everybody, When I create a quotation Y in reference to another quotation X, it is impossible to delete à line in the quotation X. The system displays an error message "Item 000020 cannot be deleted because of subsequent document Y". Is there a
-
It's possible to use images from adobe photoshop elements in a windows environment?
Sorry I am using a macbook pro.
-
Quicktime X: Gosh, what am I doing wrong?
I tried to download the iPad keynote using Snow Leopard and Quicktime X. It was a horrible experience of heavy pixelation, stutters, and long pauses. I thought that it was Apple's servers being hit hard, but I rebooted into Leopard and tried again wi