Skip to Content
0
Former Member
Jan 10, 2011 at 11:56 AM

Detecting changes in address in a smartform to allow sorting into envelopes

45 Views

Hello,

We have a sorting machine which can place hardcopy invoices into envelopes, placing several invoices into 1 envelope as long as the billing address is the same.

To achieve this, we need to print a mark on some invoices to indicate that the current invoice is the last for the current envelope and the next invoice (with a different address) will be placed into a new envelope.

Is it feasible to somehow find the address of the next document to be printed?

We have a simple setup:

RSNAST00 calls our own copy of RLB_INVOICE passing the current invoice in the NAST table. A smartform is then called to print out the invoice.

I am not sure if this is something that can be done via logic in the smartform or if it means an ABAP change. Any advice greatly appreciated!

Thanks,

Stuart.