Error: PO has no line items

While trying to do goods receipt-purchase order, when I give the PO No. it gives an error saing PO has no line items. Whereas when the PO was created there was one line item.
can anyone guide pl.
rgds

If you raise this question in MM forum, you might get the answer faster.
Regards,
Rajesh Banka

Similar Messages

  • Errror: PO has no line items whenI try MIGO_GR

    While trying to do goods receipt-purchase order, when I give the PO No. it gives an error saing PO has no line items. Whereas when the PO was created there was one line item.
    can anyone guide pl.
    rgds

    Hello Ajay,
    Check the following points, there might one of the reason.
    1. If PO is subject to release, but it has not released
    2. PO is created with confirmation control key which is for Inbound Delivery and trying to create GR against PO instead of Inbound Delivery
    3. PO qty is completely received which has set PO completed indicator automatically
    4. Some one has set PO completed indicator automatically.
    5. PO is not service PO (item category D)
    Hope this helps.
    Regards
    Arif Mansuri

  • Error in Project System Line Item report (CJI3, CJI4, CJI5, etc)

    Dear Expert,
    I am facing error for all PS line item report, for example: CJI3 .. When I tried to execute CJI3, the following is the error message (ABAP dump):
    Does anyone experience similar problem?
    How to fix this?
    I search the Internet, but suspect is SAP Plant Maintenance cause the problem.
    Header 1
    Short text
        Syntax error in program "SAPDBPSJ ".
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "RKPEP003" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
        The following syntax error occurred in program "SAPDBPSJ " in include "DBP
         " in
        line 46:
        "Field "GT_PM_ORDER_NETZKONT" is unknown. It is neither in one of the s"
        "pecified tables nor defined by a "DATA" statement."
        The include has been created and last changed by:
        Created by: "SAP "
        Last changed by: "SAP "
        Error in the ABAP Application Program
        The current ABAP program "RKPEP003" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        The following syntax error was found in the program SAPDBPSJ :
        "Field "GT_PM_ORDER_NETZKONT" is unknown. It is neither in one of the
        "pecified tables nor defined by a "DATA" statement."
    Trigger Location of Runtime Error
        Program                                 RKPEP003
        Include                                 RKPEP003
        Row                                     179
        Module type                             (FORM)
        Module Name                             %_INIT-GET
    Trigger Location of Runtime Error
        Program                                 RKPEP003
        Include                                 RKPEP003
        Row                                     179
        Module type                             (FORM)
        Module Name                             %_INIT-GET

    Hi
    could you check note 1747890 - OAA activated: Dump w/ MESSAGE_TYPE_X and OK 036 in LDB PSJ in case that provides solution to your problem?
    cheers
    panagiotis
    ps...it looks like an issue in the logical database

  • Sales order has 52 line items but in vbep some are not available

    Hi,
    what could be the reason for the problem;
    Sales order has 52 line items but in vbep some are not available...
    and some has 2 etenr as '0001' and '0002', why 2 lines in vbep for 1 posnr of order.
    Thanks.
    deniz.

    Hi,
    It is possible when some of them dont have valid Schedule lines.
    If they have valid schedule lines some confirmed qty should be available.otherwise we cant find them in VBEP table.
    Pls check by going to sales order  whether Sch.lines are valid or not.
    This you can check Thru
    VA03-->provide Sales Order number -->Select any line Item-->Menu item Goto-->Item-->Schedule Lines
    Thanks
    Parvathi

  • Error while deleting contract line item

    Hi All,
    In ME32K when I try to delete the line item of the contract it goes to runtime error. Pls help me why I get that error.
    It has 3 PO`s created in 2010.

    Error analysis
    A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the
    exception
    condition "FAILURE".
    Since the exception was not intercepted by a superior program
    in the hierarchy, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    How to correct the error
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "RAISE_EXCEPTION" C
    "CL_HANDLE_MANAGER_MM==========CP" or "CL_HANDLE_MANAGER_MM==========CM005"
    "GET"

  • Intercompany billing has 2 line items referring to the same salesorder item

    Hi All,
    I am posting Intercompany billing documents using Idocs. I am using the standard function module that creates INVOICE IDocs, but these Idocs are failing with error text "Document contains same order item more that once".
    The problem lies here, the PO that is been used is a STO (Scheduling Agreement) and the inter company billing the line item has the same material repeated twice but change in the quantity field. So, when I am posting document using Idocs we come across a segment E1EDP01 which has your quantity, weight, line item number and other fields. This segment is getting repeated twice with two different outbound deliveries.
    So, I think the solution is a mixture of both functional and technical....
    So, what I am planning to do here is for this particular material when ever it comes across duplicate entries add all the quantities fields and other numerical fields in the user exit and then refresh the internal table and then enter new entries. This could be done, but I don't know what could be the functional implications if these changes are made.
    Request you all to let me know what exactly needs to done in order to avoid these scenarios.
    Raghuram.

    Hi Raghuram,
    I found a very important SAP Note 103051, details are below.
    An IDoc processed by function module IDOC_INPUT_INVOIC_MM (of category INVOIC01) must not refer to the same purchase order item in several invoice items. This is also valid if for a goods receipt-related invoice verification several delivery notes belong to the same purchase order item.
    Depending on the system settings and the situation, various error messages can occur (for example, FD240 'Order item ... selected more than once' or M8050 'Balance not zero: & debits: & credits: &').
    In this situation module IDOC_INPUT_INVOIC_MRM generates error message M8321 'Document contains same order item more than once'.
    For example, this situation occurs if you work with individual batch valuation and the SD billing document executes a batch split for different batches which belong to the same purchase order item and delivery.
    Other terms
    INVOIC, SAPLIEDI,  M8047, M8, 321
    Reason and Prerequisites
    This is because of the program design.
    Solution
    There is no solution for IDOC_INPUT_INVOIC_MM.
    Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active.
    Owing to this symptom, billing documents for single batch valuation with batch split cannot be settled in MM-EDI inbound processing. The settlement generates exactly the situation described (several invoice items for the same purchase order item). In this case, the only solution is to deactivate the billing of the batch sub-items in SD Customizing and to calculate the main item only.
    Hope this helps.
    Reward if helpful.
    Thanks

  • Error whil creating Service Line item in ME51N using BAPI_PR_CREATE

    Hi Experts,
                Am able to create PR number using BAPI_PR_CREATE, but when am trying to create Service line item am getting acc assignment error please check my code and solve my issue. ..its very adj  please help me .
    DATA : t_bapimereqitemimp TYPE TABLE OF bapimereqitemimp ,
          t_bapimereqaccount TYPE TABLE OF bapimereqaccount,
          t_bapimereqaccountx TYPE TABLE OF bapimereqaccountx,
          t_pritemx    TYPE TABLE OF bapimereqitemx,
          wa_bapimereqitemimp        TYPE bapimereqitemimp,
          pr_number  TYPE bapimereqheader-preq_no,
          wa_prheader  TYPE   bapimereqheader,
          wa_prheaderx TYPE  bapimereqheaderx,
          wa_pritemx   TYPE  bapimereqitemx,
          wa_bapimereqaccountx TYPE bapimereqaccountx,
          wa_bapimereqaccount TYPE bapimereqaccount,
          t_return     TYPE TABLE OF bapiret2,
          wa_return    TYPE bapiret2.
    DATA : t_bapi_srv_limit_data TYPE TABLE OF bapi_srv_limit_data,
            wa_bapi_srv_limit_data TYPE bapi_srv_limit_data.
    DATA servicelimitx  TYPE TABLE OF bapi_srv_limit_datax.
    DATA w_servicelimitx  TYPE bapi_srv_limit_datax.
    DATA : t_servicelines TYPE TABLE OF bapi_srv_service_line,
            w_servicelines TYPE bapi_srv_service_line,
            t_servicelinesx TYPE TABLE OF bapi_srv_service_linex,
            w_servicelinesx TYPE bapi_srv_service_linex,
            t_bapi_srv_acc_data TYPE TABLE OF bapi_srv_acc_data,
            w_bapi_srv_acc_data TYPE bapi_srv_acc_data,
            t_bapi_srv_acc_datax TYPE TABLE OF bapi_srv_acc_datax,
            w_bapi_srv_acc_datax TYPE bapi_srv_acc_datax.
    DATA : t_bapimereqitem TYPE TABLE OF bapimereqitem,
            w_bapimereqitem TYPE bapimereqitem.
    DATA :  t_bapimereqitemx TYPE TABLE OF bapimereqitemx,
            w_bapimereqitemx TYPE bapimereqitemx.
    wa_prheader-pr_type  = 'RV'."lv_doc_type.
    wa_prheaderx-pr_type = 'X'.
    wa_bapimereqitemimp-preq_item  = '1'."wa_eban-item.
    wa_bapimereqitemimp-pur_group  = '100'."wa_eban-ekgrp.
    wa_bapimereqitemimp-preq_name  = 'E.R. TITTO'."wa_eban-afnam.
    wa_bapimereqitemimp-short_text = 'AC Fitting'."wa_eban-txz01.
    wa_bapimereqitemimp-material   = ' '."wa_eban-matnr.
    wa_bapimereqitemimp-plant      = '1000'."wa_eban-werks.
    wa_bapimereqitemimp-store_loc  = 'ST00'."wa_eban-lgort.
    wa_bapimereqitemimp-matl_group = 'Z13'."wa_eban-matkl.
    wa_bapimereqitemimp-quantity   = '1'."wa_eban-menge.
    wa_bapimereqitemimp-unit       = 'AU'."wa_eban-meins.
    wa_bapimereqitemimp-deliv_date =  '20140604'."wa_eban-lfdat.
    wa_bapimereqitemimp-preq_price = '100'."wa_eban-preis.
    wa_bapimereqitemimp-item_cat   = 'D'."wa_eban-pstyp.
    wa_bapimereqitemimp-acctasscat =  'K'."wa_eban-knttp.
    wa_bapimereqitemimp-fixed_vend = ' '."wa_eban-flief.
    wa_bapimereqitemimp-purch_org  = '1000'."wa_eban-ekorg.
    wa_bapimereqitemimp-currency   = 'INR'."wa_eban-waers.
    wa_bapimereqitemimp-pckg_no = '00000001'.
    wa_bapimereqaccount-preq_item  = '1'."wa_eban-item.
    *wa_bapimereqaccount-serial_no  = '01'.
    wa_bapimereqaccount-gl_account = '0000002244'."wa_eban-sakto.
    wa_bapimereqaccount-costcenter = 'OPSD'."wa_eban-kostl.
    APPEND wa_bapimereqitemimp TO t_bapimereqitemimp.
    APPEND wa_bapimereqaccount TO t_bapimereqaccount.
    wa_pritemx-preq_item  = '1'."wa_eban-item.
    wa_pritemx-pur_group  = 'X'.
    wa_pritemx-preq_name  = 'X'.
    wa_pritemx-short_text = 'X'.
    wa_pritemx-material   = 'X'.
    wa_pritemx-plant      = 'X'.
    wa_pritemx-store_loc  = 'X'.
    wa_pritemx-matl_group = 'X'.
    wa_pritemx-quantity   = 'X'.
    wa_pritemx-unit       = 'X'.
    wa_pritemx-deliv_date = 'X'.
    wa_pritemx-preq_price = 'X'.
    wa_pritemx-item_cat   = 'X'.
    wa_pritemx-acctasscat = 'X'.
    wa_pritemx-fixed_vend = 'X'.
    wa_pritemx-purch_org  = 'X'.
    wa_pritemx-currency   = 'X'.
    wa_pritemx-pckg_no   = 'X'.
    wa_bapimereqaccountx-preq_item  = '1'."wa_eban-item.
    *wa_bapimereqaccountx-serial_no  = '01'.
    wa_bapimereqaccountx-preq_itemx = 'X'.
    wa_bapimereqaccountx-serial_nox = 'X'.
    wa_bapimereqaccountx-gl_account = 'X'.
    wa_bapimereqaccountx-costcenter = 'X'.
    APPEND wa_pritemx TO t_pritemx.
    APPEND wa_bapimereqaccountx TO t_bapimereqaccountx.
    **Service item limit
    *wa_bapi_srv_limit_data-doc_item = '10'.
    wa_bapi_srv_limit_data-overall_limit = '1000'.
    wa_bapi_srv_limit_data-exp_value = '800'.
    APPEND wa_bapi_srv_limit_data TO  t_bapi_srv_limit_data.
    *w_servicelimitx-doc_item = '10'.
    w_servicelimitx-overall_limit = 'X'.
    w_servicelimitx-exp_value = 'X'.
    APPEND w_servicelimitx TO servicelimitx.
    w_bapimereqitem-preq_item = '10'.
    ***w_bapimereqitem-preq_name = 'E.R. TITTO'.
    ***w_bapimereqitem-plant = '1000'.
    ***w_bapimereqitem-store_loc = 'ST00'.
    ***w_bapimereqitem-matl_group = 'Z03'.
    ***w_bapimereqitem-quantity = '1'.
    ***w_bapimereqitem-unit = 'AU'.
    w_bapimereqitem-item_cat = 'D'.
    w_bapimereqitem-deliv_time = '20140604'.
    w_bapimereqitem-acctasscat = 'K'.
    **w_bapimereqitem-consumpt = 'U'.
    APPEND w_bapimereqitem TO t_bapimereqitem.
    **w_bapi_srv_acc_data-doc_item = '1'.
    **w_bapi_srv_acc_data-outline = '0000000001'.
    *w_bapi_srv_acc_data-srv_line = '20'.
    w_bapi_srv_acc_data-serial_no = '10'.
    w_bapi_srv_acc_data-serial_no_item = 'D'.
    *w_bapi_srv_acc_data-quantity = '1'.
    *APPEND w_bapi_srv_acc_data TO t_bapi_srv_acc_data.
    **w_bapi_srv_acc_datax-doc_item = '1'.
    **w_bapi_srv_acc_datax-outline = '0000000001'.
    *w_bapi_srv_acc_datax-srv_line = '20'.
    **w_bapi_srv_acc_datax-serial_no = '01'.
    **w_bapi_srv_acc_datax-serial_no_item = '01'.
    *w_bapi_srv_acc_datax-quantity = '1'.
    *APPEND w_bapi_srv_acc_datax TO t_bapi_srv_acc_datax.
    w_servicelines-service = '00000001'.
    APPEND w_servicelines TO t_servicelines.
    w_servicelinesx-service = 'X'.
    APPEND w_servicelinesx TO t_servicelinesx.
    CALL FUNCTION 'BAPI_PR_CREATE'
       EXPORTING
         prheader        = wa_prheader
         prheaderx       = wa_prheaderx
       IMPORTING
         number          = pr_number
       TABLES
         return          = t_return
         pritem          = t_bapimereqitemimp
         pritemx         = t_pritemx
         pritemexp       = t_bapimereqitem
         praccount       = t_bapimereqaccount
         praccountx      = t_bapimereqaccountx
         servicelimit    = t_bapi_srv_limit_data
         servicelimitx   = servicelimitx
         servicelines    = t_servicelines
         servicelinesx   = t_servicelinesx
         serviceaccount  = t_bapi_srv_acc_data
         serviceaccountx = t_bapi_srv_acc_datax.

    Hi,
    Check this Thread , Thread1 . It might help you to resolve the issue.
    Thanks
    KH

  • VA01 - Need to display an error popup message on line item check

    Hi All,
    I'm working on a user exit (report MV45AFZZ, form routine USEREXIT_FIELD_MODIFICATION).
    I already have all the logic necessary - the one final piece that is left is to display an error pop-up message if the line item quantity is less than a certain number.
    The pop-up should display when the enter key is pressed in the quantity field. Also, the pop-up should display if the SAVE button is pressed.
    I tried using
    MESSAGE 'Please increase quantity' TYPE 'E'.
    This worked, but unfortunately it caused VA01 to terminate when I click off the pop-up. This is strange, since type 'E', unlike type 'A', should not do that.
    I also tried POPUP_TO_INFORM, but that's just an informational message which does not prevent saving.
    Any ideas ?
    Regards,
    Roman D.

    You can try this fm
                    CALL FUNCTION 'DD_POPUP_TO_CONFIRM_CANCEL'
                         EXPORTING
                              textline1    = text-902
                              textline2    = text-903
                              title        = text-901
                              start_column = 25
                              start_row    = 6
                              defaultpos   = 'C'
                         IMPORTING
                              answer       = cancel_rc.
                    CASE cancel_rc.
                      WHEN 'A'.
                      WHEN 'C'.
                        LEAVE PROGRAM.
                      WHEN OTHERS.
                    ENDCASE.
    Based upon user inputs you can handle conditions (CANCEL_RC) accordingly.

  • FI Validation rule error message problem at line item level

    Hello all.
    I have created a step within an FI Validation rule (OB28) at the document line item level.  I have set the  message to "E" for an error.  I have generated the validations.  When I test my step, the error is triggered, but triggered as an Information popup - warning and does not give me a hard stop.   Does anyone have an idea why this may happen?   I need this to be a hard stop but not a cancellation of the document entry.  I am using FV60 to enter my document.
    Thanks for help.
    mvp0821

    OSS note # 863267 explains answer.  Cannot create "error" message on ENJOY transactions - FV60 is included in this list.  "E" works on classic transactions.  
    Thanks for thinking about this.

  • BSP error when clicking on line item in SUS :Buffer table not up to date

    Hi Experts,
    I'm having a problem in SUS Portal. When i click on a line item of a PO to display the actual line item or see more details, i get a buffer table out of date error. I saw a thread with a similar issue where it says problem resolved but haven't had any luck getting a response from the poster, so I'm putting this question out there to everyone.
    Related Post
    Buffer table not up to date in SUS
    More details on error...
    Exception Class CX_BBP_PD_ABORT
    Error Name 
    Program SAPLBBP_PDH
    Include LBBP_PDHU08
    Line 81 
    Long text Buffer table not up-to-date {}
    Regards,
    JD
    Edited by: julian.k. drummond on Apr 13, 2010 6:46 PM

    Hi Julian,
    Please give the system some time and try again. It should work.
    Thanks
    Hari

  • PO formed from SO has inverted line items compared to SO line items

    Dear Friends,
    We have certain cases in EKKN table where the SO line items dont match with PO line items.
    Let me give an example.
    SO  item no   |    item  |                PO item no        |     PO item
    10                 |    A      |                  40                   |    D
    20                 |    B      |                  30                   |    C
    30                 |    C      |                  20                   |    B
    40                 |    D      |                  10                   |    A
    But this does not happen always, there are only certain such cases.
    Please help me to resolve this issue.
    Thanks & Regards
    Amit Sharma

    Hi Raghuram,
    I found a very important SAP Note 103051, details are below.
    An IDoc processed by function module IDOC_INPUT_INVOIC_MM (of category INVOIC01) must not refer to the same purchase order item in several invoice items. This is also valid if for a goods receipt-related invoice verification several delivery notes belong to the same purchase order item.
    Depending on the system settings and the situation, various error messages can occur (for example, FD240 'Order item ... selected more than once' or M8050 'Balance not zero: & debits: & credits: &').
    In this situation module IDOC_INPUT_INVOIC_MRM generates error message M8321 'Document contains same order item more than once'.
    For example, this situation occurs if you work with individual batch valuation and the SD billing document executes a batch split for different batches which belong to the same purchase order item and delivery.
    Other terms
    INVOIC, SAPLIEDI,  M8047, M8, 321
    Reason and Prerequisites
    This is because of the program design.
    Solution
    There is no solution for IDOC_INPUT_INVOIC_MM.
    Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active.
    Owing to this symptom, billing documents for single batch valuation with batch split cannot be settled in MM-EDI inbound processing. The settlement generates exactly the situation described (several invoice items for the same purchase order item). In this case, the only solution is to deactivate the billing of the batch sub-items in SD Customizing and to calculate the main item only.
    Hope this helps.
    Reward if helpful.
    Thanks

  • PO Doesn't have Line Items.

    Hi All,,
    I have a STO Created for PO Qty 1000. Later on i tried to Goods Issue using the Movement Type 351 from the Supplying Plant ( Works Fine ). When i try to do the
    GR using movement type 101 in the Recieving Plant ( Using Tcode MIGO_GR)
    i get the Error PO has no line items. Can any one can suggest me ??
    Thanks
    Balaji
    Message was edited by:
            Balaji Genupur

    Hi
    Along with conditions mentioned by others please check whether the GR indicator in the delivery tab is checked or not.If not please check it.Also check whether the document type is standard PO or not.If you have created a framework order then GR will not be there.
    Hope this will help you
    Reward if useful
    Thanks and Regards
    SHYAM.R

  • In COGI error text "Multiple assignment of line item"

    Hi Guru,
    In COGI error text "Multiple assignment of line item"
    Description:
    ultiple assignment of a line ID
       Message no. M7357
    iagnosis
       An item table, in which the line ID (LINE_ID)
       was transferred to the function module MB_CRE
    ystem Response
       Processing is terminated.
    rocedure
       Contact the system administration.
    rocedure for System Administration
       There is an error in the calling application.
    Please help me to resolved this issue.
    Thanks and regards
    PNU

    Hi,
    Thanks for reply,
    It is possible to remove material from COGI list. We need to stop creation of this error.
    Is there other solution to control creation of error  "Multiple assignment of line item"
    Thanx & regd.
    PNU

  • Error message: Missing line item for CO-PA characteristic line 0000000001

    Hello, when posting is being done in automatic we are getting the following error message RW621 : 'Missing line item for CO-PA characteristic line 0000000001' and the document is not being created. I've filled in correctly the cost center / profit center for the line items. Any idea on why i'm getting this message?

    Hello Prashanth ,
    there are 2 structures I think you should fill
    CRITERIA (ref structure BAPIACKEC9 )
    VALUEFIELD( ref STRUCTURE  BAPIACKEV9) in  BAPi_ACC_DOCUMENT_POST
    hope this helps...

  • Error 'No client line items'

    Hi,
    After the upgrade from 4.6c version to ECC6 in the include LFIPIF00 the call transaction statement is throwing an error message 'No client line items'.This is because of the note 811562 is implemented at this statement.
    In 4.6c version the error is not populated.
    Is there any alternative to prevent this error or any other sap note available?
    << Moderator message - Please do not promise points >>
    Regards,
    RK.
    Edited by: Rob Burbank on Oct 25, 2011 9:34 AM

    hi,
    check whether this sap note can help
    1127049 New deferred tax: DEFTAX025 when posting down payment clr. 18.01.2008
    913805 Error FF891 or DEFTAX025 when posting FI-Documents

Maybe you are looking for

  • Which is better Different Distribution channel or different sales order typ

    Hi My requirement can be met with three config options. Kindly go through these options and suggest which one is best and why 1. Keeping one distribution channel and different sales order types. 2. Configuring different distribution channel but singl

  • Automatically run workflows

    ok, i'm new to automator but not to mac. I just made myself a workflow from a guide to sync to itunes libraries. it gets the specified servers but when it tries to connect, the spiral thing just keeps spinning. How do i get this to work? Regards

  • Merging folders in Lightroom - Help please

    I'm a wedding photographer who just switched to MAC.  I have three separate folders (one is mine and 2 that I got from dropbox from my second shooter)  I had incorrectly imported them into lightroom as three separate folders.  I put them all into the

  • Stream Manager and ESB TDM plug in error.

    Hello, I am installing ProTools and Logic on a G5 running OSX 10.4.8. I am getting two error messages when booting up Logic. 1.) A critical error occured while registering with StreamManager. The ESB will not work properly. Please check your Streamam

  • Holding/lacking frames when Ram Preview. Mac OS X Yosemite

    Do anyone know if Adobe is looking into fixing the problem with RAM preview your timeline in After Effects. That is lacking/holding/skipping frames the first 15-30 frames, and you have to run it once to the end, to see the beginning. It's really an i