Application Development 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: 

how to chose grapics dynamically in sap script...

former_member185158
Participant
0 Kudos

Hi,

I have to display grapics dynamical in sap script but no grapics shows.

below is the code

/:    IF &REGUH-HBKID& EQ 'SCB'

/:   BITMAP STAND_CHART_BANK OBJECT GRAPHICS ID BMAP TYPE BCOL

/:    ELSE

/:   BITMAP CITI_BANK OBJECT GRAPHICS ID BMAP TYPE BCOL

/:    ENDIF

thanks

payel

1 ACCEPTED SOLUTION

nabheetscn
Active Contributor
0 Kudos

Hi Payel

You need to give logo name in single character

/:    IF &REGUH-HBKID& EQ 'SCB'

/:   BITMAP 'STAND_CHART_BANK' OBJECT GRAPHICS ID BMAP TYPE BCOL

/:    ELSE

/:   BITMAP 'CITI_BANK OBJECT' GRAPHICS ID BMAP TYPE BCOL

/:    ENDIF

Nabheet

8 REPLIES 8

nabheetscn
Active Contributor
0 Kudos

Hi Payel

You need to give logo name in single character

/:    IF &REGUH-HBKID& EQ 'SCB'

/:   BITMAP 'STAND_CHART_BANK' OBJECT GRAPHICS ID BMAP TYPE BCOL

/:    ELSE

/:   BITMAP 'CITI_BANK OBJECT' GRAPHICS ID BMAP TYPE BCOL

/:    ENDIF

Nabheet

0 Kudos

hi nabheet,

still it don't work

payel

0 Kudos

Go to Se78 and check do you have these graphics available..? Is your testing and development client same..? If different make sure you are doing SCC1 after making the changes in Dev. Can you please attach screen shot of logo with properties in testing client and your saps cript code.

Nabheet

0 Kudos

hi,

the dynamic logo didt show in development clint.

in se 78 the graphis is available.

0 Kudos

Do one thing goto SE71->Utilities->Activate Debugging. Then you can check what is happening in this case. Are you sure SE78 the properties of the images are GRPAHICS BMAP and BCOL. Add the screen shot please

/:    IF &REGUH-HBKID& EQ 'SCB'

/:   BITMAP 'STAND_CHART_BANK' OBJECT GRAPHICS ID BMAP TYPE BCOL

/:    ELSE

/:   BITMAP 'CITI_BANK' OBJECT GRAPHICS ID BMAP TYPE BCOL

/:    ENDIF

0 Kudos

hi nabheet,

after debugging I found the below error

INCLUDE GRAPHICS,STAND_CHAR...,BMAP,BC is not available

Message no. TD439

Diagnosis

The text to be inserted with the INCLUDE command or the graphic to be
inserted with the BITMAP command does not exist.

System Response

The INCLUDE or the BITMAP command was ignored.

Procedure

Please check the key of the text/graphic that is to be inserted with the
INCLUDE/BITMAP command.

former_member185158
Participant
0 Kudos

problem solv


Former Member
0 Kudos

Hi,

try to insert the graphic in this way in SE71:

Then you get the possible graphics which are in your System.

Regards, Dieter