How to add the enclosed line?
i use the new Box()
to draw a box.
eg:
objSpin.addChild(new Box(0.4f, 0.4f, 0.4f, boxAppear));
where objSpin is a transformGroup
however, there is no enclosed line for the 3D box.
how can i add it?
thx all experts.
I'm not sure I know what you mean by the "enclosed line". What are you trying to add?
Similar Messages
-
How to add the new line in reciever FCC
Hi All,
I have my reciever FCC with me, but I just need to add one more additional line or you can say seprate the first line.
So how to add extra or new line in the current structure?
Please let me know if there is any parameter for this.
Thanks in advance.
Regards,
Rahul KulkarniHi Rahul,
You can achieve this by endseperatot "nl"
If record set structure is * means fine, you just add second line field names by using end separator "nl".
If you added first line names in recordsetstructure add second line names as well and remaining same use end separator.
Example (below file is having two lines):
<NameA>
name,address,id
empid,sal,region
<NameA/>
your FCC will be (according to your requirement the below 3 fileds will be use full).
Recordsetstructure - *
NameA.fieldvalues - name,address,id
NameA.endseperator - nl
NameA.fieldvalues - empid,sal,region
Thanks & Regards,
A.Neelima. -
How to add a header line to excel sheet?
Hi Guru's
I have download the scheduling agreement report in a excel sheet, I want to know how to add the header line to that excel sheet.Hi
See this sample code:
Tables : zacg_cca,zacg_exsh.
data: P_file like RLGRAP-FILENAME.
Data: Begin of it_header occurs 0,
Header(15) ,
end of it_header.
Data : begin of it_final occurs 0,
ccode type zacg_cca-ccode,
mat_cd type zacg_cca-mat_cd,
ingr_desc type zacg_cca-ingr_desc,
conc type zacg_cca-conc,
quantity type zacg_cca-quantity,
percqty type zacg_cca-percqty,
flag ,
APP_DATE type zacg_cca-app_date,
rsamnos type zacg_cca-rsamnos,
end of it_final.
SELECTION-SCREEN : BEGIN OF BLOCK blk WITH FRAME TITLE text-000.
select-options : s_Date for zacg_cca-app_date.
SELECTION-SCREEN : END OF BLOCK blk.
it_header-Header = 'Samp_code'.
Append it_header.
it_header-Header = 'Mat_code'.
Append it_header.
it_header-Header = 'Ingr_Desc'.
Append it_header.
it_header-Header = 'Conc'.
Append it_header.
it_header-Header = 'Quan'.
Append it_header.
it_header-Header = 'Perc'.
Append it_header.
it_header-Header = 'Flag'.
Append it_header.
it_header-Header = 'Date'.
Append it_header.
it_header-Header = 'Rsamnos'.
Append it_header.
it_header-Header = 'Mat_code'.
Append it_header.
select ccode
mat_cd
ingr_desc
conc
quantity
percqty
app_date
rsamnos
from zacg_cca into corresponding
fields of table
it_final where zacg_cca~app_date in s_date.
loop at it_final.
it_final-flag = 'T'.
modify it_final.
it_final-quantity = it_final-quantity * 2 .
Modify it_final.
endloop.
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
EXPORTING
FILE_NAME = 'E:\IT\P_FILE'
CREATE_PIVOT = 0
DATA_SHEET_NAME = ' '
PIVOT_SHEET_NAME = ' '
PASSWORD = ' '
PASSWORD_OPTION = 0
TABLES
PIVOT_FIELD_TAB =
DATA_TAB = it_final[]
FIELDNAMES = it_header[]
EXCEPTIONS
FILE_NOT_EXIST = 1
FILENAME_EXPECTED = 2
COMMUNICATION_ERROR = 3
OLE_OBJECT_METHOD_ERROR = 4
OLE_OBJECT_PROPERTY_ERROR = 5
INVALID_PIVOT_FIELDS = 6
DOWNLOAD_PROBLEM = 7
OTHERS = 8
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
regards
Satish -
How can I add the cc line to my emails from iphoto
I want to use the email in my iphoto program to email an invitation to a large group of people, but how do I add the cc line in my header of the email?
You can't. For a cc or bcc field you will have to use the regular Mail client. However, Mail does have some photo stationary if you like the fancy iPhoto presentation of photos in the emails:
Click to view full size
OT -
How to add the total batch quantity in the delivery line item
Hi ,
I have one reqirement.the delivery items are having the batch splits.
Any Specific function module to add the individual line item level batch qty and assign to line item quantity.
Please suggest me for this requirement.
Thanks,
Sri.Hi,
Please check the FM 'VB_BATCH_DETERMINATION' for batch splits.
Reward points if useful.
Regards,
Abhishek -
How to add the entries and how to delete the entries from custom Z-table?
Hi Experts,
My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
Here how to add the entries from program to Z-table.???
And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
Could you please guide me the logic how to crack this???
Let me know if you need more Info
Thanks
SanjuHi Sanjana,
What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
*Insert Statement
INSERT dbtab
Syntax
INSERT { {INTO target VALUES source }
| { target FROM source } }.
Effect
The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
System Fields
The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
sy-subrc Meaning
0 At least one row was inserted.
4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
The INSERT statement sets sy-dbcnt to the number of rows inserted.
Note
The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
*Modify Statement
MODIFY dbtab
Syntax
MODIFY target FROM source.
Effect
The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
System fields
The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
sy-subrc Meaning
0 At least one line is inserted or changed.
4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
The MODIFY statement sets sy-dbcnt to the number of processed lines.
Note
The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
Hope it helps...
P.S. Please award points if it helps... -
How to delete the logical lines in JTextArea
Hi all,
Now that I know how to find the logical line count in JTextArea as
I found the following in the forum.
public static int getLineCount (JTextArea _textArea)
boolean lineWrapHolder = _textArea.getLineWrap();
_textArea.setLineWrap(false);
double height = _textArea.getPreferredSize().getHeight();
_textArea.setLineWrap(lineWrapHolder);
double rowSize = height/_textArea.getLineCount();
return (int) (_textArea.getPreferredSize().getHeight() / rowSize);
I want to delete the 4th line to the last line and append ... at the 4th, if the getLineCount exceeds 3. Does any body know how to do so?
The intention is for the multiline tooltip as I just want to show
the first three logical line and ... if the string is too long.
Thanks
PinThe code looks good to me. The only thought I have is that the y coordinate for the rowThree point is wrong and is referencing row four.
I've been playing around with using a JTextArea as a renderer for a JTable. I have it working so that "..." appear when the text exceeds 2 rows. Try clicking on "B" in the letter column and then the update cell button a few times to add text. My code is slightly different than yours.
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
import javax.swing.table.*;
public class TestTable extends JFrame
private final static String LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
JTable table;
Vector row;
public TestTable()
Object[][] data = { {"1", "A"}, {"2", "B"}, {"3", "C"} };
String[] columnNames = {"Number","Letter"};
DefaultTableModel model = new DefaultTableModel(data, columnNames);
table = new JTable(model)
public String getToolTipText( MouseEvent e )
int row = rowAtPoint( e.getPoint() );
int column = columnAtPoint( e.getPoint() );
if (row == 0)
return null;
else
return row + " : " + column;
table.setRowSelectionInterval(0, 0);
table.setColumnSelectionInterval(0, 0);
table.setRowHeight(0,34);
table.setRowHeight(1,34);
table.setRowHeight(2,34);
table.setDefaultRenderer(Object.class, new TextAreaRenderer(2));
JScrollPane scrollPane = new JScrollPane( table );
getContentPane().add( scrollPane );
JPanel buttonPanel = new JPanel();
getContentPane().add( buttonPanel, BorderLayout.SOUTH );
JButton button2 = new JButton( "Update Cell" );
buttonPanel.add( button2 );
button2.addActionListener( new ActionListener()
public void actionPerformed(ActionEvent e)
int row = table.getSelectedRow();
int column = table.getSelectedColumn();
String value = (String)table.getValueAt(row, column);
value += value;
table.setValueAt( value, row, column );
DefaultTableModel model = (DefaultTableModel)table.getModel();
model.fireTableCellUpdated(row, column);
table.requestFocus();
public static void main(String[] args)
TestTable frame = new TestTable();
frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
frame.pack();
frame.setVisible(true);
private class TextAreaRenderer extends JTextArea implements TableCellRenderer
public TextAreaRenderer(int displayRows)
setRows(displayRows);
setLineWrap( true );
public Component getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
setText( value.toString() );
Dimension d = getPreferredSize();
int maximumHeight = getRows() * getRowHeight();
if (d.height > maximumHeight)
setSize(d);
int offset = viewToModel( new Point(d.width, maximumHeight - 1) );
replaceRange( "...", offset-3, getDocument().getLength() );
return this;
} -
How to add a new line in SMS(Line Break).
Hi All,
I need to send SMS from PL\SQL Procedure
The problem i have been facing is that the string being passed in as sms content is not parsing a newline character.
It shows all content in one line.
I need to break them in several lines.
Give me a direction how to add a new line in SMS.
Regards,
Raj.Hi,
Sure, Here it is
CREATE OR REPLACE PROCEDURE APPS.AUTO_SMS_RTV_REPORT
IS
sender VARCHAR2(1000);
recipient VARCHAR2(1000);
message VARCHAR2(4000);
sub VARCHAR2(1000) := 'HELLO';
dt1 varchar2(1000) := to_char(sysdate,'DD-MON-YY');
mailhost VARCHAR2(30) := '10.7.7.xxx';
mail_conn UTL_SMTP.CONNECTION;
v_crlf VARCHAR2(2) := CHR(13)||CHR(10);
CURSOR cur_Rejection_Records IS
SELECT DISTINCT
rt.VENDOR_SITE_ID ,
pvs.email_address VENDOR_MAIL_ID ,
pvs.PHONE vendor_contact_no ,
hre.EMAIL_ADDRESS Employee_mail_id ,
hre.FULL_NAME
FROM apps.rcv_transactions rt,
apps.po_vendors pv,
apps.po_vendor_sites_all pvs,
apps.mtl_transaction_reasons mtr,
apps.fnd_user fu,
apps.hr_employees hre
WHERE transaction_type = 'RETURN TO VENDOR'
--AND TRUNC(rt.transaction_date) = TRUNC(SYSDATE)
AND rt.vendor_id = pv.vendor_id
AND rt.vendor_site_id = pvs.vendor_site_id
AND rt.REASON_ID = mtr.REASON_ID(+)
AND fu.user_id = rt.last_updated_by
AND hre.EMPLOYEE_ID = fu.EMPLOYEE_ID
AND TRANSACTION_ID IN (
11902189,
11902253,
11902148)
BEGIN
FOR rec_Rejection_Records IN cur_Rejection_Records
LOOP
Begin
sender := '<[email protected]>';
recipient := rec_Rejection_Records.vendor_contact_no || '@aaaa.com';
mail_conn := utl_smtp.open_connection(mailhost, 8025);
utl_smtp.helo(mail_conn, mailhost);
utl_smtp.mail(mail_conn, sender);
utl_smtp.rcpt(mail_conn, recipient);
utl_smtp.DATA( mail_conn,
'Date: ' || TO_CHAR(SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss') || utl_tcp.crlf ||
'From: ' || sender || utl_tcp.crlf ||
'Subject: '|| sub || utl_tcp.crlf ||
'To: ' || recipient || utl_tcp.crlf ||
utl_tcp.crlf ||
'Dear Supplier,'||CHR(10)|| utl_tcp.crlf ||'\\\0x0A'|| -- HERE I NEED LINE BREAK
'Please.'|| utl_tcp.crlf
DBMS_OUTPUT.PUT_LINE('Yep !!! SMS Sent Sucessfully :) ');
utl_smtp.quit(mail_conn);
EXCEPTION
WHEN UTL_SMTP.PERMANENT_ERROR THEN
dbms_output.put_line('Error - ' || SQLCODE || ' - ' || SQLERRM);
WHEN OTHERS THEN
dbms_output.put_line('Error - ' || SQLCODE || ' - ' || SQLERRM);
END;
END LOOP;
END AUTO_SMS_RTV_REPORT;
/ -
How to add the double headings in Alv Report.
Hi All,
Plz suggest me how to add the double headings in ALv Report.
RamHi,
Try out this program....
REPORT ypm_historycard_rep.
TYPE-POOLS : slis.
DATA : it_cbm TYPE STANDARD TABLE OF mara.
DATA : it_layout TYPE STANDARD TABLE OF slis_layout_alv WITH HEADER LINE,
wa_fcat TYPE slis_fieldcat_alv,
it_fcat TYPE slis_t_fieldcat_alv.
START-OF-SELECTION.
SELECT *
FROM mara
INTO CORRESPONDING FIELDS OF TABLE it_cbm
where matnr = 'D80K7'.
END-OF-SELECTION.
it_layout-zebra = 'X'.
it_layout-colwidth_optimize = 'X'.
it_layout-f2code = '&ETA'.
APPEND it_layout.
DEFINE macro4fcat.
wa_fcat-col_pos = &1.
wa_fcat-fieldname = &2.
wa_fcat-tabname = &3.
wa_fcat-seltext_l = &4.
append wa_fcat to it_fcat.
clear wa_fcat.
END-OF-DEFINITION.
macro4fcat '1' 'MATNR' 'IT_CBM' 'MATERIAL NO' .
DESCRIBE TABLE it_cbm.
IF sy-ucomm = '&F03'.
MESSAGE 'hi hello good morning "press enter button" this is quiz' TYPE 'S'.
ENDIF.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE'
is_layout = it_layout
it_fieldcat = it_fcat
i_save = 'A'
TABLES
t_outtab = it_cbm
EXCEPTIONS
program_error = 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.
*& Form html_top_of_page
* text
* -->TOP text
FORM html_top_of_page USING top TYPE REF TO cl_dd_document.
DATA: l_text(255) TYPE c.
DATA: text1(255) TYPE c.
DATA: t_header TYPE REF TO cl_dd_table_element ,
wa_header TYPE REF TO cl_dd_table_area.
CALL METHOD top->add_gap
EXPORTING
width = 10.
CALL METHOD top->add_text
EXPORTING
text = 'hello'
sap_style = 'HEADING'
CALL METHOD top->add_gap
EXPORTING
width = 20.
CALL METHOD top->add_text
EXPORTING
text = 'HOW ARE YOU'
sap_style = 'HEADING'.
CALL METHOD TOP->new_line
* EXPORTING
* repeat =
CALL METHOD top->add_gap
EXPORTING
width = 50.
CALL METHOD top->add_text
EXPORTING
text = '____________________________________________________________'
sap_style = 'HEADING'.
CALL METHOD TOP->new_line
* EXPORTING
* repeat =
CALL METHOD top->add_gap
EXPORTING
width = 90.
CALL METHOD top->add_text
EXPORTING
text = 'YOU CAN TRY LIKE THIS'
sap_style = 'HEADING'.
ENDFORM. "html_top_of_page
Regards
Debarshi -
How to add the Assignment column on this post outgoing payment in f-53
Hi all,
how to add the Assignment column on this post outgoing payment in f-53?
thanks.
JooHi ,
If you want to see the assignment column in f-53 process open item screen
1. First in O7V3 check for t.code FBz2 which line layout ( 2 digit code is assigned)
2. Then in t.code O7z4s check in the line layout and if assignment field is not there then insert the field.
then check in F-53.
Hopw it will solve your problem.
Assign points if useful
Regards
Prabhat -
How to add the new tab in Quotation VA21
Hi,
How to add the new tab after Addition data B in line item in Quotation VA21?
Please help me for this query.
DevendraDear Devendra,
Use the program SAPMV45A & the screen number provided by SAP is 8459.If you activate this screen and include the screen in 4462.
PROCESS BEFORE OUTPUT.
* Verarbeitung vor der Ausgabe
MODULE VBAP_BEARBEITEN_VOR.
CALL SUBSCREEN KUNDEN-SUBSCREEN_8459 INCLUDING 'SAPMV45A' '8459'.
PROCESS AFTER INPUT.
* Verarbeitung nach der Eingabe
* Hier weitere Prüfungen
CALL SUBSCREEN KUNDEN-SUBSCREEN_8459.
Regards,
Anand -
How can hide the command line of a t.code in the portal
Dear Experts.
I have the following doubt:
How can hide the Command Line of a Report that is called with a T.Code in the portal?
Attach Image:
[Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
When I created a service using the T.Code SICF for the T.Code , I can hide buttons and the filed command line using
~webgui_simple_toolbar
~singletransaction
~NOHEADEROKCODE
With notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417.
But the problem is that when I create the service in the T.Code SICF, I also have that create an Iview IAC in the portal.
The Question is : How can hide this fields and buttons if I want Publish the T.code using an Iview Transaction in the portal?
In this moment I have used the two options:
1 option) I created a service using the t.Code SICF for my Transaction and I also created an Iview IAC in the portal for call the service.
RESULT:
SAP Web Application Server
500 Connection timed out
Error: -5
Version: 7000
Component: ICM
Date/Time: Sat Jun 12 20:26:39 2010
Module: icxxthr_mt.c
Line: 2698
Server: xyxab...
Error Tag: {-}
Detail: Connection to partner timed out after 60s
2) created an Iview Transaction in the portal and call my transaction.
RESULT.
[Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
But not can hide the field Command Line and other buttons.
I think that the command :
~webgui_simple_toolbar
~singletransaction
~NOHEADEROKCODE
Only can be used if I create a service using the T.Code SICF .
Best Regards
Carmen.Hi Carmen,
The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
~okcode=/nSU01
And you can pass parameters in the same way:
~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
Regards, Rory -
How to add the IP address helper command to the switch
Hi
I am trouble shooting a SF 200-48P and I am a bit lost without a CLI not used to the GUI. What I need to know is how to add the IP address helper command to the switch?
I have a number of IP phones which are not getting an IP address from DHCP (PCs which are diasy chained off the phones are all working correctly). On the higher end switches I would have added the IP address helper command to the VLAN and that would have sorted it. However I can't seem to figure out how to do this on the small business switch.
Thanks
LorneThanks Rizwan. I was banging my head wishing they weren't small business switches as I felt lost without the command line!
Lorne Gallagher | McCann FitzGerald Solicitors | Riverside One, Sir John Rogerson's Quay, Dublin 2, Ireland | DDI +353 1 607 1726 | Fax +353 1 829 0010 | www.mccannfitzgerald.ie
Ireland Law Firm of the Year 2011 | Chambers Europe
Ireland Law Firm of the Year 2011 | International Financial Law Review -
How to add a blank line in configurat​ion file
Hi,
I would like to add an empty / blank line in my configuration file. (.ini file) as below:
[H1]
key1=1
[H2]
key2=2
I don't have any idea on how to add the empty/blank line.
Could anyone help me on this?In case you do not have such luxury, like me...
This example VI show an alternative way of inserting empty line/ space between sections of a configuration file...
PS1: Note that Additional Empty Element is intentionally added to create/ add empty line/ space between sections...
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com
Attachments:
IFFCT_CFIO_example add empty line between sections.vi 64 KB -
Html tags - how to add a blank line
Hi there,
can anyone tell me how to add a blank line into a page using one of the html tags ?
thanks,
Malcolm.You can use the <br> tag for a line break. Also for space.
Regards,
Arun
Maybe you are looking for
-
Error while creating a sales order BAPI_SALESORDER_CREATEFROMDAT2
Hi All, I am using the BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order. I am passing all the required fields and also the rejection code at the item level. Also I am using a variant configuration material and hence ai am filling the VC co
-
When I exit Firefox, I get an error message that says The instuction at 0x7c911389 referenced memory at 0x000000010 The memory could not be read.
-
F110- cancelled payment proposal is blocking payment
Hello all! We have a problem with payment proposal, which was first created, but later the payment run has been cancelled by the system itself (we had some difficulties in sap performance). Now this proposal is disabling payment to the vendor, for w
-
hi all i use developer6i ,client/server mode,win2000 i want to get directory name of my fmx files, for example if my fmx files are in this locatin ---> d:\xxx i want to get this path in runtime . is there any solution in form6i for my problem? if you
-
We are currently using DBA Studio with version ORACLE 8i. I would like to know how I can do a backup and a recovery. Thanks in advance SE