on 01-24-2013 10:51 AM
Hello All,
I have modified a standard text and appended a logo in the text.
BITMAP 'LOGO ' OBJECT GRAPHICS ID BMAP TYPE BMON DPI 300
The standard text is being called in adobe form. Now the text is printing asusual but there is no logo printing.
Please advise the solution to print the logo along with standard text.
Thanks in advance.
Rgs,
Priya
Hi All,
Have resolved it myself by modifying the Adobe form.
Solution: ( In Adobe form interface --Code initialization)
Create a mime object of logo in SE80.
Code:
gv_logo_es01 = '/sap/public/images/LOGO'. ( Path used in SE80)
* Read Images
CLEAR lr_api.
lr_api = cl_mime_repository_api=>get_api( ).
lr_api->get( EXPORTING i_url = gv_logo_es01
IMPORTING e_content = gv_es01 ).
Call the gv_es01 in adobe form layout.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priya,
For the logo use the method GET_BDS_GRAPHIC_AS_BMP of class CL_SSF_XSF_UTILITIES. Code this in the code initialization part of the interface.
Then in the context of the form , create a graphic , select the graphic type as graphic content and give the values in field as 'the variable which contains the logo 'and MIME as 'BMP'.
Go to the form and bind this graphic to the image.
For example,
In the interface:
Declare the v_logo as xstring in global data.
CALL METHOD CL_SSF_XSF_UTILITIES=>GET_BDS_GRAPHIC_AS_BMP
EXPORTING
P_OBJECT = 'GRAPHICS'
P_NAME = 'the image name'
P_ID = 'BMAP'
P_BTYPE = 'BCOL'
RECEIVING
P_BMP = V_LOGO
EXCEPTIONS
NOT_FOUND = 1
INTERNAL_ERROR = 2
OTHERS = 3.
Hope this helps you.
If any issue let me know.
Thanks,
Namrata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The requirement is not just adding a logo.
There is a standard text already printing based on some sales org. So for that sales org only, along with the standard text, the logo needs to be printed.
The functional guy, does nt want to change the FORM.
What's his idea is, just to append the logo to standard text and printed.
I have appended the logo to standard text and as I mentioned its not printing on the form.
My question is it possible to print the logo in that way on Adobe form?
Rgs,
Priya
Hi, Can anyone help in solving the issue.
Hi Priya,
Why dont you use Image UI element in layout directly and embed image into it?
Regards,
Mahidhar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.