Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

LOG IN SCRIPT

Former Member
0 Likes
592

HI,

How TO insert background logo in script and in alv report? Is it possible ?

Thank you

ASHOK KUMAR

3 REPLIES 3
Read only

Former Member
0 Likes
560

Hi

It is not possible to insert background logo in SCRIPTS.

It is possible only in smartforms.

You can keep a logo in ALV's

In the transaction OAOR, you should be able to insert your company Logo.

GOTO - OAOR (Business Document Navigator)

Give Class Name - PICTURES Class Type - OT..... then Execute

It will show you the list, then select ENJOYSAP_LOGO.

On that list, you will find one control with a "create" tab.

Click std. doc types.

Select SCREEN and double-click.

It will push FILE selection screen.

Select your company logo (.gif) and press OK.

It will ask for a description- for instance: "company logo".

It will let you know your doc has been stored successfully.

You can find your logo under ENJOYSAP_LOGO->Screen->company logo.

Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.

FORM TOP-OF-PAGE.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

IT_LIST_COMMENTARY = HEADING[]

I_LOGO = 'ENJOYSAP_LOGO'

I_END_OF_LIST_GRID ='GT_LIST_TOP_OF_PAGE'.

.

ENDFORM. "TOP-OF-PAGE

Here 'ENJOYSAP_LOGO' will replace by ur created logo.

Refer this link

http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm

http://www.sap-img.com/abap/alv-logo.htm

http://www.sap-img.com/fu002.htm

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
560

Hi Ashok,

It is not possible to add a back ground logo in the script but it is possible with smart forms.

You can do in scripts too but You need a this logo and the other windows should over lap on this.

In ALV, you can have LOGO with the help of REUSE_ALV_COMMENTARY_WRITE function module but You can not have this LOGO as a background LOGO

Thanks,

Vinay

Read only

Former Member
0 Likes
560

Hi

first upload the image through OAER transactions and give specific name to it

and pass this name to reuse_alv_grid_display.

reward points to all helpful answers

kiran.M