Updating NAST values while saving Delivery

Hi All,
I am creating Inbound delivery using VL31N transaction while saving Inbound Delivery an output type
is created with option '4. send imeediately'....' and '0 unprocessed' , but I need to change it to
'3. Procees with transaction..' and '0 unprocessed' while saving, without changing the master using NACE
is there any exit/badi by which I can change the values of NAST  i.e fields vztvp, vstat
so that its bypass the nace setting for Output type.
thanks
tanmay

Hi Anuradha,
the condition record setting is ok, with processing mode like '4' send immediately,  but I have to to change the same in a routine I have created say 901 using tcode v/27 fro Inbound delivery and I want it to set to '3. Call with transaction' , but when I  am changing to 'Call with transaction' it automatically set again to 'send immediately' , the problem is how to change the same , Is there any method to do so.
thanks
tanmay

Similar Messages

  • COA to be send to customer while saving delivery.

    Dear Friends,
    I have a requirement of sending the certificate of analysis (finished product)  to customer while saving delivery document.
    COA is the developed form (Z development) designed and that output we need to send to customer through email as soon as the sales delivery document is saved.
    To sum up my requirement :
    I need to  send COA through email as soon as delivery is saved. 
    Please provide your expert comments.
    Best Regards,
    Shekhar

    Dear,
    You want to send a quality certificate for the delivery to the Sold-to party.
    Define the settings for the output types for certificates (LQCA and LQCB in the standard system):
    Quality Management -> Quality Certificates -> Output Determination -> Define Condition Types for Output Determination
    Enter the required communication strategy in the "Default value" tab page. Assign output determination procedure to delivery item category".
    Define the assignments of the output types for certificates for the print program and transmission medium:
    Quality Management -> Quality Certificates -> Process Output -> Assign Print Program to Output Type/Medium
    Program RQCAAP00, FORM routine ENTRY, do not specify a form.
    The standard system provides the universally applicable QM_QCERT_01 form.
    The forms must be compatible with the output program. In the standard system the following output programs are available:
    RQCAAP00 for certificates for a delivery item
    You can access this program in Customizing for message dispatch and the program can be exchanged.
    RQCAAP01 for certificates for an inspection lot
    RQCAAP02 for certificates for a batch also you can use the FM 'QC02_BATCH_CHAR_SPECS'
    SAPLQC07 for certificates for a batch on the Internet
    For more details refer the OSS note 39418.
    Regards,
    R.Brahmankar

  • Check the values while saving the values in SM30

    Hi all,
    I have created a Table maintennace for a ztable in SM30.
    I want to check the values while saving the values in the SM30.
    Can aynbody please give any idea how can i acieve this.
    Thanks,
    Tarangini

    Hi Tarangini,
    Go to the Table Maintenence Generator screen in Change mode. from this Screen go to the
    Enviorment->Modifications->Events.
    New screen will open and click on the New Entries button.
    then from the F4 Help of the first column, select ur appropriate Event and in the second column give the name of the Subroutine.
    and from the Third column u can do the coding for the subroutine as shown below.
    FORM BEFORE_DATA_SAVE.
    IF SY-UNAME EQ 'USER1' OR SY-UNAME EQ 'USER2'.
    ELSE.
       message 'No Authorization for Change...' type 'E'.
    ENDIF.
    ENDFORM.
    Regards
    Jagesh

  • How to update Sales Order Delivery Block while saving Delivery ?

    Hi,
    I have a requirement wherein i need to update sales order delivery block field(VBAK-LIFSK) while saving the delivery for the order.
    Also I need to remove this block while execution of  Backorder Rescheduling program SDV03V02 (Tcode : V_V2),
    Can anybody help me out in this?
    regards,
    Nitin

    HI,
    try using BAPI_SALESORDER_CHANGE
    pass ur vbeln in SALESDOCUMENT
    pass an 'X' to    BAPISDH1-DLV_BLOCK
    and 'X' to        BAPISDH1X-DLV_BLOCK
    Also add the UPDATE task clause, you will want to set the flag only when delivery is being saved, not before that.

  • Update LIKP table while saving the output type in VT02N transaction

    Hi All,
    I have a requirement where i have to update Delivery Priority(LPRIO) field in LIKP table while saving the output type in VT02N transaction. I am not able to use the BAPI "BAPI_OUTB_DELIVERY_CHANGE" or FM "WS_DELIVERY_UPDATE" because, when we save the output type the programs that are configured in NACE are triggered in update mode and hence i will get a roll back error.
    Let me know other ways of updating the table at the time of saving output type for shipment transaction VT02N.

    This could be a result of one of the following reasons:
    1: Incorrect smart form/routine assigned in the output configuration (NACE)
    2: Serial number range of the delivery expired
    3: The default settings of the user (SU01) processing the delivery is missing the default printer name.
    Hope this is helpful
    Manish

  • No batch number appears while saving delivery

    hi all,
    While creating delivery,system is throwing a message
    "cannot add row without selection of batch number" and
    there is no batch no in the available batch for auto selection.
    Our client is unable to create delivery and subsequently
    do AR invoice.
    Additional Info:-
    Items in the delivery is already batch activated- Batch ,On Release only.
    Batch was also activated in general settings of Administration module.
    System was not asking us to enter  batch number anywhere in the production cycle.
    Expecting your esteemed reply.
    Jeyakanthan

    Jeyakanthan,
    I believe you have Batch management set in the Item Master but it is on Realase only.
    You can create Batch numbers for already received items. See help file extract below
    In addition, you can enter batches for the received items if you did not do so while generating marketing and stock entry documents. However, this is only possible if your company allows the receipt of items to stock without a batch number.
    To use this function, choose Inventory > Item Management > Batches > Batch Management.
    In Operation..Select Complete – to create batches for the received items
    Enter a range of item codes, for which you want to create or update batches.
    Click Ok and create the necessary batches
    Let me know
    Suda

  • Update Termination Error while creating Delivery

    Hello Experts,
    I am trying to create delivery with reference to Standard Order when I click on SAVE I am getting message that delivery is being created. But when I am trying to open the same delivery in change mode I am getting Update termination Error saying delivery not created.
    So what I tried doing is while creating delivery I have given Picked quantity and done with PGI then i am able to save the Delivery successfully and table LIKP is also updated. But this is not always that I can do. In my production system, without doing PGI I should able to save Delivery.
    Please could anybody help me on this ..is there any SAP notes?
    PS: My system is upgraded from ECC 6.0  Ehp2 to ECC 6.0 Ehp7.
    Many Thanks in advance.
    Priyanka J.

    Hello Kiran, Hello Klaus,
    Below are the details;
    Function Module   
    RV_DELIVERIES_SAVE
    Status            
    Update was terminated
    Report            
    LV50UF0L
    Row               
    50
    Error details   Class:
    00    
    Number:
    671
    Internal session terminated with a runtime error POSTING_ILLEGAL_STATE
    MENT (see ST22)

  • Update terminated error while saving in VA22

    Hi,
    I am trying to change the quotation in va22 transaction.
    What I am doin is  I am selecting all the items in incompletion log and filling to make the document complete.All the items have ben update with out error but there is field your reference (vbkd-ihrez) while entering data and saving it is showing document is complete but when you again check the incompletion log it is giving the following error.
    Update was terminated
    System ID....   PRO
    Client.......   401
    User.....   SAPUSER
    Transaction..   VA22
    Update key...   4BBE3BCBE2C1216BE1000000C0A80118
    Generated....   09.04.2010, 17:53:04
    Completed....   09.04.2010, 17:53:06
    Error Info...   Application area: /SMB40/SSFCOMPOSER  , message no.: 002, no entry found in T100
    Please help regaring this.
    Thanks.

    hello ikshaik 
    there might be problem in smart form of quotation remove the output message type and the try to save it
    Thanks
    Nilesh Gaikwad
    Edited by: Nilesh  Gaikwad on Apr 10, 2010 12:13 PM

  • Over delivery tolerance value while creating delivery document

    Dear Gurus,
    I need your help for the below scenario,
    I have created a sales order for 25000 TO, Over delivery tolerance is 10 %.So logically speaking I can dispatch 27500 MT material.
    I have created 3 deliveries as below,
    1st delivery for 23500 TO
    2nd delivery for 1480 TO
    3rd delivery for 50 TO
    That means if i see sales order at item level schedule line will show confirmed qty as 25000 TO,and delivered qty as 25030 TO.
    Now I am trying to create one more delivery since over delivery tolerance is 10 % but system is not allowing me to create delivery and throwing an error saying
    No delivery-relevant items in order 0025000281, order type ZEOR
    If i check the long text it is as below,
    No delivery-relevant items in order 0025000281, order type ZEOR
        Message no. VL455
    Diagnosis
        The sales order you want to deliver, sales order 0025000281 with orde
        type ZEOR, either contains no delivery-relevant items or its
        delivery-relevant items have already been delivered.
    Am i missing any IMG setting or this delivery tolerance value will be considered only for the last delivery,I mean once it exceeds 25000 TO system will not allow to create further deliveries even if it is not touched 27500 TO
    Thanks in advance.
    Regards,
    Shrikant

    Your system behaviour is correct and you can change this to warning message.  Go to zeroVLP, select your item category and maintain "A" for the field "Check overdelivery".  Presently, it should have been "B"
    thanks
    G. Lakshmipathi

  • Structure or field where serial number is stored, while saving delivery

    Hi All
    When user will create an OB delivery ...he will enter the Serial Number of the Materials and then user will hit PGI.....
    before the document get saved i want all the serial numbers that user has entered....and i want to process them....those serial numbers will be in some structure/Internal table......
    I am not getting those serial numbers in the userexits...may be i m skiping somthing....
    Please help me on this....
    Thanks in advance,
    Sabu

    Hi,
    In program 'MV50AFZ1', use the user exit 'userexit_save_document' for this purpose.
    Inside this LIKP structure will contain delivery header info and XLIPS, YLIPS etc will contain item level info like material etc..
    Here if XVBUK-WBSTK = 'B'/'C' indicates PGI is happening; else it indicates just delivery is being created.
    Hope this helps you !!!
    Regards,
    Ganga

  • Change values while saving invoices

    Hello,
    This is the first time I'm on this forum, so excuse me if this topic is not at the right place ...
    I search through a lot of articles in the forums, but I didn't found an answer on my question, so I ask my question here ?
    I have to change the value of VBRK-ZUONR the moment an invoice is saved ... Does anyone has an idea of where I have to put this change ??
    Thanks on advance,
    Kurt Clement

    Hi ,
    check there
    User Exits For Billing
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy). USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
    User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    USEREXIT_RELI_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAP_AVBPAK
    The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
    EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    EXIT_SAPLV60B_003: Change the customer line in costing
    The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
    EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
    EXIT_SAPLV60B_005: User exit for accruals
    Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
    EXIT_SAPLV60B_006: Change the control line ACCIT
    You can use exit 006 to add information to the control line.
    EXIT_SAPLV60B_007: Change the installment plan
    You can use exit 007 to add information to the installment plan
    parameters in the GL account item.
    EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
    After the accounting document is filled in with data, you can use exit 008 to change the document once again.
    EXIT_SAPLV60B_010: Item table for customer lines
    You can use exit 10 to influence the contents of customer lines before they are created.
    EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    You can use this exit to change inbound parameters in order to influence account determination.
    Regards
    Prabhu

  • Update termination dump while saving sales order after updating billing pla

    Hi,
    Our client is facing a strange issue. The client has a sales order already created and WBS element assigned to it automatically. The sales order has many items, which are billed periodically. Whenever the particular item has to be billed. user attaches milestone in the project which is updated in the billing plan of the sales order. Then user goes into change view of sales order, and sees if the billing plan is getting updated. After user sees that billing plan is updated, he tries to save the sales order and the update termination dump comes.
    We have analyzed this issue to some extent. Since the product hierarchy have been changed, the system checks for the duplicate records and throws the dump.
    We have advised the user to follow following steps also:
       1) Delete existing billing plan if any assigned to the order. You can delete the billing plan by going into CJ20N and deleting the existing milestones completely.
       2) Please ensure network in project is release and sales order does not have credit block.
       3) Change Product Hierarchy in sales order (Please do not copy and paste from Material master instead select the same through F4 for each level.
       4) Once again create the milestones as required in the Project.
       5) We need to remove block of billing plan from Project only instead of from Order.
       6) Check order in display mode and ensure billing plan has appeared.
       7) Now goto change mode of the order and carry billing.
    Above solution has solved the issue but sometimes it takes times for the above solution to work.
    The user has to repeatedly follow above steps to save the billing plan.
    We need to have permanent solution for the same. I would appreciate if anybody can help resolve this issue.
    Thanks

    Thanks All for providing me possible solutions.
    The issue is resolved by one more step into what i had suggested in my questions
    At step 3, after changing the product hierarchy, I simply go to billing plan tab, thereby generating billing plan even before I add milestones in the project.
    To my understanding, generating billing plan in the sales order must be conflicting with the milestone being added to the billing plan from the project, giving 2 billing plan numbers in the background and throwing update termination dump.
    Cheers!!

  • While saving the delivery no in VA02 dump error showing (Arithmatic overflo

    Hi,
    while saving the delivery no in VA02, one dump error getting displayed.
    Arithmatic over flow occurs.
    Can any one can say how to rectify the program to avoid dump error
    The below lines are showing in dump.
    Waiting for quick response.
    Error analysis                                                                 
                   An exception occurred that is explained in detail below.                                                       
                   The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not                                                       
                    caught in                                                       
                   procedure "USEREXIT_SAVE_DOCUMENT_PREPARE" "(FORM)", nor was it propagated by a                                                       
                    RAISING clause.                                                       
                   Since the caller of the procedure could not have anticipated that the                                                       
                   exception would occur, the current program is terminated.                                                       
                   The reason for the exception is:                                                       
                   An overflow was discovered in an ongoing arithmetical operation with                                                       
                   operands of type P. Possible causes are:                                                       
                   1. The result field of type P is too small for the result.                                                       
                   2. The result or a intermediate result has more than 31 decimal places.                                                       
         How to correct the error                                                                 
                   The result field must be enlarged, if this is still possible. It may                                                       
                   also be possible to break up the current process into subprocesses so                                                       
                   that only smaller values occur.                                                       
                   There may already be a solution to the error in the SAP notes system.                                                       
                   If you have access to the SAP notes system first try searching with the                                                       
                   following keywords:                                                       
                    "COMPUTE_BCD_OVERFLOW"                                                       
                    "BCD_FIELD_OVERFLOW" (Until release 4.0a, this runtime error occurred at this                                                       
                    position)                                                       
                    "SAPMV50A" or "ZSDI_MV50AFZ1_CRPC_CALC_4QA"                                                       
                    "USEREXIT_SAVE_DOCUMENT_PREPARE"               ***----
         Information on where terminated                                                                 
                   Termination occurred in the ABAP program "SAPMV50A" - in                                                       
                    "USEREXIT_SAVE_DOCUMENT_PREPARE".                                                       
                   The main program was "SAPMV50A ".                                                       
                   In the source code you have the termination point in line 666                                                       
                   of the (Include) program "ZSDI_MV50AFZ1_CRPC_CALC_4QA".                                                       
                   The termination is caused because exception "CX_SY_ARITHMETIC_OVERFLOW"                                                       
                    occurred in                                                       
                   procedure "USEREXIT_SAVE_DOCUMENT_PREPARE" "(FORM)", but it was neither handled                                                       
                    locally nor declared                                                       
                   in the RAISING clause of its signature.                                                       
                   The procedure is in program "SAPMV50A "; its source code begins in line                                                       
                   208 of the (Include program "MV50AFZ1 ".
    657                           ADD: xvbap-brgew TO l_w_tot_list_vals-brgew,                                                  
         658                                xvbap-zzlogpoint TO l_w_tot_list_vals-zlogpoint,                                                  
         659                               xvbap-zztotgrossvalue TO                                                  
         660                               l_w_tot_list_vals-totgrossvalue.                                                  
         661                                                                 
         662                                                                 
         663                           l_w_tot_list_vals-gewei = xvbap-gewei.                                                  
         664                                                                 
         665                           IF NOT xvbap-pstyv IN zzt_free.                                                  
         >>>>>                             ADD xvbap-volum TO l_w_tot_list_vals-volum.                                                  
         667                           ELSE.                                                  
         668                             ADD xvbap-volum TO l_w_tot_list_vals-volum_f.                                                  
         669                           ENDIF.                                                  
         670                           ADD 1 TO l_w_tot_list_vals-zw_nbitem.
    Best Regards,
    BDP
    Edited by: Bansidhar Padhy on Jan 26, 2010 8:24 AM

    ADD xvbap-volum TO l_w_tot_list_vals-volum.
    Declare l_w_tot_list_vals-volum as  "like vbap-volum" or (preferably) "type volum_ap".
    If you're using a packed decimal, you've done something like....  volum(5) type p decimals 2, which is a great way to get an overflow...if you use packed decimals in a program...declare <field> type p decimals <n> without a length attribute, so that SAP can use the full 8 bytes for the calculation.....the put it into a alpha field for display, if needed....

  • Automatic Picking giving error while saving the Delivery

    Hi
    We have done the configuration for doing automatic picking while saving the delivery.
    Steps done are
    1. TCode V/38
    2. TCode OVLT  where we have changed the Time value form 3 to 4 for  Send Immediate
    3. TCode VP01SHP where all shipping points are maintained.
    we are getting the following error while saving the delivery.

    Execute ST22 and go through the explanation given under the tab "Error analysis" and "How to correct the error".  Ask your ABAP team to look into this if you are not able to find out the root cause of the issue.
    G. Lakshmipathi

  • Updating Serialnumbers automatically while creating Outbound Delivery

    Hi Experts,
    My requirement is to populate serial numbers automatically while saving the outbound delivery (VL01N).
    I tried with user exits, but I am unable to succeed.
    I am using ECC5.
    Any help would be greatly appreciated.
    Thanks,
    Veera K

    Hi Veera,
    For an example if there is a  need to update some table with delivery number and serial number on saving a delivery:
    in include MV50AFZ1:
    FORM USEREXIT_SAVE_DOCUMENT.
    *{   INSERT <TR#>
    "work structure LIKP has the header info here
    "Use that and fill the required workstructure and update the correponding table
    *}   INSERT
    ENDFORM.

Maybe you are looking for

  • A little help with some code and theory

    Hey guys, I'm kinda new to this whole programming thing so bare with me please. I have a little problem that I just can't seem to get my hear around. I have a working on an inventory management page. It keeps track of what software is installed where

  • Problem with image multiplication

    Hi, I am working on an image processing application and I have a problem with multiplacation of image. I use an autothresholding function to get a binary image. After thresholding I want to superimpose binary image with image taken with a traditional

  • Text field spry validation over 2 table cells?

    Hello, This might be a real simple thing, but I can't figure it out. Can anyone  please help? I'm using DW CS3 and I'm building a contact form. I'm using DW's Spry  validation for my text field. It's an email field. I'd like to put the  label in one

  • How do I superscript text in Ver 3.6?

    The font dialog box has changed in Ver 3.6 and I can't find a way to superscript text when making a book.

  • Bottom portion of address doesn't print with labels...??

    g3 tiger printing labels--no problems g4 ibook--haven't tried macbook c2d--when choosing labels can't change the default size of print from 12 to 10 and when previewing it shows a different avery format(2 columns not 3). i checked the label, and layo