Problem with IFCMP60, subclassing, property classes and Object Libraries
I'm looking to write a little batch script that recompiles all my forms. I've got one off the net - Mine is a little more complicated but I'm basing it on
FOR %%F in (*.fmb) do call ifcmp60 %%F userid=uname/pwd@dbase batch=YES Window_State=Minimize
Many of my forms have those items shown on the canvas subclassed using a property class. Those property classes are held in an object library (.olb) and subclassed into the form. the .olb is resident in the same directory as the forms.
When I run my batch script some forms compile okay but some don't. I've figured out that the ones that don't are the ones like the above - and looking at the .err produced, they fail on the subclassed fields.
e.g.
Compilation error on procedure PROCESS_MULTI_QUERY:
PL/SQL ERROR 49 at line 139, column 33
bad bind variable 'multi_query.input_file'
there is a block multi_query with a field input_file and this field uses a property_class subclassed from the object library. So ifcmp60 doesn't realise that ":MULTI_QUERY.INPUT_FILE" refers to the block item. However it is just fine with the other items on the canvas that are not subclassed.
Anyone else encountered this? Can I fix it without breaking all the subclassing?
False alarm: A colleague had recompiled the OLB under 10g, so Forms 6i didn't recognise it.
Similar Messages
-
Help with Xcode what is the difference between a Function, class and object
Hi all,
I'm new here and in programming in Xcode. My question is can somebody tell me what the difference is between functions classes and object. I will appreciate it if you can involve some articels or something else.
Many thanks,
RL6001Do a Google search for object-oriented programming. When I did, I found the following tutorial, which explains what objects and classes are:
Object Oriented Programming Tutorial -
Problems with DropShadows EffectColor Property in CS5 with VB6
Hello all,
I am having a hard time trying to deal with the EffectColor property of DropShadowsSettings object.
The docs say it should be a Swatch or array.
I have tried setting it with (IDrect is a proper Rectangle object, Doc the current document):
1) A Color object: IDRect.FillTransparencySettings.DropShadowSettings.EffectColor = Doc.Colors(1)
An error returned saying that swatch was expected but color was received
2) A Swatch object: IDRect.FillTransparencySettings.DropShadowSettings.EffectColor = Doc.Swatches(1)
An error returned saying that swatch was expected but swatch was received (what gives !?!?!?!!)
3) A string: IDRect.FillTransparencySettings.DropShadowSettings.EffectColor = "None"
An error returned saying that swatch was expected but "None" was received
Especially seeing case 2) I suspect a problem in the Visual Basic type library, can you give some help or suggestion? I'm almost dead in the water...
InDesign 7.0.3 (CS5) in Windows XP SP3, Visual Basic 6.0 SP6.
Thank you very much in advance,
MarioHello,
thank you for your reply.
Actually, my problem is a bit wider than simply selecting a proper existing swatch.
Indeed, I create new colors or swatches and try to assign them with the very same outcome.
Furthermore, assigning the swatches(1) item in other situations is perfectly fine, so I guess there must be a strong problem in assigning the EffectColor property. I'd really like to take a look at a code portion that can do this without VB6 giving an error.
Thanks again,
Mario -
MAT error: 0xHEX is used a class and object...
Hi there,
playing around some more with MAT I ran into the following error with some of my dumps. All were taken on 1.5 SUN JVMs (running on either Solaris or Linux).
org.eclipse.mat.snapshot.SnapshotException: Error: 0x8d776450 is used as class and object simultaneously. Are you using a beta DLL for Sun JDK 1.4.2 to write the heap dump?
at org.eclipse.mat.hprof.HprofParserHandlerImpl.createRequiredFakeClasses(HprofParserHandlerImpl.java:191)
at org.eclipse.mat.hprof.HprofParserHandlerImpl.beforePass2(HprofParserHandlerImpl.java:89)
at org.eclipse.mat.hprof.HprofIndexBuilder.fill(HprofIndexBuilder.java:76)
at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.parse(SnapshotFactoryImpl.java:183)
at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.openSnapshot(SnapshotFactoryImpl.java:101)
at org.eclipse.mat.snapshot.SnapshotFactory.openSnapshot(SnapshotFactory.java:77)
at org.eclipse.mat.ui.internal.ParseHeapDumpJob.run(ParseHeapDumpJob.java:52)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Since the suggested problem (usage of JDK 1.4.2) is not the case: What else can I do to find out what is going on? Do I need any special switches for jmap? The dumps all were taken with the same command:
jmap -heap:format=b <pid>
Still, some work, some do not. Any suggestions?
bye, MichaelHi Michael,
this smells like a bug. The easiest way again is to have a look at the dump. If you zip it, it should become smaller. I could also provide upload space. Right now, I am at the J1 in San Francisco so it might not be as easy for me to fix this.
Andreas. -
Problem with running the midlet class (Error with Installation suite )
hi everyone...
i have problem with running the midlet class(BluetoothChatMIDlet.java)
it keep showing me the same kind of error in the output pane of netbeans...
which is:
Installing suite from: http://127.0.0.1:49296/Chat.jad
[WARN] [rms ] javacall_file_open: wopen failed for: C:\Users\user\javame-sdk\3.0\work\0\appdb\delete_notify.dat
i also did some research on this but due to lack of forum that discussing about this,im end up no where..
from my research i also find out that some of the developer make a changes in class properties..
where they check the SIGN DISTRIBUTION...and also change the ALIAS to UNTRUSTED..after that,click the EXPORT KEY INTO JAVA ME SDK,PLATFORM,EMULATOR...
i did that but also didnt work out..
could any1 teach me how to fix it...
thanx in advance... :)actually, i do my FYP on bluetooth chatting...
and there will be more than two emulators running at the same time..
one of my frens said that if u want to run more than one emulator u just simply click on run button..
and it will appear on the screen.. -
Class and Object name change in the universe designer
Hello Experts
I have a confusion , I am just wondering if I devlop a bobj universe, lets say, based on SQL database and change the name of the class and object during the creation of the universe, will that fetch the data from d/base properly while running a query / report. Although universe class and object has different names than database now but the records are the same. Do we need to point the object to d/base object in some kind of different or special way .
To make my question more simple, In d/base table name is "Employee" whereas on universe side I create a class name "Staff" and at the same time field name in the database is "Emploee ID" whereas in the universe I named it "Badge number".
Please advise if that will make any difference while I run the query or Is there any kind of complication on the universe side that I should expect which I am not familiar with.
I would apprecite your response.
Best RegardsHello experts,
Let me rephrase the issue with exact scenario.
I have a table names "REGION" with fields region id, region and country id.
I have another table name REGION_SLINE with fields SL_id, region id and Sales_revenue.
I created an equi join between these two tables based on region id field and checked the cardinality which is ok.
Now when I try to create a report based on sales revenue per customer ( "customer's first name" is an other field on CUSTOMER table), I dont get any result in the report and get a message that "No data to reterive"
Also please note that when I run a report which is sales revenue per region id, I get the result, seem slike these two tables REGION and REGION_SLINE can generate the report but sales revenue per customer report is not generated because customer first name is a field of another table.
I was just wondering if I need to write some kind of where clause in the object properties of region id which is used to create equi joon link.
I woulld appreciate your response.
Regards
Edited by: SAP_LCCHS on Jul 4, 2011 9:19 AM
Edited by: SAP_LCCHS on Jul 4, 2011 9:21 AM -
ALV using ABAP Classes and Objects
Hi All,
I am trying to print the values in my internal table using ALV, using ABAP classes and objects. Here the title for columns are picked based on the title specified in the data element. I want to set the title of my columns by my own. how to achieve this ?. Please provide me a sample code if possible.
thanks & regards,
Navneeth.KHello Navneeth
The following sample report shows how to build and modify a fieldcatalog (routine <b>BUILD_FIELDCATALOG_KNB1</b>).
*& Report ZUS_SDN_ALVGRID_EVENTS
REPORT zus_sdn_alvgrid_events.
DATA:
gd_okcode TYPE ui_func,
gt_fcat TYPE lvc_t_fcat,
go_docking TYPE REF TO cl_gui_docking_container,
go_grid1 TYPE REF TO cl_gui_alv_grid.
DATA:
gt_knb1 TYPE STANDARD TABLE OF knb1.
PARAMETERS:
p_bukrs TYPE bukrs DEFAULT '2000' OBLIGATORY.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
IMPORTING
e_row_id
e_column_id
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_hotspot_click.
* define local data
DATA:
ls_knb1 TYPE knb1,
ls_col_id TYPE lvc_s_col.
READ TABLE gt_knb1 INTO ls_knb1 INDEX e_row_id-index.
CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
CASE e_column_id-fieldname.
WHEN 'KUNNR'.
SET PARAMETER ID 'KUN' FIELD ls_knb1-kunnr.
SET PARAMETER ID 'BUK' FIELD ls_knb1-bukrs.
CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
WHEN 'ERNAM'.
* SET PARAMETER ID 'USR' FIELD ls_knb1-ernam.
* NOTE: no parameter id available, yet simply show the priciple
CALL TRANSACTION 'SU01' AND SKIP FIRST SCREEN.
WHEN OTHERS.
* do nothing
ENDCASE.
* Set active cell to field BUKRS otherwise the focus is still on
* field KUNNR which will always raise event HOTSPOT_CLICK
ls_col_id-fieldname = 'BUKRS'.
CALL METHOD go_grid1->set_current_cell_via_id
EXPORTING
is_row_id = e_row_id
is_column_id = ls_col_id.
ENDMETHOD. "handle_hotspot_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
SELECT * FROM knb1 INTO TABLE gt_knb1
WHERE bukrs = p_bukrs.
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Create ALV grid
CREATE OBJECT go_grid1
EXPORTING
i_parent = go_docking
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Set event handler
SET HANDLER:
lcl_eventhandler=>handle_hotspot_click FOR go_grid1.
* Build fieldcatalog and set hotspot for field KUNNR
PERFORM build_fieldcatalog_knb1.
* Display data
CALL METHOD go_grid1->set_table_for_first_display
CHANGING
it_outtab = gt_knb1
it_fieldcatalog = gt_fcat
EXCEPTIONS
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.
* Link the docking container to the target dynpro
CALL METHOD go_docking->link
EXPORTING
repid = syst-repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
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.
* ok-code field = GD_OKCODE
CALL SCREEN '0100'.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'.
* SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form BUILD_FIELDCATALOG_KNB1
* text
* --> p1 text
* <-- p2 text
FORM build_fieldcatalog_knb1 .
* define local data
DATA:
ls_fcat TYPE lvc_s_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
* I_BUFFER_ACTIVE =
i_structure_name = 'KNB1'
* I_CLIENT_NEVER_DISPLAY = 'X'
* I_BYPASSING_BUFFER =
* I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT gt_fcat INTO ls_fcat
WHERE ( fieldname = 'KUNNR' OR
fieldname = 'ERNAM' ).
ls_fcat-hotspot = abap_true.
ls_fcat-scrtext_s = '<short text>'. " short text of column
ls_fcat-scrtext_m = '<medium text>'. " medium text of column
ls_fcat-scrtext_l = '<long text>'. " longtext text of column
ls_fcat-tooltip = '...'. " ALV control: Tool tip for column header
ls_fcat-coltext = '...'. " ALV control: Column heading
MODIFY gt_fcat FROM ls_fcat.
ENDLOOP.
ENDFORM. " BUILD_FIELDCATALOG_KNB1
Regards
Uwe -
Need help w/ created classes and objects
I am having a difficult time understanding what is wrong w/ my classes and objects. I've looked in two books and have messed around a bit. Here is what I am -attempting- to do.
I want to make a class called CLOTHING. In this class i want objects such as shirt and pants (for now).
these are the errors im getting:
.\Shirt.java:6: invalid method declaration; return type required
public Shirt(int size){
^
.\Shirt.java:3: class Clothing is public, should be declared in a file named Clothing.java
public class Clothing {
^
MyClassHW.java:10: cannot resolve symbol
symbol : constructor Shirt (int,int)
location: class Shirt
myShirt = new Shirt(1,1);
^
3 errors------------------------------------------------------------
This is the code for my Clothing class:
import java.awt.*;
public class Clothing {
private int shirtSize;
private void Shirt(Graphics s, int h, int v){
Polygon shirts;
shirts = new Polygon();
shirts.addPoint(5+h,8+v); // 1
shirts.addPoint(17+h,12+v); // 2
shirts.addPoint(19+h,13+v); // 3
shirts.addPoint(33+h,8+v); // 4
shirts.addPoint(37+h,13+v); // 5
shirts.addPoint(25+h,20+v); // 6
shirts.addPoint(25+h,28+v); // 7
shirts.addPoint(15+h,28+v); // 8
shirts.addPoint(15+h,20+v); // 9
shirts.addPoint(1+h,12+v); //10
s.fillPolygon(shirts);
}from what i understand each object is essentially a method...
Here is the code for the java applet I'm making:
import java.awt.event.*;
import java.awt.*;
import java.applet.*;
public class MyClassHW extends Applet { // implements ActionListener, AdjustmentListener {
Shirt myShirt;
int size;
public void init(){
myShirt = new Shirt(1,1);
// <applet code = "MyClassHW.class" height = 300 width=300> </applet>thank you for your time and help. as always, your efforts are appriciated..\Shirt.java:6: invalid method declaration; return type required public Shirt(int size){
I guess, public Shirt(int size) is constructor in class shirt. You have one int in this constructor. Shirt(int size)
Here you initialize your shirt with two int:
MyClassHW.java:10: cannot resolve symbolsymbol : constructor Shirt (int,int)location: class Shirt myShirt = new Shirt(1,1);
Shirt(int size, int what?)
It's why it show such message.
But even if you fix it seems like you have very vague ideas about what you are doing.
As far as I understood you need three classes.
First applet Clothing:
public class Clothing extends Applet{
Shirt myShirt;
Pants myPants;
public void init() {
myShirt = new Shirt(1); // small shirt
myPants = new Pants(32, 40); // medium waist and long legs
Second and third your classes Shirt and Pants:
public class Shirt extends Object {
int size;
public Shirt(int s) {
size = s;
public int getSize () {
return size;
same for Pants, only you need two parameters for it or whatever you want.
You could design it diffrently if you want derive your Shirts and Pants from Clothing and then to use them in your applet. But, indeeed, you desperately have to do some serious reading, where authors are accurate in they definitions and stuff, because it's kind of complicated. -
Differences between Property Classes and Visual Attributes
Hi folks
Can anybody know the exact difference between a property class and a visual attribute?
I'm substantially good at Forms but doesn't know the exact difference.
Any reply will be deeply appreciated.
Cheers,
PCZVisual Attributes are only for the visual representation of your items, buttons, blocks, canvas, ...
Property Classes are for inheriting all objects including visual attributes.
If you create a style guide for your company, then first define the visual attributes for the look and feel. After that create property classes for all of the other objects in your application. On top of that create object groups, where you centralize your property classes and visual attributes.
If you have created such a form, then call this form reference-template. Now you inherit the object-groups to a second form and call this form "template".
If you create new forms, copy the template and rename it. Then you have in all your forms inherited visual attributes, property classes, etc. and all this stuff is in one "reference-template"
try it
Gerd -
I have a problem with the sync between iTunes and ipad2. I can not see the files in iPad. Help me please.
Cannot see what files ? Music (synced music should appear in the iPod app), films/TV shows (Videos app), documents ... ?
-
Is anyone having problems with the battery heating up and draining the power? Mine has been doing this for about 2 months now.
This is a major problem with Lollipop, but yo said it started 2 months ago. Several people have fixed problem by removing FaceBook And Face book messenger and then re loading the apps again. You might want to clear your cache before reloading. Not sure this is your problem, but worth a try. Good Luck
-
Problems with creation of catalogue XPGrpwise and temporary
Problems with creation of catalogue XPGrpwise and temporary files.
I use GroupWise 8.01 and WinXP (SP2), OpenOffice 3.1.
Why at opening files in Library, temporary files are not created in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\XPGrpwise, and created in catalogue C:\Documents and Settings\Jon Smith\My Documents. That causes problems. How to change a situation that worked as it is necessary.
Catalogue XPGrpWise is created and leaves duly in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\.Cvetaev,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
Do you understand me ? I want money back.Because I have problem with LINE In App Purchase.And no one try to resolve this problem.And the answer of NEVER LINE JAPAN they don't have responsibility.I think it will be effect with APPLE image also.I want you to help me everyways to refound my monet back.Could you?
Contact iTunes Store Support.
-
I have problem with Itunes losing where podcasts and some purchased music is located. Don't know how Itunes losing the locations of the files and I can't find the files on my hard drive. What can I do to stop Itunes losing location and restore my files?
Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.
-
Performance Problems with MS IE 6.0 and EP 7.0 (2004s)
Hello,
we have a problem with ie 6.0 webbrowser and EP 7.0 (2004s). When we open for example the theme editor in the ep-system-administration site we must wait with MS ie 6.0 webbrowser ~ 18s for the site opening. With firefox 2.0 we can open the theme editor with ~ 1s.
Have/Had anybody the same problem? - Or is this a knowing problem with ie 6.0.
We used for the network analyse the tool: httpwatch 3.2. We can see, that the ie 6.0 must wait into the all-time of 18sec. 13sec for opening the site: emptyhover.html.
- Thanks in advance for a tip !
Best Regards,
RalfHello Ameya and hello Shao,
we use the version SP12 NW 2004s. We have the this problems with a base application of portal: theme editor.
We can see in the httpWatch 3.2 analysis tool, that the ie 6.0 load a much of cache files from the client webbrowser. Could it be this problem? - I red in this forum problems with the webbrowser-parameter: "Empty Temporary Internet Files folder when browser is closed"
Thank you for your helping.
Best Regards,
Ralf
Maybe you are looking for
-
Can't make new folder in FireFox Bookmarks
When in FireFox I go to Bookmarks -> Organize Bookmarks -> Bookmarks Menu -> Organize -> New Folder and make new bookmark folder, it appears. Then, I move some existing bookmarks into it. Logout FireFox, start it again. This bookmark folder is absent
-
AIR Preventing me from opening a pdf file
When I receive pdf files via email or attach one of my own pdf files to an email, I am unable to open the pdf file. I get a message indicating 'Please wait while Adobe AIR setup is being executed', then the bar that says 'processing Adobe AIR'. It re
-
Insert into table irrespective of sorting order of a field
Hi All, I am not able to insert data in the data base table(YY...) as it is in the internal table. I do have data in following order in the internal table : I am simply using statement insert (database table) from (wa) in the loop...endloop. 001 00
-
Modification of the Message ID
Hi All, I have received an email from account.microsoft.com domain. But when I look into the headers I see that the Message ID ends with "cez.ice". Could someone please explain why the Message ID is being modified as it should end with sending do
-
Self-registration with compaines -- Auto approval urgent
Hi, I would like to automatically approve users who have self-registered themeselves. Is it possible to automatically approve users when they self-register with companies. Any help / suggestion is greatly appreciated. Rgds, Janvi.