TR created for each line item

hi,
  when i post the document in migo using 311 movement type i am getting separate Tr for each line item,but i need single TR all line items , how to solve the issue.
Thanks
Muthuraman.D

hi,
thx for your answers but user mistakenly put into different movement types for each line item so different TR is created...now the problem solved.
thanks
Muthuraman.D

Similar Messages

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

  • How to get the texts for each line item for Sales order in a smartform

    I'm createing a smart form in which i need to display certain texts for each line item of a sales order. How can i get those??
    I'm trying with the table STXH and FM read_text... but i'm not clear how and what i'm getting... can anybody pls help me.....

    Hi There,
    But then i will be getting only the value. i want to link that against the particular material of the Purchase Order.
    Like for ex:
    PO No.  Material Code        Line Item        Basic        Excise       Tax       Inv Value
    0000001 5000251                010               100           16         4.64      120.64
    0000001 5000252                020               200           32         9.28      241.28
    Can u help me on this?
    Regards,
    Jitesh

  • P.O. with different Tax codes for each line item.

    Hi
    I would like to know how the IV has been done for the P.O. with differnt tax codes for each line item. Since in MIRO at header level we can select only one tax code.

    Hi
    Raju,
    It means we can post only one invoice at time i.e.for line item same taxcode is there.
    e.g. If line item 10 has tax code A1, 20 has A2 then on header i can only select either A1 or A2 tax code & post invoice of that line item.

  • How to restrict separate payment document for each line item in APP

    HI Experts
    PLs let me know how to restrict separate payment document for each line item in APP
    Thanks
    Sneha
    Edited by: Sneha R on Apr 14, 2009 4:18 PM

    Sneha,
    If your query was to group items for payment ,in FBZP  co code data for payment method there are 2 options 1.group payment for marked items 2.payment per due date.
    Also in the Vendor master there is a flag which will ensure that each item is paid individually,if this is what you were looking for  ( FK02 change vendor).
    In case you want to group items to be paid together Payment Grouping Key can be assigned in Vendor Master .
    Shony

  • Fi document: different tax code for each line item

    Dear All,
    Our FI department needs to post FI documents by uploading the list of line items. For each line item (even when they have the same g/l account) tax code may be different from 0 to 10%. Also the tax code needs to be entered in EUR not in %. So for example they may need to post the folowing document:
              PstKey   Account    Amount     Tax amt
    001     21          Vendor       95 EUR     Tax amount 5 EUR
    002     50          GRIR          100 EUR
    003     21          Vendor       90 EUR     Tax amount 10 EUR
    004     50          GRIR          100 EUR
    At the moment users have to post it manually. Tax rate cannot be restricted to allow tax from 0 to 10%.
    Can you please advice what would be the best approach for them to make it? Providing they do want to upload the document not enter the items manually..
    Thanks a lot in advance for your help!

    Hi,
    are there some messages during this process? Upload this list in foreground batch input execution. Verify if in stop point displays any messagem. If it is the case, go to OBA5 to change its status.
    Let me know results.
    regards

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

  • How can i show item schedule line details in Tableview for each line item

    Hai all,
      I need to display schedule line details  in Tableview for each line item.for example in each row i need to put one column along with button , if i click on this table that row  should be expand vertically and must show all schedule line details in that.if i click my button again the visible expanded row should disappear...
    if anybody works on this previously plz send some sample code...
    leoiz....

    To modify rows the best way is with the Iterator (do a search in the weblogs for "Iterator")
    However for what you want to do I've only seen this really work successfully with a standard HTML table not using the tableView.

  • Two idocs of same type for each line item

    I am new to SAP PI and seeking your help in the following scenario
    legacy -> SAP PI -> branched to two idocs in ECC
    The scenario is that a fixed length flat file coming from Legacy wil contain some line items but each line will be a separate invoice ..the twist . since it is a financial posting each invoice(line) has to be posted twice in the same IDOC but different logics  which implies that for each line in the file there will be two IDOCS created in ECC of the same type, where one would be the AR posting and the other would be the AP posting
    How can i make this happen without BPM ??
    I have referred to a blog 1 : n possible in PI without BPM but here it is a combination of 1:n and also splitting of the line and posting it to two IDOCS simultaneously
    since the transformation logics are different  will I  have to create two mappings but how and where to use them ??
    Can I please have someone help me with the steps in ESR ad ID
    Kindly help
    Thanks
    Rohan

    Thanks Prateek i have done that but
    " Map the occurrence of line items to the node Idoc at the target structue and then multiple idocs will be created "
    is what  iam unable to do
    In the mapping  i have to create  two idocs per line item and this is creating  just one
    my source structure is like this
    MT_abc     1.1
    Invoices     1..unbounded
    field 1
    field 2 etc
    and the target is
    ACC_DOCUMENT02 1..1
    IDOC                     1.unbounded
    and i have mapped invoices to IDOC
    now for  testing in the test tab of mapping
    how do i test  if i will have  two IDOC if i get  one line item  ??
    Edited by: RohanS on Jun 18, 2009 2:06 PM
    Edited by: RohanS on Jun 18, 2009 2:08 PM

  • Delivery Address for each line item in PO

    Hi Experts,
    My client has an issue,
    In a perticular PO print out he is geeting delivery address on each line items?
    How to resolve it?
    Meh

    Meh,
    Did you ever find out what's causing this?  We have the same problem.  I only happens on certain POs, not all.  Any suggestions would help.
    Thanks,
    Steph

  • Creation of Purchase Requisition  for each line item of a SO

    Hi everybody..
    My SO has 2 materials which is to be purchased from two different vendors. If i create SO with2 different materials, only one PR generated. I want to generate two different PR to create two PO.
    Dhana
    Edited by: dhanasekharan thyagarajan on May 22, 2008 11:22 AM
    Edited by: dhanasekharan thyagarajan on May 22, 2008 11:23 AM

    dear dhanasekharan
    you dont need to genrate two PR , let both item come into same PR , now with refrance to this PR you can create two diffrent POs for deffrent vendors. PO can reffer line each item of PR .
    hope this will make u understand
    reward points if helpful
    thanks and regards
    ravikant dewangan

  • Value contract - Need restrcition of amount in PO for contract line item

    Hello Guru,
    I want to create a single value contract (WK) for multiple years .. say 3 years with target value as 450K USD with three line items for each year of value 150K USD.  I would like that when buyers create a PO system should not allow them to create release purchase order for each line item more than 150 K for the year. Can somebody tell me how to configure that?
    Here is my current config example :
    Contract #ABC - Target value 450 with validity date 1/1/11 until 12/31/13
    Line item 1 - 150 K
    Line item 2 - 150 K
    Line item 3 -  150 K
    Now when I create PO with respect to contract#ABC line item 1 - system allows me to create PO with more than 150 K but gives me error message only if I exceed more than 450 K (because message 06/042 is error in config).
    The requirement is to create a single contract for the vendor. Can somebody help me to figure out the way to restrict PO amount by each year limit by standard or custom configuration?
    Thanks, Sachin
    Edited by: sachindubey on Feb 29, 2012 10:15 PM

    Hi,
    As far as I remember it was simple logic!
    Something like
    Goto EKPO select KONNR ;
    If  KONNR != blank (Not equal to blank)
    Do not allow to change condition type u201CPB00u201D
    Also incorporate addition date check for your need

  • To make service entry sheet for multiple line items of the service PO.

    Hello MM Gurus,
    Please help me for the following
    I create a service PO with say 10 line items. Then while doing the service entry sheet the system automatically picks the line item 10 by default. When I try to enter the other items it throws an error" unplanned services cannot be entered"
    So how to make a service entry sheet which shall include all the line items of the service PO at the same time.
    So if I have 100 items in the PO do we make the service entry sheet 100 times against each item? Is there any seeting/solution on this?
    Please help.
    Regards,
    Prasanna.

    Dear,
    I have two solution for u.
    1) Create different service entry sheet -ML81N for each line item and create single invoice verification for all service entry sheet - MIRO
    2) Create service purchase order - ME21N for only one line item.
    And include all services in service tab available at item detail level of service purchase order. Enter it's quantity and rate.
    Than create one service entry sheet for purchase order.
    So you can create one service entry sheet for all line item of services.
    Note: - Use option 2 for easy process.
    Regards,
    Mahesh Wagh.

  • Idoc_input_orders populate WBS data element in each line item

    hi experts,
    an idoc is passed thru the standard FM(idoc_input_orders) to create SO. Based on E1EDP19, I am populating WBS data in the WBS element in Account Assignment tab for each line item in the SO. I've EXIT_SAPLVEDA_002 UE, but called for so many time.  Is there a way to be called only once for each line of the sales order.
    Your contribution is greatly appreciate.
    Regards,

    Hi
    Go to WE19,
    Take the IDOC, and change the item index between items.
    For example for item 10 index should be 1.
    For item 20 index should be 2.
    This is happening because there are many items in the idoc and no difference for the child segments to identify their own childs.
    Warm Regards,
    Baburaj

  • Purchase order for a line item

    Hi Guys,
                 I have got the following business sceanrio.
    I have got a material "A" which can get from locally or can get from 3rd party also.
    In the sales order i have entered like following.
    Line item no.  Material     Qunatity     Item category
            10             A              100            
            20             A              500
    As only 100 quantity is available in my stock i want to go with 3rd party for line item 20.
    How can i go ahead in this scenario.
    What would be the item categories for two line items?
    If i go with Purchase order for line item 20. Where in sales order i can track that, Line item 20 is getting thru Purchase order, My requirement is to store the corresponding purchase order no for each line item getting from 3rd party (STO also).
    Thank you
    Anil

    Hi Anil,
    For delivery from stock use the item category TAN
    For procuring it from Vendor use the item category - TAS/TAB
    Check whether the ITEM CATEGORY GROUP & GENERAL ITEM CATEGORY GROUP for Material B is BANS/BANC & the Material type is HAWA.
    Once you get the item category TAS/TAB, in sales order save it and go to Change to mode of the Sales Order then you can see the purchase requisition no in the Schedule line tab. Based on this Purchase Requisition a PO is created.
    After you save the PO note down the PO number and then raise Goods Receipt (MIGO) with reference to the PO number.
    Now you can goto MMBE and check the Stock for Material B.
    Reward if helpful.
    Regards
    PAVAN

Maybe you are looking for

  • "My Account" can no longer be accessed through the log in

    Access to Credit Card accounts log in for Tesco no problem. Yet. since last two updates I can no longer access my savings accounts through the log in proceedure. On the pin and memorable word page(2nd log in page proceedure) it now appears as "web pa

  • An unknown error occurred (1418).

    So my iPod has been a little neglected over the past few months since I've been out of a job. I don't need to take it to work anymore to listen to my music. Very recently I went through an entire reformat and reinstall of my OS and other programs, so

  • ITunes Library been deleted, how do I want save what I have on my ITouch?

    Hi, I have recently been made redundant but they let me keep my work laptop, which has my ITunes on it. However, the IT staff deleted a lot of things before handing it back to me, including my entire ITunes library. I have looked into similar questio

  • Is it possible to print barcodes from LT31 (SAPScript) on a Zebra?

    Hi We have a factory that would like to print their picking lists/transfer orders using transaction LT31 to a Zebra ZM600 printer. The transaction appears to create a spool in the SAPScript format. We have tried pretty much all of the Zebra drivers (

  • While loop never stops after reading the result

    I 'amattaching the program with thismessage in which while loop never stops, going on continuing until I stops it manualy using the off button What i have to do to get it off automatically afetr execution and reading the query and getting the result