RSNAST00 report
Hi Friends,
What is the report RSNAST00 is used for ? How is this related to NAST table ?
Regards
Mahesh
RSNAST00 is the program used to retrigger the output types(to make one more printout of the invoice for example). It is not specific to any application. Hence it can be used for sales order outputs, delivery outputs and invoice outputs.
RSNAST00 can be used only if the output was triggered for the first time in Batch mode(i.e. it is not triggered in immediate mode(4) and triggered in batch mode(1). Those kind of outputs can be triggered n number of times using RSNAST00
When RSNAST00, is executed , it checks the NAST table which has the data a bout all the outputs and select teh only records which has NAST-VSZTP is equal to 1. These output lines will be yellow in colour if you see in teh document. When RSNAST00 processes these records, it triggers the output and converts the line from yellow to green during which NAST-VSTAT will change from 0 to 1 for green.
Hope this helps you.
Reward if this helps you
Similar Messages
-
Output Conditions - Error Report?
Hello,
I am trying to figure out if there's a way in SAP to review output condition errors. We are concerned that we may have a situation where our outputs are not being sent from SAP to EDI. We're looking into RSNAST00 report by possibly reviewing processing vs. requested dates, but not sure if that's the right path.
Any help would be greatly appreciated!!!Check this report: RSNAST0F.
Regards,
Naimesh Patel -
Background job not working for VF02
Hi,
When i give schedule RSNAST00 report in background for one output type its not generating spool, but the job status is in Complete. But in foreground it fine.
For another output type its working fine in background.
Is there any printer setting has to be done in driver program or in smartforms? Kindly help me on this.
Regards,
Vijay.Hi,
Check whether u have assigned following values.
l_wa_control_parameters-device = 'PRINTER'.
l_wa_output_options-tddest = nast-ldest.
l_wa_output_options-tdimmed = nast-dimme.
l_wa_output_options-tdnewid = 'X'.
l_wa_control_parameters-no dialog = 'X'.
CALL FUNCTION l_fnmod "'/1BCDWB/SF00000149'
EXPORTING
control_parameters = l_wa_control_parameters
output_options = l_wa_output_options
Still the problem exists then i wil send u the code.
Regards,
Vijay. -
Hi All,
Please, how can I use RSNASTZZ exit to sort field in RSNAST00 report? Does anybody have an example?
Thanks in advance.Max, thanks for your help.
I have one more question, maybe you can help me:
When I execute VF01, I also need to fill the field NAST-SORT1 (exit or badi).
1) I've created an append structure to add a field in KOMKBNF structure (SE11 transaction);
2) I've made a customizing to add this field in NAST table (J1BL transaction);
Do you know if there is any exit (or badi) to save a value in this field in KOMKBNF structure? I hope it will save this information in NAST-SORT1.
Thanks in advance. -
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. -
What is Transaction Code to start report RSNAST00 as a backgroud process ?
I would like to know the Transaction Code or the Access Path to start report RSNAST00 as a backgroud process at a certain time ((Tools > Administration ?).
Thanks.Hi Oscar,
1.You can go to SE38 give the report RSNAST00 and give the input criteria.
2. Now save this as a variant in the path Goto-Variant-Save as Variant
3. In the new screen give a variant name and save it with a description
4.Now go to SM36 and give a job name, and job class (Status should be scheduled and target server should be nil
5.Then click the Step button at the top
6. In the new screen, click the button ABAP program, and in that screen meant for ABAP program, in the place of name, give the program which you want to execute(In this case RSNAST00) and select the variant of your program which needs to be executed.
7. If you want the ouputs to be triggered in some specific language, you can mention the language also.Otherwise it will be executed in your logon language.
8.If you want the background job to be executed with some other user id, that user id can be mentioned in the user id field at the top.
9. After entering these data, click the check button and then save this.
10. Now the screen will go off, and the earlier will come. Now click save in this screen once again.
11.Now click the startcondition button at the top, click the Date/time button in the new screen and give the date and time at which the job should execute.
12. Save the new screen.
13. Again save the old screen now.
Once this is done, the job will be automatically scheduled for the time you have mentioned, Now you can check this job in SM37 at that time.
Pls reward points if it helps. -
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,
PrathameshHi 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 -
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 -
Send an output with dispath time 3, from an external report.
Hi,
It would be very appreciated if someone could help us with the following question:
We have an output message in a shipment which print a form.
This output is defined with dispatch time 3 Send with application own transaction.
Then we have the following doubt:
We need to create a report which the user can use for:
1. Re-send the output (we mean print the form again) if it was already
sent (Status = Successfully processed)
2. Send the output (we mean print the form first time) if it has not been sent yet (Status = Not processed)
Then we had thought to do a submit to RSNAST00 program, with the Send again checkbox marked for the case 1, and with this flag empty for the case 2.
But we have seen that this program only works with output are defined with dispatch time 1 or 2. So we think that it would not work in our case.
Could you help us with this, please? Do you know other program or other way to do it?
Thanks in advance.No one knows?
-
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 -
'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
KonidalaHi ,
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 -
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
AnmolHi 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 -
I am trying to process each entry in NAST individualy by using RSNAST00 in a select-loop and giving a different Suffix to each one (In order to have a better connection between NAST and TSP01).
When I run RSNAST00 through se38 with the parameters that I need, I have no porblem.
But when I run the following through my program, with the same parameters, ZSSA0001 (the print program) gets terminated because it can't find function CUD0_GET_CONFIGURATION.
Here's the RSNAST00 related portion of my code:
SELECT OBJKY
MANUE
FROM NAST
INTO CORRESPONDING FIELDS OF WA_SPOOL
WHERE KSCHL = 'BA00'
AND KAPPL = 'V1'
AND ERDAT = SY-DATUM
AND VSTAT = '0'.
SUBMIT RSNAST00
WITH S_OBJKY-LOW = WA_SPOOL-OBJKY
WITH P_SUFF2 = WA_SPOOL-OBJKY
WITH S_NACHA-LOW = '1'
AND RETURN.
SELECT SINGLE RQIDENT
FROM TSP01
INTO WA_SPOOL-RQIDENT
WHERE RQ2NAME = WA_SPOOL-OBJKY.
APPEND WA_SPOOL TO GT_SPOOL.
ENDSELECT.You should not submit in the SELECT ... ENDSELECT
Fill the Select-options from the SELECT and than use in submitting the report.
Regards,
Naimesh Patel -
Hi,
I have a print o/p invoice for one of my business cases.
After succesful execution, the values get stored in NAST table but when I try to re run the print output by running the report RSNAST00 then I can't execute anything.
What could be the possible reason for this?
Edited by: Christino Ronaldo on Jun 2, 2009 10:42 PMHi Friend,
May be the output was already processed.
Please check the NAST table and the status of the output whether it was processed or not.
If it was already processed then goto the Billing document VF02 and in change mode you can again repeat output and using the RSNAST00 program to process
RSNAST00 program is used only to process the output when it is in non process state.
regards, -
Dear Experts
While creating the shipping of MSDS, i have done all the standerd customization still getting following error
No communication data has been defined for transmission medium 8
Can anybody pls guide me for the same.
Regards
AmolHi Amol,
Check the documentation of this IMG activity (Environment, Health & Safety -> Product Safety -> Report Shipping -> Basic Settings for Shipping from SD Documents -> Material Safety Data Sheet/Sales and Distribution Interface -> Settings for the SD Interface: Shipping Documents)
In Output Determination -> Check Access Sequence and Condition Tables
1. Check the access sequence
Check the following default entry:
Access sequence: 0011
Description: SORG/CUSTNO SORG/OTYPE
(sales organization/customer number) (sales organization/delivery type)
2. Check output condition tables
Check the entries for sales organization/customer number (SORG/CUSTNO) and sales organization/delivery type (SORG/OTYPE) as follows:
a) Check output condition table for sales documents
Call the IMG activity Maintain Condition Tables, choose Maintain output condition table for sales activities, and check the following entry:
Table 1: Sales Organization/Customer Number
b) Check output condition tables for deliveries
Call the IMG activity Maintain Condition Tables, choose Maintain output condition table for deliveries, and check the following entry:
Table 12: Sales Organization / Delivery Type
In Output Determination -> Check Output Types
1. Call the IMG activity.
2. For output type SDB, check the following detail entries:
Field Entry
Output type SDB
Access sequence 0011
Access to conditions x
Transm. medium 8 (special function)
Partner function SH
Time 1 (transmit with next selection run)
(for example, RSNAST00)
Processing program RC1SDDIS
FORM routine ENTRY
Notes:
You choose the access sequence according to your customer-specific requirements.
The transmission medium must be 8.
The partner function should not be changed from SH.
The output can be processed automatically using a periodic job.
See: Set Up Periodic Job for SD Output Processing
Using the Processing routines step, you edit the program call with which the SD data is transferred to the SAP component Product Safety. In the standard system, the processing program RC1SDDIS is used. In this program, the ENTRY routine is called without using a form.
Using the Partner functions step, you enter possible partner functions. One of these partner functions can be entered in the condition table and is then part of the output.
Functions other than SH should only be used in exceptional cases for specific reasons.
In Output Determination -> Check Conditions
Check whether the following entries exist for the application V2 and for the form routine Environmentally relevant:
Condition (form routine): <Key>, normally number 24
Description: Environmentally relevant
Active: X (set)
Application: V2
Source text:
FORM KOBED_<Key>.
SY-SUBRC = 0.
CHECK KOMPBV2-KZUMW IS INITIAL.
SY-SUBRC = 4.
ENDFORM.
FORM KOBEV_<Key>.
SY-SUBRC = 0.
CHECK KOMPBV2-KZUMW IS INITIAL.
SY-SUBRC = 4.
ENDFORM.
The routine must be active.
In Output Determination -> Check Output Determination Procedures
1. Check the following default entry:
Procedure V20001
Description Item Output
2. Check the detail entry for Control:
The condition type MSDS is assigned the requirement 24. According to this requirement, the system then checks if the environmentally relevant indicator is set for the delivery material. If it is, then output determination can proceed.
In Output Determination -> Assign Output Determination Procedures
Assign all delivery item categories used for delivery items with environmentally-relevant materials an output determination procedure that contains the output type SDB. In the standard system, this is the output determination procedure V20001.
Regards
JCD
Maybe you are looking for
-
When I input events on my iCal on my Apple desktop, the events are not automatically populating the calendar on my iPhone. However, when I add an event in the calendar on my iPhone, it does automatically populate on the iCal on my desktop. Any reas
-
Hi , We are using SOA suite 10g. In one ESB we have a DB Adapter which inserts into an interface table in oracle 10g database. (R12 EBS) Database Adapter's operation type is 'Perform an Operation on a Table/Insert or Update(Merge)'. XML payload has f
-
Can SELECT TOP have argument?
Newbie's question, I believe. I wanted to make a stored procedure to returns last several rows or last several hundred rows depending on the situation, so I started writing queries in order to copy/paste them into procedure. There are two queries, fi
-
Create Workspace without demo-application and tables
Is it possible to crate a new workspace on a existing schema without creating new tables and demo-applications? Thanks Mario
-
Battery shuts down at 95%? but works fine after reboot.
Kinda an odd problem. I have a early 2011 macbook pro 13 inch. When I fully charge the laptop and then use it off battery, when the battery reaches 95% it shuts down and It wont turn back on until i connect to AC. But all i have to do is just quickly