Smartform Print status

Hello Experts,
When i print my PO(me23n) smartform i need to display the print status as Original or Re-Print.
if it has already printed then it should show RE-PRINT on the top corner of the SMART FORM Printout.
Can any one suggest me how to check the status of the printed documents and display accordingly
i.e Original or REPRINT.
Thanks
Dan

>
Dan wrote:
> I am querying NAST table for NAST-MANUE field.
> If NAST-MANUE = SPACE.
> i am displaying is as a ORIGINAL (1st time)  .
> Is this correct?
Well, this is not entirely accurate. This field simply means that an entry was created manually by the user. This could be a copy and could be an original if, for example, a condition record was missing and a user created the output manually. However, in about 99% of the cases this will be the correct assumption.
The suggestion to use ANZAL is completely wrong. This field is simply for the number of copies to be printed. Could be 3 on the first run and 1 on the second, you never know.
In the invoice form interface SAP added a standard parameter IS_REPEAT to handle this. Check if it is available for the purchase order.
Actually the whole original/re-print thing is kind of shady. For example, there could be a printer jam and the users would have to re-print to get an original. How would you handle this?

Similar Messages

  • Printer Status Report

    Printer: HP Photosmart 5515 on the label (but HP Photosmart 5510d B111h on the Printer Status Report).
    Operating system: Win 7
    Why does item 25 in my Printer Status Report show incorrect "Ink Install" dates? Depending on the colour, the date of installation of each ink cartridge is given as four or five days earlier than the actual date of replacement.  I would have thought that the date would be exactly as per my desktop computer to which the printer is connected via a USB cable.
    The printer is less than one year old and has given the incorrect dates from the moment the original set-up cartridges were replaced.

    HI LincsP,
    You are correct that the dates should in fact change and show the exact dates. This will not affect your ability to print or print quality at all. It may have something to do with you needing a product update. You can click here to find out how to check for a product update on your printer. 
    When it's time to change a cartridge next time print the Status report before you replace it and then again right after you replace it. If the same thing happens please scan the sheets and attach them to this thread for me to look at. 
    Let us know what happens.
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • "unable to get printer status" and "server-error-not-accepting-jobs"

    I've got an Intel Mac Pro with Tiger. When I accepted the latest update from Apple, I lost all my defined printers! I've re-added a local USB printer and a networked Laserjet - fine. But I also added a Phaser 850 color printer (networked) which used to work fine. It connects ok, and opens the printer queue window, but when it tries to print, it says "Unable to get printer status (server-error-not-accepting-jobs". The queue stays active (not stopped) but the jobs don't move. I've tried deleting the printer and re-making it - same deal. What's going on?
    Mike

    Hi Mike,
    One think I really dislike about OSX is the Rocket Science needed to just Print!
    Might try these two...
    Mac OS X: About the Reset Printing System feature ...
    http://support.apple.com/kb/HT1341?viewlocale=en_US
    Might try Printer Setup Repair 5.1...
    http://www.fixamac.net/software/index.html

  • Printing to Default printer (it's wireless) goes to Queue in Printing Status but never prints.

    My Photosmart D110a is connected wirelessly to my computer and I have it set as the Default printer running on Windows 7.  It prints fine from local apps like Word.  I've run the diagnostic utility and it is all good, all green check marks.  When I try to print from the web (like a coupon, for example), it goes to the print queue but is stuck there in 'Printing' status.  As I've been trying the troubleshooting steps, I've noticed that the Port is WSD and not an HP port.  Is this part of the problem?  Also, I used to have an HP Deskjet 5150 connected via USB and am wondering if it's getting confused by that somehow.  Would like to remove all references to the Deskjet but  I can't find a way to eliminate it.

    What browser? Have you tried a different browser?
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Smartform printing on Dot Matrix printer for continuous stationery

    Hi Friends,
    I'm throwing my smartform print output on printer using local printer .Now the problem is as i have designed the SF using A4 page size , the output on Dot matrix is my output (WHICH IS 1/3rd OF a PAGE) + rest of empty space which is actually wasting pages.
    Settings in SPAD are as follows:
    Output device : Lp01
    Device type : SWIN
    and page format : LINE_21
    Format Type : LINE_21
    What i want is a restricted output .please let me know the possible solutions and do i need to load the driver for my printer in SAP as well (Printer is  : wipro WEP 800 DX)
    Thanks and Regards,
    Sachin Soni

    Hi,
    Change the page settings in the form
    -> under the form attributes you can find the page format there you can set up your required format
    Thanks,
    Nethaji.

  • Problem with this out.print(status.equals(

    Hi i've got another problem.
    The following codes is as follows:
    String status = (String)rs.getString("Status"); //status is either "O" - Open or "C" - closed
    out.print(status)
    out.print(status.equals("O"));
    it returns me FALSE even in my database it is O... I am not sure why.. can someone enlighten me? and it works if i use
    out.print(status.charAt(0) == ('O');
    I am not sure why..
    please reply asap... thanks

    try follows
    out.print(status) ;
    status.trim();
    out.print(status.equals("O"));That won't change anything. status.trim() won't actually change status; it just returns a substring. If you actually want it trimmed, you should do this:
    status=status.trim();
    out.print(status);
    out.print(status.equals("O"));

  • Windows XP computer can't monitor Canon Pixma iP5000 printer status

    I just replaced old wireless router with Airport Extreme. Attached Canon Pixma iP5000 and can print using Bonjour, but the Canon BJ printer status applicaton (shows ink levels and reports printer issues) is not working (apparently can't communicate with the printer) on my main computer (Compaq Presario running Windows XP) which is attached to Airport Extreme by ethernet cable. Any suggestions on a solution?

    To my knowledge this kind of ability wouldnt work but it all depends on the printer drivers aka "software" as when you have the printer connected to the airport express or extreme its being used via a print server where as the software included with the printer may not support such as most manufacturers intend for the printer to be connected directly. There are however some manufacturers such as hp and so on that do have printers designated as "network printers" that do have such ability to be monitored over the network via software for supplies, status n etc.
    To sum it up though from what i can see on the canon website it doesnt look like this is going to work. You can print to it but as for the other features as ink monitoring it looks like unless its directly connected you cant use it.

  • PO Printing Status Indicator - Table

    Hi Guys,
    We are developing one report for PO Printing Status.
    In which table PO Printing status updated after user Prints PO.
    Regards,
    Jackie

    Hi Jackie
    The PO Print status will not be updated in table. Its from a Structure TSP01_SP0R, Print status field name RQSTATUS_V
    Regards
    Shantha Kumar

  • Print Status On AR Invoice

    Hi All,
    I need to create a UDF that will display the documents print status.  I have created the UDF and now I need to create a query that will look at the document number and then the print status and based on that return a yes or no value in my UDF for printed or not printed.  Problem I have here is that I don't know how to refresh this field regularly as you will only look at the print status once the document has already been added to the system therefor when you go back to the document nothing is really refreshing.
    Could somebody please explain to me how I could get this to work and also what query can achieve this.
    Any help will be greatly appreciated.

    Hi Verburgt Quinn,
    You could create a query like this and set it to refresh based on Document Number field.
    SELECT T0.[Printed] FROM OPCH T0 Where T0.DocNum=$ OPCH.DocNum
    This query is for A/P Invoice and change the table to the required one.
    Regards,
    Vijay Kumar
    SAP Business One Forums Team

  • Smartform print program for order confirmation

    Hi experts.
    I am looking for a smartform print program for order confirmation.
    The order confirmation in standard is a script with the name RVADOR01 and I tried to copy and change but I don't know which to eliminate and whcih to keep it.
    If any body written the program already please provide me or provide the link to check.
    Thanks in advance
    Sai

    this is the processing form.
    form processing.
      data: lf_fm_name            type rs38l_fnam.
      data: ls_control_param      type ssfctrlop.
      data: ls_composer_param     type ssfcompop.
      data: ls_recipient          type swotobjid.
      data: ls_sender             type swotobjid.
      data: lf_formname           type tdsfname.
      data: ls_addr_key           like addr_key.
      data: document_output_info type  ssfcrespd,
            job_output_info type ssfcrescl,
            job_output_options type ssfcresop.
      perform get_data.
      check retcode = 0.
      perform set_print_param using      addr_key
                                changing ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         retcode.
    *Get the Smart Form name.
      if not tnapr-sform is initial.
        lf_formname = tnapr-sform.
      else.
        message e001(/smb40/ssfcomposer).
      endif.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
        exporting
          formname           = lf_formname
        importing
          fm_name            = lf_fm_name
        exceptions
          no_form            = 1
          no_function_module = 2
          others             = 3.
      if sy-subrc <> 0.
      error handling
        retcode = sy-subrc.
        if sy-subrc = 1.
          message e001(/smb40/ssfcomposer).
        endif.
        if sy-subrc = 2.
          message e002(/smb40/ssfcomposer) with lf_formname.
        endif.
        perform protocol_update.
      endif.
      call function lf_fm_name
        exporting
          archive_index        = toa_dara
          archive_parameters   = arc_params
          control_parameters   = ls_control_param
          mail_recipient       = ls_recipient
          mail_sender          = ls_sender
          output_options       = ls_composer_param
          user_settings        = ' '
          is_nast              = nast
          is_vbdka             = vbdka
          is_addres            = addr_key
        importing
          document_output_info = document_output_info
          job_output_info      = job_output_info
          job_output_options   = job_output_options
        tables
          it_vbdpa             = tvbdpa    "Item information
          it_vbdpau            = tvbdpau   "Subitem numbers
          it_vedpa             = tkomservp  "Contract Item Validity
          it_vedka             = tkomservh  "Contract Header Validity
          it_vedpn             = tkomservpn "Contract Item Cancellation Data
          it_vedkn             = tkomservhn "Contract Header Cancellation DA
        exceptions
          formatting_error     = 1
          internal_error       = 2
          send_error           = 3
          user_canceled        = 4
          others               = 5.
      if sy-subrc <> 0.
        retcode = sy-subrc.
        perform protocol_update.
    get SmartForm protocoll and store it in the NAST protocoll
        perform add_smfrm_prot.
      endif.
    endform.                    "processing

  • Photosmart 7520 - How to view on screen the printer status report

    How do I view on the monitor or printer screen the 'Total pages printed' figure, which otherwise I need to frequently print out via "Maintain your computer>Device reports>Print Status report"?  I'm using HP Photosmart 7520e, wireless connected, Windows 7 Ult.  Thanks.
    This question was solved.
    View Solution.

     Hello emmandell,
    Welcome back to the HP Support forums.  I understand that you would like to learn how to view your page count without having to print a Printer Status Report.
    The information can be viewed online using the printer's embedded web server (EWS).  Please follow the steps below:
    1)       Press the wireless icon  on the front panel of the printer to find the printer's ip address.
    2)      Type the ip address of the printer into the address bar of your browser, this will bring up the EWS. I recommend that you bookmark this web page for future use.  Then please click on 'Tools' tab.
    3)      Click on 'Reports' along the left hand side menu
    4)      This will print up a usage screen with the total page count shown across the top
    Hope this helps you save on ink and paper.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Print Status Dialog Box

    In my printer simulation, I want to display a dialog box that shows the print status. It should consist of a title bar with the X button, and a message. This message will update each time I change the string it uses. An OK (actually I'd prefer a Close button) should appear after the print queue is empty. And I wouldn't mind a little info icon.
    Here's what I'm currently using:
    JOptionPane.showMessageDialog(null, printStatusMessage, JOptionPane.INFORMATION_MESSAGE);Any way to hide the button and bring it back later? And how do I refresh the message after I change the printStatusMessage string?

    Instead of using a JOptionPane create your own JDialog (see Java Tutorial). Then you can add whatever you want.

  • Smartform printing & sending multyple table data

    Hi All..
    I designed a smartform & print Pgm.( for Invoice not SAP standard)
    How can i send multiple table(kna1,vbrk,vbrp,vbdk) data in to a smart form? & how can i declare that internal table in smart form & in print pgm?
    And it is also not printing.even i set it in NACE.
    Plz any one can help me asap..
    Thanks & Regards
    Raj

    Hi Raj,
    You must have to create a new Structure and a new TABLE TYPE in program to send multiple data.
    Lets say, you have created Main internal table in your print program to send multiple data to smartforms as below.
    TYPES: BEGIN OF ty_cus,
              F1,
              F2,
              F3,
              F4,
           END OF ty_cus.
    so, instead defining above types in your program, just create a new structure(lets say Z_CUS) with the above fields in SE11.
    Then create new TABLE TYPE (ZT_CUS) with that structure (Z_CUS).
    Now, in your print program, create internal table with the type of Z_CUS as below.
    DATA: it_cus TYPE TABLE TYPE z_cus,
          wa_cus TYPE z_cus.
    And in the Layout, Form interface - Tables section give it as below
    IS_CUS    TYPE   ZT_CUS.
    In your print program, assign your internal table to IS_CUS for generated function module.
    CALL FUNCTION fm_module.
    EXPORTING
    IMPORTING
    TABLES
       IS_CUS   = it_cus
    EXCEPTIONS
    Let me know if you hav any quesions

  • Smartforms - Printing Label

    Hello All,
    I´m developing a smartform to print information in a label that has 6cm height.
    My problem is that when I print the informaton the smartform prints information of the next label on the previous information. It seems that the smartform understands my label has 5cm of height.
    How can I 'enlarge' the height of the window or table so smartform will print the correct information on the next label ?
    Thanks in advance.
    Best regards,
    Marcelo Perine

    Matt,
    The smartform receive information in Form interface -> Tables -> ZTB0014
    Each register of this table is printing in one label. Then, my problem is that the smartform is printing two registers in one lable. It´s seens that the new-page function ins´t working.
    Main window
    -Loop
    --Table
    ---Text1
    ---Text2
    --Command
    Main - Output options
    Left margin 0,00 CH
    Upper margin 0,00 LN
    Width 82,00 CH
    Height 15,00 LN
    Loop
    Internal table ZTB0014 INTO EST0014 
    Table
    Table width 80,00 CH
    Horizontal alignment Left 0,00 CM
    Minimum Height 0,00
    Line1 50,00 CH | 30,00 CH
    Text1
    (1) Recebedor das Mercadorias.    
      &EST0014-NAME1&                 
      &EST0014-STRAS&                 
    &EST0014-ORT01& - &EST0014-REGIO&
      &EST0014-ORT02&                 
      CEP &EST0014-PSTLZ&             
    (4) Transportadora                
      &EST0014-TRANS&                 
    Text2
    Volume             
      &EST0014-VOLUM&  
    Command
    X Go to new page %PAGE1                                            
    Reset paragraph number P1
    Message was edited by: Marcelo Perine
    Message was edited by: Marcelo Perine
    Message was edited by: Marcelo Perine

  • Printing Status in PO Document

    Dear expert,
    How to give printing status "ORIGINAL" for the first print, "REPRINT 01" for secound print etc, in PO document if i have Z sapcript which assign in standard program (SAPFM06P) ?
    Thanks before.
    - ely -

    Hi Anji...thanks for your replay, but i will clarify about my question before.
    here the code that I used to give printing status :
    FORM f_cetakan_ke TABLES in_tab STRUCTURE itcsy
                            out_tab STRUCTURE itcsy.
      DATA: ld_data LIKE zlog_print_po,
            ld_ebeln LIKE ekko-ebeln,
            ld_aedat LIKE ekko-aedat,
            ld_newdt LIKE sy-datum,
            ld_newtgl LIKE sy-datum, 
            ld_cetakan(11).
      DATA: ld_nast_sc LIKE nast.
      DATA: ld_nast LIKE nast.
      LOOP AT in_tab.
        CASE in_tab-name.
          WHEN 'EKKO-EBELN'.
            ld_ebeln = in_tab-value.
          WHEN 'EKKO-AEDAT'.
            CONCATENATE in_tab-value6(4) in_tab-value3(2) in_tab-value(2)
                   INTO ld_aedat.
          WHEN 'NAST-KAPPL'.
            ld_nast_sc-kappl = in_tab-value.
          WHEN 'NAST-OBJKY'.
            ld_nast_sc-objky = in_tab-value.
          WHEN 'NAST-KSCHL'.
            ld_nast_sc-kschl = in_tab-value.
          WHEN 'NAST-ERDAT'.
            CONCATENATE in_tab-value6(4) in_tab-value3(2) in_tab-value(2)
                   INTO ld_nast_sc-erdat.
          WHEN 'NAST-ERUHR'.
            ld_nast_sc-eruhr = in_tab-value.
        ENDCASE.
      ENDLOOP.
      SELECT SINGLE * FROM zlog_print_po INTO ld_data
          WHERE ebeln = ld_ebeln.
      IF sy-subrc = 0.
        ld_data-cetak = ld_data-cetak + 1.
        CONCATENATE 'Re-print' ld_data-cetak INTO ld_cetakan
                   SEPARATED BY space.
      ELSE.
        ld_data-mandt = sy-mandt.
        ld_data-ebeln = ld_ebeln.
        ld_data-datum = sy-datum.
        ld_data-uzeit = sy-uzeit.
        ld_data-uname = sy-uname.
        ld_cetakan = 'Original'.
      ENDIF.
      IF ld_data-cetak GT 2 AND ( sy-ucomm NE 'PREVOUTPUT' AND
         sy-xcode NE '9ANZ' AND sy-xcode NE '9DPR' ).
        SELECT SINGLE * FROM nast INTO ld_nast
            WHERE kappl = ld_nast_sc-kappl
              AND objky = ld_nast_sc-objky
              AND kschl = ld_nast_sc-kschl
              AND erdat = ld_nast_sc-erdat
              AND eruhr = ld_nast_sc-eruhr.
        ld_nast-vstat = 2.
        MODIFY nast FROM ld_nast.
        MESSAGE e000 WITH 'Print PO form just allow 3 times.'.
      ENDIF.
    IF sy-ucomm NE 'PREVOUTPUT' AND sy-xcode NE '9ANZ' AND
         sy-xcode NE '9DPR' .
        MODIFY zlog_print_po FROM ld_data.
      ENDIF.
      LOOP AT out_tab.
        CASE out_tab-name.
          WHEN 'D_CETAKAN'.
            out_tab-value = ld_cetakan.
        ENDCASE.
        MODIFY out_tab.
        CLEAR out_tab.
      ENDLOOP.
    ENDFORM. 
    and the problem occure when PO document which I printed more than one page where the program will count every page.
    example :
    there are 3 page of PO document will be printed for the first time, should be this document have status "ORIGINAL",
    but with my program this document have an status "REPRINT 02" what wrong about my program ?
    Note : I used standard program SAPFM06P and Z sapscript than this routin called from Z sapscript.
    Thanks.
    -ely-

Maybe you are looking for

  • Mini Display Port to HDMI sound problem

    I have an iMac 11, 2 (MacOS X, 10.6.8).  The Mini Display Port is supposed to be able to carry sound, (using a Monoprice Mini DisplayPort to HDMI Converter with Audio, and HDMI cord supporting 3D, and Audio Return.)  I am playing downloaded movies wi

  • HT3696 is it possible to upgrade video card in mac book?

    Hi Folks, I'm a Mac Newbie, I was wondering if there is a way to upgrade video card on Mac Book? I'm trying to add final cut and it tells me my video card won't work with it, appreciate any suggestions. RTD

  • Currency "Difference is too large for clearing" when using t-code F-32

    AR Business process is as follows: Invoices are issued.  When payment is received, it is posted using F-26, with reference to customer but no specific invoice. F-32 is then used to match payments against invoices, and clear them.  When trying to clea

  • "SFC /VERIFYFILE" doesn't work. Is it a BUG?

    Hello to all. Original topic: hxxp://answers.microsoft.com/en-us/windows/forum/windows8_1-performance/sfc-verifyfile-doesnt-work-is-it-a-bug/17542cd5-1eee-4cb1-948c-d9ff68267e3a I found that SFC /VERIFYFILE doesn't work on my machine. I can't know if

  • How does one delete incorrect or 'white' artwork?

    This is probably a very easy fix, but I can't figure out how to delete artwork in iTunes. Some of the songs show a blank white page or the incorrect artwork. I have plopped the correct artwork but it won't show it; I can select it, the artwork is the