cancel
Showing results for 
Search instead for 
Did you mean: 

Spool number of purchase order

Former Member
0 Kudos

Hi experts

How do I get the spool number of a purchase order to send email?

I need to know this spool because I use the FM 'CONVERT_OTFSPOOLJOB_2_PDF' and 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send email with purchase order in PDF format.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Try the sample program code in BCS_EXAMPLE_6 in SAP. Try doing similar coding in the print program of the PO print out.

Regards,

Harish

Former Member
0 Kudos

Hi Lupe,

Check this link, it might help you.

Thanks

Ernesto.

Former Member
0 Kudos

Thanks Ernesto.

I get the number spool otherwisw.

temprally in Device, I change MAIL for PRINTER.

then in the call function 'CLOSE_FORM'

CALL FUNCTION 'CLOSE_FORM'

IMPORTING

RESULT = RESULT

rdi_result = rdi_result.

I get the spool number in RESULT-TDSPOOLID

Thanks