Validation on GR Printing

Dear All
We have develop one Z Report to take a Print out of Goods Receipt Note, where we have mentioned a colums of Excise Invoice Document Number and its date
now, i want to restrict or validate that if material is excisable then if after making of GR , user is not done J1IEX then my Z Report should not allow to take a print.
is there any table reference where i can pass the logic and do the same.
I have checked lots of tables but even if i am not posting the excise invoice / not doing J1IEX , still the values are going in the respective tables (Like J_1IEXCHDR ,J_1IEXCDTL, J_1IEXCREF)
Please help me to do this validation.
Thanks in Advance
Narendra C

Scenario is like this.
When dispatch is done from stockyard. PGI date, invoice date, billing date and accounting date should be same. If date is not same , then system should not allow to post invoive to accounting department.
Regards
Jalaj

Similar Messages

  • Different validations in a print button -- Urgent !

    Hi,
    I've adopted the script stated in HightlightOneRequiredField.pdf so that the print button in my form can detect and prevent null field before pop up the print dialog.
    However, there's an email field (in my form) with a validate event, i.e. to validate if the email address is in general format "[email protected]", which I want the same print button to check this email validation too (apart from the normal null field checking)
    In other words, what I want is that the print button will check:
    1) when a null field is detected, then pop up alert message and disable print and;
    2) when a field with validate event scripted is detected, and if its validation is not passed, then pop up its existing validation error message, then disable print
    Can someone help on this ?
    Thanks in advance.
    Alex

    Hi Alex,
    xfa.form.execValidate();
    This will check all validations on your form, display the error message for each, and return true or false. True if all validations pass and false otherwise. Use this in your print button to check the validations before printing. So. . .
    if (xfa.form.execValidate())
    xfa.host.print(yada yada);
    A word of caution though. I don't think this is fool-proof. A user can always print using the menu or a shortcut key in Acrobat/Reader, which bypasses your print button.
    Hope this helps.
    Jared Langdon
    www.jlangdon.ca

  • Validity Sensor finger print reader and windows 7

    I just recently installed windows 7 enterprise 64bit on my dv4t-1300cto. Everything is brilliant except for the fingerprint reader which does not work. It shows up in device manager as being installed correctly, but digital persona and windows say its not connected. I've tried a few reinstalls of software and drivers but to no avail. And when I look for software, the results are pretty sparse. HP tries to convince me that im using a beta software and support will show up soon, but this is not a beta copy of anything. Has anyone done what ive done and sorted it out?
    the reader model is Vfs201.
    Thanks all. 
    This question was solved.
    View Solution.

    Hi,
    New version of driver for Win7 released by HP:
    Validity Fingerprint Sensor here
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • Custom validation Messages printed more than once :-(

    Hi,
    I have added a Custom Validator to a drop down list box (h:selectOneMenu) and for a text field. and i bound these form elements to the corresponding UIComponent Object in the becking bean. The backing bean is in session scope I have a link which will forward to a different page and i disabled the validation on this link by setting immediate as true.
    But when the user clicks the command link goes second page and then comes back to the first page and click the submit button, the validation error occurs. But to my surprise i am getting the same Validation error message printed twice or thrice (as when we are going to the second page and then comes back and submits).
    If I am correct the Validator corresponding to the component keeps the old error state and then add the new error state.
    I tried to remove one FacesMessage object which i got from Iterator of FacesContext.getMessages() and then tried. but hence also i was getting the same result.
    When i looked at the log, i foud my validator class being invoked twoce (or thrice depending upon the no. of times i went to the secoond page).
    Can you please help me out from this problem?
    Thanking you,
    Sudheesh

    If it is indeed 1.1, I'd recommend trying 1.1_02 [1] and trying again.
    [1] https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=5225&expandFolder=5225&folderID=5220

  • Print to epson validator

    dear all,
    i have epson validator printer on my clone/pord servers, we are able to printer receipts successfully on the validator from the prod server, we clond the prod server to other server and we add the eposn validator printer to it, when printing from the command line it dose print on the validator but when print from the application it dose not print on the validator receipts paper but it print on the normal slip paper (A4) paper. what could be wrong i check the printer settings on both prod/clone they are exaclty the same and i checked the prt files and the initialization command and they are the same.
    any hint will be helpful
    fadi

    Hellow there,
    Are you using PASTA or not?
    Because If you are using PASTA, this note will be helpful (267026.1).
    Otherwise, check this note (297522.1) which may help you understand where the error is.
    all the luck ...

  • Print the form only when valid

    Hello,
    I have a PrintButton on my PDF form which activates the form validation. The print dialog appears only when the form is valid. However, users still can print the form using the File Menu or Toolbar. I tried to deny printing in the PDFSecurity tab of the Form Properties and re-enable it once the form is valid (xfa.PDFSecurity.SetAttribute("1","print")) but it does not work.
    Is it possible to force the user to print only with my print-validate button? What would be the appropriate way to do that?
    Thanks
    Julie

    Hi Johnny,
    The only way that Acrobat or Reader can vouch for the integrity of the digital signature is from within the application. Once you print the file Acrobat/Reader has no way of verifying that the printed document is cryptographically sound (which is what a digital signature proves). As such, we specifically inhibit printing the signature status.
    Another way to think of this is, the validity of an electonic document can only be guaranteed in the electonic environment. Once the document moves into the physical world Acrobat (or any application that processes digital signatures) has lost control.
    Steve

  • How to pop up error message when printing invoice / delivery note

    i have a problem that when I'm going to print the invoice (VF03), i have to check the field displayed e.g. port of loading, final destination should not be empty.If both are empty, when user is ready to print, then alert message is displayed (e.g. Please return to the invoice to fill in the port of loading / final destination) and is not allowed to print it out
    i'm using Zxxxxx program (including the subroutine)  and SAPScript form Zxxxxxx ,in the form, i use "PERFORM XXX IN PROGRAM ZXXXX" to call the parameter,so how can I do the alert message and stop the printing process and Do i write a checking subroutine in the program and perform that subroutine , so that when that required fields are empty, then show alert when printing?
    PLs advise

    Hi Sky,
    i wont suggest you to give a pop up as if you try and execute the invoice in background it would cause termination.
    Standard way of doing it is by updating nast entries. You can refer below mentioned pseudo code. You can also refer to any standard driver program & form attached to a output type for  more code.
    The below code would show your output condition in error status if your condition fails.
    **Do you validations in the print program and  check for return code.
      IF SY-SUBRC NE 0.
        PERFORM PROTOCOL_UPDATE.
        RETCODE = 1.
        EXIT.
      ENDIF.
          FORM PROTOCOL_UPDATE                                          *
          The messages are collected for the processing protocol.       *
    FORM PROTOCOL_UPDATE.
      CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
           EXPORTING
                MSG_ARBGB = SYST-MSGID
                MSG_NR    = SYST-MSGNO
                MSG_TY    = SYST-MSGTY
                MSG_V1    = SYST-MSGV1
                MSG_V2    = SYST-MSGV2
                MSG_V3    = SYST-MSGV3
                MSG_V4    = SYST-MSGV4
           EXCEPTIONS
                OTHERS    = 1.
    ENDFORM.
    Hope this Helps you.
    Sumit

  • Printing in OS 9

    I have a G4 silver I'm running OS 10.4.8 My classic is running 9.2.1 now and have been having problems installing the 9.2.2 update do to some plug in not being there. BUT that is not my real problem. I have an old envelope printing program ( MacEnvelope Pro ) that at the moment I can't live with out. Everthing was working out fine until I started up on unix and did that clean up sh /etc/rc
    now when I want to print to a boujour printer the chooser can't connect to the printer. I'm just at wits end. Help
    G 4 Silver   Mac OS X (10.4.8)   Runnung Classic with OS 9.2.2

    Hello Stremjinger,
    Have you done a firmware update. You probably did as you are running X but if you haven't...then go to this link for the coerrect fireware update.
    http://docs.info.apple.com/article.html?artnum=86117
    I am mainly a 9.2 user but have limited experience using X so the help I offer may not be valid.
    To print from classic you need to have the drivers installed in the 9 system folder. I know nothing about unix.....but perhaps it disabled those drivers in 9. I think the easy solution would be to re-install the drivers in the 9 system.
    I don't know if this will help but it is a start. I also think you are wise to update to 9.2 which is much moe stable........Jim

  • Printing and Proofing with multiple profiles

    I have a book project where two kinds of papers is used.
    One more yellow than the other.
    For both of these papers I have a different profile.
    Is there any way that I could define different output/proofing profiles for different parts of the document?
    If not then what about combining 2 documents into a book.
    Can I print/export the book so that it ends up having two different profiles in the resulting pdf?

    Solution for the OP, as tested by CS2:
    Convert by Photoshop:
    Image1 RGB to CMYK1 (for instance ISOCoated for white paper)
    and embed profile CMYK1
    Image2 RGB to CMYK2 (for instance for yellowish paper)
    and embed profile CMYK2
    Define Document CMYK space CMYK0 in InDesign.
    CMYK0 is CMYK1 or CMYK2 or something different.
    Place CMYK-image1 and assign explicitly profile CMYK1
    Place CMYK-image2 and assign explicitly profile CMYK2
    Assignment by
    >Object >Image Color Settings >Profile and Rendering Intent
    InDesign does not honour the embedded profiles automatically.
    Without explicit assignment the document color space is
    implicitly assigned (CMYK0).
    These are the settings for Export to PDF:
    No Color Conversion
    Include All Profiles
    No Output Intent
    No compression or ZIP/LZW compression
    Downsampling as required (here 288ppi if above 288ppi)
    The PDF contains the two images, and the CMYK profiles
    are embedded. Style like PDF/X-3. Test by Preflight.
    For offset printing the profiles are not required.
    So far it's assumed that both profiles CMYK1 and CMYK2
    are valid for the printing process with the same ink
    but for different paper. CMYK-numbers are print-ready.
    For proof printing one needs a RIP with this feature:
    For tagged images use the embedded profile as input
    profile (as defined by PDF/X-3).
    Output profile is that of the proof printer.
    RIP Colorgate ProductionServer5 works as described,
    additionally per image for RGB and Gray images.
    How to test this workflow:
    Source image is the same AdobeRGB(98) color pattern,
    first converted to CMYK1=ISOCoated, then to CMYK2=Toner-
    Printer-Profile.
    The AdobeRGB image and the two CMYK images were printed
    by inkjet as described. For patches which are in-gamut
    for all profiles the appearance is the same (we have the
    same physical colors but different encoding).
    Best regards --Gernot Hoffmann

  • PDF Printer Save As Issue

    Windows XP, Office 2007, Adobe Pro 9.
    PDF printer previously functioned without issue.  System has recently had fresh OS installed.
    When "Save As" is selected, the mapped network drive that is available to Windows is not available as a part of the drive choices.
    Attempting to add a new network location in the software and you receive an error message saying the path is not valid. PDF Printer recognizes other network locations.
    The drive is available as a save location in other programs and the user can access the location without issue.
    Any idea how I can get Adobe to recognize it?

    I can't seem to find it in the apps.
    I just tried a system archive install and reinstalled the Adobe Suites and it is still doing it.
    The other issue is that when I am in an app, and I navigate to folders they expand rather than open. Do you know how to change that??

  • Anyone out there have an idea on how to solve an "Empty print file!" error?

    I am trying print to a Lexmark C543 network printer from a PowerPC G5 (running 10.5.7). Prior to receiving the error message (Empty print file!) the print queue displays the following messages: “Looking for Lexmark C543” and then “The printer is now on-line”.
    Now there is a twist, I can successfully print test pages, pdf files (only using Adobe Reader 9.1.2, not the Apple Preview application), and image files (only using Adobe Lightroom 2.4, not the Apple Preview application). If I try and print a webpage using Safari (4.0.1) or Word document using Word:MAC 2008 version 12.1.9 it will error out, unless I print it to a PDF and then reopen the file via Adobe Reader.
    Here are the actions I have already tried, and didn’t work?
    - Removed and installed printer (both via GUI and CUPS)
    - Reset printer system
    - Verify Disk (no problems found)
    - Repaired Disk Permissions
    - Removed/renamed all files I could find in Library and System relating to C543
    - Downloaded and installed new driver
    - Called Lexmark, “3rd Level support looked at the issue and the log and they concluded that it's a problem with the OS.”
    Below is an excerpt from the CUPS error log that might shed some further light on the subject.
    I [29/Jun/2009:10:59:44 -0400] [Job 6] Started filter /usr/libexec/cups/filter/cgpdftops (PID 205)
    I [29/Jun/2009:10:59:44 -0400] [Job 6] Started filter /usr/libexec/cups/filter/pstops (PID 206)
    I [29/Jun/2009:10:59:44 -0400] [Job 6] Started backend /usr/libexec/cups/backend/mdns (PID 207)
    E [29/Jun/2009:11:00:11 -0400] PID 206 (/usr/libexec/cups/filter/pstops) stopped with status 1!
    I [29/Jun/2009:11:00:11 -0400] Hint: Try setting the LogLevel to "debug" to find out more.
    E [29/Jun/2009:11:00:11 -0400] PID 205 (/usr/libexec/cups/filter/cgpdftops) crashed on signal 10!
    I [29/Jun/2009:11:00:11 -0400] Hint: Try setting the LogLevel to "debug" to find out more.
    E [29/Jun/2009:11:00:11 -0400] [Job 6] Empty print file!
    E [29/Jun/2009:11:00:14 -0400] PID 207 (/usr/libexec/cups/backend/mdns) stopped with status 1!
    I [29/Jun/2009:11:00:14 -0400] Hint: Try setting the LogLevel to "debug" to find out more.
    I [29/Jun/2009:11:00:14 -0400] [Job 6] Backend returned status 1 (failed)
    I [29/Jun/2009:11:00:14 -0400] Saving printers.conf...

    PaHu,
    Thank you for welcoming me to Apple Discussions as well as explaining what you saw in the log.
    I downloaded and ran the 10.5.7 Combo updater, but unfortunately it did not resolve my empty print file error.
    Print Therapy (version 6.0.5) you suggested (and I downloaded) looked very promising. Unfortunately it too did not resolve my empty print file error. I have included the Print Therapy log below in hopes it will shed more light on the problem. The Print Therapy log stated: "You may need to reinstall OS X to resolve your printing issues." I am assuming this is probably because of the three missing files/directories it found.
    Please let me know what my next steps should be, and if I should reinstall Leopard. If I have to reinstall Leopard is it possible to just install on top of the existing version without loosing or destroying the files (documents, images, etc.) we created?
    Thanks again for all your help!
    Brian
    ###Permission Repairs###
    Starting permission verification and repair, omitting localized files...
    The file /private/var/run/cups/certs/0 is missing!
    The owner setting for the file /Library/Printers/InstalledPrinters.plist is incorrect!
    It is 501, but should be 0
    Repaired.
    The directory /var/db/lockdown/Library is missing!
    The directory /var/db/lockdown/Library/Printers is missing!
    The directory /var/db/lockdown/Library/Preferences is missing!
    The permissions for the directory /Users/Beth/Library are incorrect!
    They are drwxr-xr-x, but should be drwx------
    Repaired.
    Recreating symbolic links...
    Done.
    Verification complete.
    1624 files examined. 2 permission problems were found and repaired. It is recommended that you verify the permissions again to make sure the values are correct.
    4 missing files/directories found during the verification process. They may be responsible for certain printing problems. Print Therapy cannot replace these items. Please refer to the log file for a list of the missing files/directories. You may need to reinstall OS X to resolve your printing issues. Certain files and directories are deleted when using the Reset Printing System option. These files and directories, if required, will be recreated during normal printing.
    *******************Restarted Computer and re-added printer (test print failed, same problem)*******
    ###Temp & Prefs###
    Starting /private/tmp directory and /tmp symbolic link permission verification...
    Verification complete.
    No problems found with the /private/tmp directory and /tmp symbolic link permissions.
    Begin deleting temporary files for all users...
    Temporary files for all users deleted successfully.
    ###CUPS Tools###
    Stopping the the cupsd process...
    The cupsd process has been successfully stopped. Please note that printing and/or adding printers with the Print & Fax System Preferences pane will not be possible until the cupsd process is running again.
    Deleting the contents of the /private/var/spool/cups directory...
    4 file(s) deleted from the /private/var/spool/cups/cache and /private/var/spool/cups/tmp directories.
    Creating a new cupsd.conf file...
    The cupsd process has been successfully started.
    The cupsd.conf file was successfully replaced.
    *******************Restarted Computer (test print failed, same problem)*******
    ###System Users###
    Verifying root user attributes...
    The information for the root user appears to be valid.
    Verifying Printing Services user attributes...
    The information for the Printing Services user appears to be valid.
    Verifying Print Operators group attributes...
    The information for the Print Operators group appears to be valid.
    ###Reset & Backup####
    Begin resetting the printing system...
    The printing system was reset successfully.
    *******************Restarted Computer and re-added printer (test print failed, same problem)*******
    ###Permission Repairs###
    Starting permission verification and repair...
    The permissions for the file /Library/Printers/PPDs/Contents/Resources/Lexmark C540.gz are incorrect!
    They are -rwxrwxr-x, but should be -rw-rw-r--
    Repaired.
    The permissions for the file /Library/Printers/PPDs/Contents/Resources/Lexmark C543.gz are incorrect!
    They are -rwxrwxr-x, but should be -rw-rw-r--
    Repaired.
    The permissions for the file /Library/Printers/PPDs/Contents/Resources/Lexmark C544.gz are incorrect!
    They are -rwxrwxr-x, but should be -rw-rw-r--
    Repaired.
    The directory /var/db/lockdown/Library is missing!
    The directory /var/db/lockdown/Library/Printers is missing!
    The directory /var/db/lockdown/Library/Preferences is missing!
    Recreating symbolic links...
    Done.
    Verification complete.
    4880 files examined. 3 permission problems were found and repaired. It is recommended that you verify the permissions again to make sure the values are correct.
    3 missing files/directories found during the verification process. They may be responsible for certain printing problems. Print Therapy cannot replace these items. Please refer to the log file for a list of the missing files/directories. You may need to reinstall OS X to resolve your printing issues. Certain files and directories are deleted when using the Reset Printing System option. These files and directories, if required, will be recreated during normal printing.
    ---Second run (verification run)---
    Saturday, July 18, 2009 10:38:13 PM
    Starting permission verification and repair...
    The directory /var/db/lockdown/Library is missing!
    The directory /var/db/lockdown/Library/Printers is missing!
    The directory /var/db/lockdown/Library/Preferences is missing!
    Recreating symbolic links...
    Done.
    Verification complete.
    4880 files examined. No permission problems were found.
    3 missing files/directories found during the verification process. They may be responsible for certain printing problems. Print Therapy cannot replace these items. Please refer to the log file for a list of the missing files/directories. You may need to reinstall OS X to resolve your printing issues. Certain files and directories are deleted when using the Reset Printing System option. These files and directories, if required, will be recreated during normal printing.
    *******************Restarted Computer (test print failed, same problem)*******

  • Airport Express and network printer

    I purchased a new Airport Express with 802.11n and I can configure it properly with no issues with basic functionality. Connecting my HP Photosmart printer via USB cable also works fine. However, connecting it via ethernet connection is problematic.
    The Airport Express does not assign an IP address to the printer. I've validated that the printer is functional by hooking it up directly to my network router and making sure that it gets an IP address from it. That worked fine. However, from the Airport Express I get no IP.
    Can someone provide some clarity on how to get the Airport Express to assign my printer an IP address? Or am I barking up the wrong tree and I should just settle for the USB connection?

    I can't answer your question, but if you watch my post about ethernet networking you may get some helpful advice. My issue is that I can stream music, and use my usb printer fine, but I can't connect my iMac via Ethernet to the Express. Similar problem to you.
    I have tried connecting directly using the default Airport address of 10.0.1.1 and variations thereof and nothing works.
    And the amber light is still flashing... is yours? perhaps this is significant.
    Also, even though I can't print, my printer doesn't show up in the printers list in the Airport Admin Utility. So it definitely sounds as though there is something fishy going on with the Express not seeing things that are attached to it, or something like that.

  • Cancel Printing of individual document during EA29

    Hi,
    In our requirement, we are creating only one spool request for say about 1000 print documents. Now, based on some validation, I need to prevent one of the invoice (not validated) from updating in spool request. I tried using Macro MAC_PRINT_CANCEL and MAC_PRINT_CANCEL_REPEAT.
    These macros are giving the error message in the application log for the failed record, but at the same time, it is getting updated in the spool request.
    EG~: I have selected the print of 10 records. When I am running EA29 with the condition that all 10 records are in one single spool.
    In this case, suppose print document no. 5 fails the validation, I am calling MAC_PRINT_CANCEL in the During LOOP of the DOC_HEADER node.  In this case, after output, the application log has the message of 1 failed record, but at the same time, it is also present in the success log and is partially included for the Spool request.
    The output spool has data for all 10 print documents, but it should have 9 as 1 has been cancelled.
    The print date of the document is not updated.
    Can you please suggest, if there is any way, I can cancel the print of one document from the particular set and have 9 in the output.
    P.S> - We are using only one spool request per 1000 documents.
    Any help would be appreciated.
    Thanks,
    Rajesh Popat

    Hi NimalyaC,
    Thanks for your response.
    But in this case as well, the standard WRITE process for spool would create the default header at the start of each record. In this case, I need to carry out all the validations before actual print of text elements begin.
    In some cases, I have all the values available in the HEADER_NODE, but not all cases are handled. Some of the values for payment / other items comes later in the NODE. I need to explicitly duplicate the NODE to perform validations.
    My requirement is to roll back all the text elements that are processed for this record if the validation of any data in the lower node fails.
    MAC_PRINT_CANCEL does not delete the text that is printed till the point the cancel event is triggered causing partial entry of record in the spool.
    So, if you could help if there is any way the spool data can be rolled back for the particular record it would be really helpful.
    Thanks,
    Rajesh Popat

  • Validation programm  needed for the  xmlfile   generated from  Oracle apps

    Hi ,
    I Generated an xml file from concurrent program .i need to perform validation to that xml file. Is there any program which can validate it.
    It is very urgent .
    Thanks®ards,
    sireesha

    $ORACLE_HOME/bin/schema
    Usage: schema [flags] <instance> [schema] [working dir]
    Where:
        <instance>    is the XML instance document to validate (required)
        [schema]      is the default schema (optional)
        [working dir] is the working directory for processing (optional)
    Flags:
        -0                Always exit with code 0 (success)
        -c                Extra tests to improve code coverage
        -e <encoding>     Specify default input file encoding
        -E <encoding>     Specify output/data/presentation encoding
        -i                Ignore provided schema file
        -o <num>          Validation options
        -p                Print instance document to stdout on success
        -v                Show version number
        -u                forced to Unicode path

  • Any  *USEREXIT* available to check PGI done or not while printing delivery

    My Requirement is
    Printing of the delivery ticket (Delivery Challan) should be done only after post goods issue and not before that. Hence it has to be validated before every printing.
    So, the customer can be given delivery ticket only after post goods issue and no changes can be done subsequnelty in the system.
    Any  USEREXIT available to check PGI done or not while printing delivery challan?
    Please help me in this regard.
    Regards,
    Anbu

    I have checked Functional SPRO setting in T.Code: NACE.
    In the Output Determination Procedure for Delivery - against the output type there is a column "REQUIREMENT". U can use requirmenet "1" and then system will issue output only after PGI.
    The Code in Routine 1 is as follows -
       ***INCLUDE LV61B001 .
    FORM KOBEV_001.
    Work area KOMKBV2 is available*
    If goods issue has been posted for the delivery, then the output*
    should be created.*
      IF KOMKBV2-WBSTK = 'C'.
        SY-SUBRC = 0.
      ELSE.
        SY-SUBRC = 4.
      ENDIF.
    ENDFORM.
    FORM KOBED_001.
    ENDFORM.
    I have gone through SAP Note 415716 But Still it is NOT working.
    Any clues?
    Regards,
    Anbu

Maybe you are looking for