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: 

Cancel image from se78.

Former Member
0 Kudos
1,362

To cancel images from se78, i can simply cancel the record from stxbitmaps or phisically the file is still in the system? I ask this because i must do also a program to cancel from se78.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
435

Please use the following function module to delete images from SE78. This should remove all traces of the image.




  call function 'SAPSCRIPT_DELETE_GRAPHIC_BDS'
    exporting
     i_object             = object
     i_name               = name
     i_id                 = id
     dialog               = ' '
   exceptions
     enqueue_failed       = 1
     delete_failed        = 2
     not_found            = 3
     canceled             = 4
     others               = 5.

Regards,

Rich Heilman

4 REPLIES 4

Former Member
0 Kudos
435

u have to /can delete that Image from se78.

Regards

Prabhu

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
436

Please use the following function module to delete images from SE78. This should remove all traces of the image.




  call function 'SAPSCRIPT_DELETE_GRAPHIC_BDS'
    exporting
     i_object             = object
     i_name               = name
     i_id                 = id
     dialog               = ' '
   exceptions
     enqueue_failed       = 1
     delete_failed        = 2
     not_found            = 3
     canceled             = 4
     others               = 5.

Regards,

Rich Heilman

0 Kudos
435

Thanks, but the FM don`t do the cancel in background because appears a pop-up to confirm cancellation. I must do all in background.

0 Kudos
435

Make sure that the DIALOG parameter is = space. This will suppress the popup. There should be no problem running this FM in background

<b>

dialog               = ' '

</b>

Regards,

Rich Heilman