How to add attachment in the background .
Hi Experts,
How can we add attachments to a document in the background .
Example : how to add attachement to a purchase order in background.
Thanks in advance .
Naval bhatt
check out this weblog
/people/rammanohar.tiwari/blog/2006/03/25/generic-object-services-gos--in-background--part-ii
Similar Messages
-
How to add canvas to the background of a form in j2me
I am new to j2me. I am developing a mobile application in j2me. Is there a way of adding a canvas object to the background of a form? I tried searching in net with few people suggesting to use "jmepolish". I have no idea what jmepolish is..Is there a way to do this with normal j2me classes?
Short answer: You can't. There are two types of Displayables (javax.microedition.lcdui.Displayable): Screen items and the Canvas item.
You have no control of the appearance of Screen items: Alert, Form, List, TextBox. The implementation(phone maker) decided the appearance of those items. You can only alter the appearance of Canvas and GameCanvas.
If you want to change the appearance of a Form you should check out something like LWUIT or J2ME Polish. -
How to add image in the background of textarea?
hello frnds
i m confused regarding the sticking any png image as a background in the textArea which has a black background by default.
If any body has any solution then plz do help me out..
thanx
kuldeepimport java.awt.*;
import javax.swing.*;
public class TextBackground_Demo extends JFrame {
public TextBackground_Demo() {
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
try{ image = javax.imageio.ImageIO.read(new java.io.File("c:\\image00001x.jpg")); }catch(Exception ex){}
scrollpane = new JScrollPane();
scrollpane.setViewportBorder( new CentredBackgroundBorder() );
scrollpane.getViewport().setOpaque(false);
textarea = new JTextArea();
textarea.setOpaque(false);
scrollpane.setViewportView(textarea);
getContentPane().add(scrollpane, BorderLayout.CENTER);
setSize(600,400);
setLocationRelativeTo(null);
public static void main(String args[]) { new TextBackground_Demo().setVisible(true); }
private Image image ;
private JScrollPane scrollpane;
private JTextArea textarea;
class CentredBackgroundBorder extends javax.swing.border.AbstractBorder {
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
x += (width-image.getWidth(null))/2;
y += (height-image.getHeight(null))/2;
((Graphics2D) g).drawRenderedImage((java.awt.image.RenderedImage)image,
java.awt.geom.AffineTransform.getTranslateInstance(x,y));
} -
How to add icon in the background for a button?(Caption should come front)
JButton btn=new JButton("hai");
//now if we scale image icon to btn's size
btn.setIcon(Icon)
//Icon only comin...
but i want the icon to be background and ,caption should come front
waitin
thanksYou could at least tell me what was wrong with my answer
http://forum.java.sun.com/thread.jsp?forum=57&thread=526291 -
How can we add attachment in the PO using BAPI
How can we add attachment in the PO? I am using the BAPI_PO_CREATE1 function module to create the PO. I am getting a file from legacy system, this I need to add as an attachment into the particular PO through programming.
Note: After creation of PO the attachment should be available in ME23n transaction.REPORT ZBAPI_PO_CRATE.
data : PO_HEADER like BAPIEKKOC.
data : PO_HEADER_ADD_DATA like BAPIEKKOA.
data : PO_ITEMS like BAPIEKPOC occurs 0 with header
line.
data : PO_ITEM_SCHEDULES like BAPIEKET occurs 0 with
header line.
data : RETURN like BAPIRETURN occurs 0 with header
line.
DATA : BEGIN OF TAB OCCURS 0,
PO_NUMBER like BAPIEKKOC-PO_NUMBER,
DOC_DATE(10),
DOC_TYPE like BAPIEKKOC-DOC_TYPE,
CO_CODE like BAPIEKKOC-CO_CODE,
PURCH_ORG like BAPIEKKOC-PURCH_ORG,
PUR_GROUP like BAPIEKKOC-PUR_GROUP,
VENDOR like BAPIEKKOC-VENDOR,
PMNTTRMS like BAPIEKKOA-PMNTTRMS,
INCOTERMS1 like BAPIEKKOA-INCOTERMS1,
INCOTERMS2 like BAPIEKKOA-INCOTERMS2,
PO_ITEM like BAPIEKPOC-PO_ITEM,
MATERIAL like BAPIEKPOC-MATERIAL,
PUR_MAT like BAPIEKPOC-PUR_MAT,
ITEM_CAT like BAPIEKPOC-ITEM_CAT,
PLANT like BAPIEKPOC-PLANT,
NET_PRICE like BAPIEKPOC-NET_PRICE,
TAX_CODE like BAPIEKPOC-TAX_CODE,
DELIV_DATE(10),
QUANTITY like BAPIEKET-QUANTITY,
end of tab.
data: itab1 like alsmex_tabline occurs 0 with header
line.
DATA: gd_currentrow type i.
data : PURCHASEORDER like ekko-ebeln.
Data: tot_rec type i, "Total Records
gd_update type i, "Main Table Increement
Counter
gd_lines type i, "Success Table increement
Counter
w_textout like t100-text. "VARIABLE TO GET ERROR
LOG
data : begin of it_success occurs 0,
PURCHASEORDER LIKE ekko-ebeln, "PROJECT
end of it_success.
data : begin of it_error occurs 0,
pono like ekko-ebeln,
err_msg(73) TYPE c, "TO RETREIVE ERROR
MESSAGES
end of it_error.
data : pono like ekko-ebeln.
selection-screen begin of block b1 with frame.
skip 3.
parameter:p_infile like rlgrap-filename obligatory.
skip 3.
selection-screen end of block b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_infile.
PERFORM value_help.
start-of-selection.
call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = p_infile
i_begin_col = '1'
i_begin_row = '2' "Do not require
headings
i_end_col = '22'
i_end_row = '10000'
TABLES
intern = itab1
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
others = 3.
if sy-subrc <> 0.
message e010(zz) with text-001. "Problem uploading
Excel Spreadsheet
endif.
*perform open_group.
sort itab1 by row col.
* Get first row retrieved
read table itab1 index 1.
* Set first row retrieved to current row
gd_currentrow = itab1-row.
loop at itab1.
* Reset values for next row
if itab1-row ne gd_currentrow.
append tab .
clear tab.
gd_currentrow = itab1-row.
endif.
case itab1-col.
when '0001'. "PGNAM
TAB-PO_NUMBER = itab1-value.
when '0002'. "RONAM
TAB-DOC_DATE = itab1-value.
when '0003'. "JVLEVEL
TAB-DOC_TYPE = itab1-value.
when '0004'. "FTTYPE
TAB-CO_CODE = itab1-value.
when '0005'. "LANG
TAB-PURCH_ORG = itab1-value.
when '0006'. "LTEXT
TAB-PUR_GROUP = itab1-value.
when '0007'. "LTEXT
TAB-VENDOR = itab1-value.
when '0008'. "LTEXT
TAB-PMNTTRMS = itab1-value.
when '0009'. "LTEXT
TAB-INCOTERMS1 = itab1-value.
when '0010'. "FTTYPE
TAB-INCOTERMS2 = itab1-value.
when '0011'. "FTTYPE
TAB-PO_ITEM = itab1-value.
when '0012'. "FTTYPE
TAB-MATERIAL = itab1-value.
when '0013'. "FTTYPE
TAB-PUR_MAT = itab1-value.
when '0014'. "FTTYPE
TAB-ITEM_CAT = itab1-value.
when '0015'. "FTTYPE
shift itab1-value left deleting leading space.
TAB-PLANT = itab1-value.
when '0016'. "FTTYPE
TAB-NET_PRICE = itab1-value.
when '0017'. "FTTYPE
TAB-TAX_CODE = itab1-value.
when '0018'. "FTTYPE
TAB-DELIV_DATE = itab1-value.
when '0019'. "FTTYPE
TAB-QUANTITY = itab1-value.
endcase.
endloop.
append tab.
clear tab.
sort tab by PO_NUMBER.
DELETE TAB WHERE PO_NUMBER = SPACE.
loop at tab.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = tab-material
IMPORTING
OUTPUT = tab-material.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = tab-PUR_MAT
IMPORTING
OUTPUT = tab-PUR_MAT.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = tab-vendor
IMPORTING
OUTPUT = tab-vendor.
concatenate tab-doc_DATE+4(4) tab-doc_DATE+2(2)
tab-doc_DATE+0(2)
into tab-doc_DATE.
concatenate tab-DELIV_DATE+4(4)
tab-DELIV_DATE+2(2)
tab-DELIV_DATE+0(2) into tab-DELIV_DATE.
pono = tab-PO_NUMBER.
if tab-po_number = pono.
PO_HEADER-DOC_DATE = tab-DOC_DATE.
PO_HEADER-DOC_TYPE = tab-DOC_TYPE.
PO_HEADER-CO_CODE = tab-CO_CODE.
PO_HEADER-PURCH_ORG = tab-PURCH_ORG.
PO_HEADER-PUR_GROUP = tab-PUR_GROUP.
PO_HEADER-VENDOR = tab-VENDOR.
PO_HEADER-PO_NUMBER = tab-PO_NUMBER.
PO_HEADER_ADD_DATA-PMNTTRMS = tab-PMNTTRMS.
PO_HEADER_ADD_DATA-INCOTERMS1 = tab-INCOTERMS1.
PO_HEADER_ADD_DATA-INCOTERMS2 = tab-INCOTERMS2.
PO_ITEMS-PO_ITEM = tab-PO_ITEM.
PO_ITEMS-MATERIAL = tab-MATERIAL.
PO_ITEMS-PUR_MAT = tab-PUR_MAT.
PO_ITEMS-ITEM_CAT = tab-ITEM_CAT.
PO_ITEMS-PLANT = tab-PLANT.
PO_ITEMS-NET_PRICE = tab-NET_PRICE.
PO_ITEMS-TAX_CODE = tab-TAX_CODE.
append po_items.
PO_ITEM_SCHEDULES-PO_ITEM = tab-PO_ITEM.
PO_ITEM_SCHEDULES-DELIV_DATE = tab-DELIV_DATE.
PO_ITEM_SCHEDULES-QUANTITY = tab-QUANTITY.
append PO_ITEM_SCHEDULES.
endif.
at end of PO_NUMBER.
CALL FUNCTION 'BAPI_PO_CREATE'
EXPORTING
PO_HEADER = PO_HEADER
PO_HEADER_ADD_DATA =
PO_HEADER_ADD_DATA
* HEADER_ADD_DATA_RELEVANT =
* PO_ADDRESS =
* SKIP_ITEMS_WITH_ERROR = 'X'
* ITEM_ADD_DATA_RELEVANT =
* HEADER_TECH_FIELDS =
IMPORTING
PURCHASEORDER =
PURCHASEORDER
TABLES
PO_ITEMS = PO_ITEMS
* PO_ITEM_ADD_DATA =
PO_ITEM_SCHEDULES =
PO_ITEM_SCHEDULES
* PO_ITEM_ACCOUNT_ASSIGNMENT =
* PO_ITEM_TEXT =
RETURN = RETURN
* PO_LIMITS =
* PO_CONTRACT_LIMITS =
* PO_SERVICES =
* PO_SRV_ACCASS_VALUES =
* PO_SERVICES_TEXT =
* PO_BUSINESS_PARTNER =
* EXTENSIONIN =
* POADDRDELIVERY =
if PURCHASEORDER <> space.
commit work.
ADD 1 TO gd_update.
it_success-PURCHASEORDER = PURCHASEORDER.
append it_success.
clear:PO_HEADER,PO_HEADER_ADD_DATA,PURCHASEORDER.
refresh : PO_ITEMS,PO_ITEM_SCHEDULES,RETURN.
ELSE.
loop at return.
it_error-pono = tab-PO_NUMBER.
it_error-err_msg = return-MESSAGE .
Append it_error.
ENDLOOP.
clear:PO_HEADER,PO_HEADER_ADD_DATA,PURCHASEORDER.
refresh : PO_ITEMS,PO_ITEM_SCHEDULES,RETURN.
endif.
endat.
endloop.
DESCRIBE TABLE it_success LINES gd_lines.
IF gd_lines GT 0.
* Display result report column headings
PERFORM display_column_headings.
* Display result report
PERFORM DISPLAY_SUCESS.
ENDIF.
* IF SUCESS FAILS Display Error Report
DESCRIBE TABLE it_error LINES gd_lines.
IF gd_lines GT 0.
PERFORM errorheadings.
PERFORM errorreport.
ENDIF.
*& Form display_column_headings
* text
FORM display_column_headings.
WRITE:2 ' Success Report '(014) COLOR COL_POSITIVE.
SKIP.
WRITE:2 'The following records inserted
successfully:'(013).
WRITE:/ sy-uline(15).
FORMAT COLOR COL_HEADING.
WRITE:/ sy-vline,
(10) 'Purchase order'(004), sy-vline.
WRITE:/ sy-uline(15).
ENDFORM. "display_column_headings
*Subroutine to display SUCESS REPORT
FORM DISPLAY_SUCESS.
FORMAT COLOR COL_NORMAL.
LOOP AT it_success.
WRITE:/ sy-vline,
(10) it_success-PURCHASEORDER, sy-vline.
CLEAR it_success.
ENDLOOP.
WRITE:/ sy-uline(15).
REFRESH: it_success.
FORMAT COLOR COL_BACKGROUND.
ENDFORM. "
DISPLAY_REPORT
*& Form errorreport
* text
FORM errorreport.
LOOP AT it_error.
WRITE:/ sy-vline,
(10) it_error-pono, sy-vline,
(40) it_error-err_msg, sy-vline.
ENDLOOP.
WRITE:/ sy-uline(104).
REFRESH: it_error.
endform. "errorreport
*& Form ERRORHEADINGS
* text
FORM ERRORHEADINGS.
SKIP.
WRITE:2 ' Error Report '(007) COLOR COL_NEGATIVE.
SKIP.
WRITE:2 'The following records failed during
update:'(008).
WRITE:/ sy-uline(104).
FORMAT COLOR COL_HEADING.
WRITE:/ sy-vline,
(10) 'ERROR.'(009), sy-vline.
WRITE:/ sy-uline(104).
FORMAT COLOR COL_NORMAL.
ENDFORM. "ERRORHEADINGS
**& Form value_help
** text
** --> p1 text
** <-- p2 text
FORM value_help .
CALL FUNCTION 'DSVAS_DOC_WS_FILENAME_GET_50'
EXPORTING
DEF_FILENAME = ' '
DEF_PATH = ' '
MASK = ',*.*,*.*.'
MODE = 'O'
TITLE = ' '
IMPORTING
FILENAME = p_infile
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
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.
endform. "value_help -
How to add Attachment (e.g. word document) to the course?
There's a profile option called something like 'HR: Use standard attachments' (please try variations on this as I can't recall the exact name) which switches HRMS applications from the old 'comments style' attachments to be able to attach documents etc. Try changing the value of that profile and trying again. You are looking in the right place in OLM.
-
How to add spaces at the end of record
Hi Friends,
i am creating a file which contains more than 100 records.
In ABAP i have internal table with on field(135) type c.
some time record have length 120, somtime 130 its vary on each record.
but i would like to add space at the end of each record till 135 length.
Can you please help me how to add speace at the end of record.
regards
MalikSo why did you said that in your first posting? My glass sphere is out for cleaning...
Instead of type c use strings and add spaces until they have the appropriate length.
loop at outtab assigning <pout>.
while strlen( <pout>-val ) < 135.
concatenate <pout>-val `` into <pout>-val.
endwhile.
endloop. -
How to run form in the background from command line
please can anybody tell me to
how to run form in the background from command line
vishalUmmm....Oracle Forms is a foreground runtime kind of thing. What you want is a database procedure (or an OS utility - it depends on what sort of processing you want to do in the background).
Cheers, APC -
How can I do that the background appears through the person who is on the pic
how can I do that the background appears through the person who is on the pic
Hi
just decrease the opacity of the layer on which you have the person -
How to add marker on the clip?
Hi!!!
Could you help me, how to add marker on the clip? Not on the sequence. I need the marker to moving as I moving clip in the sequence.
Thanks!!!Ohhh... I just had to switch to the source monitor. OK. Just I don't use the source monitor usally. Only the program one. Thank you. It worked!
Fri, 12 Oct 2012 05:02:08 -0600 от Jim Simon <[email protected]>:
>
>
Re: How to add marker on the clip?
created by Jim Simon in Premiere Pro CS5, CS5.5, & CS6 - View the full discussion -
How to add request in the buffer
Hii All,
How to add request in the buffer in bulk.
i am using following command.
tp addtobuffer requestno <sid>
but after doing it is giving me the following error
C:\usr\sap\trans\bin>tp addtobuffer BWDK900161 BT1
^CThis is tp version 340.07 (release 640, unicode enabled)
E-TPSETTINGS could not be opened.
EXIT
ERROR: System : Parameter SAPEVTPATH not set. Batch jobs cannot be started.
Error in TPSETTINGS: transdir not set.
tp returncode summary:
TOOLS: Highest return code of single steps was: 0
ERRORS: Highest tp internal error was: 0208
tp finished with return code: 208
meaning:
error in transportprofil (param missing, unknown,...)
Pls help.
Regards,
Viren.Hi Rolf,
thax for your reply.
But still it is not working it shows following message.
C:\usr\sap\trans\bin>tp addtobuffer BWDK900051 BT1 pf=c\usr\sap\trans\bin\TP_DOM
AIN_BT1.PFL
This is tp version 340.07 (release 640, unicode enabled)
E-c\usr\sap\trans\bin\TP_DOMAIN_BT1.PFL could not be opened.
EXIT
ERROR: System : Parameter SAPEVTPATH not set. Batch jobs cannot be started.
Error in c\usr\sap\trans\bin\TP_DOMAIN_BT1.PFL: transdir not set.
tp returncode summary:
TOOLS: Highest return code of single steps was: 0
ERRORS: Highest tp internal error was: 0208
tp finished with return code: 208
meaning:
error in transportprofil (param missing, unknown,...)
Regards,
Viren. -
How to add filter in the dist. model
hi,
how to add filter in the dist. model
thanks
RubanHi,
Please try this.
1. Go to transaction BD64.
2. Click on Change button.
3. Expand the corresponding model view.
4. Expand the corresponding message type (i.e MATMAS).
5. Place the cursor to 'No filter set' and double click.
6. Click on Create Filter Group.
7. Add your filter from here ...
8. Once done, save the model view.
For more information, please check this link.
http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
Regards,
Ferry Lianto -
How to add Acrobat to the Microsoft Office ribbon?
how to add Acrobat to the Microsoft Office ribbon?
Hi ebender888,
What versions of Acrobat and Office do you have? See if this post helps: https://answers.acrobatusers.com/Why-Acrobat-PDFmaker-Office-COM-Addin-tab-disappearnig-Wo rd-Office-2013-q152959.aspx
If not, let us know what software you're using, and we'll try to get you pointed in the right direction.
Best,
Sara -
HT5654 how to add videos to the ipad using the latest version of itunes
how to add videos to the ipad using the latest version of itunes ?
Hello zaraa90,
After reviewing your post, I have located an article that can help with syncing content. It contains a number of troubleshooting steps and helpful advice for the issue you are experiencing:
Sync your iPhone, iPad and iPod with iTunes using USB
Thank you for contributing to Apple Support Communities.
Cheers,
BobbyD -
How to add Video on the OAF page like youtube ?
Any one know how to add Video on the page?
If you are getting HTML code from one of these slideshow.com places, you can add this code to your iWeb pages with a little bit of work. Two things to keep in mind...1. No way to do this via iWeb directly, so it involves editing the published html files, and 2. Because iWeb republishes the html files whenever you update the your webpage, you will lose your changes and have to redo them to add your slideshows back.
The general directions are as follows...
1. Decide where you want your slideshow and know exactly what dimensions you need.
2. Insert a text box onto your page and adjust its size to exactly your dimensions.
3. Type in some uniquely identifiable text like, "SLIDESHOWHERE" without changing the font or anything else...just type it in.
4. Publish your page with iWeb.
5. Find the html file associated with your published page (either on your iDisk or in a folder depending on how you published) and open it in any text editor (like Microsoft Word, or Textedit, or anything). You may need to set your text editor to "ignore rich text" or to "show HTML source".
6. Scroll through the html file and locate your placeholder text, e.g. "SLIDESHOWHERE".
7. Replace the placeholder text with your html code and save your page.
That's it. You should see your slideshow element show up in Safari where you placed the text box in iWeb!
Maybe you are looking for
-
Problem in sending .doc file as an attachment.!
Hi SDN, I am using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send a .doc file as an attachment i am filling the the table contents_hex with my internal table containing the data in hex format but the attachment coming to the SAP office inbox is not showi
-
Create LifeRay portlet in JDeveloper 11g
Hi... I want to create LifeRay JSF portlets using JDeveloper 11g is there any plugin or any tutorial which guides in this process? Thanks Feras
-
Lightroom 4 cannot find presets panel
When I load my picture and click on darkroom, the presets panel does not appear. Where is it? Thank you.
-
iPhoto won't open. Little circle/wheel icon just keeps spinning. Reinstalled from iLife disk, and still no luck. Any suggestions?
-
IPhone 4s GPS/location services not working correctly in Maps
I have had an iPhone since the original, so I am not new to the way Maps works. Maps has been useless on my new 4s. It keeps pulling up locations from other states, or telling me I am at a location when I am 5-10 miles away. For example, I searched f