2006 Jun 12 11:28 AM
Hi all,
I've included an Bitmap image(company logo) in a window underneath a SAPScript. However, I'll need to maintain two different company logos within a window, in which company logo is displayed based on the company code. (e.g. LogoA is displayed upon company code 2003 - 2010; LogoB is displayed upon company code 2011 - 2020).
I've controlled the above using a CASE statement as below:
CASE &ITAB_INV-BUKRS&
WHEN '2003'
BITMAP 'ZLOGOA' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 300
.
.
.
WHEN '2020'
BITMAP 'ZLOGOB' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 300
ENDCASE
However, if the company code range from 2003 - 2010, it will display at X-axis 20cm Y-axis 8cm, else, if from 2011 - 2020, logo will be appeared at X-axis 30cm Y-axis 10cm.
Did some of you come across this issue?
Many thanks.
Patrick
2006 Jun 12 11:51 AM
Hi Patrick,
u can very well position ur logo using the XPOS & YPOS command along with the logo command.
eg
/:BITMAP 'ZLOGOA' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 300 XPOS '2' CM YPOS '1' CM.
hope it resolves ur issue..
Hi all,
I've included an Bitmap image(company logo) in a window underneath a SAPScript. However, I'll need to maintain two different company logos within a window, in which company logo is displayed based on the company code. (e.g. LogoA is displayed upon company code 2003 - 2010; LogoB is displayed upon company code 2011 - 2020).
I've controlled the above using a CASE statement as below:
CASE &ITAB_INV-BUKRS&
WHEN '2003'
BITMAP 'ZLOGOA' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 300
.
.
.
WHEN '2020'
BITMAP 'ZLOGOB' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 300
ENDCASE
However, if the company code range from 2003 - 2010, it will display at X-axis 20cm Y-axis 8cm, else, if from 2011 - 2020, logo will be appeared at X-axis 30cm Y-axis 10cm.
Did some of you come across this issue?
Many thanks.
Patrick
2006 Jun 12 11:33 AM
u put the same dpi for diffrent diffrent logo...
dpi depend upon the intencity of picture. if intencity of picture is high than it seems bigger for sam,e dpi.
u have to put diffrent diffrent dpi for diffrent-2 image for ur requirment...
2006 Jun 12 11:51 AM
Hi Patrick,
u can very well position ur logo using the XPOS & YPOS command along with the logo command.
eg
/:BITMAP 'ZLOGOA' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 300 XPOS '2' CM YPOS '1' CM.
hope it resolves ur issue..
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |