cancel
Showing results for 
Search instead for 
Did you mean: 

Save as JPEG

Former Member
0 Kudos
294

Hi All,

I am looking for information how to create a JPEG file (for example Invoices). I know when we using the SBO Mail, the system will automatically create a JPEG file for us to be attached.

Does anybody know if SBO provides an object to save invoices as jpeg? or maybe anybody have another way to do that? I want the result is the same as SBO JPEG Invoice, but i need to do it programmatically...

Thanks & Best Regards,

Harianto Ng

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Maybe this can be useful for you


SBOapp.ActivateMenuItem("2053") 'brings up the invoice form in sap
Dim fo As SAPbouiCOM.Form
fo = SBOapp.Forms.ActiveForm
fo.Refresh()
fo.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE 'puts in search mode
fo.Items.Item("8").Specific.value = docnumofyourfac
fo.Items.Item("1").Click() 'search begins

'the magic moment
SBOapp.ActivateMenuItem("7173") 'this open the save as jpeg dialog

SBOapp is your application from ui

hope it helps you

Salvador Biot

Former Member
0 Kudos

Hi

you can always use a workaround:

- use a report maker, like crystal, to create the invoice format.

- Create a routine to print the reports of all the invoices

- use a print driver to print as jpeg. There are many drivers free on internet

I hope this help.

Harold Gómez

barend_morkel2
Active Contributor
0 Kudos

I have that same problem,

You can only "save as" .xml - no other format.

Iwanted to create a bulk mailing mechanism for invoices, but you can't save the object as a .jpeg.

I sent a DRQ to SAP and they said they are working on it.

Too bad hey?

(I don't know of any work arounds)