Initiate print using NAST entries in background

Hi there,
We create an entry on NAST table, generated from an GR/GI individiual slip. Dispatch time is given "1 Send with periodically scheduled job".
Question is, how can we initiate the print function using an own program. The goods received confirmation event occurs, this will initate the print from NAST. After this, the program should start and print NAST entries. So scheduling the job will not work in this scenario. RSNAST00 could not be initated in background such a wise. Also some dialog screens appear for the selected NAST entries.
At the end the output type on the material document should appear with the updated status.
Thanks for your input.

HI
GOOD
GO THROUGH THE FOLLOWING DETAILS TO KNOW MORE ABOUT THE NAST
NAST Message Status
http://idocs.de/www5/mySap/PDF/Book_06.pdf
NAST=>
Another common application of a message queue is to collect requests for delayed
processing, e.g. as a batch job during off-peak times. Typically this is done with
print documents like invoices which are due to be sent and thus printed only once
75 per week. The SAP R/3 NAST table is such a message queue and the ABAP
RSNAST00 is the matching handler for it.
The message control is also known as the NAST messaging due to the name of
the database table NAST (germ: NAchrichtenSTeuerung). The mechanism is, that
a requesting application deposits a request message in table NAST and an
interested consumer application eventually picks them up and decides upon an
85 appropriate action. The consuming action is fully independent from the requester.
If the requester expects a response, it has to poll the expected result tables.
• The requesting application stores a message in table NAST
• A program (usually RSNAST00) polls the table NAST for unprocessed
messages and activates the program that has been dedicated to process that
90 message
• The processing function finally finalizes the message by marking the message
as processed and storing status information and eventual log data to it
http://idocs.de/www5/mySap/PDF/Book_06.pdf
THANKS
MRUTYUN

Similar Messages

  • How to use NAST entry inside a printing program.

    Hi,
         I am writing a program to print an invoice using smartform.
    I am refering NAST-OBJKY to get the invoice No.
    My program throwing syntax error that NAST-OBJKY is unknown.
    But if I copy a standard printing program, and use it different name, there is no error.
    Thank U for Ur time.
    Cheers,
    Sam

    hi
    u r using the correct on but first movethe value to another varable like
    VBRK-VBELN
    USE THIS INCLUDE IN U R PROGRAM <b>RVADTABL</b>
    SAM the reason for u r problem is NAST is not declared in u r program... but in the sandard program they have declared it in the include RVADTABL
    Message was edited by:
            Naresh Reddy

  • Restrciting NAST entries while 'print preview' of VA02/03 sales order

    Hi experts,
    While doing 'printing preview' for the displayed  VA03/02 sales order, an entry is created in the NAST table.
    The requirement is to not create(or diffrentiate based on some flag) this entry in NAST table while doing 'printing preview' ..but for actual print the entry in NAST table should be created.
    Finally the main aim is to differentiate between print preview vs actual print based on NAST entry.
    I tried debugging but the parameters for print preview vs actual print  are same.
    How can the print preview action be distinguished from actual print in such cases.
    Thanks

    Hi,
    The requirement is to not create(or diffrentiate based on some flag) this entry in NAST table while doing 'printing preview' ..but for actual print the entry in NAST table should be created.
    For your requirement to differentiate, you can use the field VSTAT in NAST table, this has possible values of 0, 1 and 2.
    0     Not processed
    1     Successfully processed
    2     Incorrectly processed
    So as and when an output type for printing is attached, the status of the output remains '0' until the form is actually printed, so in case of print preview it will remain to be '0'. This will change to '1' once the Print command is actually issued.
    Regards,
    Chen

  • I'm using Acrobat XI on Windows.  I want to add my company's logotype as a watermark to a PDF document.  How can I do this?  When I add it as a file (jpeg), the logotype is printed on a white square background.  It will be positioned on the PDF document o

    I'm using Acrobat XI on Windows.  I want to add my company's logotype as a watermark to a PDF document.  How can I do this?  When I add it as a file (jpeg), the logotype is printed on a white square background.  It will be positioned on the PDF document on a light, uniform yellowing color. I want this to show through, as if the logotype was stamped directly on the document.  Thanks.age to be completely transparent

    The above was truncated and garbled a bit and I can't figure out how to edit it.  So just to repeat the question a bit more clearly: "I'm using Acrobat XI on Windows.  I want to add my company's logotype as a watermark to a PDF document.  When I add it as a file (jpeg), the logotype is printed on a white square background (because the jpeg is square with a white background of course).  It will be positioned on the PDF document on a light, uniform yellowish color, which I want to show through. I want it to look as thought the logotype was stamped directly on the document.  Thanks.

  • Printing SAP invoice on SAP printer using custom SAP report

    Hi SAP Experts,
    We have the following requirement.
    We need to create a custom report in ABAP to print the Invoice on the printer specifed in the input selection screen.We don't want to use the external commad using GUI.Can annyone please suggest how can we create a spool directly using the invoicve no in sap.
    Thanks,
    Prathamesh

    Hi Prathamesh,
    Follow this approach.
    Get NAST entry corresponding to invoice number(invoice number = objky).
    insert this piece of code :
         gwa_nast-vstat = 1.
         gwa_nast-erdat = sy-datum.
         gwa_nast-eruhr = sy-uzeit.
         gwa_nast-usnam = sy-uname.
         gwa_nast-manue = 'X'.
         gwa_nast-vstat = 0.
         gwa_nast-LDEST = P_printername_from_selection_screen.
         CLEAR gwa_nast-datvr.
         CLEAR gwa_nast-uhrvr.
         CLEAR gwa_nast-cmfpnr.
       MOVE gwa_nast TO nast.
       PERFORM einzelnachricht_dialog IN PROGRAM rsnast00 USING sy-subrc.
       IF sy-subrc NE 0.
         PERFORM objekt_entsperren IN PROGRAM rsnast00.
         IF sy-subrc EQ 9.
           RAISE print_error_dial.
         ELSE.
           RAISE print_error.
         ENDIF.
       ENDIF.
       SET SCREEN 0.
       PERFORM objekt_entsperren IN PROGRAM rsnast00.
       COMMIT WORK AND WAIT.
    the above will generate a spool.
    Thanks,
    Anil

  • In iTunes, my printing is white and the background is black, How do I change it back to white printing on a black background.

    In my iTunes store, the printing is white and the background is black and I have forgotten how to change it back to black printing on a white background? I know that it is a simple answer, but right now I cannot think of it.
    Also, what is the "other" when you are syncing an ipad in itunes and in my case the other is more than half of my 64Gb. How do I find out what it is and then get rid of it if I want to?
    Thanks

    Hi gramie47,
    Sorry to hear that didn't resolve the issue.
    I checked online for issues printing from the Internet, found a couple of things you can try. Most likely it is a setting that needs to be changed in the browser settings, since the printer prints fine from the computer.
    From Internet Explorer, go to File, Page setup, Remove check from "Printer background color and images" if checked, or vise versa, to see if that helps.
    Here is another document you may take a look at.
    Map Images May Not Print Properly When Using Internet Explorer.
    If you continue to have issues, contact your Internet Provider for further assistance.
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • How to print CWiGraph control in white background and different font?

    I have a CWiGraph control in dialog. I look at your example for printing the CWiGraph control, but I don't want print the exact image like showing on the screen, I like to print the graph in white background, not the same color like graph frame and plot area on the screen. Also I want to change a label font to show on the paper. How to do that?
    Thanks.
    mliu

    First_knight wrote:
    please tell me am i thinking right
    about this method: setImageableArea(.....)
    public void setImageableArea(double x, double y,  double width, double height);
    like I said, I've tried this method and it doesn't seem to do anything.
    the width=the JFrame Width,the height=the JFrame Height right?actually, when printing, 72 points (printing version of pixels) = 1 inch, so to do WYSIWYG, you need width = JFrameWidth * 72.0 / Toolkit.getToolkit().getScreenResolution. Ditto with height
    upper left beginningx(0)---------------------------200--------------------------------600-----------------------------------y(1000)upper right beginningyou need to do something like PageSetup.getImageableX and do Graphics.translate(x,y);
    also, if your page width = 720, that = 10 inches - that's a wide page (unless its in landscape)
    so if i want the JFrame To Be In The Center Of The Page I Would Choose From x=200 ,y=600 depending that frame width is 400Actually, it would be 300 - 700 in your example
    Because when i tried to use:setImageableArea(200, 600,  400, 200);like the above code
    no changes occurs in the printed paperYes. You need to offset the Graphics object

  • What's the best way to save an 8.5 x 11 image for use as a page background in a PDF?

    What's the best way to save an 8.5 x 11 image for use as a page background in a PDF? My goal is to have a relatively small final .pdf file size that includes numerous pages with full 8.5 x 11 images as backgrounds in the document. If I save at 8.5 x 11 and 72dpi (example), the image is not 8.5 x 11, and the quality is not good enough. I need help with size, dpi, and file format to save as before I place it in InDesign and then save as a .pdf.
    Thanks,
    Jim

    Do exactly what I said then.  Create the InDesign document of the required dimension, and chose whether it will be high quality print, or Interactive PDF.  It really doesn't mater what format you bring the image into that document.  It can be JPG, PNG, but I usually use native Photoshop PSD.  The image does have to be of high enough resolution, but it can be many times bigger than iis required for the final export.  (InDesign does not import the image, but rather references it on your hard drive.)
    When you have placed your text and finished your page, then export it to PDF, but go through the tabs chosing suitable settings.  If the image needs to be downsized, InDesign will do that at this stage while building the PDF.
    If you can tell us how this presentation will be made (Projector, overhead projector, printed page etc. or just emailed to the end users) we can help you more with the final output settings. 

  • I cant' print using firefox. print preview won't display, won't print, printing dialog box won't display, etc

    Seems like since I updated to firefox 5 I can't print web pages, print preview won't work. I click on the print option under file and nothing displays or prints.

    Try the Firefox SafeMode and see if you can initiate printing from within Firefox. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Using NAST info for selection screen design

    Hi
    I am doing customization for RFQ printing ( TCODE ME9A)
    I want to know can I get the same selection screen as of ME9A using NAST info for my z driver program.
    Which function module can be used?
    Kindly provide sample code
    Regards
    Harshada

    Hi Piyush,
    Add the below code in your program.
    *Note: you have to take two parameters for files.
    If you select check box then p_pc parameter is visible.
    if you dont select check box then p_app parameter is visible.
    PARAMETERS: p_chk1 AS CHECKBOX USER-COMMAND rusr.
    SELECTION-SCREEN: BEGIN OF BLOCK blk1 WITH FRAME.
    PARAMETERS: p_pc  LIKE rlgrap-filename MODIF ID abc.
    PARAMETERS: p_app LIKE rlgrap-filename MODIF ID def.
    SELECTION-SCREEN: END OF BLOCK blk1.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'ABC'.
          CLEAR: p_pc, p_app.
          IF p_chk1 = 'X'.
            screen-active = 1.
          ELSE.
            screen-active = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
        IF screen-group1 = 'DEF'.
          CLEAR: p_pc, p_app.
          IF p_chk1 <> 'X'.
            screen-active = 1.
          ELSE.
            screen-active = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_app.
      PERFORM get_fname_app.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_pc.
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = p_pc.
    *&      Form  get_fname_app
          text
    FORM get_fname_app.
      DATA: c_fnh_mask TYPE dxfields-filemask VALUE '.',
      search_dir TYPE dxfields-longpath VALUE '/sapglobal/users',
      file_path LIKE dxfields-longpath.
      CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
        EXPORTING
          i_location_flag = 'A'
          i_server        = ' '
          i_path          = search_dir
          filemask        = c_fnh_mask
          fileoperation   = 'R'
        IMPORTING
          o_path          = file_path
        EXCEPTIONS
          rfc_error       = 1
          OTHERS          = 2.
      IF sy-subrc EQ 0.
        p_app = file_path.
      ENDIF.
    ENDFORM.                    "get_fname_app

  • Printing using direct IP address of printer

    Printing using direct IP address of printer
    Is there a way in Adobe Livecycle where we can directly print using printer’s IP address by passing print server?
    If so what settings we have to do i.e.
    which entries to be added on TrustStore,
    which protocol to be use,
    which format we have to use in PrintURI?
    I have tried,
    Protocol: DirectIP
    PrinterURI: \\<Print server's name>\<Printer's IP address>
                     \\<Print server's IP address>\<Printer's IP address>
                     \\<Print server's name>\<Printer's IP address>:9100
                     \\<Print server's IP address>\<Printer's IP address>:9100
                     \\<Printer's IP address>:9100
                     \\<Printer's IP address>
    I have tried all these PrinterURI and I keep getting belwo error,
    Caused by: java.net.UnknownHostException
    Thanks

    Hello Casc-ade,
    Welcome to the HP Forums.
    I see that you are having some connectivity issues over a wireless connection.
    So I can better assist you, please respond with which Operating System you are running on your Mac as well as the Printer Model number.
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    How Do I Find My Model Number?
    Write me back when you have time and I will be happy to help.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • I get the following error when i try to print to a brother hl 5470dw printer  using mac 10.6.8 : /usr/libexec/cups/filter/pstoraster failed

    i get the following error when i try to print to a brother hl 5470dw printer  using mac 10.6.8 : /usr/libexec/cups/filter/pstoraster failed

    This seems to come up sometimes.  Here is a very detailed discussion, but at the end is a configuration file entry that might be simple to fix (or not): /usr/libexec/cups/filter/pstocupsraster failed | Apple Support Communities

  • I just updated to iOS7 and Pages will not print using AirPrint!

    Like the title says, Pages will not print. It's just a Pages issue. I can print using AirPrint when I print things from Safari or photos stored on my iPad. I've tried rebooting my router, "forgetting" my wifi connection and hooking it up again, I've exited Pages completely (so it's not running in the background) numerous times...nothing is working.
    Strangely, Pages finds my printer just fine and goes through the motions of printing. It will tell me the usual "connecting to printer", "preparing printer", "now printing"...but nothing happens with the printer. It's like the connection between Pages and the printer gets lost somewhere. Pages used to print just fine before I updated to iOS 7. Whether that's just a coincidence or not, who knows. Has anyone else had this issue and found a solution?

    I Also have the exact same issue, did you manage to resolve the issue?

  • Using NAST

    Hi
    I am doing customization for RFQ printing ( TCODE ME9A)
    I want to know can I get the same selection screen as of ME9A using NAST info for my z driver program.
    OR
    When I assign my z-program & z smartform in NACE for the output type of RFQ, is it possible that the same selection screen is called?
    Which function module can be used?
    Kindly provide sample code
    Regards
    Harshada

    Yes , you can copy RM06ENDR_ALV ( program for ME9A) into Z program and make changes.
    Regards,
    Nageswar

  • How to suppress extra form feed for character report printing using ORARRP?

    Dear All,
    We are using Oracle Application Server 10g (10.1.2.0.2) on Windows 2003 Server and most of our client PC's are Windows XP Professional machines. We are migrating our existing oracle application from 2-tier architecture to 3-tier architecture (6i to 10g). We have installed ORARRP utility for remote direct printing and to a limited extent we are successfull in getting the things work out for our system users, However, we are facing a problem using the ORARRP utility for which we are not able to find a solution till date.
    We have configured ORARRP utility on every user's PC and the printing of bitmap reports is working well. However, while printing CHARACTER reports using ORARRP utility, after the report gets printed, an EXTRA FORM FEED is issued by ORARRP to the printer and because of this the printer stationary skips one extra page and advances to the next page. Please note that this EXTRA FORM FEED happens only while printing a CHARACTER REPORT.
    Has anyone come across such a problem using ORARRP ? How can we avoid this extra FORM FEED from CHARACTER REPORT printing using ORARRP ? Is there any other tool which supports remote direct printing just like ORARRP?
    I shall be highly obliged if anyone could reply to my queries ASAP.
    Regards,
    KrishnaKumar S

    Please help ! I tried the "send_form_feed" and "postscript_dos_print" parameters without success. The extra form feed is always there. Thanks.

Maybe you are looking for

  • Modal Dialog won't close before tasks complete..

    Hi all, Basic, but quite infuriating problem. Because Illustrator doesn't allow palette type windows, nothing can happen whilst the dialog is open. So, I've been using scripts I wrote over six months ago now for producing sets of scale elevations of

  • Why is my iphone4 so sluggish with ios7? Esp. Voicemail!

    It is slow to respond to touches in general. Particularly enfuriatig was how unresponsive the Voicmail interface is in deleteing old messages. Holy cow!

  • MacBook Pro MD313, Late 2011 and SSD.

    Hi everyone! I would like to upgrade my MacBookPro 8,1 and add a ssd. Diffrent people said that the SuperDrive has SATA2 and place for HDD has SATA3. It's true? What is the ssd better for my situation? What do you think about http://www.amazon.com/In

  • Set context privilages issue

    Hi I create a procedure but get this error. CREATE OR REPLACE package body SearcProduct_Pkg  is procedure SearchProVar(PCode in varchar2, Storeid in number,Usertype in varchar2) is begin dbms_session.set_context( namespace => 'paramsNew1', attribute

  • How can I transfer songs that itunes says can't be converted?

    I have 38 songs and 5 video's that I purchased through Itunes that won't transfer over to my IPOD CLASSIC 120G. Keepp getting an error message saying these files can't be converted. I had them on it at one time then later on it started to delete them