Nast table use
Hi ,
what is the use of Nast table in smartforms??
when we use this table??
regards,
hi this is for defining the out put types for a program...if the output had many options like this..
1 . email
2.fax
3.printer....
this will be done by the nast table ..or through the nace tcode
regards,
venkat
Similar Messages
-
How to delete the entries from NAST table
Hi,
Please help me out by providing any function module that delete's the entries from hte NAST table.
Regards,
Kiran.LREPORT ZSCD_TEST13.
delete from nast where VSTAT = '1'.
=====
If you see the FM : NAST_DELETE_OBJECT, its only useful when NACHA = 7 (i.e. message transmission medium = Simple Mail)
For others its not useful.
We had similar issue few days back and after long RnD, we straightaway deleted the entries using the Zprogram.
regards,
Edited by: Pranu Pranu on Aug 19, 2008 1:42 PM -
Access NAST table immediately after creation of sales order (va01)
Hi All,
I want to access the nast data for the newly created sales order from va01. I tried to use program exits:
userexit_save_document and userexit_save_documnr_prepare
and plu the BADI BADI_SD_V46H0001 method EXIT_SAPLV46H_003.
the breakpoint is not stoping there even if I have given.
Please suggest any enhancements are there for such functionality.
The flow is like this.:
when user clicks on the save button after entering the data for sales order creation, the email/fax will be send to the contact persons for the output type and I want to update the nast table DATVR entry so that it will be marked as processed entry.
rgds
MadhuriI am not sure what you want, but I think it is not the right way to realize the flow.
When a sales order is saved, the process of issuing output will be handled by another program RSNAST00 (T_CODE: WE15)immediately or via a scheduled job due to output configuration , and the nast table will be updated at the same time. i think there is no need to update the nast table by yourself. -
Updating multiple entries in NAST table
Hello ALL,
I would like to get your suggestions regarding one tricky requirement.
As we know we can have multiple sales orders per one customer purchase order and normally we send order response Idoc per one sales order, due to some circumstances we decided to send one Idoc for all sales order generated for one customer PO. We have done config settings not to generate order response immediately after creating sales order. I copied standard FM IDOC_OUTPUT_ORDRSP to Z_FM to include all sales order related data as per our requirement. I'm able to generate IDoc as per customer requirements but how can I insert NAST entries for all sales order which was included in my previous IDoc? is there a way to do it? Because system should not pick up as it is already sent to customer as IDoc.
I really appreciate your help in this regard.
Thanks in Advance.
PrasadHi Prasad,
U can update <b>NAST</b> table using the FM <b>RV_MESSAGE_UPDATE_SINGLE</b> -
Is there any datasource available to pull data from NAST table?
The field I am trying to pull out of NAST (Message Status) table is NACHA. Please provide me hints if any Business Content Datasource uses this table or we have to create a custom extractor for the same?
Regards,
JoyI dont think there is a standard business content datasource to extract data from NAST table. If you are going to use this data in some other LO modules based on the requirement enhance the datasource and append fields and write code to populate the message types.
If you are going to use this as stand alone data, then you can go ahead and create a generic datasource based on table. -
OPtimizing Performance for Select query on NAST table
Hi All,
We are fetching a single record from NAST table. The table has around 10 Million Entries.
The Select Query takes around 5-6 minutes to return.
We are not using the Primary key completely. We are using only one field of the primary key.
The field is also a part of the Index but we are not using all the fields in the index as well.
We need to bring down the time. What can be the solution? I cant see any changes to the code, since its a single query and we cant use the Entire Primary key.
Would creating an Index on the fields that we are concerned with help in this regard.
Open to all solutions.
Thanks in Advance,
ImranHi,
Please check this thread
http://sap.ittoolbox.com/documents/popular-q-and-a/specifying-the-index-to-be-used-2462
For creating another secondary index in NAST whether basis will approve for this?
aRs -
What is the exact purpose of Transaction NACE and NAST Table?
Hi All,
What is the exact purpose of Transaction NACE and NAST Table?
Pls help me
Akshitha.Hi
When a Output type in an apllication doc is configured with a Medium, Partner, Lang and other communication paramters an entry is created in NAST table
so to trigger the output an entry in NAST is compulsory
Output is a link between the Driver Program and the Sapscript,
An output type summarizes messages of the same meaning. It contains parameters that are valid for all its assigned messages, for example appropriate partner functions.
Transmission medium is a medium which the layout will be come out, this may be printout, Fax or Mail
Check this link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/19884743b111d1896f0000e8322d00/content.htm
ex-how to config output type.
You will assign output types using Transaction NACE.
Do the follow steps to assign output type
1)Select Application Type V2 which will have description Shipping.
2)Click on Output types button.
3)Go to change mode by pressing Ctrl+F4.
4)Select one output type which already exists
5)Do Copy As(F6)
6)Give your output type against Output Type field.
7)Under General data Tab, Give Program and Form routine and Save the data.
i think it a work of functional guy but at senior level i think it is not a big deal for abaper.
Check the following documentation
In NACE t-codewe have the application for each one. based on the application output type can be defined, based on output type script and print progrma can be defined.
If suppose data can be read from EDI then we should go for condition records.
So whenever we execute the script first composer checks the output type and then execute the program. in program whenever opn form FM will be populate then script will open first. After that again program till another FM will populate if it then script will populate........like it is cycle proces. Composer does all these things and at last it will submit that output to spool.
Go to the Transaction NACE.
choose the related sub module.. like billing or shipping
doubel click on Output Types
Choose the Output Type for which whcih you wanted your script to trigger
Then select the Output Type and double click on Processing Routine
Then go to create new entries--> Select the Medium (1- print output), then enter your Script and Print Program detls --> Save and come out
Now go to the Transaction (for which you have created the output type)... Issue output--> Select the output type --> Print....
Device Types for SAP Output Devices (Detail Information)
Definition
The device type indicates the type of printer to be addressed. When you define an output device, choose the name of the device type that was defined in the SAP System for your printer model, such as Post2 for a PostScript printer. In the case of frontend printing under Microsoft Windows, you can also use the generic (device-independent) device type SWIN.
The system uses the information in the device type to convert a document from the internal SAP character representation (spool request in OTF or in text format) to a device-specific, print-ready data stream (output request). Since a device type specifies attributes that apply to all devices of a certain model, it can be shared among device definitions. For example, all devices in the SAP spool system that are compatible with Hewlett-Packard LaserJet IIID printers would use the HPLJIIID device type.
You should not confuse the device type with the printer driver. The device type is the total of all attributes of an output device that the SAP System must know to control the output device correctly, such as control commands for font selection, page size, character set selection, and so on. These attributes also include the printer driver that SAPscript/Smart Forms (the SAP form processor) should use for this printer. The SAPscript printer driver that is to be used for devices of this type for output formatting is therefore only an attribute that the device type specifies.
How do I choose the correct device type?
In most cases, the SAP System already provides the appropriate device type for the printer type for the printer model that you want to use.
These standard device types are completely defined and need no modification or extension before you use them in device definitions.
You can also download missing device types from the sapserv server. For a current list of the supported device types, see SAP Note 8928 in the SAP Service Marketplace.
Most printers can be controlled using a generic format, such as PostScript. They can be switched to a mode that is compatible with one of the standard printers for which an SAP device type is available. In this case, a supported model is emulated.
Almost all printers are delivered with Microsoft Windows printer drivers. The system can control these printers with the generic (device-independent) device type SWIN. The Microsoft Windows spool system then performs the processing of the print data.
If the specified device types are not available, and generic device types cannot be used, you must create your own device type or edit a copy of an existing device type. We recommend that only those with specialist knowledge of the SAP Spool System and printer driver code do this. For more information, see Defining a New Device Type .
Attributes of a Device Type
A device type is distinguished by the attributes listed below. If you change an existing device type or create a new device type, you must change at least some of these attributes.
Character set: A character set specifies the codes with which characters must be represented in the print-ready output stream (output request). This code replaces the generic SAP characters set that is used internally by the SAP spool system (spool request).
Printer driver: You can specify different printer drivers for printing SAPscript documents and ABAP lists.
Print controls: Print controls represent printer operations, such as boldface or changing the font size. These print control are replaced by printer-specific commands during the creation of the output request from a spool request.
Formats: Formats specify the format supported by the SAP system. The system differentiates between SAPScript formats (DINA4 and LETTER) and ABAP list formats (X_65_132 = 65 rows/132 columns).
Page format: A page format is the interface between a format and SAPscript. It specifies the paper dimensions with which SAPScript can calculate the row and column lengths.
Actions: Actions are output device-specific commands that are required for the implementation of a format. The action printer initialization, for example, can contain a printer command with which the number of rows on a page is defined. There is a set of actions for every format supported by a device type.
Reward points for useful Answers -
Adding a new record in NAST table via Z program
Hi Experts,
I have a requirement in which i have to trigger a SAP Script to send as FAX based on some condition when a shipment is saved by VT02N transaction.
The output type which i am using is configured to send fax immediately on save of shipment. And so now I can only send fax by entering output type and other details in MESSAGES FOR CURRENT SHIPMENT section.
But the requirement is when user saves the shipment and if the required conditions are met then output type should be automatically populated in MESSAGES FOR CURRENT SHIPMENT section.
I think by adding an entry in MESSAGES FOR CURRENT SHIPMENT section we are adding an entry in NAST table. I would like to know how we can populate an entry in this table automatically.
Regards,
LeonaHi,
As much I have understood ur requirement, you need not do and thing using Z(custom).
I think, SAP has inbuilt functionality.
As you are discussing about Shipment(VT02N), you need to assign shipment type to sales organization in VV21(create), VV22(chnage).
In this tcodes you need to add Customer number, Partner Function, Medium(FAX, Printout, Idoc, etc ...).
So when you change shipment and save it, automatically messages will be configured and will contain a entry, which will trigger FAX
You are discussing about some condition, based on which FAX should be triggered. Can you be little more clear on this.
Hope it helps u...
Thanks & Regards,
Mihir.
Edited by: mihir6666 on Jul 12, 2011 7:54 AM -
What is the procedure to create entry in NAST table for particualr document
Hello ABAP GURUS,
I need to know how to create objectkeys in NAST table for particualar document number.
My requirement is i need to check my smartform output for Goods Receipt.IN nast table,i dont have any entries for Goods Receipt.So i need to create entries in NAST table.Please help me to solve this problem.
waiting for your replies
Regards
MaruthiHi!
Ususally it is not neccessary to create manual entries in NAST.
You have to print the document from its transaction. Naturally there may be some other settings which are required after setting transaction NACE.
If you understand the Letter of delivery on the Goods Receipt, which can be printed from VL02N, then you have to set some automation to your printing using transaction VV22.
Regards
Tamá -
Hi Gurus,
In my requirement i want to set the data base field VSTAT as 1 in NAST table when the order is processed. I'm using UPDATE statement to update the database field but it does not work. i write the code like this
update nast set vstat = 1
where kappl = 'EF' and
objky = '5500000002' and
kschl = 'LEFT'.
but it doesn't work fine sy-subrc set to 4. Is there any way to set the value of vstat as 1. Please help me.same here, you need to write your issue clearly. Why are you trying to update NAST. it contains the output from the transaction, why not letting it processed instead of doing something stupid bu updating in in the code. if you dont weant output to be processed remove the condition record.
You would help yourself if you write the problem yiu are facing more clearly. eg you are writing the code but where? which program ? user exit? how can one imagin what your issue is -
Hi,
Anyone can plz give me the auswer that which types of values are stored in NAST table.
Regards,
MeenakshiHi,
refer this thread,
https://forums.sdn.sap.com/click.jspa?searchID=2382214&messageID=3162327
Reward points if useful..
Regards
Nilesh -
RSNAST00 program and NAST table.
Can anybody tell what is the relation between
RSNAST00 program and
NAST Table ?
1). Actually, it seems RSNAST00 program first check the Object key entries in NAST table ...if it does not find the exact entry in NAST table, then RSNAST00 program creates one entry in NAST tables and generated spool...
Please validate me ...Hi Sam,
The ABAP Program RSNAST00 is the standard ABAP, which is used to collect unprocessed NAST message and to execute the assigned action.
RSNAST00 can be executed as a collector batch run,that eventually looks for unprocessed IDocs. The usual way of doing that is to define a batch-run job with
transaction SM37. This job has to be set for periodic processing and start a program that triggers the IDoc re-sending.
Regards,
Chandra Sekhar -
How to link NAST table with ADR6
Hi,
I need to extract the email adrress from ADR6 . I give output type , transmission medium and extract fax no from NAST.
can anybody provide me a link between ADR6 and NAST. Have tried usung address number. But somehow address number is not at all gettin populated. can anybody provide me the solution.Hi,
Mostly u can Avoid NAST table for Fax Number.
(NAST table mostly fax number not available)
So U use ADR3 table get the Fax Number.
ADR3-ADDRNUMBER = ADR6-ADDRNUMBER.
Reward if usefull.
Thanks,
Durai.V -
Hi all,
I am using T.Code : MRRL .
I want to Print Document, When I m Saving Data of ERS of Invoice Varification.
I have Define Output Type ZERS : with Dispatch time '4'. But it is not getting printed same time.. i have to go T.Code : MR90 for Printing the Document.
I want this document printed at saving from T.Code : MRRL.
its making entry as '3' in NAST Table.
Its a very Urgent.
Thanx in Advance,
Shardul ShahHi,
Check the further data tab ... means?? i m not able to find it...
can u explain me....
thanx,
shardul shah -
How to archive the NAST table entries
Hi All,
Table NAST has 33 million records and there are lots of jobs which use this table. It is a performance issue. I want to know is there any way to increase the performance of accessing NAST table.
OR
Is there any way to archieve the entries from NAST table
Thanks in advance.Hi Sushant,
Welcome to SDN. The archiving should be a well coordinated and well thought effort in any enterprise. I will not suggest you to archive only single table. All the related tables should be archived together till a point in time. The table NAST is part of following archiving objects.
LE_HU Handling units
MM_EKKO Purchasing documents
MM_MATBEL Materials management: Material documents
MM_REBEL Materials Management: invoice documents
RV_LIKP Deliveries
SD_LIKP No text available
SD_VBAK Sales documents
SD_VBKA Sales activities
SD_VBRK Billing documents
SD_VTTK SD Transport
W_PROMO Retail: Promotion
You have to perform an analysis that which business processes ( like billing, delivery ) have resulted the most number of NAST records. Talk to your functional guys and <b>bring a project to archive them</b> up to a finite date ( like 12/31/2002). It will clear up not only NAST but other common tables (like CDHDR and CDPOS).
Maybe you are looking for
-
Push notifications in flash based iphone apps
Will there be support for push notifications in flash based iphone apps??? And will be support to play music while in flash apps?
-
Declaring top level classes instead of subclasses
I seem to have misunderstood something very basic. It's always better, where possible, to declare the top-level class instead of the sub-class, right? Ok, then why do I have the following problem? I declare, from the JavaMail API the following: Messa
-
I have developed a website using iWeb and it includes a blog page selected from stock pages in iWeb. I'm publishing it with GoDaddy and when I do that the interactive functions of the blog page don't work. (Adding comments and photos as well as sear
-
"Edit Content" feature not working
A bit of background: I own and operate a meal planning service. I use a combination of MS Office (Word, Power Point, and Excel) and Acrobat XI Pro to create my meal plans. I create the template designs in MS Office, then I convert them to PDF in Acro
-
Paragraph Styles - Don't Work | Buggy?
I'm on Windows 7 using PS CS6 (not extended) 64bit. I have watched several tutorial videos on Adobe and YouTube to see how to properly make and apply paragraph and chracter styles. I can select text and make a new paragraph style, but when I select a