Restriction in Material Document Line item

Dear SAP Gurus,
I am new to SAP. Please let me know is there any way by which i able to restrict no of line item in Purchase order (for specific Purchase order type) document? Your help will be appreciated.

Hi Soumen,
You can only control the screen elements till "HDRO" (Hide, Display, Required, Optional) from Standard configurations, where as you cannot control /restrict the number of line items. You have to use a user exit for this. Check this Exit. "MM06E004  Control import data screens in purchase order".
From a Standard Practice, it is always better to educate the user not create too many line items in a purchase order. A Manual and process oriented control is always better in this case than direct control from the system.
Moreover, if you can also define the exact problem you are facing, SAP guru's can give you a better solution.
Thanks & regards
Hameed Parvez

Similar Messages

  • Material document line item - inventory valuation affected ?

    Hello
    In the framework of building a stock report, I'm trying to know if a material document line item has affected inventory valuation that is to say if a corresponding accounting document line item has been posted.
    Explored solutions :
    - there is no link between MSEG and BSEG
    - I tried to look at Quantity string (BUSTM) in MSEG and looked at Quantity strings parameters in T156M but couldn't find a parameter of the value string mentionning if it affects inventory valuation or not
    Thanks a lot in advance for your inputs
    Regards

    Hi,
    MKPF is for material document header table MSEG is for material document item table
    Creation date will be at the header table, use document number to link both the tables.
    Regards
    Merwyn

  • Restriction on number of line items in an automatically generated document

    Hi all,
    As per my info, an accounting document must have a minimum of 2 line items to complete the document. At the same time an accounting document can have a maximum of 999 line items.
    My observation:-
    When I am posting depreciation using t-code AFAB, system is posting depreciation document (document type AF). While checking, I found that the system has posted around 16 document for a period.
    On further checking, I observed that the each document contains a max 100 line items.
    I am using SAP 4.7
    My Query:-
    a> Is there any way / place wherein we can restrict the maximum number of line items possible for a given docuemnt type or for all document types in the client?
    b> In case it is not possible to restrict the number of line items per document, what could be possible reason for the system behaviour wherein it is posting about 100 line items per document & thereafter starts a new document.
    Thanking you in advance
    Santosh K Agarwal

    Hi,
    I have been reading CIN. There I came across with a statement i.e. "There is restriction on no of line items to be in an Excise Invoice".
    where you read this i dont know
    but yes for outgoing excise invoice we can put limitation in sap cin
    as per incoming excise invoice i think no  limitation
    in path SPRO-tax on goods movemnet-India-basic setting-maintain excise registration here you can maintain this
    and yes this for india only for other country they may have different
    Regards
    Kailas ugale

  • Material Quantity difference document line item for HU

    Dear Experts,
    When I try to clear differences in LI21,  i get the error message as above.
    Error Message : 'Material Quantity difference document line item for HU'
    Any idea why this error occurs?
    Regards,
    Shetty

    Hello Shetty,
    It may be due to some stock inconsistency. You may try iin case of  a non HU managed storage location HU to run LX23 and it can fix discrepancy overwrting MM-IM with LE-WM data. But if it is a HU managed then you can run HUDIFF transaction but only to see if there is stock differences not to fix anything, usually SAP Support (Development Support) does that job.
    Have a nice day !!

  • 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

  • SD document line items Vs FICA accounting document line items

    Hello All,
    What is the interface we use in SAP,  between the SD and FICA which will determine line items in FICA document with regard to SD line items.
    SD : How we do configuration or mapping between sd sales order and billing document to determine billing document line items  based on sales order line items ( for example : material group, profit center, cost center ?)
    FICA: what interface / Configuration we use to determine how many line items should appear in the FICA document based on billing document line items.
    Regards,
    John.

    Integeration of SD to FICA is based on the img settings done under the node - SPRO - Financial accounting ( new ) - Contract accounts receivable and payable - integration - Sales and distribution .
    Creation of FICA document based on SD is routed through the event 4000 and the details are detrived through event 4030 .
    Would suggest you to go through events 4000 and 4030 .
    Regards ,
    Dewang

  • Document line item text in Clearing document

    Dear All,
    Document line item text
    My client want the vendor invoice line item text(BSIK-SGTXT) to be captured in the corresponding clearing document line item text field(BSAK-SGTXT).
    (i.e) The vendor invoice and its payment clearing document should have the same text in the document line item text filed.
    According to me i can use  a substition rule and a user exit to assign the values. but here comes a problem* i have one clearing document against 3 to 4 vendor invoice documents* so my programming logic has got stucked here? like which vendor invoice line item text the clearing document should pick up?
    is there any other enhancements possible or can some one help me with the programming logic to be applied here.
    Thank you
    Regards,
    Vasanth D

    like which vendor invoice line item text the clearing document should pick up?
    is there any other enhancements possible or can some one help me with the programming logic to be applied here
    Why don't you discuss the issue with your client?  As you said, if you pay 5 invoices in a single run, the payment document item text can't carry all of those texts unless you use the long text.  What is the reason for the requirement?  Perhaps there's another solution.

  • Tcode FV50: How to find long text in FI Document line item Before Saving.

    Hi,
    How to find long text in FI Document line item.
    During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
    I would like to validate the Long Text Before Saving in user exit "U300" under  the  "Sunstitution" .
    Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
    Please give me the answer as soon as possible .
    Note:- Read_Text function module is not useful. Because Read_text useful after saving document.

    Hi Amit,
    In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
    Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
    Just try to explore in your system how the other validations are maintained.
    After you are done with all your code, you have to run the regeneration program RGUGBR00.
    Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except  GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS  & TRACE PROG. GENERATE CALLS .
    Hope this make your doubt clear.
    Regards
    Abhii

  • How to read long text in Document line item

    Hi,
    How to read long text in FI Document line item.

    Use Read_text function module.
    you need to pass
    ID
    LANGUAGE
    NAME
    OBJECT   to the function moduel
    To find the Text id name language and object these are the following steps. Example: FB02
    1. goto FB02, Enter Document number
    2. from menuselect Goto>Header-->header Text..... New window will be displayed 
    3. select the Header Text. here you can see all the text. 
    4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper. 
    5. in the Next window you will find Text Name. Text ID, Language. etc...
    Regards,
    Lalit Mohan Gupta.

  • Remove symbol # for long text in document line item

    Dear Experts,
    I enter some information in the long text field in document line item. For the area that I use "Tab" button, system will display as # symbol. Therefore when we print the information, the output will include the #### symbol which is not correct.
    Please help.
    Thanks.
    -Syaban-

    Dear Gaurav Aggarwal,
    Thanks for the reply, can you guide me the step to perform the suggested solutions? currently, we are using ECC6.
    Thanks.
    syaban

  • Customer Invoice/Billing Document  Line Item Details

    I have be trying to get the line item details incuding Description, Qty, Ea pricing, etc., for an invoice for several days.   I am successfuly able to us the RFC FI_DOCUMENT_READ  to get a plethora of data back in several tables,  but none that contain the details I need.  I can see the informationI need usinf VF03 and the Document Number.  
    Here is the call I am making (Output tables defaulted in the .net connector wsdl file)
                Dim sAWORG As String = ""
                Dim sAWREF As String = ""
                Dim sAWSYS As String = ""
                Dim sAWTYP As String = ""
                SapBillingProxy1.Fi_Document_Read("", _
                     Me.txtDocNumber.Text, _
                    "VBRK", _
                    "MPMP", _
                    sAWORG, _
                    sAWREF, _
                    sAWSYS, _
                    sAWTYP)
    Am I asking for the wrong information or ??? 
    Please help or point me in the right direction.
    Thanks in advance for the help!

    Hi,
    If you are looking for Billing document line item details and if you have range of sales document reference numbers try using 'BAPI_BILLINGDOC_GETLIST' function module.It is remote call enabled.
    Regards,
    Sreekanth

  • PO item text is copied to the Financial Document line item text

    A user have requested that the PO item text is copied to the Financial
    document line item text, to aid them in analysis of the GR/IR account.
    is there any solution to implement this ?

    There is no standard setting for this requirement. Check with your ABAP team for this.

  • My Client wants to restrict appearing used PO Line items in MIRO

    Hi Gurus
    My client wants to restrict appearing blank line items agaisnt already used Purchase Order Items (Full Qty GR / IR happened, GR Based IV) in MIRO so that user can not book another invoice against the same PO with diffrent ref. no. and in date.
    Is there any way (User Exit / Screen Variant) we can make it?
    Please reply.
    Thanks
    Sanjib

    Hi
    Even if I set Final Invoice Indicator in MIRO and booked invoice against the PO systems is showing blank line items (Amt & Qty are blank) in MIRO agaisnt the PO.
    Can you please run the scenario and tell me is there any way that we can restrict system showing blank line items against already processed PO items in MIRO. I have tried booking invoice agaisnt individual del note but blank line items are there.
    Thanks
    Sanjib

  • Post long text for document line item via FI-GL Inbound IDoc

    Hi guru,
    I am trying post extension ZFIDCP02 linked basic type FIDCCP02 and message type FIDCC2 IDoc in R/3 (4.6c) via IBM Websphere (Inbound IDoc),
    I am use inbound function module IDOC_INPUT_FIDCC2 and activate exit 008 (EXIT_SAPLF050_008) and exit 002 (EXIT_SAPLF050_002),
    In the extension ZFIDCP02 and under E1FISEG, I am add my segment  ZITEXT include field TDSPRAS, TDID, TDOBJECT, TDLINE.
    I am send  ZFIDCP02 IDoc via IBM Websphere no error  but all field TDSPRAS, TDID, TDOBJECT, TDLINE in my segment  ZITEXT not post in FI-GL.
    How can I  post long text for document line item (ZITEXT) in FI-GL ?.
    and I'm mean post ZITEXT to bank statement via IDOC.
    Please throw light on this  and  may be I  'm want solution or example ABAP code for exit 002 (EXIT_SAPLF050_002).
    Thanks in advance,
    Akkapong Pirachai
    CAT Telecom
    Edited by: Akkapong Pirachai on Aug 20, 2008 7:40 AM

    Close question because long time for answer.

  • Document Line Items fields

    Hello All:
    We want to prevent users from changing some of the a/c assignment fields on the document line items once they are parked.
    We need this only for specific document types and specific GL accounts.
    Is there any config or exits or something else to ONLY DISPLAY those specific fields.
    Thank you,
    Fred.

    We use FBV1 to create parked documents of different document types (SA, AA, ..., Z*). Some of these parked documents should not get changed until they get posted.
    The users should be able to change any or all of parked document data on SA, AA, .... document types but should not be allowed to change fields like cost center, functional area (KOSTL, FKBER,...) on the  Z* document types, when the GL account is for research (43****)
    Hope this explains it better. Appreciate your time and help.
    Fred.

Maybe you are looking for