cancel
Showing results for 
Search instead for 
Did you mean: 

RV60SBAT capture Invoice Number

Former Member
0 Kudos

Hi All,

I am using a copy of standard sap program RV60SBAT to Export to memory/database all the JOBNAME, JOBCOUNT & customer number that are processed. Also to generate new spool for each record. Standard program RV60SBAT creates only a single spool for all the records processed.

I want to capture the invoice numbers being generated by this program. For a Z billing type, when i execute the program it generates multiple invoices. So how to capture the invoice number as well.

Any pointers for the same.

Thanks,

Best regards,

Prashant

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member223537
Active Contributor
0 Kudos

NAST table has the entries of the same.

Created a select query from NAST for all the invoices which are processed.

former_member223537
Active Contributor
0 Kudos

Experts,

My requirement is to generate invoices in background, convert the spool to PDF & Send as email with email subject mentioning the spool no.

So we planned to copy program RV60SBAT & modify to generate new spool for each invoice.

2nd Z program would run once RV60SBAT is completed. It will capture the spool nos generated & convert them into pdf & send as email.

We need to mention the invoice no. in email. Since spool is an OTF spool, we cant read the same.

Is the above approach correct or do we need to use some other program.

Thanks,

Best regards,

Prashant