RSNAST00

Hi friends,
What is RSNAST00 and in what reference we use this. In one of our old programs they were using this RSNAST00 to print out the report output. Now I am asked to add email functionality to it. Is there any option in RSNAST00 to do email attachment. So I have to attach the output as pdf file to send external email. Please help me in doing this.
SUBMIT RSNAST00 VIA SELECTION-SCREEN WITH S_KAPPL IN R_KAPPL
                                           WITH S_OBJKY IN R_OBJKY
                                           WITH S_KSCHL IN R_KSCHL
                                           WITH S_NACHA IN R_NACHA
                                           WITH P_AGAIN EQ ' '
                                           WITH P_PRINT EQ '4_A1'
                                               AND RETURN.
Thanks
Veni.

Hi Suresh,
Thank you for the information. After I select the output type as 'ZCOM' and Tranmission Medium '1' for print out and executed. I go to sp01 transaction to see the output. I know how to use function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
But Can you please let me know how to create the spool request, as I donot have idea about it. I am attaching the code I have. Please help me.
Thanks
Veni.
REPORT ZSDRSHIP LINE-SIZE 248 LINE-COUNT 65 MESSAGE-ID ZV
                      NO STANDARD PAGE HEADING.
Data Declaration
*Tables
TABLES: VBRK,                          "Billing: Header Data
        ITCPO,                         "Sapscript Output Interface
        T001,                          "Company Codes
        SADR,                          "Address Management: Company Data
        VBPA,                          "Sales Document: Partner
        KNA1,                          "General Data in Customer Master
        LFA1,                          "Vendor master (general section)
        VBRP,                          "Billing: Item Data
        DNAST,                         "Output status, display fields
        T005T,                         "Country Names
        EIKP,                          "Export/Import header data
        T618T,                         "Modes of Transport: Descriptions
        ZMAT,                        "Classification of Material Numbers
        T001W,                         "Plants/Branches
        T005U,                         "Taxes: Region Key: Texts
        NAST.                          "Message status
selection screen for the program RSNAST00 run.
RANGES: R_KAPPL FOR DNAST-KAPPL,
        R_OBJKY FOR NAST-OBJKY,
        R_KSCHL FOR NAST-KSCHL,
        R_NACHA FOR NAST-NACHA,
        R_LDEST FOR NAST-LDEST.
Internal tables.
DATA: BEGIN OF ITAB_VBRK OCCURS 100,
      VBELN LIKE VBRK-VBELN,
      NETWR LIKE VBRK-NETWR,
      BUKRS LIKE VBRK-BUKRS,
      EXNUM LIKE VBRK-EXNUM,
      END OF ITAB_VBRK.
DATA: BEGIN OF ITAB_VBRP OCCURS 50,
      MATNR LIKE VBRP-MATNR,
      FKIMG LIKE VBRP-FKIMG,
      NETWR LIKE VBRP-NETWR,
      WERKS LIKE VBRP-WERKS,
      END OF ITAB_VBRP.
DATA: BEGIN OF ITAB_ZMAT OCCURS 10,
      ZMATNR LIKE ZMAT-ZMATNR,
      FKIMG LIKE VBRP-FKIMG,
      NETWR LIKE VBRP-NETWR,
      END OF ITAB_ZMAT.
DATA: BEGIN OF FTAB OCCURS 100,
      IND TYPE C,
      VBELN(10) TYPE N,
      NETWR LIKE VBRK-NETWR,
      BUKRS LIKE VBRK-BUKRS,
      EXNUM LIKE VBRK-EXNUM,
      END OF FTAB.
DATA: IND TYPE C,
      CNT1 TYPE I,
      IPAGE TYPE I,
      I_WERKS LIKE VBRP-WERKS VALUE ' '.
Program Selections
SELECT-OPTIONS: SDATE FOR VBRK-FKDAT.
Initialization
INITIALIZATION.
Initialization for the program RSNAST00 run.
  R_KAPPL-SIGN = 'I'.
  R_KAPPL-OPTION = 'EQ'.
  R_KAPPL-LOW = 'V3'.
  R_KAPPL-HIGH = ' '.
  APPEND R_KAPPL.
  CLEAR R_KAPPL.
  R_KSCHL-SIGN = 'I'.
  R_KSCHL-OPTION = 'EQ'.
  R_KSCHL-LOW = 'ZCOM'.
  R_KSCHL-HIGH = ' '.
  APPEND R_KSCHL.
  CLEAR R_KSCHL.
  R_NACHA-SIGN = 'I'.
  R_NACHA-OPTION = 'EQ'.
  R_NACHA-LOW = '1'.
  R_NACHA-HIGH = ' '.
  APPEND R_NACHA.
  CLEAR R_NACHA.
Start-of-selection
START-OF-SELECTION.
  SELECT VBELN NETWR BUKRS EXNUM FROM VBRK INTO TABLE ITAB_VBRK
                             WHERE FKART EQ 'F8'
                               AND FKDAT IN SDATE.
  COMMIT WORK.
  PERFORM OUTPUT.
AT USER-COMMAND.
  CASE SY-UCOMM.
    WHEN 'PRIN'.
      PERFORM READ_DATA.
      PERFORM PRINT_DATA.
    WHEN 'SELE'.
      PERFORM SELECT_DATA.
    WHEN 'DETA'.
      PERFORM READ_DATA.
      PERFORM DISPLAY_DATA.
  ENDCASE.
TOP-OF-PAGE
TOP-OF-PAGE.
  PERFORM HEADINGS.
TOP-OF-PAGE DURING LINE-SELECTION.
  CASE SY-UCOMM.
    WHEN 'SELE'.
      PERFORM HEADINGS.
    WHEN 'DETA'.
      PERFORM HEADINGS1.
  ENDCASE.
*&      Form  OUTPUT
      text
-->  p1        text
<--  p2        text
FORM OUTPUT.
  SET PF-STATUS 'NORM'.
  LOOP AT ITAB_VBRK.
    WRITE: /01 SY-VLINE,
            02 IND AS CHECKBOX,
            03 SY-VLINE,
            04 ITAB_VBRK-VBELN,
            15 SY-VLINE,
            16 ITAB_VBRK-NETWR,
            51 SY-VLINE.
  ENDLOOP.
  ULINE /(51).
ENDFORM.                               " OUTPUT
*&      Form  READ_DATA
      text
-->  p1        text
<--  p2        text
FORM READ_DATA.
  CNT1 = 6.
  IPAGE = 1.
  REFRESH FTAB.
  LOOP AT ITAB_VBRK.
    READ LINE CNT1 OF PAGE IPAGE FIELD VALUE IND INTO FTAB-IND.
    READ LINE CNT1 OF PAGE IPAGE FIELD VALUE
                               ITAB_VBRK-VBELN INTO FTAB-VBELN.
    FTAB-BUKRS = ITAB_VBRK-BUKRS.
    FTAB-NETWR = ITAB_VBRK-NETWR.
    FTAB-EXNUM = ITAB_VBRK-EXNUM.
    APPEND FTAB.
    CLEAR FTAB.
    CNT1 = CNT1 + 1.
    IF CNT1 > 65.
      IPAGE = IPAGE + 1.
      CNT1 = 6.                        "Vish - 10/03/00
    ENDIF.
  ENDLOOP.
ENDFORM.                               " READ_DATA
*&      Form  PRINT_DATA
      text
-->  p1        text
<--  p2        text
FORM PRINT_DATA.
  LOOP AT FTAB.
    IF FTAB-IND = 'X'.
      REFRESH R_OBJKY.
      R_OBJKY-SIGN = 'I'.
      R_OBJKY-OPTION = 'EQ'.
      R_OBJKY-LOW = FTAB-VBELN.
      R_OBJKY-HIGH = ' '.
      APPEND R_OBJKY.
      CLEAR R_OBJKY.
      SUBMIT RSNAST00 VIA SELECTION-SCREEN WITH S_KAPPL IN R_KAPPL
                                           WITH S_OBJKY IN R_OBJKY
                                           WITH S_KSCHL IN R_KSCHL
                                           WITH S_NACHA IN R_NACHA
                                           WITH P_AGAIN EQ ' '
                                           WITH P_PRINT EQ '4_A1'
                                               AND RETURN.
      IF FTAB-NETWR GE 2500.
        PERFORM GET_DATA.
        PERFORM PRINT_FORM.
      ENDIF.
    ENDIF.
  ENDLOOP.
ENDFORM.                               " PRINT_DATA
*&      Form  PRINT_FORM
      text
-->  p1        text
<--  p2        text
FORM PRINT_FORM.
  ITCPO-TDIMMED = 'X'.
  ITCPO-TDDELETE = 'X'.
  ITCPO-TDPROGRAM = SY-REPID.
  ITCPO-TDDEST = '5_A1'.
  CALL FUNCTION 'OPEN_FORM'
       EXPORTING
            FORM     = 'Z_SHIPPERS'
            LANGUAGE = SY-LANGU
            OPTIONS  = ITCPO
       EXCEPTIONS
            CANCELED = 1
            DEVICE   = 2
            FORM     = 3
            OPTIONS  = 4
            UNCLOSED = 5
            OTHERS   = 6.
  LOOP AT ITAB_ZMAT.
    CALL FUNCTION 'WRITE_FORM'
        EXPORTING
             ELEMENT       = 'ITEM_DATA'
             FUNCTION      = 'SET'
             TYPE          = 'BODY'
             WINDOW        = 'MAIN'
   IMPORTING
        PENDING_LINES =
         EXCEPTIONS
              ELEMENT       = 1
              FUNCTION      = 2
              TYPE          = 3
              UNOPENED      = 4
              UNSTARTED     = 5
              WINDOW        = 6
              OTHERS        = 7.
  ENDLOOP.
  CALL FUNCTION 'CLOSE_FORM'
       EXCEPTIONS
            UNOPENED = 1
            OTHERS   = 2.
  IF SY-SUBRC EQ 0.
    MESSAGE I355 WITH FTAB-VBELN.
  ENDIF.
ENDFORM.                               " PRINT_FORM
*&      Form  SELECT_DATA
      text
-->  p1        text
<--  p2        text
FORM SELECT_DATA.
  SY-LSIND = 0.
  IF IND = 'X'.
    IND = ' '.
  ELSEIF IND = ' '.
    IND = 'X'.
  ENDIF.
  PERFORM OUTPUT.
ENDFORM.                               " SELECT_DATA
*&      Form  GET_DATA
      text
-->  p1        text
<--  p2        text
FORM GET_DATA.
  CLEAR: T001, SADR, VBPA, LFA1, KNA1, T005T, EIKP, T618T, I_WERKS.
  REFRESH: ITAB_VBRP, ITAB_ZMAT.
  SELECT SINGLE ADRNR BUTXT FROM T001 INTO (T001-ADRNR, T001-BUTXT)
                      WHERE BUKRS EQ FTAB-BUKRS.
  SELECT SINGLE * FROM SADR WHERE ADRNR EQ T001-ADRNR
                              AND NATIO EQ SPACE.
  SELECT SINGLE LIFNR FROM VBPA INTO VBPA-LIFNR
                          WHERE VBELN EQ FTAB-VBELN
                              AND POSNR = '000000'
                              AND PARVW = 'SP'.
  SELECT SINGLE * FROM LFA1 WHERE LIFNR = VBPA-LIFNR.
  SELECT SINGLE KUNNR FROM VBPA INTO VBPA-KUNNR
                          WHERE VBELN EQ FTAB-VBELN
                              AND POSNR = '000000'
                              AND PARVW = 'WE'.
  SELECT SINGLE * FROM KNA1 WHERE KUNNR = VBPA-KUNNR.
  SELECT SINGLE * FROM T005T WHERE SPRAS = 'E'
                               AND LAND1 = KNA1-LAND1.
  SELECT SINGLE * FROM EIKP WHERE EXNUM = FTAB-EXNUM.
  SELECT SINGLE * FROM T618T WHERE SPRAS = 'E'
                               AND LAND1 = EIKP-ALAND
                               AND EXPVZ = EIKP-EXPVZ.
  SELECT MATNR FKIMG NETWR WERKS FROM VBRP INTO TABLE ITAB_VBRP
                               WHERE VBELN = FTAB-VBELN.
  LOOP AT ITAB_VBRP.
    IF I_WERKS EQ ' '.
      I_WERKS = ITAB_VBRP-WERKS.
      SELECT SINGLE * FROM T001W WHERE WERKS = I_WERKS.
      SELECT SINGLE * FROM T005U WHERE SPRAS = 'E'
                                   AND LAND1 = T001W-LAND1
                                   AND BLAND = T001W-REGIO.
    ENDIF.
    SELECT SINGLE ZMATNR FROM ZMAT INTO ZMAT-ZMATNR
                                   WHERE MATNR = ITAB_VBRP-MATNR.
    IF SY-SUBRC EQ 0.
      MOVE ZMAT-ZMATNR TO ITAB_ZMAT-ZMATNR.
      MOVE ITAB_VBRP-FKIMG TO ITAB_ZMAT-FKIMG.
      MOVE ITAB_VBRP-NETWR TO ITAB_ZMAT-NETWR.
      COLLECT ITAB_ZMAT.
      CLEAR ITAB_ZMAT.
    ELSE.
      MESSAGE I356 WITH ITAB_VBRP-MATNR.
    ENDIF.
  ENDLOOP.
ENDFORM.                               " GET_DATA
*&      Form  HEADINGS
      text
-->  p1        text
<--  p2        text
FORM HEADINGS.
  FORMAT COLOR COL_HEADING.
  WRITE: 'AMERICA, INC.',
         / 'List of Commercial Invoices'.
  ULINE /(51).
  FORMAT COLOR 2.
  WRITE: /01 SY-VLINE,
          03 SY-VLINE,
          04 TEXT-001,
          15 SY-VLINE,
          16 TEXT-002,
          51 SY-VLINE,
         52 '                                               ' COLOR OFF.
  ULINE /(51).
ENDFORM.                               " HEADINGS
*&      Form  DISPLAY_DATA
      text
-->  p1        text
<--  p2        text
FORM DISPLAY_DATA.
  SET PF-STATUS 'NORM1'.
  LOOP AT FTAB.
    IF FTAB-IND = 'X'.
      REFRESH ITAB_VBRP.
      SELECT MATNR FKIMG NETWR WERKS FROM VBRP INTO TABLE ITAB_VBRP
                                   WHERE VBELN = FTAB-VBELN.
    WRITE:/ 'Details of Commercial Invoice:'COLOR 4, FTAB-VBELN COLOR 4.
      ULINE /(56).
      LOOP AT ITAB_VBRP.
        WRITE: /01 SY-VLINE,
                02 ITAB_VBRP-MATNR,
                20 SY-VLINE,
                21 ITAB_VBRP-NETWR,
                56 SY-VLINE,
         57 '                                               ' COLOR OFF.
      ENDLOOP.
      ULINE /(56).
    ENDIF.
  ENDLOOP.
ENDFORM.                               " DISPLAY_DATA
*&      Form  HEADINGS1
      text
-->  p1        text
<--  p2        text
FORM HEADINGS1.
  FORMAT COLOR COL_HEADING.
  WRITE: 'AMERICA, INC.',
         / 'Commercial Invoice Details.'.
  ULINE /(56).
  FORMAT COLOR 2.
  WRITE: /01 SY-VLINE,
          02 TEXT-003,
          20 SY-VLINE,
          21 TEXT-004,
          56 SY-VLINE,
         57 '                                               ' COLOR OFF.
  ULINE /(56).
ENDFORM.                               " HEADINGS1

Similar Messages

  • How to print the invoice(Billing document) using program RSNAST00

    Hi,
      I want to print the invoice using the program RSNAST00,
    but when i fill in selection screen with the following details,
    Output Application : V3
    Object Key : Billing Document Number
    Output Type : ZPFM
    Transmission Medium : 1
    But it is throwing an Information Message "0 outputs were processed in total (0 successfully,0 incorrectly)
    So please guide me, what are settings i have to do and what abap code i have to write to overcome this error.
    Regards,
    Shasiraj.C

    Hi,
      As you told I am using the function module RV_MESSAGE_DIALOG in my program when I directly execute my program its not printing invoice,but when i keep the break point and execute a pop up comes in which i click on the PRINT button that time it is printing the invoice.
    But I dont want to click on Print button manually, my code should automatically take care of printing also.
    Can guide me in this issue.
    Regards,
    Shasiraj.C

  • Spool requests are being sent the the B9 printer queue(RSNAST00).

    Hi gurus,
    has anyone found a fix for this issue? i'm currently experiencing the same issue and would like to know how i can fix this..
    Spool requests are being sent the the B9 printer queue. Most spool requests are for one page, when there are spool requests for multiple pages these spool requests take longer to create, in the meantime, other spool requests that are single pages are going to the printer queue. This creates and "out-of-vendor-order" issue during printing.
    The out of vendor order sequencing creates a significant level of work effort for the business users to resort the printed copies in order to prepare the documents for mailing. A change is required to eliminate this manual effort.
    Development has indicated an enhancement could be made to the RSNAST00 program where only those print jobs for application "MR" with transmission "1" (for print) would be gathered in groups of "X" number of documents to create one spool, prior to creating the spool, a check would be made to see if the next document was for the same vendor, if so the next document/s would be included in the same spool, when a new vendor was found, a new spool would be created.
    To temporarily fix the issue the jobs have been placed on "no execute" and the support team is identifing the chargebacks and RTV created during the week, manually running the RSNAST00 program in groups of 500 - 800 documents, ensuring all doucments for a vendor a sent in the same spool request.

    Post Author: Stephen@Azzu
    CA Forum: General
    Nobody know the answer to this one? Stephen@Azzu:Here's a good one...I'm using Crysal Reports XI (fully service packed) and the reports I have created are being used in a VB.Net application. I have no problems whatsoever in printing the reports, everything is fine. However, when the report is sent to the printer, the printer queue displays 'document' as the, err, document name. I'd like it to say something more relevant, such as the document number the user selected.So I've tried setting the ReportDocument.Name but wait, it's read only!? How about the summary info? No change. Filename? No change either. I've browsed the internet, searched the knowledge base and found nothing. So my question is this...How do I get the printer queue to display an appropriate name for my document?Stephen

  • Need to call custom version of RSNAST00 from VF03 output type

    I have created a customized version of the RSNAST00 program which is valid for two existing ouptut types for billing condition "V3".  This new program (ZRSNAST00) works fine when called directly (i.e. se38).  However, when issuing output type via VF03, the old program is called (RSNAST00).  Is there a setting to tell the output type to use ZRSNAST00?
    FYI, I have checked NACE, and the output type references the print program (which is the same for both versions of the driver program. 
    Thanks for any help!
    jeff

    There is some special sort I had to include for printing.  Client needed to have page-number order (single page first, 2-page next, etc.) in the spool. 
    I may need to create new output type for the ZRSNAST00 version to run, and leave RSNAST00 for the "normal" single processing via VF03.

  • Is there a way to add code in SAPLV70A (before going to RSNAST00)?

    Hello,
    SAP 6.0:
    I am looking for a way to insert code after processing an output type (before going to RSNAST00).
    Has somebody an idea?
    Thanks a lot!
    Guido
    Edited by: G. Verbruggen on Mar 12, 2009 5:27 PM

    Hi Navneet,
    I have already looked for enhancement points but they don't exist in SAPLV70A.
    At least not that I can see them.
    I am relatively new to enhancement points.
    (we have both a 4.6 and 6.0 environment)
    Can you simply get an overview of the existing enhancement points?
    Can you add enhancement points if they don't exist in the part that you want?
    Thanks,
    Guido

  • How to debug using RSNAST00 and jdbg for multiple invoice number

    Hi everyone,
    I want to debug multiple invoice's print preview.
    could anybody tell me the step by step process how to do this using RSNAST00 and JDBG.
    Thanks
    Lisa

    Hi Ali,
        I faced the same problem. Thing is the break point is not getting triggered when i ran tha IDOC through WE19.
    What i have done is i created a project for my exit in CMOD and kept some junk code in the exit and executed it through BD21. Then the Break point got triggered. See if it works.
    Regards,
    Uday S.

  • Processing a cancelled invoice through RSNAST00

    Hi Gurus,
    I am working on enhancement for emailing the invoices. We created a output type ZRD3 for email invoices. The dispatch time is set as "Send with periodically scheduled job". We execute RSNAST00 via job to process those invoices.
    The problem is, if the invoice got cancelled , RSNAST00 still process it because it just look into the NAST table entry.
    Is there any way to control it through processing routine. I suggested to use a custom program which deletes the entries in NAST for cancelled invoices and then submit RSNAST00 program. This new custom program should be executed in the job instead of standard RSNAST00.
    Please let me know any alternative suggestions. Thanks in advance for your kind help.
    Poornima

    Hi,
    I created a requirement program for the output type, but as Jelena told the invoice is not cancelled at the time of execution of requirement program. So the validations in the requirement program is not getting triggered.
    As of now, we are planning to execute a custom program which picks out the cancelled invoices and set the status in NAST table as processed.. Or i am trying to find a userexit at the time of cancellation of invoice(after save) where i could include my logic for updating the NAST table entries. If i get through the second method, i would be able to avoid the custom program...
    Please let me know your opinions...
    Poornima
    Edited by: Poornima Pandiyaraj on Jan 5, 2009 4:00 PM

  • Submir Report "RSNAST00" and passing parametrs to the selection screen

    Hello ABAP,
    I have to code a Report/TA which gathers some info and then calls RSNAST00.
    The info gathering part is done.
    The info gathered shall be transferred to the report RSNAST00 or to it´s selection screen, tho the selection screen should not be visible. And then RSNAST00 shall do it´s normal job.
    Any hints how i can pass those parameters and make that selection screen not appear?

    Hi florian,
    1. We have to use the comand SUBMIT with the program name and some extensions.
       (please see F1 help on it)
    2. This will call the required program.
    3. We can also pass the required values using WITH Var1 = Val1
    4. we can use the extension AND RETURN so that the selection screen of RSNAST00 does not appear on screen.
    regards,
    amit m.

  • Is it safe/okay to use RSNAST00 program in a user-exit?

    Hi Experts,
    I got a business requirement and its:
    After SAVEing the sales order......by using the user-exit USEREXIT_SAVE_DOCUMENT I have to trigger custom IDOC (currently its in the system and using for some other application) outbound direction to XYZ logical system.
    But, the functional spec is asking me to to use RSNAST00 program in the above said user-exit.
    So pls clarify,
    1) Is it safe to use this RSNAST00 program in the user-exits?
    2) If so, Wht is the best/safest approach to use it? is it by using SUBMIT AND RETURN statement? or do we have any other?
    3) Actually, guess this is not good approach (achieving via ABAP workbench/triggering IDOC outbound by custom code of user-exit) to meet this functionality.......its a configuration task need to done by functional guy.

    Thank you Vinod.
    If thats the ONLY concern, then I can write a seperate FM, where in I will use SUBMIT RSNAST00 AND RETURN statements, and I will call this FM in a SEPERATE / BACKGROUND TASK, which works in a seperate LWU.
    Pls. shade some light
    Thank you

  • Spool not generated in RSNAST00 program

    Hi,
    My requirement is I have certain RMA numbers in internal table and I have to submit RSNAST00 program in background to process all these numbers. I have done that but I am not able to see the generated spool in sp01 transaction. I can see the finished job in sm37 without the spool list being created.
    Please help.

    I am running my program in foreground only but I am submitting RSNAST00 program in batch.
    The code that I have written is
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname                = lv_jobname
       IMPORTING
        JOBCOUNT               = lv_jobnumber
      IF sy-subrc <> 0.
      ENDIF.
    SUBMIT rsnast00 WITH s_kappl = 'V1'
                         WITH S_OBJKY in r_itab
                         WITH s_nacha = wa_itab-nacha
                         WITH s_kschl = p_output
                         TO SAP-SPOOL
                         SPOOL PARAMETERS print_parameters
                         WITHOUT SPOOL DYNPRO
                         via JOB lv_jobname NUMBER lv_jobnumber
                         AND RETURN.
       IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount                          = lv_jobnumber
          jobname                           = lv_jobname
          STRTIMMED                         = 'X'
      IF sy-subrc <> 0.
      ENDIF.
      SELECT SINGLE MAX( listident )
        INTO lv_spool
        FROM tbtcp
        WHERE jobname = lv_jobname
        AND jobcount = lv_jobnumber.
        if sy-subrc = 0.
          write : 'RSNAST00 ran successfully'.
          endif.
    endif.
    Please suggest what modifications I need to make because the value in lv_spool is always 0.

  • RSNAST00 - NAST table - NACE relation ...

    Kindly let me know what actually RSNAST00 program does ?
    1). Because we create quotations in va21 and
    the same are processed by running RSNAST00 program as a first step.
    2). and then we run our z-program, so that our z-program runs the above RSNAST00 program generated spools, and send then to printer, where printer is located in some other country.
    In /nnace, our output type, script program and script form are configured in such a way when the output type is created and given to RSNAT00 program...then our z-program runs ...then automatically in Print program( for script form) gets printed to user in other country.
    The problem is when in /nva22 the quotation is changed again
    it is ready for printing ...And when we run RSNAST00 program, again the quotations already printed are again getting printed with their changes.
    So, Can I control this in   PRINT Program of script ?
    like by selecting the same quotations from NAST table and if entry is there don't print  ?
    Kindly suggest me ...

    Hi Sam,
    Please check this link
    http://help.sap.com/saphelp_nw04/helpdata/EN/c8/19893143b111d1896f0000e8322d00/content.htm
    http://help.sap.com/saphelp_dimp50/helpdata/EN/6a/c10412adb111d1b6120000e8a738dc/content.htm
    Best regards,
    raam

  • Executing output of order header not by RSNAST00

    Hi to all.
    I would like to execute an output in order header that created with dispatch time 1-Send with periodically scheduled job. Is there any way to execute it except using RSNAST00? I would like to execute it from an ABAP program after creating the sales doc. and commit work.
    I have copied the RSNAST00 and used it in an ABAP program but it checks authorizations that my users doesn't currently have.
    Thanks, Yuval Kaduri at Cellcom.

    Hi Yuval,
    You can use the transaction VF31 and select menu Program -> Execute in Background.
    Kindly reward points if your question is answered.
    Thanks
    Vinod

  • 'RSNAST00' program scheduling issue for messaage output

    Hi all ,
    I have a requirement is as follows,
    can any one help me ,The message NEU is processed through report program RSNAST00. This report program can be scheduled periodically or started manually.
    For scheduling periodically I think one need to set up a batch process in SM35. How can i verify those details .
    Thanks and Regards
    Konidala

    Hi ,
    Thanks for reply,
    can u please tell me , is it possible to find out .which job is assigned to particular program to schedule in background .
    i mean if u know program name but not know the job which will scheduled to run that program .
    is there any way to find out that job process details with know program.
    Thanks and regards
    konidala

  • Suppresing the message raised by RSNAST00 in IDOC

    Hi ABAPers,
    I am sending outbound IDOC, which is getting triggerd by RSNAST00.
    CODE : SUBMIT rsnast00  WITH SELECTION-TABLE t_rspar AND RETURN.
    IDOC is getting created successfully and below information message is displaying on the screen.
    message '1 outputs were processed in total(1successfully, 0 incorrectly)'.
    Could you please suggest me how to avoid this message box.
    Regards,
    Sekhar.

    try to copy it to zprogram and modify...
    below line gives this message so try to find the below line and comment it in zprogram.
    MESSAGE I033 WITH COUNT COUNT_1 COUNT_2.----
    >line no 231

  • Printing through RSNAST00- footer is getting chopped

    Hi Gurus,
    We have a strange problem, whenever we are printing our invoices through VF03 then the invoice prints in full, however when we use RSNAST00 then the bottom 2 lines on the invoice gets chopped off, this happens for every invoice and every time, unable to figure the reason for this, please help.
    regards
    Anmol

    Hi Anmol,
    See SAP Note 960611 - FAQ: Output control in Sales and Distribution. Instead this report, try with report SD70AV1A as the note suggests.
    Check in the form (SAPscript or Smartform) if you have any clause related with tcode or similar.
    I hope this helps you
    Regards
    Eduardo

Maybe you are looking for