SmartForms
ABAP Developmentintermediate

Output Determination and Debugging

NAST, condition records and print preview.

Explanation

Standard output determination writes records to NAST which schedule the print/EDI/email. Program RSNAST00 processes them. To debug, set a breakpoint in the driver, run RSNAST00 for the message record, or run VF03 โ†’ Print preview.

Code example

ABAP Code
" Trigger print manually for testingSUBMIT rsnast00 WITH nast-objky = ls_invoice-vbeln AND RETURN.

Real project scenario

A missing NACE condition prevented invoices from printing on Fridays only โ€” investigation via VF03 output history revealed the schedule condition.

Common mistakes

Debugging by editing forms rather than checking NAST; wrong dispatch time causing silent delays.

Best practices

Test in QA with real partner profiles; log NAST-VSTAT in support tickets.

Interview angle

Difference between medium 1 (printer) and 5 (external send).