Problem solve Get help with specific problems with your technologies, process and projects.

Identifying duplicate packing list submissions

Mark Smithson provides some clues for how to implement a marking system for duplicates and reprints.

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.
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.

Dig Deeper on SAPscript and Smart Forms

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.