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: 

Batch Input for SE78.

Former Member
0 Kudos
367

Hi, i must do a batch input for transaction se78 for import images. Here is the registration code:

perform open_group.

perform bdc_dynpro using 'SAPMSSCH' '2000'.

perform bdc_field using 'BDC_OKCODE'

'=%_GC 133 22'.

perform bdc_dynpro using 'SAPMSSCH' '2001'.

perform bdc_field using 'BDC_OKCODE'

'=GIMP'.

perform bdc_field using 'BDC_CURSOR'

'RSTXT-TDNAME'.

perform bdc_field using 'RB_GRAPHIC_BMON'

'X'.

perform bdc_dynpro using 'SAPLSTXBITMAPS' '4001'.

perform bdc_field using 'BDC_CURSOR'

'RB_GRAPHIC_BCOL'.

perform bdc_field using 'BDC_OKCODE'

'=OK'.

perform bdc_field using 'RLGRAP-FILENAME'

'C:\Documents and Settings\m.antonini-c'

& 'ons.M-ANTONINI\Desktop\COOK.bmp'.

perform bdc_field using 'STXBITMAPS-TDNAME'

'COOK'.

perform bdc_field using 'RB_GRAPHIC_BMON'

''.

perform bdc_field using 'RB_GRAPHIC_BCOL'

'X'.

perform bdc_field using 'STXBITMAPS-AUTOHEIGHT'

'X'.

perform bdc_dynpro using 'SAPMSSCH' '2000'.

perform bdc_field using 'BDC_OKCODE'

'=BACK'.

perform bdc_field using 'BDC_CURSOR'

'RSTXT-TDNAME'.

perform bdc_field using 'RSTXT-TDNAME'

'COOK'.

perform bdc_field using 'RB_GRAPHIC_BCOL'

'X'.

perform bdc_transaction using 'SE78'.

perform close_group.

The problem is: at the begin of the registratio, SAP doesn't recognize the command button:

perform bdc_field using 'BDC_OKCODE'

'=%_GC 133 22'.

Why?

There's another mode to import image (FM for example) or there's a solution for that?

Thanks for answers.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
144

Try out this FM SAPSCRIPT_IMPORT_GRAPHIC_BDS

Warm Regards

Anup Varghese

4 REPLIES 4

Former Member
0 Kudos
145

Try out this FM SAPSCRIPT_IMPORT_GRAPHIC_BDS

Warm Regards

Anup Varghese

0 Kudos
144

Hi,

try to use the FM <b>SAPSCRIPT_IMPORT_GRAPHIC_BDS</b>

here is one example you can see..

Regards

vijay

0 Kudos
144

The FM is interesting, but it call a screen that i must not see, the screen 4001 must run in background and that i think it`s impossible.

0 Kudos
144

hi,

check my previous post, there you can see the example.

Regards

vijay