NAST Table update

HI
We have around 200o invoice in which one specific output type called ZIDR is in process yellow state. We wanted to update it to green.
Is there any utility program which updates NAST-VSTAT based on message type?
Reg
shan1242

Hi Shan .,
   Program                                   Short description
   ASTBKF08                              Convert processing status single NAST
   NASTVF08                              Convert processing status single NAST
if You need Function modules
RV_MESSAGE_SET_PROCESS_STATE
thanks
Sreenivas Reddy
Edited by: Sreenivas Reddy Dommata on Aug 21, 2008 10:56 AM

Similar Messages

  • How to send the PDF file to FAX will the nast table updates

    Hi all,
    How to send the PDF file to FAX. Will the nast table updates ( which fields updates ).
    Need is once fax is send for that delivery, again it should not fax again. Will the nast table helps to check the sent fax.
    Please give me sutable suggessions....

    Have you checked Forums » Community Discussions » Code Snippets 
    I believe there were some examples on converting/sending PDF.
    Or check FM 'SO_DOCUMENT_SEND_API1' and documentation for it.

  • Reg:Updating NAST Table

    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

  • FM to update NAST table

    hi ,
    Due to my specific requirements , I want to update Procesing status field in NAST table.
    Can u plz tell me da name of the FM to update that / any other way

    refer same thread...
    Re: Update NAST

  • How NAST table is updated

    Hi,
    I have a sales order and I am generating billing document . for the same billing doument have a script form and conditional records
    Please let me know how the NAST table is updated and also how the field nast-vsztp is updated with the conditonal records for the billing documents
    if i have the conditional records How nast-vsztp is updated for a billing document .
    Thanks in advance
    Sudhakar

    Hi,
    The billing document generated with refrence of credimemo( sales order ) .Unable to put the messages.
    I maintained same customer grp3 . what conditional records contain . Still it is taking default value for the ouput type.
    Please let me know why the conditional records is not considering at all and why it is not updating NAST-VSZTP.
    Thanks in advance
    Sudhakar

  • 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
    Madhuri

    I 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.

  • Nast protocol updation error

    Hi Folks,
    It is quite explanatory why I am posting this question.
    I am trying to update a nast protocol in my driver program and I am popualting the nast table using nast_protocol_update in sales Invoicing. The problem is that expect issuing printing the output type is not updating with an error icon and there is no log in processing log.
    Please help me where the problem could have been.
    The updation is not reflecting in the nast table.
    Thanks and Regards,
    Krishna Mukthineni

    Thanks Bharani,
    first the processing log is not getting populated for VF03 even when the driver program is populated with the error state and upating through nast_protocol_update.
    Please suggest any solution.
    Regards,
    Krishna Mukthineni

  • Help tuning the query on NAST table .

    I have the below query on NAST table which is performin very badly:
    SELECT objky INTO TABLE i_objky
         FROM nast
         WHERE kappl = c_kappl            
         AND   ( ( kschl = c_kschl_zbax ) 
               OR ( kschl = c_kschl_zoem ) )
         AND   vstat = c_vstat_comp       
         AND   objtype = c_likp
          AND ( ( datvr EQ w_start_date AND
                  uhrvr GE w_start_time ) OR
                ( datvr EQ w_end_date AND
                  uhrvr LE w_end_time ) OR
                ( datvr GT w_start_date AND
                  datvr LT w_end_date ) ).
    Further there is already an index on KAPPL and KSCHL.
    Message was edited by:
            Ashish kumar

    If I understood your logic correctly - you are trying to select objects which have outputs processed within your date/time interval.
    You can try to rewrite your select to force index 'A' usage as suggested by Christian, but it is not very helpful if you have too many records in NAST as in this case this index is not very selective and optimizer usually ignores it. Of course, you can ask your BASIS folks to tell you if you can use 'hint' addition in your select to force index usage as it depends on DB and some DBs require some work to be done on DB level to enable hints.
    Other options could be
    - try to provide a range (even if it is wide enough) for object key... it may really help as NAST contains too many records for different objects and this range may help with primary key usage.
    - OR if you are interested in these 2 output types only - you can increase the speed of your select significally if you define a separate database table which you will update with these outputs (when they are just created in NAST) and your program (if it usually runs just once per your date.time range) will check the status of these outputs and then delete records from your table or just update them with "processed" status.
    You can actually just create a copy of NAST table which is going to be updated when these outputs are processed (from corresponding processing program), so you will have records there with at least date, and then based on these records you can select actual date/time from NAST. It will be much faster... but it requires more design/coding.

  • NAST  Table

    Hi,
       I got a one requirement. What is the use of NAST table?Now iam creating one custom table.In the custom table Customer Number(Kunnr) and Billing Document(VBELN) is there.And NAST table provided and they given for customer number(NAST-PARNR) And Billing Document Number(NAST-OBJKY).So what is the
    use of NAST table.Why they provide NAST-PARNR and NAST-OBJKY insted of
    customer number and billing document.Please give me reply?
    Thanks & Regards,
    sairam

    I Don't understadn what your requirement is , but the standard procedure is this.
    for example take Purchase order.
    Me21n is the transaction.
    When you save the purchase order, an output type which is attached to the ME21n transaction will trigger the PO Output driver program. The data in the ME21n transaction is transferred to the PO Driver program in NAST structure.
    Once the PO's outpt is issued succesfully, NAST table will be updated with the PO Number as Object Key. for that particular Output type.
    Regards,
    Ravi

  • 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.L

    REPORT 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

  • Auto update of Ztable when ever BSID or BSAD tables updated

    Auto update of Ztable when ever DB table updated     
    Hi experts
    I want my Ztable get updated automatically when ever a record is created or updated in BSID or BSAD tables.
    Here clear requirement
    Generally using Company code & Allocation number  ( 18 char ) my programs access BSID & BSAD tables it is taking very long time for execution almost more than 30 minutes ( data in millions ).
    Step 1.
    I created a new Ztable with limited fields Company Code, Customer, Document, Allocation Number and Posting date.
    Step 2.
    Before look into BSID or BSAD my program searches Ztable for Customer number & Document number using Allocation field and Company code.
    Step 3.
    Once get the Customer & Document numbers accessing BSID & BSAD table is very easy (now just taking less than 1 minute).
    Created a new program to update Ztable every day but BSID and BSAD are live table so I want my Ztable get updated immediately when any entry posted in BSID or BSAD
    Please help me
    Satya
    Singapore

    You need to check what is the procedure (T-Code) from which the data gets updated into these tables.
    For example
    when we craete a material from MM01 the data gets updated in the corresponding table i.e. EKPO.
    In same way you need to find the process and then you can use BTE (Busineess transaction events) for that process. BTE are only for FI module and these tables are also related to FI .

  • Problem in MSEG Table updation

    Hello All,
    The problem is related to MSEG table updation after Stock Transport Order  (STO) is done between Manufacturing plant & Depot. The problem is described below with an example.
    In case of STO the Supplying Plant or vendor is SP02 and the Receiving Plant or the customer is RP15.in the STO under the shipping tab for Customer the system is showing RP15 and under the Delivery address tab for Vendor the system is showing SP02.
    While during PGI when the material document is generated when we check the MSEG table two line items have been generated where  we found that the field WERKS contained SP02 & RP15 against which the feld XAUTO is showing blank space & X symbol respectively.But in case of both LIFNR & KUNNR fields it is showing blank space, which indicates that both the vendor & customer  fields are not getting updated in the MSEG table.
    Now I want the system to pick up the data for KUNNR field (in case of XAUTO is X) also in the MSEG table i.e. RP15 should also be displayed in the MSEG table.
    Is there any configuration to attain my requirement?
    Looking forward to some valuable suggestions.
    Thanks & Regards
    Priyanka Mitra

    the ADRx tables are central tables that are used from various transactions in SAP.
    e.g. from customizing, master data maintenance, transactional data, such as purchase orders and sales orders.
    use the ADRNR from ADR6 table and then lookup an entry in table ADRC to find and hint to its origin  field ADDR_GROUP

  • Calling Batch input from Web Dynpro - any alternatives for table updates?

    Hi!
    I am asked to create a screen in Web Dynpro for the GJ30 transaction (JV Cutback mapping of WBS' elements). I created a remote enabled function module which call batch input for GJ30 . Testing the Function modules direclty goes fine, but not calling the function module from WD. then I get the same error message as when I once tried to call SAP GUI from Web Dynpro ( Call transaction /submit program).
    My next step is to try to create a batch input session (instead of call transaction) and run it using rsbdcsub, and then check the result of the run. But maybe this will fail of the same reason as well, and I suppose this will make the user waiting longer for the response .
    I read somewhere that Web Dynpro does not support batch Input. But what can you do when there are no standard BAPI's for the update you want to do in SAP ?  We are not supposed to do direct table updates.  
    Anyone who have struggled with the same issues and found a solution??
    regards, Tine

    Hi,
    as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
    Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
    Thanks,
    Chandra

  • How to capture the table update

    How to capture the table update.Suppose I delete a enrtry from the table or mofying any entry in a table is there way to capture that update in SAP?

    hi ,
    follow these steps:
    1. After you selecte the search help for New Responislbe person, domodify gets triggered.
    2. In the wddomodify, get the value of New Responsible person by reading the attribute binded to it.
    3. Now if Value entered is not initial, write a selecte query to fetch the name based on pernr no.
    4. Finally bind the name fetched with the attribute binded to New Responsible person name.
    Wdomodify :
    ************* *Read the New REsponsible person Pernr* ***********
      DATA lo_nd_cn_sflight TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_sflight TYPE REF TO if_wd_context_element.
      DATA ls_cn_sflight TYPE wd_this->element_cn_sflight.
      DATA lv_carrid LIKE ls_cn_sflight-carrid.
    * navigate from <CONTEXT> to <CN_SFLIGHT> via lead selection
      lo_nd_cn_sflight = wd_context->get_child_node( name = wd_this->wdctx_cn_sflight ).
    * get element via lead selection
      lo_el_cn_sflight = lo_nd_cn_sflight->get_element(  ).
    * get single attribute
      lo_el_cn_sflight->get_attribute(
        EXPORTING
          name =  `PERNR`
        IMPORTING
          value = lv_carrid ).
    ****** *Check whethre a value has been entered in PERNR* *************
    if lv_carrid is not initial.
    *************Select Name based on pernr entered* ***********
    select ename from pa001 into lv_ename where pernr = lv_carrid.
    *******Set the Name atttribute with the ename value fetched* *****
      lo_el_cn_sflight->set_attribute(
          name =  `NAME`
          value = lv_cename ).
    endif.

  • 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,
    Joy

    I 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.

Maybe you are looking for

  • Error message while posting of miro document.

    Dear All While making posting of parked miro document following error msg coming u201CPlanned Delivery cost for PO u2013 7777777 , 00010 incorrectly defined. u201C Pls. solve this issue. Regards, Vishal Kr. Sharma

  • Export and Import of table

    Dears, I need to export two tables from PRD and import to QAS. Size of table is 1 GB and 3 GB. Please confirm: 1--Do i need any downtime for export and import of table 2- How much time will it take in this export process. Please suggest. Shivam

  • Add "Show in Bridge"

    Hello,   Someime to time I wish to show my picture not only in Lightroom but in Bridge as well.   I suggest to add "Show in Bridge" after "Show in Finder"   Have a nice day

  • How to set my System Property for frmall.jar like !

    I have a JAR file named SecAuth.jar in ORACLE_HOME\forms\java\ directory. I configured this JAR file in ORACLE_HOME\forms\server\formsweb.cfg file archive tag. Like, archive=frmall.jar,SecAuth.jar Its working very nice. Now I need to give a System Pr

  • I need help with SSI please.

    I am trying to work a SSI example and I am having a problem with the ssi tag used on the Jigsaw server I have an index.shtml page which includes the following tag to display the hit count from the ncount1 servlet. <!--#servlet name="ncount1" code="se