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

Similar Messages

  • Hiding the Output types for ME22n transaction

    Hi,
    We have a requirement in removing the output types from the message tab of ME22n trasaction.we have defined 2 output types for the same NEU and ZFES a special function,we need to check if the PO is already assigned with ZFES then the NEU output types should not be displayed over there in messgaes tab.
    Any pointers will be really helpful.
    Thanks,
    Jay

    Use EXIT function  VN000001 for output selection
    write down your code as per your need .
    thanks
    abhishek

  • While saving the output from Conc Prog it saves in .PCL instead of .XLS

    Hi,
    I have one concurrent program which gives Excel Output directly without using XML Publisher.
    Using following Link I have designed the same.
    [http://knoworacle.wordpress.com/2008/11/03/excel-output-directly-from-oracle-application-concurrent-request-output/]
    Here it is giving problem when I click View Output Button after runing the concurrent request.
    It should Open and Save the file with .XLS format. Instead of that it is taking .PCL format to save.
    Please help me to get the file in .XLS and save it to local system.
    Thanks
    Alaka

    Alaka wrote:
    Hi,
    I have one concurrent program which gives Excel Output directly without using XML Publisher.
    Using following Link I have designed the same.
    [http://knoworacle.wordpress.com/2008/11/03/excel-output-directly-from-oracle-application-concurrent-request-output/]
    Here it is giving problem when I click View Output Button after runing the concurrent request.
    It should Open and Save the file with .XLS format. Instead of that it is taking .PCL format to save.
    Please help me to get the file in .XLS and save it to local system.
    Thanks
    AlakaPerhaps you included the optional step 4 in your coding...
    >
    4. Hijack one of the little used Viewer Options (PCL) so that we can get the Concurrent Request output browser to automatically open Microsoft Excel. Note this is optional, you can just create a new Viewer Option but then you may get the “Choose Viewer” box when viewing concurrent request output. NB: Navigation path is System Administrator, Install, Viewer Options
    update fnd_mime_types_tl
    set    mime_type = ‘application/vnd.ms-excel’
    ,      description = ‘Excel (SYLK) used to be application/vnd.hp-PCL: Printer Control Language’
    ,      last_updated_by = 0
    ,      last_update_date = sysdate
    where  file_format_code = ‘PCL’
    and    mime_type = ‘application/vnd.hp-PCL’;
    commit;

  • Output device not defined error while saving the quotation

    Hi all,
    We have some custom output types (ZGEN, ZSSO, ZQTO, ZJT)configured in the nace transaction for Application V1.  Whenever i am creating / saving a quotation one of the output type(ZQTO) is not processing for mail (External Send) and it is displaying an error as 'Output device not defined'.  If i remove all the output types while changing the quotation in VA22 from header, it is processing.
    I checked with all other output types combination.  The error is trigerred only when we  have ZJT output type along with ZQTO.
    We are not able to recognise the error.  Please help out to solve this issue.  Its very urgent.
    Thanks.

    Hi Remi
    Thanks for your reply. As per your reply I followed procedure and it allowed me to save Basic Pay Infotype (0008)
    Thanks a ton.
    Regards
    Prakash Bhave

  • In which table could i find the Output Type information

    such as Output type name..corresponding processing routine Program name etc..
    IF we are talking about the Output type in Delivery's term. thx

    Try the table TNAPR you will get all details.
    Deepak

  • Updating the VETVG table while creating the purchase order

    hi all,
       I have one requirement to calculated the delivery creation date while creating the Purchase Order. It is calculated based on the delivery date of PO. I have calculated that one but how to update it after calculation. Can any body give a user exit or BADI with implementation which will update the VETVG table while creating the PO.
    Thanks
    rajkumar

    hi sanjay,
    thanks for reply, I am using same BADI(ME_PROCESS_PO_CUST) and implementation(FIELDSELECTION_ITEM_REFKEYS). In this implementation i am setting the shipping data with SET_SHIPPINGDATA method . but after that the values are not updating the EKPV and VETVG tables but it is only showing in the screen. Can you give a idea where to pass these values so it will update the tables.
    thanks
    rajkumar

  • Update Likp table from HUPAST

    I've a scenerio where i've to updated LIKP table, when user save the HUPAST. I've created the BDC program which update the likp table using VL02N transacton. but when i'm calling the BDC from a BADI its giving a error, as i'm trying to update the same delivery number. (Delivery already updated by user).
    I'm now trying using events, i've traced an event CHANGED in object type LIKP , which is fired when HUPAST is saved.
    How do i update the event changed ??? and call the bdc program from the event.
    pls share .
    Sanju

    hi,
    You can do it PAI under module USER_COMMAND. and you can use standard UPDATE/MODIFY/DELETE statements to update ur database table and make sure u use a commit work after the use of ablove mentioned statements.
    kindly check this.
    PROCESS BEFORE OUTPUT.
    MODULE status_9010.
    LOOP WITH CONTROL tab_control.
    MODULE move_data_to_table.
    ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP WITH CONTROL tab_control.
    MODULE move_data_from_table.
    ENDLOOP.
    *& Module move_data_to_table OUTPUT
    This is to move the data from the internal table to the table control
    MODULE move_data_to_table OUTPUT.
    This is to move the data from the internal table to the table control
    zmpets_mode-modecode,zmpets_range-rangeid,zmpets_servfacto-factor are column name of table control
    READ TABLE int_factor INDEX tab_control-current_line.
    IF sy-subrc = 0.
    zmpets_mode-modecode = int_factor-modecode.
    zmpets_range-rangeid = int_factor-rangeid.
    zmpets_servfacto-factor = int_factor-factor.
    ENDIF.
    ENDMODULE. " move_data_to_table OUTPUT
    *& Module move_data_from_table INPUT
    Date is moved from the table control to the Internal Table
    MODULE move_data_from_table INPUT.
    To move the data from the table control to internal table 'INT_FACTOR'.
    int_factor-modecode = zmpets_mode-modecode.
    int_factor-rangeid = zmpets_range-rangeid.
    int_factor-factor = zmpets_servfacto-factor.
    *here if the data is there, it will modify
    MODIFY int_factor INDEX tab_control-current_line.
    IF sy-subrc NE 0. "data not exixting in table control . ie new data, then append it
    APPEND int_factor.
    CLEAR int_factor.
    ENDIF.
    ENDMODULE. " move_data_from_table INPUT
    Also refer to this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
    <b>Reward points if found helpful…..
    Cheers,
    Chandra Sekhar.</b>

  • Problem While saving the Invoice

    Dear Experts,
                      I am facing the Problem while Saving the Invoice, In invoice, We assigne the Output as RD00 and Medium as 6 (EDI).
    When we are saving the Invoice, it getting as ' Updated Terminated'. When i found where the Error is coming in SM13, it showing in as Function Module "RV_MESSAGE_UPDATE' & Error Details is 'EAN11 not found for Material'.
                     But in Invoice whatever we enter the Material number, we maintain the EAN11 code. This EAN11 code is seen in MARM & VBRP Table. Unable to find the what the exact error is.
                   please help me to sort this issue, Its business complicated.
    Thanks in Advance,
    Srini

    Hi Asik,
              Thanks for your valuable Message.... I run as you suggested, but the dispatch time i kept as 1 or 2. because the program RSNAST00 is picking the values only for 1 or 2. so i run manually,, as of now the issue is, in the invoice number, for one material number, the Billed quantity is zero, so the UOM is getting as initial. From those vaues we are picking the EAN11 from maram table.
    So, i modify that and run the EDI manually. As of now its working...
              Thanks for your reply,,,
    Regards,
    Srini

  • Error while saving the excise invoice

    Hi All,
    I am getting the following error while saving the excise invoice.
    No account is specified in item 0000000001
    Message no. F5670
    Diagnosis
    No account was specified for account type "S" in item "0000000001" of the FI/CO document.
    System Response
    The Financial Accounting program cannot process the document.
    Procedure
    A system error has probably occurred in the application you called up. Check the data transferred to item "0000000001" of the FI/CO document.
    I have read all the posts with regards to the error before, however still after doing the required settings I am getting the error. Please let me know for the same.
    Kind Regards
    Atul Keshav

    Dear All,
    The issue stands resolved please find below the required settings which need to be done.
    You need to maintain the following entries in  J_1ITRNACC table
    100 DLFC 01 CR PLAAED
    100 DLFC 01 CR PLABED
    100 DLFC 01 CR PLACESS
    100 DLFC 01 CR PLASED
    100 DLFC 01 CR PLAAT1
    100 DLFC 01 CR RG23AAt1
    100 DLFC 01 CR RG23AED
    100 DLFC 01 CR RG23BED
    100 DLFC 01 CR RG23SED
    100 DLFC 01 DR MSUSP
    Also the table J_1ITRNACC should include entries for GRPO, CAPE, DIEX, EWPO,
    TR6C with subtransaction type 01.
    We need to maintain GL Accounts accordingly in the table  J_1IEXCACC.
    If still the error persists then you need to apply the following notes.
    1018071
    978186
    1032813
    The SAP note 1032813 contains the correction for the program MJ1IINF01
    you will have to apply this manually.
    Kind Regards
    Atul Keshav

  • Dump while saving the project

    Hi all,
    System is giving dump while saving the changes in the project.
    Short text
         The current application triggered a termination with a short dump.
    What happened?
         The current application program detected a situation which really
         should not occur. Therefore, a termination with a short dump was
         triggered on purpose by the key word MESSAGE (type X).
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         Short text of error message:
         Profitability segment number 0026636665 does not exist in operating conc
         ern XXXX!
         Long text of error message:
          Diagnosis
              The system discovered a serious inconsistency in the data basis of
              Profitability Analysis (CO-PA) This message should never occur in
              the course of normal operations.
              The system tried to find characteristics from the segment table
              CE4XXXX using the segment number 0026636665 in operating concern
               This profitability segment number does not exist.
              This can occur if you have deleted data from table CE4XXXX and have
              already assigned data to profitability segments in this operating
              concern.
              Another cause may be that you have changed the assignment of your
              controlling area to an operating concern. When this happens, the
              system tries to interpret the segment numbers in the new operating
              concern.
          System Response
              Do not continue processing.
          Procedure
              The data in the segment table needs to be reconstructed. It may be
              possible to re-enter the assignments to profitability segments.
              Look in OSS for notes regarding error message KE499. You may find
              information there that could help you solve the error.
              Otherwise contact your CO-PA consultant or create a problem
              message.
         Technical information about the message:
         Message class....... "KE"
         Number.............. 499
         Variable 1.......... 0026636665
         Variable 2.......... "XXXX"
         Variable 3.......... " "
         Variable 4.......... " "
    Process -
    From WBS element user fields, charactertics value are assigned to profitability segment through derivation rule
    WBS element values settles to Profitability segmnet.
    WBS element has system staus REL  ACPT RESA SETC
    System is giving dump while saving any changes in the project. can anybody tell what is root cause and solution for this issue?
    Thanks,
    Sudhir

    Request you to refer this note 199959.  Take help of you CO cosultant.
    Edited : Request you to check with your CO consultant as PSG has been deleted, take help fo ABAP as well. ( May be above note may not help you much,  WIth help of ABAP and CO define problem and than seach with your message KE499 in Service market place )  That would be better  approach.
    With Regards
    Nitin P.
    Edited by: Nitin  Patoliya on Mar 10, 2010 5:02 PM

  • Maintaining the Output type in the PO from Sales Order

    Hi experts,
    I have developed one application for Sales Order that..there is one link of Purchase order in the Sales order.if i click on PO in the sales order.it goes to me22n screen.if i will maintain the output type in the PO and Click on SAVE button.it gives some error like (No update of sales order 100001 from purchase
                                     order (error V1 275)).
    cud u help me to solve the above issue.its very urgent.
    is there any way to change to va02 to va03...when i am going  from va02 to me22n
    thanx in advance
    regards,
    hpp

    May be because when saving the PO, it's trying to update some sales order related data too and it's locked by you. Try using the save button in output type maintenance screen, or open the sales order in display mode and call ME22N and try maintaining the output type.
    or try using LEAVE TO TRANSACTION ME22N from VA02.
    Regards
    Sridhar
    Message was edited by:
            Sridhar K

  • Saving the output of a .sql file in .csv format

    Hi,
    I am saving the output of a .sql file in .csv format. But the problem is , the record of few columns have "new line" character in it, so when it is getting saved in .csv format, those records are coming in multiple rows, but they should come in one single row in single block. Please advise how to overcome this problem.
    Regards,
    Niraj

    Hi Guys,
    I guess, there is a misunderstanding.
    He is talking about the issue caused as a result of the data containing a "CRLF" ( Carriage return Line feed ) .
    That is mainly a data issue.
    The query i presume, must be right.
    I guess you should be able to fix it using some string functions.
    Some thing similar to this
    CREATE TABLE ASH (NAME VARCHAR2(10))
    SELECT REPLACE(NAME, CHR(13)||CHR(10), 'ISH') FROM ASH;
    SELECT REPLACE(NAME, CHR(10), 'ISH') FROM ASH;
    SELECT REPLACE(NAME, CHR(13), 'ISH') FROM ASH;
    depending on the type of new line whether it is CR or LF. or CRLF.
    Regards
    Ashish/-

  • 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

  • Warning massage while saving the asset master record

    Hi all,
    I have a problem while saving the asset master record.My client manages the group asset in the depreciation area 15 for tax reporting.What I have done in the configuration that, I have created a separate asset class for group asset and marked this asset for entirely consisting of group assets.Then I have createdall  the grpup assets in this marked class.For example, supppose I have created one group asset class 50000 and I have created all the group assets in this class.Then I assign the gr.asset no. in the master record of the normal assets and while saving the master record I am getting the warning massage as the account determination is different than the asset.It may't be possible to reconcile them from the FI-AA.But if I am creating the group assets in the class of the normal assets such type of error massage doesn't appear.Also while retiring the normal assets the asseet is not being deactivated automatically and instead a warning massage is coming the asset is still having value in the depreciation area 15 and can't be deactivated.Can any body suggest where I have gone wrong in the configuration?
    Debabrata Das

    Update delays sometimes mean that there is a queue waiting at the UPD task.  Go to SM51 and check to make sure that there are no other tasks waiting to be processed.  Check with you Basis group - they might be able to run some diagnostics on the update task.

  • Geting the output type of spool requests

    Hi all:
    I was wondering how to get the output type (called Message type "KSCHL" in table NAST) for a certain spool request (those are saved on table TSP01). It seems like these tables are unlinkables each other. When I print a smartform, I choose the output type (mail, printing, fax, etc.) but when I check the spool request on SP01 transaction, there aer not way to review the output type (KSCHL). Any idea? Thank you so much .

    Hello Gilberto,
    U can get the output type of any billing doc or sales doc or invoice or purchase order thru table
    NAST.
    Re,Manas

Maybe you are looking for