Getting prg name of assigned smartform
hi experts,
if i wanna know the z-smartforms assigned to a z-program.How can it be done??
ex : zmaterial1 is my smartform and it is called by prg zprg1.But after 2 days i forgot the prg and now i want to find the respective assigned program for this smartform.
Pls do not post any messages for TNAPR.It's for output type and it is known to me.
Thanks,
Gaurav
Check this might help -
If in your Driver program, you are using SSF_FUNCTION_MODULE_NAME .
Scan the Z program using Report RPR_ABAP_SOURCE_SCAN
with Programs as Z* and Name of your Smrrtform against String .
This may take some time .
You will get the List of Programs where your Smartform is called .
Check from this programs, which one is your requirement .
~As found in forum.
Regards,
Amit
Similar Messages
-
Assigning SMARTFORMS to output types in SPRO
Hi,
I have created a test smartform and smartstyle, generated a function module, and temporarily put some code in a custom "test" program to ensure it is working, and it does (note calling the compiled version of the smartform function module name, by getting it's name from SSF_FUNCTION_MODULE_NAME) and all executes correctly.
Could anyone tell me however how I assign the smartform to execute from standard SAP via output type configuration in SPRO in SD as an example. Do we still need to specify a print program name and form routine to execute in configuration, just like SAPscript works ? I notice there is a field available for a smartform name, but then how would "whatever standard SAP is calling the smartform" know what parameters to pass into my generated function module for the smartform ? Also, does this have anything to do with the field "layout module" which is directly above the smartform field ?
Here's what I have tried: I entered the custom Z test program I created, entered the form routine name of this program which simply calls directly the function module for the smartform. (Now the smartform field in configuration is redundant) The standard SAP SAPscript print option window appears when I execute my SD transaction, and then the output option window appears which comes standard with the smartform function module call. As the smartform field in configuration is redundant going this method, I think I am going completely on the wrong route. Can someone help ?
Thanks,
Graham.Hi Satish,
Yes we already have this, and it works with the following issue:-
1) The default output controller window for print options which normally appears for SAPscript pops up.
2) The default output controller window for print options which normally appears for SMARTFORM output (looks slightly different to window in 1) appears also.
IMPORTANT: If I take out the name of the SMARTFORM in the "Smartform text box" it makes no difference and still works as above. This is because my driver/print program and subroutine is calling the function module to call the smartform, so it already knows which smartform to execute.
It is like the standard SD configuration is thinking my print program is for a SAPscript which is why I get both 1 and 2 above. Note: the SMARTFORM does output.
Thanks,
Graham. -
Please do not offer rewards
Hi Abapers,
I had doubt, regarding how to find the name of standard smartform available for purchase order in tcode - ME21N.
After executing ME21N, n print preview i get a form without logo. So i want to customize the form according to my clients requirement.For this i want to know the Smartform name, so tat i can copy to 'Z.....' and make the customization.
Can anybody assist me overcome this problem of how to find out the name of smartform without knwing functionmodule name also....
<<Text removed>>
Advanced Thanks..............
Edited by: Matt on Mar 25, 2009 10:26 AMDESIGN ONE SMARTFORM AS PERUR NEED.
DRIVER PROGRAM FOR THISIS
*& ZSAPFM06P
&---- Print of a PO by SMART FORMS *
*& Purchase order printing program
&---- FORM ENTRY
SmartForm from customizing table TNAPR
determine smartform function module for invoice
variant = ' '
direct_call = ' '
control-no_open = 'X'.
control-no_close = 'X'.
call smartform invoice
archive_index = toa_dara
archive_parameters = arc_params
mail_appl_obj =
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
is_bil_invoice = ls_bil_invoice
is_repeat = repeat
importing job_output_info = ls_job_info
document_output_info =
job_output_options =
error handling
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
analyse internal error table of Smart Forms
add your handling
REPORT ZSAPFM06P.
TABLES: TNAPR,
nast.
DATA: lf_fm_name TYPE rs38l_fnam,
lf_formname TYPE tdsfname,
control type ssfctrlop,
errtab type tsferror.
FORM entry_neu using ent_retco ent_screen.
lf_formname = tnapr-sform.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING formname = lf_formname
IMPORTING fm_name = lf_fm_name
EXCEPTIONS no_form = 1
no_function_module = 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.
control-no_dialog = 'X'.
control-preview = 'X'.
control-langu = sy-langu.
CALL FUNCTION lf_fm_name
EXPORTING
control_parameters = control
user_settings = 'X'
is_nast = nast
EXCEPTIONS formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
if sy-subrc <> 0.
ent_retco = 0.
else.
ent_retco = 0.
endif.
call function 'SSF_READ_ERRORS'
importing
errortab = errtab.
if not errtab is initial.
endif.
ENDFORM.
DEFINE UR PROGRAM NAME AND SMARTFORM NAME IN NACE. -
How to get the name of a duplicated control or created control and add a callback to it
Hi All,
Depending on how many input points I need, I am duplicating a numeric or string input with the DuplicateCtrl function. My question is, how do I get the name and id of the control that was just created, and how can i assign a callback to it? Alternately, would it be better to create a fresh ctrl instead of duplicating?
Thanks in advance!
Solved!
Go to Solution.Hi TurboMetrologist,
why are you trying to get the control constant name? Keep in mind that you cannot use that name to address the control; control names are actually simply macros in the include file associated to the UIR, that is, the compiler preprocesses the code and wherever it finds PANEL_CONTROL names substitutes the corresponding numeric value as parameters to the functions (and consequently 'control' parameter is an int and not a char*)
That is why NewCtrl () or DuplicateCtrl () functions return a control ID: it is the handle to the new object, our only way to manipulate it. You will need to store this handle into a non-volatile memory so that you can access it durng program life.
Additionally, there are other ways to assign some particular meaning to a control than swiching on the control constant name. You could for example use the callbackData parameter to differentiate between different copies of a control.
Let me explain with an example. You told that you need several inputs (dynamically created as you don't know in advance how many of them to use); a clean solution could be to:
Design a master copy of one control in the UIR editor, where it is easy to customize it; assign also a callback function, if it has to be common to all copies of the control
Programmatically assign a callbackData value to that control, e.g. SetCtrlAttribute (..., ..., ATTR_CALLBACK_DATA, (void *)1);
Duplicate the control and then assign a different callbackData
for (i = 2; i < 5; i++) {
handle = DuplicateCtrl (...);
SetCtrlAttribute (..., handle, ATTR_CALLBACK_DATA, (void *)i);
By operating this way, every time the control callback is fired by any control it will receive the assigned callbackData, and you will be able to differentiate your code by a simple switch:
switch ((int)callbackData) {
case 1: // The master control
break;
case 2: // The first duplicated control
break;
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to get the name of a Data Element of a generic Table!
Hi guys!
In my function i have the following import paramenter
i_outtab type standard table
now i import a table and i want to get the dataelement of the fields.
is there a way to do this??Hello Thomas
Perhaps the following sample report may be useful for you.
*& Report ZUS_SDN_RTTI_STRUCT_COMPONENTS
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145711"></a>
*& Thread: How to get the name of a Data Element of a generic Table!
REPORT zus_sdn_rtti_struct_components.
TYPE-POOLS: abap.
TYPES: BEGIN OF ty_s_outtab.
TYPES: bukrs TYPE bukrs.
TYPES: kunnr TYPE kunnr.
TYPES: END OF ty_s_outtab.
DATA: gdo_data TYPE REF TO data.
DATA: gs_outtab TYPE ty_s_outtab.
DATA: go_typedescr TYPE REF TO cl_abap_typedescr,
go_structdescr TYPE REF TO cl_abap_structdescr,
go_datadescr type ref to cl_abap_datadescr.
DATA: gs_comp TYPE abap_compdescr,
gd_dtel type string,
gt_dfies type ddfields.
FIELD-SYMBOLS:
<gs_struct> TYPE ANY.
START-OF-SELECTION.
BREAK-POINT.
GET REFERENCE OF gs_outtab INTO gdo_data.
ASSIGN gdo_data->* TO <gs_struct>.
go_typedescr = cl_abap_typedescr=>describe_by_data( <gs_struct> ).
go_structdescr ?= go_typedescr.
BREAK-POINT.
LOOP AT go_structdescr->components INTO gs_comp.
go_datadescr = GO_STRUCTDESCR->GET_COMPONENT_TYPE( gs_comp-name ).
gd_dtel = go_datadescr->get_relative_name( ).
write: / syst-tabix, 'Data element =', gd_dtel.
ENDLOOP.
END-OF-SELECTION.
Regards
Uwe -
Get the name of a particular tag in XML
Hi,
Is there a way in OSB such that I can get the name of a particular XML tag for example if I want to assign the name of tag transactionType from the below mentioned XML to a variable, can i do it using some XQuery function??
<?xml version="1.0" encoding="UTF-8"?>
<tns:sandstonetns xmlns:tns="http://sandstone.response.transactionHistory.app.nab.cz.fc.ofss.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://sandstone.response.transactionHistory.app.nab.cz.fc.ofss.com Sandstone_Data_Transaction_History_Response.xsd ">
<tns:listOfTransactions>
<tns:transactions>
<tns:clients>
<tns:clientID>tns:clientID</tns:clientID>
</tns:clients>
<tns:timestamp>2001-12-31T12:00:00</tns:timestamp>
<tns:sequenceNumber>tns:sequenceNumber</tns:sequenceNumber>
<tns:description>tns:description</tns:description>
<tns:amount>0</tns:amount>
<tns:accountNumber>tns:accountNumber</tns:accountNumber>
<tns:debitOrCreditFlag>tns:debitOrCreditFlag</tns:debitOrCreditFlag>
*<tns:transactionType>Any</tns:transactionType>*
</tns:transactions>
</tns:listOfTransactions>
<tns:returnResponse>
<tns:returnCode>0</tns:returnCode>
<tns:returnDescription>tns:returnDescription</tns:returnDescription>
</tns:returnResponse>
</tns:sandstonetns>
Edited by: rahulc on Jan 19, 2011 4:43 AMYou may use fn:local-name() -
http://www.xqueryfunctions.com/xq/fn_local-name.html
Regards,
Anuj -
Need to get file name and directory back from file adapter - WRITE
I am using the file adapter to write a file. I want to log the file name of the file we just created. Since we use a precise timestamp in the file name, I can't accurately guess.
I have an invoke in my BPEL process to the file adapter. My first try was to assign the jca.file.FileName property to a variable, but it never comes back. I looked around and saw plenty of ways to SET the file name for a write and GET the file name for a read, but no GET file name for WRITE.
Anyone have a solution?
Thanks in advance!I think I got your point... You can tell FileAdapter the filename to write, but if you don't then FileAdapter can not tell you the filename that it wrote... I think it is pretty possible Oracle didn't implement the latter, as the write operation is probably asynchronous and the filename is calculated later on...
If what you want is just log, you may achieve your requirement by increasing verbosity on Adapter logs... Have a look at the link bellow...
http://docs.oracle.com/cd/E15586_01/integration.1111/e10226/ad_mon.htm#CJHHBBID
Otherwise, the solution for you will be to calculate filename yourself, and that will be a little bit of reinventing the wheel... But at least you will know the filename...
Cheers,
Vlad -
Driver prg name for predefined form F110_IN_AVIS
hi all,
I need print program (driver prg name) for predefined form F110_IN_AVIS, and also what is the output type for that. T-code for F110_IN_AVIS is F110.
It is related to payment advice.
If u know tell me plz.., or tell me where I have to search the printprg and output type for predefined form.
thanks in adv
vidyaHi Vidya,
You have the driver program configured against the Company Code & Payment Methods.
You can view it using menu path : Environment --> Display Config.
But some of the driver programs are : RFFOAVIS_FPAYM, you can search in SE38 using RFFO* you will get lots of driver programs.
@ Venkatesh:
The program name you have given is most probably for US. Actually different countries have different driver programs
Please award points if your qn is answered.
Regards,
Suhas -
How to get full names by typing abbreviations in a char item
Hi,everybody
one more question
a char feild in a block as this:
| NY US |
My destination: In this feild ,after I type 'NY',I can get full names 'New York' then space key,type 'US' get 'United states'.(one bye one)
display as --------------------------
| New York United Stated |
I am confusing which trigger I should use,post_changed?
post_text_item?,Validat_item?
I created a table with columns 'City,State,C_fullname,S_fullname' and coded in
Post_text_item trigger using select statements,I can only get the first full name by 'NY',then press space,type in US,press enter,Forms raises a unhandled exception,doesn't display 'United States'.
no correct result up to now.
That is clear?
Thanks a lotOne thing you could try which may not be EXACTLY what you want but would be almost no effort is to create and LOV with all of the States, assign that LOV to the text field and on the text field set the Validate LOV property to YES.
Then if you type Cal and then return you get CALIFORNIA. If you type New and return you get a list of New York, New Jersey....
It may give you most of what you want with no effort.
Regards
Grant Ronald
Forms PRoduct Management -
Getting column names from cursor
Hi all
I have procedure which produces list of applied for jobs web page(using htp. package)
I got result in cursor, but have to provide dinamic sort, based on colimn pressed
procedure my_application_list
(pi_resume_num in varchar2 default null
,pi_sort_col in varchar2 default null
,pi_page_no in varchar2 default null
,pi_action in varchar2 default null
,pi_msg in varchar2 default null
is
CURSOR cur_job IS
SELECT jtl.JOB_TITLE
,jtl.COMPANY_NAME
,a.APPLY_DATE
,a.lang
,a.job_id
FROM job_tl jtl, applied_for_job a, gateway gt
WHERE a.job_seeker_id=app.job_Seeker
AND a.job_id=jtl.job_id
AND a.lang=jtl.lang
AND a.gateway=gt.gateway
AND jtl.lang=(SELECT substr(MIN(lt.order_list||jtl0.lang),2) lang
FROM job_tl jtl0
,language_tl lt
WHERE jtl0.job_id = a.job_id
AND jtl0.lang=lt.lang
AND lt.gui_lang=app.language)
ORDER BY pi_sort_col
rest of code
The columns displayed in web page are Job_title, Company_name and Applied_date
This page is displyed well, bu without column nmes at the top. I am trying to get column names from cursor in order to have ORDER BY <pi_sort_col>
can someone help how i can get those column names:Job_title, Company_name and Applied_date
User will be able to click on column and sort
Thank in advance .I appreciate any helpHi Francisco
Here is my code
CREATE OR REPLACE PACKAGE BODY cc_web_application_list
IS
TYPE COL_NAME_LIST IS TABLE OF VARCHAR2(100)
INDEX BY BINARY_INTEGER;
TYPE COL_ORDER_LIST IS TABLE OF VARCHAR2(30)
INDEX BY BINARY_INTEGER;
col_name_t col_name_list;
col_order_t col_order_list;
procedure my_application_list
(pi_resume_num in varchar2 default null
,pi_sort_col in varchar2 default null
,pi_page_no in varchar2 default null
,pi_action in varchar2 default null
,pi_msg in varchar2 default null
is
l_my_page_no PLS_INTEGER := TO_NUMBER(nvl(pi_page_no,1));
l_js_name gam_user.username%TYPE;
l_js_first_name gam_user.first_name%TYPE;
l_cnt PLS_INTEGER := 0;
l_scr_lines PLS_INTEGER := 0;
l_curline PLS_INTEGER;
l_jobs_applied PLS_INTEGER;
l_total_rec PLS_INTEGER;
l_total_pages PLS_INTEGER;
l_pos PLS_INTEGER;
l_first PLS_INTEGER :=0;
last PLS_INTEGER :=0;
l_lines PLS_INTEGER := 10;
col_name VARCHAR2(100) := col_name_t(3) ;
col_order VARCHAR2(30) := 'DESC';
str VARCHAR2(2000);
TYPE display_rec IS TABLE OF VARCHAR2(500) INDEX BY BINARY_INTEGER;
display display_rec;
TYPE page_table_type IS TABLE OF PLS_INTEGER INDEX BY BINARY_INTEGER;
page_number page_table_type;
CURSOR cur_job IS
SELECT jtl.JOB_TITLE job_title
,jtl.COMPANY_NAME company_name
,a.APPLY_DATE apply_date
,a.lang
,a.job_id
FROM job_tl jtl, applied_for_job a, gateway gt
WHERE a.job_seeker_id=app.job_Seeker
AND a.job_id=jtl.job_id
AND a.lang=jtl.lang
AND a.gateway=gt.gateway
ORDER BY a.apply_date;
This decode is a problem
decode(col_order,'ASC'
,decode(col_name
,col_name_t(1), jtl.job_title
,col_name_t(2), jtl.company_name
,col_name_t(3), TO_CHAR(a.apply_date, 'YYYYMMDDhh24miss')
,a.apply_date)
) ASC
,decode(col_order,'DESC'
,decode(col_name
,col_name_t(1), jtl.job_title
,col_name_t(2), jtl.company_name
,col_name_t(3), TO_CHAR(a.apply_date, 'YYYYMMDDhh24miss')
,a.apply_date)
) DESC
,a.apply_date
TYPE rec_one IS TABLE OF cur_job%ROWTYPE INDEX BY BINARY_INTEGER;
r rec_one;
BEGIN
BEGIN
SELECT username,first_name
INTO l_js_name,l_js_first_name
FROM gam_user
WHERE user_id = App.job_seeker;
EXCEPTION
WHEN OTHERS THEN NULL;
END;
Cc_Pkg_Elements.p_page_top_job_seeker(
'Personal Job List'
,REPLACE(Txt_Proc_My_Joblist.title_job_list
,'##first_name##',l_js_first_name),'N' ,TRUE ,'Pxx');
----- get numer of records returned by query
SELECT COUNT(1)
INTO l_total_rec
FROM job_tl jtl,applied_for_job a
,gateway gt
WHERE a.job_id = jtl.job_id
AND a.job_seeker_id = App.job_seeker
AND a.gateway = gt.gateway ;
------get number of pages
l_total_pages:=CEIL (l_total_rec/l_lines);
l_jobs_applied := 0;
col_name := pi_sort_col;
col_order := pi_sort_col;
--get first positions
l_first := (nvl(l_my_page_no,1) - 1) * l_lines + 1;
FOR rec IN cur_job LOOP
l_cnt := l_cnt + 1;
EXIT WHEN l_cnt > l_first + l_lines - 1;
IF l_cnt >= l_first THEN
l_scr_lines := l_scr_lines + 1;
r(l_scr_lines) := rec; --assign counter from loop to r index
IF rec.apply_date IS NOT NULL THEN
l_jobs_applied := l_jobs_applied + 1;
END IF;
END IF;
END LOOP;
htp.p('<FORM ACTION="'||App.gateway||'8.my_application_list" METHOD="post">');
htp.p('<table align="center">');
htp.p('<tr><td>');
IF r.COUNT = 0 THEN
Web_Pkg_Elements.doc_msg(Txt_Proc_My_Joblist.no_jobs);
END IF;
htp.p('</td></tr>');
htp.p('</table>');
--table_heading(col_name ,col_order );
htp.p('<table align=center>');
htp.p('<tr align="center"><td>');
FOR i IN 1..l_total_pages LOOP
page_number(i) := i;
IF page_number(i) = l_total_pages THEN
htp.p('');
||'');
Web_Pkg_Elements.doc_val_small(page_number(i)||'</A>');
ELSE
htp.p('');
|'||'');
Web_Pkg_Elements.doc_val_small(page_number(i)||' |'||'</A>');
END IF;
END LOOP;
htp.p('</td></tr>');
htp.p('</table>');
htp.p('<table align=center>');
FOR l_curline IN 1..l_scr_lines LOOP
display(1) := NVL(r(l_curline).job_title, '<br>');
display(2) := NVL(r(l_curline).company_name, '<br>');
display(3) := NVL(Cc_Pkg_Nls.date2char(r(l_curline).apply_date, App.date_format), '<br>');
IF MOD(l_curline, 2) = 0 THEN
Cc_Pkg_Elements.tr_even;
ELSE
Cc_Pkg_Elements.tr_odd;
END IF;
htp.p('<td>');
htp.p('');
Web_Pkg_Elements.doc_val(display(1)||'');
htp.p('</td>');
htp.p('<td>');
Web_Pkg_Elements.doc_val(display(2));
htp.p('</td>');
htp.p(' <td>');
Web_Pkg_Elements.doc_val(display(3));
htp.p(' </td>');
htp.p('</tr>');
END LOOP;
htp.p('</TABLE>');
htp.p('<TABLE width="88%" BORDER="0" CELLPADDING="0" CELLSPACING="0"
align="center">');
htp.p('<tr valign=bottom>');
htp.p('<TD colspan=2 align=right>');
IF l_my_page_no > 1 THEN
htp.p('<P>'||'<IMG SRC="'||App.image||'prev.gif" ALT="'
||Txt_Proc_My_Joblist.prev
||'"' ||' HEIGHT=20 BORDER=0 ALIGN=bottom '
||'hspace=2>');
END IF;
IF l_my_page_no < CEIL (l_total_rec/l_lines) THEN
htp.p(' <a href="'||
web_pkg_elements.link$$(App.gateway||'8.my_application_list?'
||'pi_sort_col='||Web_Pkg_Elements.replace_in_url(pi_sort_col)
||'&pi_msg=&pi_page_no='||TO_CHAR(l_my_page_no + 1)
||">'||'<IMG SRC="'||App.image||'next.gif" ALT="'
||Txt_Proc_My_Joblist.NEXT
||'"' ||' HEIGHT=20 BORDER=0 ALIGN=bottom '
||'hspace=2></a>');
END IF;
htp.p('</TD>');
htp.p('</TR>');
htp.p(' </TABLE>');
htp.formHidden('pi_sort_col', pi_sort_col);
htp.formHidden('pi_page_no', pi_page_no);
htp.p('</FORM>');
END my_application_list;
END ; --cc_pkg_application_list -
Getting group names for a list of IDs
I've got the list of group IDs of which the user is a member, and I'm trying to get the group names in a single query. I've got it working where I get each name in a loop, but I'm concerned about performance if a user is a member of a large number of groups.
This is the Java code I've been fooling with:
Object qFilter[][] = new Object[3][1];Integer ids[] = new Integer[iGroupIDs.length];for (i = 0; i < iGroupIDs.length; i++) { ids[i] = (Integer)iGroupIDs; }
qFilter[0][0] = new Integer(PT_PROPIDS.PT_PROPID_USERGROUP_GROUPID); qFilter[1][0] = new Integer(PT_FILTEROPS.PT_FILTEROP_IN);qFilter[2][0] = ids;ptQueryResult = objMgrGroups.Query(PT_PROPIDS.PT_PROPID_USERGROUP_SIMPLENAME, -1, PT_PROPIDS.PT_PROPID_USERGROUP_SIMPLENAME, 0,-1,qFilter);
I keep getting an exception:
Native exception: The parameter is incorrect. (0x80070057): [ParseQueryFilter error on clause #0
(0x80070057) Invalid property ID specified (0x10000)] (612,PTDispatch.cpp)
I'm new to PT programming so I'm a bit stumped as to what is the issue. Any hints anyone can offer is appreciated. Thanks!Thanks to everyone - responded.
This is group set up when creating user. This is standard functionality.
What we do:
Step 1.
Using "Administer" tab in portal, then using "Create new groups" link, We have created various groups. We assigned six digit numeric value to group name. We have several groups, such as 001234, 002235, 003348. These group's have different privilege.
Step 2.
Using "Administer" tab, we create new user on a regular basis using "Create new users" link. Later on, we assign these new user to a group created in step 1.
We have a custom table, where we store, user and their corresponding group information, such as:
record user name group name date created
1 aaa 001234 01-02-04
2 bbb 001234 01-04-04
3 ccc 002235 01-05-04
Key in the table is based on both user and group name.
What I need to find out is, when user 'aaa' logged in, to find out who is the user and what portal group this user belong to.
Then join these two value to our custom table to make sure to match the user and his group name, and get other value from other table and display in the LOV.
But I am not sure what API need to use in my query in LOV. Or is there any other way?
Thanks -
Getting class names in jconsole
Hello,
Is it possible to get class names which are loaded in the memory using jconsole?
I am using jdk 1.5. I have configured jmx in my Weblogic 9.2.
I am able to find the memory usage by the application, but i dont know how to get those class names in jconsole.
Regards,
SampathHi,
we ckeck all the class names in package.
first goto se80.select package and give package name and click on display button.it will display all the structures,classes which are assigned to that particular package .in that select class it will expand and displays all the names.
Cheers,
vasavi.
kindly reward if helpful. -
ITunes 5 doesn't have way to NOT get track names
In previous versions of iTunes you could check a box to connect to the internet automatically to get CD track names when you inserted a disc--but you could also choose to have that option turned off. With iTunes 5 I don't see where I can turn that off. I am ripping a 24-disc audiobook and each disc I insert keeps getting the wrong information assigned to all the tracks and I have to edit it out. It would be much easier for me to just add my own information to begin with than have to take out the wrong information first. How do I turn off the option to get CD track names when I am online all the time?
That is bad news, because often the track listing is wrong in the CDDB, just like you are experiencing.
They should bring that option to disable it back. -
GET FILE NAME C:\temp\ADIBO.txt
Hi,
How to get file name?
I used Get_File_NAME, but I'am getting an error.
lv_lfilename is not the type LOGICAL_FILENAME
C:\temp\ADIBO.txt
I need to get ADIBO ??
tnh, Adibo..:)
I am using this code to download file and after that I need to get FILE_NAME:
DATA: lv_lfilename TYPE string.
PARAMETERS:
pa_lfile TYPE zlocalfile
DEFAULT 'C:temp'.
CONCATENATE pa_lfile ''INTO lv_lfilename.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = lv_lfilename
filetype = 'ASC'
TABLES
data_tab = it_billit_down.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.Hii..
You have to Maintain the Logical filenames and their Physical Paths in Tcode FILE.
Then create a program like this..
REPORT ZSEL_FILES1.
DATA : V_LOGFILE TYPE STRING.
DATA :V_PHYFILE TYPE STRING.
DATA : ITAB TYPE TABLE OF SCARR.
START-OF-SELECTION.
SELECT * FROM SCARR INTO TABLE ITAB.
**To get the Physical file based on the Logical file names - Maintained in Tcode FILE
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
CLIENT = SY-MANDT
LOGICAL_FILENAME = VlOGFILE
OPERATING_SYSTEM = SY-OPSYS
PARAMETER_1 = ' '
PARAMETER_2 = ' '
PARAMETER_3 = ' '
USE_PRESENTATION_SERVER = ' '
WITH_FILE_EXTENSION = ' '
USE_BUFFER = ' '
ELEMINATE_BLANKS = 'X'
IMPORTING
EMERGENCY_FLAG =
FILE_FORMAT =
FILE_NAME = V_PHYFILE
EXCEPTIONS
FILE_NOT_FOUND = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
**To download the file to PC.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
FILENAME = V_PHYFILE
FILETYPE = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = ITAB
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<b>reward if helpful</b> -
HP ePrint from excel add-in: Error while getting driver name for printer
Trying to use add-in for ePrint from excel/word I get, "error while getting driver name for printer \\...HP DesignJet 800PS 42 by HP," with an option to select "OK" and that same message repeats with each printer in our network, and then it doesn't allow me to print using the add-in. However, I can print normally to HP Go Web, open up Print and Share, then print it from there. This happens with excel and word. I have Office Suite 2007.
Hello modameister,
Sorry you are having issues with this printer and the ePrint add-on. There are a couple of questions I would like you to answer please.
1. What operating system are you using? (XP,VISTA,7,MAC OS X)
2. What and how much data are you trying to print?
3. Have you tried to copy and paste the data into a different application or tried using the snip it tool?
4. Are you receiving any .dll errors (mscms.dll)
Thanks
If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
Although I work for HP, my posts and replies are my own opinion and not those of HP.
Maybe you are looking for
-
I have set up a Netgear dual band modem which works well with the iPhone and an older MacBook, but with this brand new MacBook it asks for a password every time I reopen the computer and open safari. As you can imagine this is very annoying. It says
-
Audio is not detected / Windows 8
First I was having trouble to open the program. It was happening the following error: "Adobe Premiere Pro Startup Error Adobe Premiere Pro could not find any capable video play modules. Please update your video display drivers and start again." I sol
-
Installed Xcodes and now all "Help" topics blank.
In an attempt to play "Myst Online - Uru Live" I followed instructions to install Xcodes from my original install disks. I now have the following problems: I can't eject the install disk. All help topics present with blank pages. Safari will open but
-
How can I easily change black line art to a colour? (Or color?)
I have line art on a transparent layer. That is, it's not part of a white layer, but just black on nothing. I want to easily change that to a colour without changing the quality of the line. I know I can put a screen layer above it with a colour a
-
Asian language (Thai) not displaying correctly
Hi, I am using a the downloaded TextFlow Hello World example to display text (Flash CS4). Thai language characters show up as rectangles while Chinese (Simplified and Traditional) and Spanish show up correctly. Weird thing is that I also use a standa