Max # line items in a purchase order

What is the maximun number of line items that can be created in a purchase order or in a contract?
Thanks

>
mamamoraga wrote:
> What is the maximun number of line items that can be created in a purchase order or in a contract?
>
> Thanks
Best practice would be to stay with 99 line items, as if created more, than you will have trouble in Goods receipt. GR allows just 99 line items receiving. If more than 99 line items are used in PO, then you need to do multiple GR's against the said PO.

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 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery

    Hi SD Gurus,
    I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
    I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
    Is there any way to achieve the same? Can some expert show the way to achieve this.
    Thanks in advance.
    Warm regards,
    Rahul Mishra

    Hi Ravikumar thanks for u quick reply.
    This is wht is currently coded.
    concatenate values to get item text for read text function
       invar3+0(10) = invar1. "PO number
       invar3+10(5) = invar2. "PO line number
       SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
                                   AND tdname   = invar3
                                   AND tdid     = 'F01'
                                   AND tdspras  = sy-langu.
       IF sy-subrc = 0.
         invar4 = invar3.
    reading the text for the document items.
         CALL FUNCTION 'READ_TEXT'
           EXPORTING
             id       = 'F01'
             language = sy-langu
             name     = invar4
             object   = 'EKPO'
           TABLES
             lines    = it_itab.
    I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
    but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
    As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
    anyhelp will be appreciated and rewarded.
    thanks

  • Blocking a Requisition Line Item if A Purchase order exists

    Hi All,
    We are looking at a way to block a purchase requisition (not allow the end user to make changes) if a Purchase Order Exists for that purchase requisition line item. Is there a way of doing this without having to use a user exit?
    We do have release strategies on requisitions so we can control the filed status there but this is not really going to solve the 'problem'
    Your help will appreciated.
    Kind Regards,
    GA

    Hi,
    Thanks for your help. The end user are mostly changing the value, quantity and adding specification in the text fields. But the procurement department do not pick these changes up as the PO is already with the Vendor.
    Regards,
    GA

  • Modifying line item price in Purchase Order

    Hi guys,
    Need your help regarding pricing modification in purchase order.  I know the below explanation is quite long enough, but still if you can look into it and put some thoughts:
    The price picked for a line item from PIR, needs to be modified depending on total price.
    Say for example, in a PO there are two line items
    Mat1     10PC 10 usd/1pc
    Mat2     10PC 20 usd/1pc
    so total price for PO goes as 300 usd.
    Now, if PO price exceeds 250 usd a different price needs to be picked from a custom table for line items. Say it should now become 8 usd/1PC and 18 usd/1PC for Mat1 and Mat2 respectively.
    So, after entering PO items if the user presses the 'check' button, new price should be picked, as per the above example the new lines should be shown as
    Mat1     10PC 8 USD/1PC
    Mat2     10PC 18 USD/1PC
    so total price for PO goes as 260 USD.
    Hope I've made you clear about the requirement.
    Now, what we are able to do so far is:
    We have used the 'check' method BADI 'me_process_po_cust'. And we are calculating the total price and changing the item conditions.
    But it's not reflecting on the me21n screen even after execution of the 'check' method successfully.
    It still shows the line items as
    Mat1     10PC 10 USD/1PC
    Mat2     10PC 20 USD/1PC
    But, now if we make any changes in the line items (say we add the requisitioner name) and hit ENTER the changed prices are reflected. And the items become
    Mat1     10PC 8 USD/1PC
    Mat2     10PC 18U SD/1PC
    This is a thing we are stuck into.
    Please express if you have any idea how to come out of this issue.
    Thanks in advance.
    Anupam

    Hi Anupam,
    Flow Logic of the screen.
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      LOOP AT ITAB WITH CONTROL TABC.
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP AT ITAB.
        MODULE READ_TABLE_CONTROL.
      ENDLOOP.
    Write the read_table_control module like below
    MODULE read_table_control INPUT.
       MODIFY itab INDEX tabc-current_line.
       "The above will update the entered data on table control
    ENDMODULE.
    Kindly check if this table control gets updated in PAI or not.... if not... try to find an exit where  this can be done on PAI.....
    Regards,
    Deeba

  • Delete SO after deleing PO line item in Individual Purchase order

    "Individual Purchase order"
    if i create SO with individual PO then PR is created automatically and i convert this PR to PO if i want to delete So line item i can't because it's linked to PO.
    I deleted this PO line item and i tried again to delete SO line item the same information message comes u can't delete SO because it's linked to PO however PO is deleted.

    You can reject the line item in Sales Order rather than deleting the sales order.
    Thanks,
    Ramesh
    PS: please award points if you find my information useful.

  • How to move the item level details to line item in the Purchase order form

    Hello,
    I am in SAP SRM7.0 system, my customers requirement is that the item level details like MPN (Manufacturer Part Number) etc.. should be moved to line item field in the Puchase Order.
    Can any one give me susggestion on this. This is not the correct forum for this thread but still pls post the link of related threads which may help in this regard.
    Regards
    Madhan

    HI Masa,
    THanks a lot for your reponse, in the option given by you i could find it to make visible or required but there is clue on moving the MPN to item field in the line item level. Can you give more input on this.
    Regards
    Madhan

  • Vendor Line Item display/ and Purchase order Field

    FI Experts
    We recently implemented the MM PO module in SAP, we are creating PO's automatically in SAp from a 3 party system. We are using field "Our Field" EKKO-UNSEZ to enter a reference from the 3rd party system. Our account payable have requested that they need this field to display in FBL1N "Vendor Line Item Display". I tried by using special fields but table is not available. Anyone has any suggestions? I know I can use BSEG and EKKO but it is too big of a table to use. Does this requires more of an ABAP report rather than just a simple QUERY report?
    Your suggestions are appreciated.

    Hi,
    PO Nr. doesn't appear in Vendor line item, but yes, in GRIR account.
    So when are you performing MIRO, you may use XREF3 field, which usually remains blank, through user exit (OBBH) for populating PO Nr. But yes, if you are processing MIRO of multiple POs, you may not be able to set multiple values.
    BR

  • Item text in Purchase Order getting updated with info. record Purchase Order Text

    Hello All,
    I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
    Issue:
    Item text in Purchase Order getting updated with info. record Purchase Order Text
    01) PO Text is maintained in the material master under "Purchase Order Text" tab
    02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
    03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
    03.1) this behavior is not observed in the Plants/ Company code that is already Live
    Configurations in the system:
    The copying rules for the "Texts for Purchase Orders" is
    Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
    We have modified the Purchase Order form to print one of  the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
    I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
    Am I missing any configuration or where can I look in what is causing this error.
    Request help from the experts in the forum.
    with Regards,
    Dhandapani R

    There is no company/purchasing/plant specific customizing for purchase order text.
    The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
    If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)

  • Max line items in FI reached..

    Hi,
        We are posting an invoice using MIRO and it is giving an error that "Max line items in FI has reached".
    So is there any way that we can post if the total line items are more than 999.
    Regards>

    Hello,
    Please check the note
    36353 - AC interface: Summarizing FI documents
    But be aware that contents in many fields can prevent the summarization.
    So please thoroughly compare the entries in database table BSEG, which were not
    summarized together, with each other. Do really all fields have the same content in all line items, of course except for the amount fields? If not, these fields, which are no amount fields and whose
    content is different in the line items, can be added in transaction OBCY.
    As per the note 1070206 if you have the setting Determine taxes line-by-line (Customizing transaction OBCO: TTXD-XTXIT = X. Please implement the notes 1051914 and 1070206 this should help here.
    The enhanced logic also makes postings from MM and SD are not summarized completely although the settings in note 36353 are correctly made. As a solution, note 645356 releases BSEG-XREF3 in transaction OBCY.
    The aggregation is prevented through different content in the fields of EBELN (Purchasing document or purchase order) and EBELP (Purchasing document or ordering item). Thus a higher aggregation could be achieved with SAP Note 77161 (for dummy operation 'VBRK').
    Per note 77161, you have to setup up point no. 2 by maintaining table TTYPS with fields
    TABLE   FIELDNAME
    BSEG     EBELP
    BSEG     EBELN
    In point no. 3 setup in your system. Please insert the following field in table TTYPV for object type 'RMRP'
    TABLE   FIELDNAME
    BSEG    EBELP
    Please take note that the account assignments to the purchase order (EBELN) and to the purchase order item (EBELP) are NOT deleted by default. In both the goods receipt with reference to the purchase order (MB01) and the invoice verification, they are assigned to an account in the FI document and thus PREVENT the summarization of the FI document.
    This makes it possible to clear the GR/IR clearing account at PURCHASE ORDER ITEM level.
    By implementing the changes as per notes 77161 and 36353, the clearing of the GR/IR is at PURCHASE ORDER NUMBER level.
    Also, refer to the following notes:
      645356 No summarization of FI documents from MM due to
      545137 FAQ Interface - summarization
      117708 A maximum of 999 items can be posted in the FI doc
      743744 MIRO/MR1M: FI follow-on documents or MM documents missing
    Please, check carefully the customizing with the reference notes.
    I think that this should help to resolve your inquiry.
    Best Regards,
    Vanessa.

  • How to configure Item Category in Purchase Order document

    Hi
    Can someone tell me how to configure the Item Category in Purchase ORder document?  This field is displayed next to Account Assignment in PO screen.
    Thanks,
    Lin-Lin

    I think your issue is screen layout of the PO
    please go to
    SPRO-MM-Purchasing-Purchase order-Define Screen Layout at Document Level
    here you can select the ME21N and double click on it
    on field selection of basic data you can make item category is optional than it will be avialable
    if still you find the problesm than check your field selection of your document type and change that field selection as above mentioned.

  • Cancel all items in the purchase order

    we need a program to cancel all items in the purchase order   .
    exists any BAPI or funcion or metod to do this ?
    becuase if we to do this for the TC ME22N we need to do this item by item.   
    our programmer  suggest us an update of the table EKPO

    Here is an example program using the BAPI to set the deletion indicator on all line items of a PO. 
    report zrich_0001.
    data:   return type table of bapiret2 with header line,
            poheader type bapimepoheader,
            poheaderx type bapimepoheaderx,
            poitem type table of  bapimepoitem with header line,
            poitemx type table of  bapimepoitemx with header line.
    data: iekpo type table of ekpo with header line.
    parameters: p_ebeln type ekpo-ebeln.
    start-of-selection.
      poheader-po_number = p_ebeln.
    clear iekpo.  refresh iekpo.
      select * into table iekpo from ekpo
                     where ebeln = p_ebeln.
      loop at iekpo.
        poitem-po_item = iekpo-ebelp.
        poitem-delete_ind = 'X'.
        append poitem.
        poitemx-po_item = iekpo-ebelp.
        poitemx-po_itemx   = 'X'.
        poitemx-delete_ind = 'X'.
        append poitemx.
      endloop.
      call function 'BAPI_PO_CHANGE'
           exporting
                purchaseorder = p_ebeln
                poheader      = poheader
                poheaderx     = poheaderx
           tables
                return        = return
                poitem        = poitem
                poitemx       = poitemx.
      commit work.
      loop at return.
        write:/ return.
      endloop.
    Regards,
    RIch Heilman

  • Splitting sales ord line items to diff deliveries based on max line items

    Hi,
    I'm trying to split sales order line items to different deliveries based on the max line items on Sales Organization ( TVKO-MAXBI ) . I activated a new routing (copying standard 001 ) but an error is happening
    Item 000200: delivery split due to conflicting header data (ZUKRL: M106 <-> M1061)
    However the split does not work as expected. Does anyone have any ideas ?
    Pls help me
    The code is:
    data: ITEMNO        LIKE TVKO-MAXBI,
          BILLNO        LIKE TVKO-MAXBI.
    *}   INSERT
    FORM DATEN_KOPIEREN_601.
    *{   INSERT         MTDK905083                                        1
      LIKP-VKORG = CVBAK-VKORG.
      LIKP-AUTLF = CVBAK-AUTLF.
      LIKP-VSBED = CVBAK-VSBED.
      LIKP-FKARV = TVAK-FKARV.
      LIKP-TRAGR = MAAPV-TRAGR.
    Fill field ZUKRL with combination criteria
      LIKP-ZUKRL(2)      = CVBAK-VTWEG.
      LIKP-ZUKRL+2(2)    = CVBAK-SPART.
        IF NOT TVKO-MAXBI IS INITIAL.
          IF ITEMNO < TVKO-MAXBI.
            ITEMNO = ITEMNO + 1.
          else.
            LIKP-ZUKRL+4(2) = BILLNO + 1.
            ITEMNO = 1.
          endif.
        endif.
      LIKP-STAFO = CVBAK-STAFO.
      LIKP-STWAE = CVBAK-STWAE.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-KNKLI TO LIKP-KNKLI.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-GRUPP TO LIKP-GRUPP.
      MOVE CVBAK-SBGRP TO LIKP-SBGRP.
      MOVE CVBAK-CMWAE TO LIKP-CMWAE.
      MOVE CVBAK-WAERK TO LIKP-WAERK.                      "46C/note 184914
      MOVE CVBAK-CTLPC TO LIKP-CTLPC.
      IF LIKP-LFART = TVAK-KORLI.
        LIKP-KLIEF = CHARX.
      ENDIF.
      MOVE CVBAK-LIFSK TO LIKP-LIFSK.                           "45B
    Pick-up sheet number in delivery order processing is external dlv. no.
      IF CVBAK-VBKLT EQ VBKLT_AUSL_AUFT OR
         CVBAK-VBKLT EQ VBKLT_AUSL_AUFT_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    Consignment issue by service agent is external delivery number
      IF CVBAK-VBKLT EQ VBKLT_EDL_ENTN OR
         CVBAK-VBKLT EQ VBKLT_EDL_ENTN_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    *}   INSERT
    ENDFORM.

    hi friend i solved the problem.. was a mistake on my source... I send u the code to help u in advanced... thanks for your time
    data: ITEMNO        LIKE TVKO-MAXBI,
          BILLNO        LIKE TVKO-MAXBI.
    *}   INSERT
    FORM DATEN_KOPIEREN_601.
    *{   INSERT         MTDK905083                                        1
      LIKP-VKORG = CVBAK-VKORG.
      LIKP-AUTLF = CVBAK-AUTLF.
      LIKP-VSBED = CVBAK-VSBED.
      LIKP-FKARV = TVAK-FKARV.
      LIKP-TRAGR = MAAPV-TRAGR.
    Fill field ZUKRL with combination criteria
      LIKP-ZUKRL(2)      = CVBAK-VTWEG.
      LIKP-ZUKRL+2(2)    = CVBAK-SPART.
        IF NOT TVKO-MAXBI IS INITIAL.
          IF ITEMNO le TVKO-MAXBI.
            ITEMNO = ITEMNO + 1.
          else.
            BILLNO = BILLNO + 1.
            ITEMNO = 1.
          endif.
        endif.
      LIKP-ZUKRL+4(3) = BILLNO.
      LIKP-STAFO = CVBAK-STAFO.
      LIKP-STWAE = CVBAK-STWAE.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-KNKLI TO LIKP-KNKLI.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-GRUPP TO LIKP-GRUPP.
      MOVE CVBAK-SBGRP TO LIKP-SBGRP.
      MOVE CVBAK-CMWAE TO LIKP-CMWAE.
      MOVE CVBAK-WAERK TO LIKP-WAERK.                      "46C/note 184914
      MOVE CVBAK-CTLPC TO LIKP-CTLPC.
      IF LIKP-LFART = TVAK-KORLI.
        LIKP-KLIEF = CHARX.
      ENDIF.
      MOVE CVBAK-LIFSK TO LIKP-LIFSK.                           "45B
    Pick-up sheet number in delivery order processing is external dlv. no.
      IF CVBAK-VBKLT EQ VBKLT_AUSL_AUFT OR
         CVBAK-VBKLT EQ VBKLT_AUSL_AUFT_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    Consignment issue by service agent is external delivery number
      IF CVBAK-VBKLT EQ VBKLT_EDL_ENTN OR
         CVBAK-VBKLT EQ VBKLT_EDL_ENTN_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.

  • Limitation of line items in a sales order

    Dear Guys,
    Kindly confirm me whether I can make a single sales order with 500 line items or not ? Again if it no then how many line items can be taken in single sales order.
    Thanks and regards,
    Atul

    dear atul
    I think the correct reply would be 999,999 because data type of item number POSNR is NUM 6, which means that it can hold upto value 999,999.
    However, at the same time keep the following into consideration:
    1. FI document has a restriction of 999 line items per document. So, depending on the account settings, there will be a lower limit. E.g. if each Sales order line item results in 2 line items in the accounting document, then the max. no. of SO line items is limited to 499.
    2. If FI summarization is active, then the system summarizes the account postings, thus reducing the no. of FI line items. Hence, a SO can accomodate more than 999 line items. However, this means that certain line item level details will not be available to the Finance guys (which they may not like).
    3. As the number of line items in a Sales order increases, the system performance suffers greatly. There are performance fixes available, but in general, it is painful to load a SO with large no. of line times through BDC's. 10 Sales orders with 100 lines each consume less system resources than 1 Sales order with 1000 lines.
    rewards if it helps
    siva

  • Unconfirmed line items of a sales order into account in credit management

    Hi Gurus
    Updated the customer orders via prog. RVKRED09.
    There is only one open order for this customer = 720662. My question is: in the credit master the sales value/credit exposure is USD 77.100,00. The order is for USD 105,900.00 .
    Found out that line item 20 is not confirmed in the schedule lines. So the value in the sales value/credit exposure  equals item 10 and 30. So my 1question is: Where is the setting that  does not take unconfirmed line items of a sales order into account in credit management?
    Thanks in advance
    Regards
    Nalini Iyer

    Hi nalini
    Even though , you create a sales order for that line item , but if that item is not confirmed then the value  wont be considered.  into credit exposure. .
    But once it gets confirmed then the value will be taken into credit exposure..
    Regards
    Srinath

Maybe you are looking for