How to add logo to documents using PLD ?
Hi all,
Sorry i am sure this is an easy question but can anyone point my in the direction of the instructions on how to place a logo onto a printed document?
I have added a picture field and then set the source type,table ,column etc and placed the bitmap logo in the bitmap folder in my SAP B1 folder but it is not being shown when i print preview?
Thank you,
Hi!
Your Client PC should have full Access to the Bitmap Path and it should Connect to the Server automatically when Client Machine Started.
Try this,
On your Cliet Machine > Open > Run >
ServerName or ServerIP, Connect to the Server. Now try the print preview
Similar Messages
-
Hi,
How To add Logo in ALV Report?
I need step by step explanation.Hi uday,
go through this hope u can understand.
*& Report Z_OOALV_LOGO
*&--Sample Program using ooalv-> by SrikanthV--
REPORT z_ooalv_logo.
****DECLARATION FOR LOGO INSERT
CONSTANTS: cntl_true TYPE i VALUE 1,
cntl_false TYPE i VALUE 0.
DATA:h_picture TYPE REF TO cl_gui_picture,
h_pic_container TYPE REF TO cl_gui_custom_container.
DATA: graphic_url(255),
graphic_refresh(1),
g_result LIKE cntl_true.
DATA: BEGIN OF graphic_table OCCURS 0,
line(255) TYPE x,
END OF graphic_table.
DATA: graphic_size TYPE i.
CALL SCREEN 100.
*&----
*& Module PICTURE OUTPUT
text
MODULE picture OUTPUT.
DATA: l_graphic_xstr TYPE xstring,
l_graphic_conv TYPE i,
l_graphic_offs TYPE i.
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = 'GRAPHICS'
p_name = 'EDS'"IMAGE NAME - Image name from SE78
p_id = 'BMAP'
p_btype = 'BCOL'
RECEIVING
p_bmp = l_graphic_xstr
EXCEPTIONS
not_found = 1
OTHERS = 2.
graphic_size = XSTRLEN( l_graphic_xstr ).
CHECK graphic_size > 0.
l_graphic_conv = graphic_size.
l_graphic_offs = 0.
WHILE l_graphic_conv > 255.
graphic_table-line = l_graphic_xstr+l_graphic_offs(255).
APPEND graphic_table.
l_graphic_offs = l_graphic_offs + 255.
l_graphic_conv = l_graphic_conv - 255.
ENDWHILE.
graphic_table-line = l_graphic_xstr+l_graphic_offs(l_graphic_conv).
APPEND graphic_table.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown " 'X-UNKNOWN'
size = graphic_size
lifetime = cndp_lifetime_transaction "'T'
TABLES
data = graphic_table
CHANGING
url = graphic_url
EXCEPTIONS
dp_invalid_parameter = 1
dp_error_put_table = 2
dp_error_general = 3
OTHERS = 4 .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
CREATE OBJECT h_pic_container
EXPORTING container_name = 'LOGO'.
CREATE OBJECT h_picture EXPORTING parent = h_pic_container.
CALL METHOD h_picture->load_picture_from_url
EXPORTING
url = graphic_url
IMPORTING
RESULT = g_result.
ENDMODULE. " PICTURE OUTPUT
Reward points if helpful.
Thanks -
Plug_in:how to unlock a locked document use acrobat API
how to unlock a locked document use acrobat API.in acrobat plug_in
how to unlock a locked document use acrobat API.in acrobat plug_in(Which API can enter a password to unlock the locked document)
-
How to add new line item using BAPI BAPI_CONTRACT_CHANGE for contract-ME32K
HI Experts,
how to add new line item using BAPI: BAPI_CONTRACT_CHANGE for existing contract.
Requirement:
Already the contract having two line items using ME31K.
Custom program has to add new line items in existing contract.
Thanks,
SendilI got the solution:
We can do like this:
1. Get all details using details, BAPI_CONTRACT_GETDETAIL.
2. After getting results, append new line item. Then use your BAPI.
Check this posting program.. where this bapi is used, use the same coding technique.
IDOC_INPUT_PURCONTRACT_CHANGE -
Reg:how to post the parked documents using BDC
Duplicate message in General deleted. Please do not post the same question in more than one forum.
Hi
I am creating parked Documents using FV50. I am able to check them using FBV0, I am able to select and post the documents using the same transaction. Its working fine. However I want to post the selected parked documents using BDC. I am having problems as the output in FBV0 is in ALV report format. HAving problems selcting the parked documents to be posted. As there any way to post the selected parked documents using BDC.
Please suggest me a solution for this.
Thanks,
Satish
Edited by: Matt on Dec 3, 2008 7:40 PMHi Rob,
Thank you for ur reply, can u send that code how u post the parked documents using BDC for FBV0 transaction. Please send the code.
Thanks,
Satish -
How to add rows in tableview using javascipt
Hi
I had tableview and button in my page.If i click on the button one new row should be appended to the existing tableview.
so , how to add rows in tableview using javascipt which are editable?
Regards,
Pydi.Hi,
Javascript is client scripting language, which is mainly used for validations at the client side.
To add new row using a HTMLB tag ucannot use javascript. Instead pass "visibleRowCount" variable to a abap variable and add the variable on every button click.. that wil increase the visible row count.
Also the size of the table view is the size of the itnernal table, so append a blank like to the internal table or insert it at the top.
If you are not using HTMLB tags and using simple HTML tags u can always add a row using java script.
Regards
Imran. -
Hi Guys,
How to add logo in a Bex report.Hi ABDUL KHADAR
We can only add the logo at Work book level but not the query level @the query
level it wont allow us to add.
Jus open an ordinary excel sheet format it as you wish Ctrl+A and fill with white
color .Then jus save u r logo which u wont to upload in the desktop.
Then go to file insert picture or file and place it wher ever u wont in the work sheet
and save it as a templete and then insert the query in this templete and format it
as per your standarads.
If any struck up feel free to let me know. We explain you clearly...
hope its helpful..
Cheers
R M K
**Assigning poitz ez da only way of saying thankz in SDN** -
How to add users to OSM using UserAdmin.xsd
Hi,
Can you please explain me how to add users to OSM using UserAdmin.xsd i.e xml import/export tool. I need the steps how to do that..
Thanks in Advance,
MenakaHi Razvi444,
You need to use submit data to web service in Submit button rule,where you can use above web service.
Refer http://office.microsoft.com/en-in/infopath-help/submit-form-data-to-a-web-service-HA010107048.aspx more details
Thanks -
How to add iview to role using webdynpro
Hi every one, Can you please tell me how to add iview to role using webdynpro code.
Thanks
TKHi,
could you copy / past your code ?
if you need help on webdynpro and your beginner, try to watch the video on internet of WebBProfessor. It's really good videos !
regards
Fred -
How to add warning message while using 'print' function in Adobe LiveCycle Designer
I am trying to make pdf document for my company which requires adding a warning message while anyone use 'print' function from the page...
Does anyone know how to add warning message on LiveCycle Designer
Also my supervisor mentioned something using 'nag' if that rings any bellNo you shoudl never go into the XML source unless uinstricted to do so.
You can open the script editor (under the window menu). It will appear above the drawing area but below the toolbars. You can resize it if there is not enough room. When you click on an object in the form you can choose an event to script against in the Show dropdown. In your case you will want to choose the prePrint event. A line will show up that indicates the object that is associated with the script as well as the event and other information. Add your script below this line. Once that is done you are finished and your form is ready for testing.
Paul -
How to print logo in printout using classical report.
Hello Friends,
By using below code i am displaying logo in output using Classical report.
What my problem is it is not displaying in print out.
Please help. or else tell me how to print logo in classical report as well as output print out.
DATA: docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c ,
query_table LIKE w3query OCCURS 1 WITH HEADER LINE,
html_table LIKE w3html OCCURS 1,
return_code LIKE w3param-ret_code,
content_type LIKE w3param-cont_type,
content_length LIKE w3param-cont_len,
pic_data LIKE w3mime OCCURS 0,
pic_size TYPE i,
repid LIKE sy-repid.
repid = sy-repid.
START-OF-SELECTION.
CREATE OBJECT picture_control_1
EXPORTING
parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 100
left = 700
top = 1
width = 200.
"Position
IF url IS INITIAL.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
" Logo Name
query_table-value = 'ENJOYSAP_LOGO'.
APPEND query_table.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = query_table
html = html_table
mime = pic_data
CHANGING
return_code = return_code
content_type = content_type
content_length = content_length
EXCEPTIONS
object_not_found = 1
parameter_not_found = 2
OTHERS = 3.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = pic_data
CHANGING
url = url
EXCEPTIONS
OTHERS = 1.
ENDIF.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = url.
WRITE : /'Classical Report Logo'.
Regards,
Phaneendra
Edited by: phaneendra punukollu on Dec 31, 2009 11:38 AM
Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 4:52 PMHello Nidhi,
Thanks for your sugessition.
Actual we have data from IDOCS and it is maintained in Ztables
and need to dispaly in report ( Service centre - Warranty data ).
The report is completed. So again going to Script means waste of time for us.
So Plz help me if possible in Classical report.
Regards,
Phaneendra -
Hi frnds,
How I will upload Logo in SAPSCRIPT?
I have created Header window, Now I want to add Logo in Header Window.
Regards.Hi,
These are the steps to be followed for uploading graphics in R/3 system
1. First save the file as BMP
2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
make it Zoom as 100% and save as *.TIFF
3. Open SE38 and execute program RSTXLDMC
4. Give your TIFF file path name
5. Select Bcol (for Color)
6. TEXT ID will be ZHEX-MACRO-*.
7. Inplace of * write your own logo name (ZCOMPANYLOGO)
8. Execute the program
9. Now Goto SE71 create your ZFORM
10. Create logo window
11. Goto text element of logo window
or
In 4.6x :-
1. Goto SE71 Change the mode to GRAPHICAL
2. Choose the Graph Tabstrips
3. Now type in some name for the LOGO WINDOW
4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP
5. The code will be written automatically. You just need to drag and drop wherever you want
the graphics to be.
regards,
Munibabu.K -
How to add a DataBase Field in PLD from a User Defined Table
Hi All,
Please tell me how should i add a database field in PLD from User Defined Field...
The DropDown for tables in the Property window does not shows the User Define tables...How should i see them...
Thanx in Advance
ManishIn PLD choose object Database. Then press Alt + table combobox, this will show the UDT. Then choose the column.
-
How to add dropdown in excel using java?
First of all sorry for creating new topic... i searched for it but i couldn't get it...
Guys do you have any idea on how to add drop down in excel using Andy Khan's JExcel API? Or is there any other way?Sounds like a question for Andy Khan or the JExcel forum.
-
How to add link in subtabLayout using OA Framework page personlization
Hi,
how to add new link in subTabLayout using OA Framework page personalization.Hi Sumit,
I am also working similar kind of requirement. In my case I tried to add new tab subtab using personalization , how ever the add new item button is not enable.
So I created new stacklayout and tried to add this to new tab in the existing subtablayout by using co process form request code:
public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
super.processRequest(oapagecontext, oawebbean);
OracleCallableStatement oraclecallablestatement = null;
OracleConnection oracleconnection = (OracleConnection)oapagecontext.getApplicationModule(oawebbean).getOADBTransaction().getJdbcConnection();
try{
oracleconnection.setAutoCommit(true);
oraclecallablestatement = (OracleCallableStatement)oracleconnection.prepareCall("begin GLO_TMPVIJ_PRCV(:1); end;");
oraclecallablestatement.setString(1,"In the custom co process request");
oraclecallablestatement.execute();
}catch(SQLException sqlexception)
throw OAException.wrapperException(sqlexception);
OASubTabLayoutBean subTabLayout =
(OASubTabLayoutBean)oawebbean.findChildRecursive("ApplicationDetsTabLayout");
OASubTabBarBean subtabbar = (OASubTabBarBean)oawebbean.findIndexedChildRecursive("subTabBar");
OALinkBean link = (OALinkBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext,
OAWebBeanConstants.LINK_BEAN, null,
"link");
OAStackLayoutBean commentsRN =
(OAStackLayoutBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext,
"/xxhr/oracle/apps/irc/candidateManagement/webui/CommentsRn",
"CommentsRn", // always specify name
true); // region created in Oracle9i JDeveloper OA Extension
subTabLayout.addIndexedChild(commentsRN);
subTabLayout.addIndexedChild(link);
in this I am not ale to add the new tab.
Regards,
Vijay Reddy.
Maybe you are looking for
-
Costing issue in process order
Hi everybody, We are facing a problem now like... for a FG material we have changed the BOM, updated recipe but costing release was not done before that a process order had been created, material release carried out, process order confirmation made,
-
I have a 3rd genartion ipod and and the new update is not there please please can someone help
I have a 3rd genartion ipod and and the new update is not there please please can someone help
-
Query required ......and have points..
Hi Experts.. I am working on "Earnig and Deduction Department wise Statemant "Report. Department wise sum of all wage Earning (Basis Pay,LTA ect.) to be calculated. For example, in IT Department there are 10 employees so .Sum of all wages g
-
Debugging method fill _po_interface
Hi, is there any way to debug the method fill_po_interface in an implementation of the badi BBP_CREATE_PO_BACK even if it is the user WF-BATCH (system user ) who runs it after the last step of the workflow validation before creating the purchase orde
-
Imac reverts back to 11/28/11 when logging in. Even on restart
When logging in under a different user my iMac reverts back to 11/28/11. It opens mail in this location and it opens the programs I had up that day. Any way to stop this?