Error After BAPI_PO_CREATE1 with multiple Lines "Enter Account Assignment"

Hi,
I am trying to Post Purchase Orders with Multiple lines using BAPI_PO_CREATE1 and got error
"Enter Account Assignment". This is happening when I post PO with multiple line items.
I am trying the same PO with one record, PO is creating successfully. Do I need to put any additional data.
I am creating PO with Item Category 'D' and Account Assignment 'N' and external number range and internal number range.
Pls let me know, Do i need any additional flags for this.
Thanks,
naini

Hello all,
please help!!
I used function BAPI_PO_CREATE1 to create PO with limit item but function returned message error '518 No account assignment exist for service line 0000000000'. Can anyone give me an idea to slove this problem? for your information, I used parameters below to run this function.
POHEADER
POHEADER-COMP_CODE = '1205'
POHEADER-DOC_TYPE = 'GZPO'
POHEADER-VENDOR = '8000001313'
POHEADER-PMNTTRMS = '0001'
POHEADER-PURCH_ORG = '1222'.
POHEADER-PUR_GROUP = 'K05'
POHEADER-CURRENCY = 'THB'
POHEADER-EXCH_RATE = '1.00000'
POHEADER-EX_RATE_FX = ' X'
POHEADER-DOC_DATE = '10.06.2008'
POHEADERX
POHEADERX-COMP_CODE = 'X'
POHEADERX-DOC_TYPE = 'X'
POHEADERX-VENDOR = 'X'
POHEADERX-PMNTTRMS= 'X'
POHEADERX-DSCNT1_TO = 'X'
POHEADERX-PURCH_ORG= 'X'
POHEADERX-PUR_GROUP = 'X'
POHEADERX-CURRENCY= 'X'
POHEADERX-EXCH_RATE= 'X'
POHEADERX-EX_RATE_FX= 'X'
POHEADERX-DOC_DATE= 'X'
POHEADERX-INCOTERMS1= 'X'
POHEADERX-INCOTERMS2= 'X'
POITEM
POITEM-SHORT_TEXT = 'TEST'
POITEM-PLANT = '5005'
POITEM-MATL_GROUP = '606100001'
POITEM-QUANTITY = '1.000'
POITEM-PO_UNIT = 'AU'
POITEM-ITEM_CAT = 'B'
POITEM-ACCTASSCAT = 'K'
POITEM-DISTRIB = ' '
POITEM-PART_INV = ' '
POITEM-PCKG_NO = '0000100001'
POITEMX
POITEMX-SHORT_TEXT = 'X'
POITEMX-PLANT = 'X'
POITEMX-MATL_GROUP = 'X'
POITEMX-QUANTITY = 'X'
POITEMX-PO_UNIT = 'X'
POITEMX-ITEM_CAT = 'X'
POITEMX-ACCTASSCAT = 'X'
POITEMX-DISTRIB = 'X'
POITEMX-PART_INV = 'X'
POITEMX-PCKG_NO = 'X'
POSCHEDULE
POSCHEDULE-PO_ITEM = '00001'
POSCHEDULE-SCHED_LINE = '0001'
POSCHEDULE-DEL_DATCAT_EXT = 'D'
POSCHEDULE-DELIVERY_DATE = '01.09.2006'
POSCHEDULE-QUANTITY = ' 1.000'
POSCHEDULEX
POSCHEDULEX-PO_ITEM= '00001'
POSCHEDULEX-SCHED_LINE = '0001'
POSCHEDULEX-PO_ITEMX = 'X'
POSCHEDULEX-SCHED_LINEX = 'X'
POSCHEDULEX-DEL_DATCAT_EXT = 'X'
POSCHEDULEX-DELIVERY_DATE = 'X'
POSCHEDULEX-QUANTITY = 'X'
POACCOUNT
POACCOUNT-PO_ITEM = '00001'
POACCOUNT-SERIAL_NO = '01'
POACCOUNT-GL_ACCOUNT = '0065903020'
POACCOUNT-BUS_AREA = '70'
POACCOUNT-COSTCENTER = '0010700003'
POACCOUNT-ORDERID = ' '
POACCOUNTX
POACCOUNTX-PO_ITEM = '00001'
POACCOUNTX-SERIAL_NO = '01'
POACCOUNTX-PO_ITEMX = 'X'
POACCOUNTX-SERIAL_NOX = 'X'
POACCOUNTX-GL_ACCOUNT = 'X'
POACCOUNTX-BUS_AREA = 'X'
POACCOUNTX-COSTCENTER = 'X'
POACCOUNTX-ORDERID = 'X'
POSERVICES
POSERVICES-PCKG_NO = '0000100001'
POSERVICES-LINE_NO = '0000000001'
POSERVICES-OUTL_IND = 'X'
POSERVICES-SUBPCKG_NO = '0000100002'
POSERVICES-QUANTITY = ' '
POSERVICES-BASE_UOM = ' '
POSERVICES-GR_PRICE = ' '
POSERVICES-FROM_LINE = '000001'
POSERVICES-TO_LINE = '999999'
POSERVICES-SHORT_TEXT = ' '
POSERVICES-MATL_GROUP = ' '
APPEND POSERVICES
POSERVICES-PCKG_NO = '00100002'
POSERVICES-LINE_NO = '0000002'
POSERVICES-OUTL_IND = ' '
POSERVICES-SUBPCKG_NO = ' '
POSERVICES-QUANTITY = '1.000'
POSERVICES-BASE_UOM = 'AU'
POSERVICES-GR_PRICE = '43,486.21'
POSERVICES-FROM_LINE = ' '
POSERVICES-TO_LINE = ' '
POSERVICES-SHORT_TEXT = 'Demurrage'
POSERVICES-MATL_GROUP = '606100001'
POSRVACCESSVALUES
POSRVACCESSVALUES-PCKG_NO = '0000100001'
POSRVACCESSVALUES-LINE_NO = '0000000001'
POSRVACCESSVALUES-SERIAL_NO = ' '
POSRVACCESSVALUES-QUANTITY = ' '
APPEND POSRVACCESSVALUES
POSRVACCESSVALUES-PCKG_NO = '0000100002'
POSRVACCESSVALUES-LINE_NO = '0000000002'
POSRVACCESSVALUES-SERIAL_NO = '01'
POSRVACCESSVALUES-QUANTITY = '1.000'
POLIMITS
POLIMITS-PCKG_NO = '0000100001'
POLIMITS-LIMIT = '1.00'
POLIMITS-EXP_VALUE = '1.00'
APPEND POLIMITS
POLIMITS-PCKG_NO = '0000100002'
POLIMITS-LIMIT = ' '
POLIMITS-EXP_VALUE = ' '
please help
Thank you for advance

Similar Messages

  • Error Message with multiple line

    Hi
    How to display a error message with multiple line?
    Example
         Goods movement not possible for material 101
         Goods movement not possible for material 102
         Goods movement not possible for material 103
    is it possible is ABAP? If so please advice me.
    Best Regards
    Asheek

    Hi Anoop,
    You can use same thing like this
    I suggest write ur message through this.
    First set the obecj.
    CALL FUNCTION 'APPL_LOG_SET_OBJECT'
    for local memory
    FUNCTION 'APPL_LOG_WRITE_MESSAGES'
             EXPORTING
                  OBJECT              = OBJECT
                  SUBOBJECT           = SUBOBJECT
                  UPDATE_OR_INSERT    = UPDATE_INSERT_FLAG
             TABLES
                  MESSAGES            = MESSAGE_TABLE
             EXCEPTIONS
                  OBJECT_NOT_FOUND    = 1
                  SUBOBJECT_NOT_FOUND = 2
                  OTHERS              = 3.
    the call for physical memory
    CALL FUNCTION 'APPL_LOG_WRITE_DB'
    In this process you only need to provide the Itab with error messages.
    Reg,
    Arpit

  • How to Restrict Single Delivery Date for PO with Multiple Line Items

    Dear Experts,
    How to Restrict Single Delivery Date for PO with Multiple Line Items.
    System needs to through Error Message if User Inputs Different Delivery Dates for PO with Multiple Line Items in ME21N Tcode.
    Can we achive this by Some Enhancement in SAP or Not ???
    If so how to do it.
    Any Inputs is highly appreciated.
    Thanks and Regards,
    Selvakumar. M

    Hi Selvakumar,
    we can resrict the PO to have a single delivery date in all the line items by means of giving a error message or overwiting the delivery date keyed/determined in the line item.
    You can use the BADI -> ME_PROCESS_PO_CUST. In which you need to implement the method PROCESS_SCHEDULE.
    (for technical aid - This method will be called for each and every PO line item, From the imporing parameter im_schedule we can get all the details of current PO line, even we can change the data in the current PO line. )
    Regards,
    Madhu.

  • Partial goods receipt for PO with multiple line items

    Hello All,
    While doing MIGO, for a PO with multiple line items, if one line item is having error, will we be able to go ahead with goods receipt? Or entire material document is blocked for doing MIGO?
    We will be doing a development - in case if there is problem in goods receipt (checking of any parameter, and if it is missing - we will be posting error message)...is it possible to ahead with next line item and still post the material document?
    If partial goods receipt if possible for PO with multiple line items, how do we do it?
    Regards,
    RJS

    Hi
    While doing MIGO, for a PO with multiple line items, if one line item is having error, will we be able to go ahead with goods receipt? Or entire material document is blocked for doing MIGO?
    No. You cannot post the MIGO, if even one of the PO line item is having problem or giving error.
    We will be doing a development - in case if there is problem in goods receipt (checking of any parameter, and if it is missing - we will be posting error message)...is it possible to ahead with next line item and still post the material document?
    If you skip a line irem and do GR with next line item, how will you match quantity & value with the vendor Invoice at LIV ?
    If partial goods receipt if possible for PO with multiple line items, how do we do it?
    Partial goods receipt is possible for PO line items. That means, if PO has 100 qty for line item 1 then you can do GR for 50 now and 50 later depending on the vendors delivery.
    Hope this is what you mean by "Partial Goods Receipt".
    Edited by: Arun R on May 10, 2010 2:03 PM

  • Unable to create PO with multiple line items through LSMW-BAPI method

    Hi All,
    I have a requirement of creating PO through LSMW. I can't use LSMW standard batch input program since there are some fileds not available and also it has many limitations. I'm using LSMW-BAPI method ( Business object BUS2012) which create IDOC and uses BAPI_PO_CREATE1 to ultimately post the PO in the system. I am trying to create PO from a single file which contains both Header and Item data.
    Now my problem is that everytime PO is being created with Single line item only. Everytime I am giving multiple item data in the source file LSMW is preparing multiple IDOCs for multiple line items. As per my understanding this is happenng since header and item is in the same hierarchy level of IDOC type PORDCR102 and the control record is inserted for every line item in the source file.
    It seems that through LSMW-BAPI  it is not possible to create PO with multiple line items. Can anybody provide some input regarding this? Thanks in advance.
    BR,
    Atanu Mukherjee

    Solved by myself.
    Earlier the problem was that LSMW was not being able to recognize items under same header. It was creating new IDOCs every time it gets a new item. To enable this we need to create two structure HEADERDATA and ITEMDATA.  Two additional identifier fields with identifier value 'H' and 'I' should be added in these two structures respectively. Then we need one sequential file with the identifiers field followed by the header and Item data. Example:
    H~header data
    I~item data
    I~item data 
    This would help the standard program to understand what are the items under same header and ultimately create PO with multiple line items.
    BR,
    Atanu Mukherjee

  • One order with multiple lines in OM is creating multiple invoices

    Application: Oracle 11i (11.5.3)
    Modules implemented: GL, OM, AR, AP, PO and CM
    Business Requirement:
    Our client would like to create Order consisting of multiple lines in Order Management.
    The Orders created in OM with multiple lines could be booked, picked, released and transferred
    over to Accounts Receivable. On transferring over the Orders from Order Management to Accounts
    Receivables using Auto Invoice process the Order should create ONE invoice with multiple lines.
    Moreover, for the multiple lines created on an invoice deferred revenue could be applied.
    ( eg. An order is placed for software and support. The support is to be invoiced all at once but revenue deferred to 1/12
    recognized each month as revenue is earned.)
    Right now we are getting two invoices. It is putting the deferred revenue item on a seperate invoice. Is this normal
    functionality? How can I get both on one invoice.
    thanks

    Hello Monique,
    Well you can have one invoice generated for an order with multiple lines. This is possible by changing some rules in Account Receivables. Use the grouping rules under setups->autoinvoice in AR. You can club your invoices based on any of the columns of ra_interface_lines_all. Hope this works for you.
    Arvind

  • AR invoice with Multiple lines

    Hello,
    I'm loading AR invoice using Autoinvoice Import Program. This works fine for invoices with single lines. When I have invoices with more than one row it errors out. The Autoinvoice program completes with Error. For loading multiple lines to the invoice I'm loading with the same TRX_NUMBER. Am I missing something here?
    This is a part of the log file.
    AR_TAPI_ECB_BILLING_DATE_REQD
    Current system time is 27-DEC-2007 11:49:46
    APP-AR-11526: ORA-28115: policy with check option violation
    insert into RA_INTERFACE_ERRORS (INTERFACE_LINE_ID,MESSAGE_TEXT,INVALI
    APP-AR-11526: 5949503/ar/lib/raavhi.lpc 1960
    Error calling raavhi()
    Error calling raapic()
    Any help ??
    Thanks
    GM

    seems to error
    APP-AR-11526
    ORA-28115
    seems the security policy is implemented at your database leval and check which ID you are using to insert the record.Check with your DBA, for security to resolve first for ORA-28115.
    Disabled in case if you have any custom triggers defined on RA_CUSTOMER_TRX_ALL.
    Few Documentation for ORA-28115
    ORA-28115 with EXEMPT ACCESS POLICY privilege
    A user USER1 has been granted select, insert, update, delete on all
    tables of an application schema (USER2) that uses row-level security.
    The RLS policies cover select, insert, update, and delete, and have check option enabled. USER1 has also been granted EXEMPT ACCESS POLICY system privilege.
    Each table in the USER2 schema has a trigger that causes insertion of
    a row into an audit table whenever DML is performed. When USER1 performs DML on a USER2 table, the operation fails with

  • Text Field with multiple lines

    I am trying to create a text field in the selection screen where it can insert a text with multiple lines for instance those text fields which you can see online where you can key in text lines after lines.
    How do you do that in ABAP?

    Hi
    See any Std program code for CREATING long Text lines
    See any application document HEADER or ITEM text and copy that code
    first declare a field with some table field
    like
    PARAMETERS: p_text like Tline-tdname.
    then keep a button (for Long text) and in the program write a code such that when you press on that line it will take you to text ediotr
    using the CREATE_TEXT fun module
    copy it from a std program text..
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to make a Input Field with multiple lines?

    hey folks,
    i need to make a popup window or a dynpro with 2 input fields, where the user can write on multiple lines. why isnt there such an input field in the screen painter? how can i make this? if i can do this with a dynpro it would be nice but a popup with that feature would be better. didnt found any infos anywhere except for that thread, but its answer didnt work with my dynpro:
    How to make a input/output field with multiple lines
    thx for any helping answer

    i made it just like in that thread but there is an error message telling that gv_custom_container is not declared.
    *  MODULE status_0110 OUTPUT
    MODULE status_0110 OUTPUT.
      CREATE OBJECT custom_container
        EXPORTING
          container_name              = 'TEXT_CONTROL'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5.
      CREATE OBJECT text_editor
        EXPORTING
          parent                     = gv_custom_container
          wordwrap_mode              = cl_gui_textedit=>wordwrap_at_windowborder
          wordwrap_to_linebreak_mode = cl_gui_textedit=>false
        EXCEPTIONS
          error_cntl_create          = 1
          error_cntl_init            = 2
          error_cntl_link            = 3
          error_dp_create            = 4
          gui_type_not_supported     = 5.
      SET PF-STATUS 'STATUS_0110'.
      SET TITLEBAR 'TITLE'.
    ENDMODULE.                    "status_0110 OUTPUT
    Edited by: rafe b. on Oct 26, 2009 2:56 PM

  • Creating POs with multiple line items

    Hi,
    Is it possible to create a PO with multiple line items from the Sharepoint. The developer guide shows sales order creation with a single line item. If yes, please let me know how it can be done.
    Thanks,
    Pranil

    Hi Pranil,
    You can achieve the user case to create a PO with multiple line items in 1 step by creating a custom solution UI in SharePoint. This is not possible if you simply use the out of box UI (as depicted in the guide).
    It depends on how to define the ESR data type. You can create a data type with header details of PO and collection of items with cardinality as 0..n and create a complex BDC model using SPD --> then create a custom UI.
    Other option would be keep it as 2 lists (2 step action). First create a PO header and then add item by item in 2 steps as foreign key relationship. You can see the example of Account and Activity in pre-shipped contents to get an idea.
    Thanks,
    Girimurugan

  • How to make an editable bulleted list with multiple lines and custom bullets?

    How do I create an editable bulleted list in Acrobat Pro? I've figured out how to add text fields with multiple lines, and how to add a list box, but I don't see the check box for multiple lines in the list box or how to add bullet points. Can someone please give me step by step instructions? Also is it possible to use custom bullet points?

    Is it a text field or a list box field? The two are not the same...
    The bullets are something that the user will have to enter manually (into a text field, they can only select values in a list-box).
    They can use any unicode character, or special characters if the font used for that field allows for it. You can't use images for the bullets, if that's what you mean.

  • How to solve the error 'please enter account assignment ' in BAPI_PO_CREATE.

    Hi gurus,
    While creating shopping cart with an  item from services type  i am getting error please enter account assignment.Please suggest me how to solve this error
    thanks&regards,
    Suneel Kumar.

    Hi Suneel,
    Are you getting while transferring the Shopping cart into ECC? Or you are getting while creating Shopping cart in SRM?
    Thank you
    Ritesh

  • ALV Hierarichal display with multiple line headings

    Hi,
          I have designed an ALV report with Hierarichal display with multiple line headings...
    When i change the layout of this report,the headings which we enter manually will not take effect.The column we can hide in the report using the layout management.But the heading remains the same since it was written manually in top of page.
    Is there any possiblity to work out the Manual headings based on the layout fields.

    Hi,
    Do you use REUSE_ALV_HIERSEQ_LIST_DISPLAY? Why do you write heading manually? You can use IT_FIELDCAT parameter for defining a field catalog.

  • When I try to sign in to my account on iTunes, I get the above error message, along with "Please review your account information". When I then click on "Review"

    When I try to sign in to my account on iTunes, I get the above error message, along with"Please review your account information".
    When I then click on "Review", it comesup with the page "Create an Apple Account for the iTunes Store"and presents me with the Terms Of Service.
    When I click "Agree",  It is disabled.
    Can anyone tell me why this has happened and how to resolve it?
    Please, please, please help.

    Count me in as having the same problem. I have been leaving messages in the iTunes for Mac forum where others in there also are having problems. I have been unable to access my account since 11/7/2007. E-mails with Apple have not worked and now I haven't heard back from them since Saturday. I have tried both on a Mac and Windows machine and keep receiving the same error message that:
    This Apple ID has not yet been used with iTunes.
    I last purchased music with this account on 10/30/2007. I even tried resetting my password, changing my account info, trying on a computer with iTunes 7.4, etc. I have money in that account and 150 songs and 5-6 tv shows that I cannot access. I also just purchased a new computer and cannot sync my iPod with this computer since these songs will not transfer.
    Apple really needs a phone number for technical support. Having to deal with e-mails back and forth (and waiting a day for each e-mail) is not a good business practice. Hopefully they will have a phone number in the future.
    Either way, count me in on getting annoyed that a week later, this issue has not been fixed.

  • Word property with multiple lines

    Good Morning,
    I have a Document Library with an Word template, I fill some properties of the library so I can put this properties in the template. I am trying to write a line break, Any idea?
    Thanks.

    Hi,
    According to your post, my understanding is that you want to use Word property with multiple lines.
    Per my knowledge, you can remove two updates: KB2760769 and
    KB2760758.
    The working version of office is 14.0.6129.5000.
    Here is a similar thread for your reference:
    http://sharepoint.stackexchange.com/questions/77759/inserting-multi-line-text-field-quick-part-from-sharepoint-crashes-word
    More information:
    Office 2010 Update KB2760758 Incorrectly Checks Multi-Line Columns
    As this question is more relate to Word, I suggest you post it to the corresponding forum, you will get more help and confirmed answers from there.
    http://social.technet.microsoft.com/Forums/en-US/home?forum=officesetupdeployprevious
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Error when executing a report in Bex analyzer"

    Hi  all  , when I am executing a report in Bex analyzer and selecting a hierrachy and execute the report it is giving an error " in Program CL_RSR_RRKO_HIERARCHY and Form SEL_TO_SELDR_EQSID.Any reason for this. thanks Rao

  • Please help! How to make alter JFrame

    After we initiate a JFrame, it usually shows on the left-upper side, does someone know how to initiate it on the center of the screen? And how do we change the background color of a JFrame or a JPanel? Thanks in advance

  • Open cards that I can not seem to see

    I have no visable open cards, I have no access to apps because I have too many open cards, I have nothing but 5 icons on my phone front screen,  the green phone the envelope the contacts calendar and a black arrow that opens applications, there is no

  • NullPointerException using weight based load algorithm?

              We're using WL451, on Solaris. We have two clusters, Cluster A (running           servlets) and Cluster B (running EJB's).           We've enabled weight-based load balancing on cluster B. Each machine           has a weblogic.system.weight

  • The mpls path or ip path?

    If a network is not a "pure" mpls network, with some links is mpls enabled, and the others is not. A ip packet enters the ingress lsr, from the ingress lsr to the destination maybe lots of path in the cef table, some of them are mpls links, and some