Output type is generating for each spilt batch in the delivery

Hi All,
We are using Z output type for COA - EDI processing which uses standard program RSNASTED. I observed that  output type is triggered for each individual batch in the delivery . I want to know how can I restrict to trigger output type only for item instead of each barches. Can I get some solution in the output type configuration (NACE) to trigger output type for item level.
Regards,
Uday

Udaya,
I got the fix. There was wrong output procedure maintained to the output type.
What was the reason for different output behavior for output type ZXYZ?
1.Output type-ZABC- Triggering for both item and batch
10 - Main Material - 30 EA - ZTAN- contains output determination in V/73
90001 - Batch-001 - 10 EA - ZBAT
90002 - Batch-002 - 20 EA - ZBAT
2.Output type-ZXYZ- Triggering only for Item
10 - Main Material - 30 EA - ZTAN
90001 - Batch-001 - 10 EA - ZBAT
90002 - Batch-002 - 20 EA - ZBAT
Thanks!

Similar Messages

  • SD - Accounting document line items are generating for each item

    Hi all of you,
    We have done account determination for SD. Accounting documents are also generating, but with in the invoice accounting document, number of line items are generating for each item with in the sales order, standard invoice type is F2 like -
    Item 001 - X Material
    Item 002 - Y Material
    Item 003 - Z Material
    The accounting document is -
    Line Item 001 - Customer Ac Dr
    Line Item 002 - Discount A/c Dr
    Line Item 003 - Sales revenue
    Line Item 004 - Discount A/c Dr
    Line Item 005 - Sales Revenue
    Line Item 006 - Discount A/c Dr
    Line Item 007 - Sales revenue
    Line Item 008 - VAT
    Even, in my experience I did not find this type of entry and the sales revenue and discount accounts are same with in the COA and is posted with in the plant.
    Please give me your valuable suggestion to rectify the above issue.
    Regards,
    Ramki
    Edited by: Ramki on Nov 5, 2009 10:06 AM

    Dear Ramki,
    This is SAP Standard. System generates Accounting document line item for each Line items in Invoice.
    This is standard & also required bacuase say you have different Material types in single Invoice (e.g.Material & Service items, Trading Goods, etc). The valuation class assigned to these Material Types may be different & you might want to post revenues from these Line items in different GL Accounts.
    Hope this helps. .
    Thanks,
    Jignesh mehta

  • Output type not created for outbound delivery while using SHMNT05 idoc type

    Hi Experts,
    Please help me to solve the below issue.
    Problem:- I want to to generate an IDOC(using type SHPMNT06) once the PGI is done for an outbound delivery.
    Already it is working fine when used DESADV.DESADV01 or DESADV.DELVRY07. But now the output type is not getting created when used SHMNT.SHPMNT06. I have created a separate output type ZPJ7 just as a mirror copy of the earlier output type(ZPJ6) used for DESADV.DELVRY07.
    Question:- Is it possible to use idoc SHPMNT06 instead for DESADV01 or DELVRY07? If yes then what are steps to be followed?
    The reason why SHPMNT06 idoc is planned:- We have a scenario to send outbound delivery to 3rd party system via XI. If the outbound delivery is for National(Not for Export) and PGI is completed then send the idoc straight forward to XI otherwise DO NOT generate the idoc, but just create the delivery. Collect all the deliveries in a transport and send it in a shipment. The shipment details can be sent using SHPMNT idoc. Now from XI perspective, if we can utlitze the same SHPMNT idoc for the National delivery(1st case) then perhaps this will require less effort. Hence shipment idoc is required to be generated when the delivery is created and PGI is done.
    Also it would be great if you can advice some better way to solve above mentioned scenario.
    Many Thanks,
    Sanjay

    There could be several reasons. Go to the document and in the extras-output check output determination analysis in the processing log.
    If the output has been created successfully then you need to see your printer determination. Ask basis to check it up. If the problem is that even the print preview is not coming. Check your communication in the output analysis and ensure LOCL is selected. Any other printer will need to be configured.
    If thats done already then check whether you have maintianed the condition record.
    If that too is done then check whether your output type has been assigned to the output procedure and that the output type is listed in the procedure.
    regds
    Jude

  • Output type not generated after PO save.

    HI,
    While creating new PO, we are able to see the output type(ABC) before saving the PO. But after saving it, there isn't any output type (ABC) generated.
    I have maintained MN04 & WE20. Kindly advice.
    Best Regards,
    Kapil.

    1) Have you checked the T code WE21 (Ports in IDoc processing)
    is your IDoc port exist in WE21. the same port which you have assigned in WE20 (Partner type LI)
    2)in WE20, for Partner (Vendor )- check the partner status as "A"- active in classification tab
    Hope you have maintained "message type" in outbound parameters. where we assign the IDoc Port
    Thanks

  • Printing Terms and Conditions for each Purchase order in the RDF output

    Hi All,
    Present i have an RDF report with the registered concurrent program. when i run this concurrent program i am getting the terms and conditions at the end of the purchase orders only once(for example 10 purchase orders). Now the requirement is to get this terms and conditions printed for each purchase order. The output is in PDF format. It's an 11i RDF report. Can any one suggest me the methods how to do this? Please give me reply as soon as possible.
    Thankyou in advance
    Regards,
    Polimera

    Hi, Polimera
    Welcome to OTN
    Present i have an RDF report with the registered concurrent program. when i run this concurrent program i am getting the terms and conditions at the end of the purchase orders only once(for example 10 purchase orders). Now the requirement is to get this terms and conditions printed for each purchase order. The output is in PDF format. It's an 11i RDF report. Can any one suggest me the methods how to do this? Please give me reply as soon as possible.
    Take a fixed frame inside the purchase order master repeating frame and place your terms and condition inside the fixed frame.
    Hope this helps
    If someone response is helpful or correct, please mark is accordingly

  • Finding output type and form for the transaction

    hi all,
       i have a problem finding output type and form for the transaction j1iv .actually i need to find the standard output type and form name for the transaction j1iv. how can we do it.

    Hi Abinash,
         Go through the following steps.
                     1 . Go to the transaction <b>NACE.</b>
                     2. You will be able to see the <b>Application and description</b> tab over  
                         there. Select the Application for which you need the output type.
                     3. After selecting the Application..on the top you can see the tab--
                        output types...click in that..here you will be able to see all the <b>output
                        types for that application.</b>
                    4. Now select a output type ..and on the left side u will be able to see
                       the tab for processing routines...double click on it...
                    5. Here you will be able to see the standard SAP program...the form
                       routine...the form..attached to it..
                Please Reward..if helpful..
    Regards,
    Himanshu.

  • Standard driver programs,output type ,scripts,smartforms for SD reports

    hi experts,
                  Can any one list all the standard driver programs,output types ,scripts,smartforms for SD reports.
    mani

    Hi,
    Check this out
    NACE
    You can track the form and the print program used for that form
    The Tcode NACE is used to link the Standard SAP forms (SCRIPTFORM or SMARTFORM) or the customized form or the new form to its respective print programs. Also the output types, Form entry are linked with their forms and print programs. In short term, i can tell u that configuration or customization of forms to print programs, assigning output types, form entry to the forms are done using this Tcode.
    NACE is used to create output type while creating the output type you will mention forms, and driver program.
    that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
    so check in NAST, TNAPR table
    http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm
    Condition records in NACE?
    and
    NACE is used for message control customizing.
    Take a look at the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm
    and also
    NACE is used for message control customizing.
    Take a look at the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm
    If it helps reward with points..

  • Output type and application for order cancellation

    What is the output type and application for the cancellation of a sales order

    Hi,
    Try This
    cancellation of sales order:
    go to va02 enter the sales order and click enter
    then sales document->delete
    Reward if usefull

  • Output type is used for sending / printing "schedule lines" against sch agr

    hi
    which output type is used for sending / printing "schedule lines" against sch agreement
    LPET or LPH1?
    sara

    Hi Sara,
    It is LPET.
    Thanks & Regards,
    Kiran

  • I need output type NEU automaticaly for create purchase order document type

    Dear Experts,
    I need output type NEU automaticaly for create purchase order document type NB
    when transaction code MN04, I am doing the following:
    (1) I selected the third option Purchasing Output determination: Document type
    (2) I selected the output type NEU.
    (3) In condition records in document type , i have chosen NB.
    (4) In name its automatically coming as Purchase requisition
    Please suggest how Purchase Order NB will come

    Hi,
    Check & press F4, NB Purchase Order (for catagory F) will be there after entering PO output type NEU & then maintaion the condition record in MN04.
    Output type NEU automaticaly defaulted during purchase order creation with document type ,then just fine tune the output (message) type in following path:
    SPRO--->MM->Purchasing>Message>Output control->Message types> Define message type for Purchase Order----->Fine-Tuned Control: Purchase Order
    Now here select the check box corresponding to your output(message) type NEU to have print output automatically displayed & save.
    Now try to creating Purchase Order & you will have default message type NEU.
    Regards,
    Biju K

  • How to create an inspection lot for each line item of the Purchase order?

    Hi,
    How to create an inspection lot for each line item of the Purchase order ?
    In detail if possible.

    Hi
       please check this
    [thread|Create Inspection Lot;

  • Create TO for a quantity less than the delivery quantity

    If we have created an inbound delivery in MB1C, 561 movement to post an initial entry of stocks, and then packed the HU in Vl32N. Now, we want to create a TO for a quantity less than the delivery quantity.
    In LT03 I cant see any option to change the TO quantity. How can we actually change the TO quantity to be less than the Delivery quantity.
    Thanks
    -Mike

    Mike,
    I dont think that's going to be possible.  The TO gets data from the del qty which is in your embedded HU since you have packed the qty in the del in the HU,
    so if you are trying to create a TO with less qty means that you want a qty less that the HU in the del and this is not possible.
    Alternatively : 
    1) You can receive it in your warehouse.
    2) Move it in a re-packaging area
    3) break the HU and re-create a new HU.
    4) Pack the desired qty
    5) Move the 2 HU's back to their desired bins.
    Hope this helps and works!
    thanks'

  • Associative array type for each blob column in the table

    i am using the code in given link
    http://www.oracle.com/technology/oramag/oracle/07-jan/o17odp.html
    i chnages that code like this
    CREATE TABLE JOBS
    JOB_ID VARCHAR2(10 BYTE),
    JOB_TITLE VARCHAR2(35 BYTE),
    MIN_SALARY NUMBER(6),
    MAX_SALARY NUMBER(6),
    JOBPIC BLOB
    CREATE OR REPLACE PACKAGE associative_array
    AS
    -- define an associative array type for each column in the jobs table
    TYPE t_job_id IS TABLE OF jobs.job_id%TYPE
    INDEX BY PLS_INTEGER;
    TYPE t_job_title IS TABLE OF jobs.job_title%TYPE
    INDEX BY PLS_INTEGER;
    TYPE t_min_salary IS TABLE OF jobs.min_salary%TYPE
    INDEX BY PLS_INTEGER;
    TYPE t_max_salary IS TABLE OF jobs.max_salary%TYPE
    INDEX BY PLS_INTEGER;
    TYPE t_jobpic IS TABLE OF jobs.jobpic%TYPE
    INDEX BY PLS_INTEGER;
    -- define the procedure that will perform the array insert
    PROCEDURE array_insert (
    p_job_id IN t_job_id,
    p_job_title IN t_job_title,
    p_min_salary IN t_min_salary,
    p_max_salary IN t_max_salary,
    p_jobpic IN t_jobpic
    END associative_array;
    CREATE OR REPLACE package body SHC_OLD.associative_array as
    -- implement the procedure that will perform the array insert
    procedure array_insert (p_job_id in t_job_id,
    p_job_title in t_job_title,
    p_min_salary in t_min_salary,
    p_max_salary in t_max_salary,
    P_JOBPIC IN T_JOBPIC
    ) is
    begin
    forall i in p_job_id.first..p_job_id.last
    insert into jobs (job_id,
    job_title,
    min_salary,
    max_salary,
    JOBPIC
    values (p_job_id(i),
    p_job_title(i),
    p_min_salary(i),
    p_max_salary(i),
    P_JOBPIC(i)
    end array_insert;
    end associative_array;
    this procedure is called from .net. from .net sending blob is posiible or not.if yes how

    Ok, that won't work...you need to generate an image tag and provide the contents of the blob column as the src for the image tag.
    If you look at my blog entry -
    http://jes.blogs.shellprompt.net/2007/05/18/apex-delivering-pages-in-3-seconds-or-less/
    and download that Whitepaper that I talk about you will find an example of how to do what you want to do. Note the majority of that whitepaper is discussing other (quite advanced) topics, but there is a small part of it that shows how to display an image stored as a blob in a table.

  • Output message not generated for Purchase order

    We maintain MN04 message condition record for  2 key combination for output type NEU:
    1. Purchasing Output determination : Document type  -> NB, medium 1 print out
    2. Purchasing Output determination : Document type/Pur Org/Vendor -> NB, 1000, vendor 20001, medium 5 External email
    When I create PO for other vendor (not 20001), the system is nicely generating the output of the PO for printout.
    Next we have maintain a condition record in MN04 for a particular vendor 20001, Doc type and Porg with setting 5, 4, EN so that we can send the PO via email to the vendor 20001, the system is not generating a message output of the purchase order when i check it before saving.
    Please help me with this situation. we need setup the email PO functionality.

    I created another message type ZNEU copy from NEU, include it in the message schema, created condition record with MN04/MN05 for both NEU for printout  and ZNEU for medium 5 email. done all steps mentioned in the links.
    When create a PO still only 1 message record NEU is defualted for printout only.
    The message record for email ZNEU is not defaulted in PO?? Anything elase need to be done.

  • Data upload:F-02: each documnet number to be generated for each line item

    Dear ABAP experts,
    I have a requirement.
    When we uplaod customer or vendor invoices ,a document number will be generated or posted.
    Similarly, my requirement is :When I do the same kind of uploads, for each line item in an excel file each document number has to be generated or posted .This upload is using Tcode: F-02.
    How do I generate each document number for each line item (for each vendor or customer).
    Please do the needful.Either send me a sample code or an idea how to proceed.
    Thanks,
    Hema.

    Hi,
    using below code you can generate document number  for each line Item.
      PERFORM bdc_dynpro      USING 'SAPMF05A' '0100'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        IF  wa_final-field1 NE c_space.
    convert date to user format
          MOVE wa_final-field1 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BKPF-BLDAT'
                                        v_date1.          " Document Date
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BKPF-BLART'
                                      wa_final-field4.          " Document Type
        PERFORM bdc_field       USING 'BKPF-BUKRS'
                                      wa_final-field2.          " Company Code
        IF  wa_final-field3 NE c_space.
    convert date to user format
          MOVE wa_final-field3 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BKPF-BUDAT'
                                         v_date1.          " Posting Date
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BKPF-WAERS'
                                      wa_final-field5.          " Currency
        PERFORM bdc_field       USING 'BKPF-KURSF'
                                      wa_final-field6.          " Rate
        PERFORM bdc_field       USING 'BKPF-XBLNR'
                                      wa_final-field7.          " Reference
        PERFORM bdc_field       USING 'BKPF-BKTXT'
                                      wa_final-field8.          " Document Header Text
        PERFORM bdc_field       USING 'RF05A-NEWBS'
                                      wa_final-field9.          " Cr.Posting Key
        PERFORM bdc_field       USING 'RF05A-NEWKO'
                                      wa_final-field10.         " Cr.Vendorcode or GL Account
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-HKONT'
                                      wa_final-field11.         " Dr.Alternative Recon A/c
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      wa_final-field12.         " Dr.Amount in Document Currency
    Begin of changes by someshwar
       IF v_field5 NE 'jpy' OR v_field5 NE 'JPY'.
        TRANSLATE v_field5 TO UPPER CASE.
        IF v_field5 NE 'JPY'.
          PERFORM bdc_field       USING 'BSEG-DMBTR'
                                        wa_final-field13.         " Dr.Amount in Local Currency
        ENDIF.
    Changes end
        PERFORM bdc_field       USING 'BSEG-GSBER'
                                      wa_final-field14.         " Dr.Business Area
        PERFORM bdc_field       USING 'BSEG-ZTERM'
                                      wa_final-field15.         " Dr.Payment Terms
        IF  wa_final-field16 NE c_space.
    convert date to user format
          MOVE wa_final-field16 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
    *Begin of changes by someshwar
         IF  wa_final-field16 NE '00000000'.
          PERFORM bdc_field       USING 'BSEG-ZFBDT'
                                        v_date1.         " Dr.Baseline date
         ENDIF.
    *Changes end
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
    *Begin of changes by someshwar
       IF wa_final-field17 NE ''.
        PERFORM bdc_field       USING 'BSEG-ZLSCH'
                                      wa_final-field17.         " Dr.Payment Method
       ENDIF.
    *changes end
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      wa_final-field18.         " Dr.Assignment
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      wa_final-field19.         " Dr.Text
    *Perform Save posting
        PERFORM save_post.
      ELSE.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-HKONT'
                                      wa_final-field11.         " Dr.Alternative Recon A/c
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      wa_final-field12.         " Dr.Amount in Document Currency
    *Begin of changes by someshwar
       IF v_field5 NE 'jpy' AND v_field5 NE 'JPY'.
        TRANSLATE v_field5 TO UPPER CASE.
        IF v_field5 NE 'JPY'.
          PERFORM bdc_field       USING 'BSEG-DMBTR'
                                        wa_final-field13.         " Dr.Amount in Local Currency
        ENDIF.
    Changes end
        PERFORM bdc_field       USING 'BSEG-GSBER'
                                      wa_final-field14.         " Dr.Business Area
        PERFORM bdc_field       USING 'BSEG-ZTERM'
                                      wa_final-field15.         " Dr.Payment Terms
        IF  wa_final-field16 NE c_space.
    convert date to user format
          MOVE wa_final-field16 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BSEG-ZFBDT'
                                        v_date1.         " Dr.Baseline date
         ENDIF.
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BSEG-ZLSCH'
                                      wa_final-field17.         " Dr.Payment Method
      ENDIF.
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      wa_final-field18.         " Dr.Assignment
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      wa_final-field19.         " Dr.Text
    *Perform Save posting
          PERFORM bdc_field       USING 'RF05A-NEWBS'
                                        '40'.                     " Cr.Posting Key
          PERFORM bdc_field       USING 'RF05A-NEWKO'
                                        '999996'.                 " Cr.Vendorcode or GL Account
          PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        'BU'.
    *&      Form  BDC_TRANSACTION
    FORM bdc_transaction  USING    p_tcode.
      DATA: l_v_string TYPE string.
      REFRESH i_messtab.
      CALL TRANSACTION p_tcode USING i_bdcdata
                       MODE   g_mode
                       UPDATE 'S'
                       MESSAGES INTO i_messtab.
      IF NOT i_messtab[] IS INITIAL.
        READ TABLE i_messtab WITH KEY msgtyp = 'E'.
        IF sy-subrc EQ 0.
          LOOP AT i_messtab.
            IF i_messtab-msgtyp = 'E'.
              PERFORM fill_error_table USING i_messtab-msgtyp
                                             i_messtab-msgid
                                             i_messtab-msgnr
                                             i_messtab-msgv1
                                             i_messtab-msgv2
                                             i_messtab-msgv3
                                             i_messtab-msgv4.
            ENDIF.
          ENDLOOP.
          v_error = v_error + v_count.
        ENDIF.
        READ TABLE i_messtab WITH KEY msgtyp = 'S' msgnr = 312.
        IF sy-subrc EQ 0.
          SELECT SINGLE * FROM t100 WHERE sprsl = sy-langu
                                    AND   arbgb = i_messtab-msgid
                                    AND   msgnr = i_messtab-msgnr.
          l_v_string = t100-text.
          REPLACE  '&' WITH i_messtab-msgv1 INTO l_v_string .
          PERFORM fill_error_table USING i_messtab-msgtyp
                                             'ZMSG_FI'
                                             '025'
                                             i_messtab-msgv1
                                             wa_final2-field2
          v_success = v_success + 1.
        ELSE.
          LOOP AT i_messtab.
            IF i_messtab-msgtyp = 'S'.
              PERFORM fill_error_table USING  'E'
                                                   i_messtab-msgid
                                                   i_messtab-msgnr
                                                   i_messtab-msgv1
                                                   i_messtab-msgv2
                                                   i_messtab-msgv3
                                                   i_messtab-msgv4.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
      CLEAR :  t100 , l_v_string .
    ENDFORM.                    " BDC_TRANSACTION
    Regards,
    Siva.

Maybe you are looking for