Ask the Expert

Identifying duplicate packing list submissions

I have developed a Smart Form for a packing list. The requirement is to have "REPRINT/DUPLICATE" printed on the upper right hand corner if the print for that particular delivery has already been taken.

    Requires Free Membership to View

The message control table NAST contains the information you seek. So one way to handle the requirement in a Smart Form is to add logic to the form' Initialization section, which queries this table with all relevant keys (e.g. your particular output type and document number) plus an output status indicator (VSTAT) = '1' (completed successfully). If such a record is found, this likely is a reprint. You could then set a global flag which is passed out of this section and added as a condition to the node which prints 'REPRINT/DUPLICATE'.

For the SAPscript version, see SAP program RVADDN01, form routine CHECK_REPEAT.

This was first published in February 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: