Home > Ask the SAP Experts > SAPscript and Smart Forms Questions & Answers > Identifying duplicate packing list submissions
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Identifying duplicate packing list submissions

Mark Smithson EXPERT RESPONSE FROM: Mark Smithson

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 15 February 2007
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.

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


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
SAPscript and Smart Forms
Fixing a common OPEN_FORM and START_FORM error in SAPscript
Avoid printing out blank address lines in SAP Smart Forms
Setting soft breakpoints in ABAP that reside in Smart Forms
Printing specifics on the last page of a Smart Form
Need more options in newer Smart Forms
What is SAPscript 'RV_CONNOTE_SUPPL'?
Problems with the output device 'LOCL'
How to print Smart Forms on Zebra printer with the landscape format
Half the page disappears after a wrong click in the SAPscript editor; how is this fixed?
New fonts added to SAP are replaced by old fonts in a print preview, why?

SAP Smart Forms and SAPscript
SAP administration information for a Basis interview
Quiz: SAP ABAP development
Easier maintenance of output types, procedures, conditions, etc.
Avoid printing out blank address lines in SAP Smart Forms
Setting soft breakpoints in ABAP that reside in Smart Forms
Printing specifics on the last page of a Smart Form
How to print Smart Forms on Zebra printer with the landscape format
Half the page disappears after a wrong click in the SAPscript editor; how is this fixed?
New fonts added to SAP are replaced by old fonts in a print preview, why?
How to include T&Cs on the back of every printed page in a PO form
SAP Smart Forms and SAPscript Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsBlogsTipsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts