Multiple Account Assignment problem in BAPI_REQUISITION_CREATE

I'm calling BAPI_REQUISITION_CREATE and passing tables REQUISITION_ITEMS and  REQUISITION_ACCOUNT_ASSIGNMENT. I'm passing the following to the items table:
            'Y'           to lt_bapiebanc-acctasscat,
            '1'            to lt_bapiebanc-distrib,
            '1'            to lt_bapiebanc-part_inv.
And I'm passing the following to the account assignment table:
        v_qty           to pt_bapiebkn-preq_qty,
        wa_rfq-item   to pt_bapiebkn-preq_item,
        wa_rfq-glacct to pt_bapiebkn-g_l_acct,
        p_unload_pt   to pt_bapiebkn-unload_pt.
I receive error: "Please Enter Account Assignment".
I did get a successful Requisition created before including bapiebanc-distrib and bapiebanc-part_inv, but then the multiple account assignment didn't work. I hope somebody can help, I'm getting desperate!
Thanks,
Beth Holback

Hi,
  can you say me what u did to solve the issue?
  since i am facing it now. kindly help me out..
thanks
Suganya

Similar Messages

  • Limti PO with Multiple account assignment Problem

    Hi,
    Can we create limit PO with Multiple account assignment.
    If yes, i have issue with commitment distribution for all the account assignment. when i post service entry sheet the value is posting for only first one cost centre/Order but not all.
    So in the purchase order for the remaining account assignment commitment remain left.
    Reagrds,
    JM

    Hi Summer,
    We have implemented SAP Note 1165524 for multiple account assignment as suggested, and it is working fine for New POs.
    But we have old Purchase order which still have wrong commitment, and GR and IR are already posted for this PO, we have to reduce the commitment to Zero.
    there is one solution for this is set  'No further Invoice expected' check box selected in this PO, but in our case PO  went into error in process after doing this.
    Please help me to reduce commitment to zero for this old PO
    Thanks in advance
    Vikas

  • Urgent plz...Error: Multiple Account assignment in  BAPI_REQUISITION_CREATE

    Hi All,
    I'm using BAPI_REQUISITION_CREATE to create the PR . The PR is created successfully with service lines. The service lines for PR item has to be assigned to different account assignment. My problem is that account assignment is not getting assigned to the service line for multiple account assignment cases, instead the account assignment is blank for the sevice line.
    Here is part of my code.
    For Account Assignment
    t_requisitionaccoun-preq_item = '00010'.
    t_requisitionaccoun-serial_no = '01'.
    t_requisitionaccoun-g_l_acct = '0000630010'.
    t_requisitionaccoun-cost_ctr = '0801112560'.
    append t_requisitionaccoun
    t_requisitionaccoun-preq_item = '00010'.
    t_requisitionaccoun-serial_no = '02'.
    t_requisitionaccoun-cost_ctr = '0801111710'
    t_requisitionaccoun-g_l_acct = '0000610090'.
    append t_requisitionaccoun
    t_requisitionaccoun-preq_item = '00020'.
    t_requisitionaccoun-serial_no = '01'.
    t_requisitionaccoun-cost_ctr = '0801111710'
    t_requisitionaccoun-g_l_acct = '0000610090'.
    append t_requisitionaccoun
    For Service account Assignment
    *<b>PR item 10</b>
    Service item 1
    t_requisitionsrvaccass-pckg_no = '0000000002'.
    t_requisitionsrvaccass-line_no = 2. " line 1 is the header for service
    t_requisitionsrvaccass-serno_line = '01'.
    t_requisitionsrvaccass-quantity = '10'
    t_requisitionsrvaccass-serial_no = '01'
    APPEND t_requisitionsrvaccass.
    Service item 2
    t_requisitionsrvaccass-pckg_no = '0000000002'.
    t_requisitionsrvaccass-line_no = 3.
    t_requisitionsrvaccass-serno_line = '01'.
    t_requisitionsrvaccass-quantity = '10'
    t_requisitionsrvaccass-serial_no = '02'
    APPEND t_requisitionsrvaccass.
    *<b>PR item 20</b>
    Service item 1
    t_requisitionsrvaccass-pckg_no = '0000000004'.
    t_requisitionsrvaccass-line_no = 2. " line 1 is the header for service
    t_requisitionsrvaccass-serno_line = '01'.
    t_requisitionsrvaccass-quantity = '10'
    t_requisitionsrvaccass-serial_no = '01'
    APPEND t_requisitionsrvaccass.
    With this code, what I get is the blank account assignment for PR item 10 and correctly filled account assignment for PR item 20.
    Does anyone done this before and can give me some help. Thanks.

    Hi, can you send me an example of this BAPI.
    I have the same requeriment, i'm new with bapis
    thanks

  • BAPI_REQUISITION_CREATE with Multiple Account Assignment

    Hi, Does anyone have an example code of this function with multiple account assigment values
    Or suggestions to implement this FM
    I´m beginner in abap
    Thanks
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 12:47 PM

    Hi, I saw that function,does anyone have a z program using this bapi
    with  Multiple Account Assignment structure
    thanks

  • ERROR WHILE POSTING MIRO FOR MULTIPLE ACCOUNT ASSIGNMENT (ASSET)

    Hi Guys,
    We created  a PO for asset with multiple account assignment. And we immediately do IR instead of GR.
    While doing IR it is giving error
    1) Quantity delivered is zero - Warning message
    2) Account 245350 requires a Transaction Type or is Invalid - Error message
    what may be the problem. how can we eliminate and post it
    Regards
    palani

    Hi,
    I would assume the G/L account you used was not properly set up.  Did you get the same problem if you try to change to another G/L account?  Perhaps, get your FI specialist to look into this G/L account-related error and verify it.
    Cheers,
    HT

  • Multiple Account Assignment details for Service PRs

    Hi,
           I have developed a RFC for creating PRs. For multiple service PRs, multiple services are getting created but account assignment details getting created only for the first service line item. Iu2019m using BAPI_REQUISISTION_CREATE. Please provide me a solution.
    Regards,
    N.Senthil

    hi all,
          the issue has been resolved by passing the below mentioned values.
          wa_item_data-distrib = '1'.      "FOR MULTIPLE ACCOUNT ASSIGNMENT based on the quanlity
          wa_item_data-part_inv = '1'.     "FOR MULTIPLE ACCOUNT ASSIGNMENT
    solution got from
    http://wiki.sdn.sap.com/wiki/display/ABAP/BAPI_REQUISITION_CREATE
    http://www.sapnet.ru/viewtopic.php?p=9306
    Regards,
    N.Senthil

  • GR Printing For Single Line Item With Multiple Account Assignment.

    Hi All,
    There is PO for projects (Account Assignment -P - Network) in which in a single item consist of multiple account assignment.
    Noe while entering the GR I select "Collective Slip" option but when the GR is posted system automatically select option "Individual slip" and seprate line item are printed for each account assignment.
    The printing program is standard SAPM07DR. The SAP version is 4.7. Can anyone tell what is ther any setting in configuration or is it problem in program or smart form
    Thanks & Regards,
    Omkar

    hi
    please check your form and routine used to print.

  • Invoice transport costs with multiple account assignment

    Hello Gurus,
    My problem is the following:
    1) I create two sales orders with the same forwarding agent "A"
    2) I create the two deliveries with the forwarding agent "A"
    3) I create a transport for those two deliveries and the same forwarding agent A
    4) I create the shipment cost for that transport.
    So now we have the situation:
    2 orders --> 2 deliveries --> 1 transport --> 1 shipment cost
    when i go to transaction MIRO and I enter the delivery note number I get one line item with the total transport cost.
    If I click on the option "Multiple account assignment" I get a breakdown of all the amounts but I can not see which costs refers to which delivery.
    My question is: Is there any way I can link the amount to the delivery number or at least to identify which cost is linked to which delivery number?
    Thanks a lot in advance,
    Miguel

    gr non valuated is done in case ur procuring the material for direct consumption so at the time of gr no posting to accounts occur but at the time of invoice recipet the system debits the g/l account and crdits the vendor account 
    this multiple account ***. is also necessary to mark with gr non valuated and gr check box so that u can change the account assignment at the time of invoice and that acc. assg. should also be changebale in backend .

  • Delivery cost with multiple account assignment

    Dear SAP gurus,
    I found a problem in here. In my company we are using multiple account assignment in PO with multiple asset entered in one line. This PO actually will have customs and delivery cost inside of it, however it is not know at the time of PO creation. When the forwarder send the goods, sometimes the shipment can contain more than one PO as well, thus it is impossible to determine the exact value of delivery cost at the time of PO creation.
    When the goods are delivered in the FOB point, the vendor deliver goods will send the invoice for goods, and when the goods delivered to our warehouse, then the forwarder will deliver the invoice for the delivery cost. So there is no sequence of the invoicing. Sometimes the goods are invoice earlier than the delivery cost, sometimes it is later.
    My requirements are to make sure that the delivery cost is being posted to the asset account of the goods that are being delivered in the PO. I have tried these options:
    a. Planned delivery cost inside the PO --> when posting invoice for planned delivery cost, got error message that there is no delivery cost in the PO. I think this is because of the multiple account assignment because when creating PO and inputting the delivery cost i do get warning that no delivery cost for multiple account assignment,
    b. Unplanned delivery cost --> ONLY work if the invoice for delivery cost and goods are being posted as one document, which is not the case in here.
    c. Separate PO for delivery cost --> got issue in which the person who supposed to create the PO for delivery cost, would not have any idea what asset no to be used (worse --> if the asset is being delivered partially).
    Do you have any idea of what to be done in this case? Please help.
    Best regards,
    John.

    See  while making the invoice for the delivery cost you have selected the aggreation as planned delivery cost and in the PO you have not maintained the deilvery conditions .The pricing conditions which you have maintained must ebe  have condition category - delivery cost .The system will not give thr message thhat you have not mainatined the delivery cost .If you have condition as mandatorty it will show that the conditions ( mandatory) are not maintain.In order to maintain the delivery cost you have to check your conditions whether they are delivery cost related conditins and if then maintain there values in PO and check while doing invoice you will get.
    You have also the option of entering the delivery cost at time of the Invoice as unplanned delivery cost ...........
    Just check your conditions which you have maintained the calculation schema as delivery conditions and maintain the values and do the invoice proceesing .
    It is not advisableto cretae the sepearted PO for the delivety cost as it is not good way of doing the proceess.
    Regards
    sunny

  • Undeleting a PO line item with multiple account assignment and PO history

    I  am getting error message
    PO history already exists (Multiple account assignment not possible)
        Message no. MEPO841
    When attempting to undelete a purchase order line item that has GR (nonvaluated) and Invoice postings.
    Sequence of events.
    PO line item was created with mutlitple account assignments ( 50/50 distribution) and GR nonval flags on.
    Invoice Posted (blocked for payment)
    GR done
    PO line item marked for deletion.
    Now getting MEPO841 when attempting to undelete.
    Tried to Reverse GR and cancel material docuement - unable to do so - message no selectable items in PO
      (even with check zero indicator )

    Hello Dan ,
    Error message MEPO 841 is only issued if you have Multiple account assignment function (MAA) activated. Multiple account assignment function is a new business function developed in Release 604.
    If you have MAA active, you are not allowed to change a single account assigned PO which has GR posted to a multiple accounts assigned PO. If this is tried , MEPO 841 will stop you from doing this change.
    If you want to have your old functionality in the lower release, you should switch off the business function LOG_MM_MAA_1 ( MM Multiple Account Assignment )  in Release 604.
    Please switch the business function LOG_MM_MAA_1 off in test environment  and test the problem again in a productive system.
    I hope this information has been helpful in solving your problem. Please let me know if you have any further questions.
    Thank you.
    Best Regards,
    Frank Farinella

  • PO Error in Process with Multiple account assignment

    Hi ,
    I am working with Extended Classsic scenario.
    Problem is with PO with Multiple account assignement.
    There is only one user who is getting problem with one particular account assignement "CCC" - Cost Center RP.. . When PO gets created with this particular AAC , it goes into "Error in process" only for one user.
    In RZ20 it shows messsage as "Please enter quantity or percentage for account assignment" & "Distr. ind. and partial invoice ind. must be set f or multi acct. assgt.".
    On other hand , other users are able to order the PO with the same AAC without any error.
    What could be the reason behind this only for one user ?
    Regards,
    Sheetal

    Hi ,
    I have checked it intially and both are identical.
    Initialy the problem was, user had entered 128 times AA line items  ( added & deleted ) in the PO while in the SC it was having only 64.... Our system accepts line items till 99 , so i asked him to delete the items above 99 ..
    So after that POs error has gone and it went for approval..
    But after approval it again went into error in process
    Sheetal

  • Multiple account assignment PO with Asset

    Hi all
    I am making an Asset PO with quantity 5 and with multiple account assignment selection  & distribution on qty basis with different Asset No. for each
    In this PO the octroi charges are maintained. during the MIRO simulation the delivery cost is not capturing
    Kindly let me state the stepings to solve this problem .
    Thanks in advance
    Regards
    Rajesh

    hi
    as ur po is with multiple acct assignment,check ur GR it will be non valuated so in miro u have to make manual entry of octroi
    try createing new item for the new acct assignment and then do the cycle
    regards
    KI

  • Multiple account assignement for PO

    Hi!
    i've this problem about purchase data: to extract these data i'm using 2lis_02_itm and 2lis_02_Scl DS.
    but i need in the same query the account assignement for PO (these data are in EKKN table).
    in a first time i've enhanced the DS, but with Multiple account assignement i don't have correct data (because i've used select single in CMOD).
    now i don't know how to enhance the DS with Multiple account assignement, could you help me ?
    (a solution is doing an ODS with EKKN data and make an infoset with an other ODS with data from LIS extractor, but i prefer to enhance the DS)

    Hi Alex
    You are not able to enhance 2lis_02* datasources to give you the information wanted. The problem is that you need to split one line into multiple lines. I'm as well not sure that you'll get a good result from an infoset as you’ll get performance problems due to the needed join on document , line level and a possible outer join (not all documents will show up in EKKN). A better solution will be to source EKKN to a separate ODS, source 2lis_02* into separate ODS’s and then create a new ODS sourcing data from the 2lis_02* ODS where you read the EKKN ODS in the start routine and uses that info to create extra rows if needed.
    With Kind Regards
    Kristian

  • Multiple account assignment of p.r while acct. assignment is P & itemcat-D

    I AM FACING A PROBLEM IN CREATION OF P.R HAVING MULTIPLE ACCOUNT ASSIGNMENT . I AM TAKING ACCT. ASSIGN MENT CAT- P i am distubting in different WBS ELEMENT. BUT SYSTEM GIVES AN ERROR MESSAGE
    Multi acct. assgt. not allowed for ind. cust. req. or engineer-to-order
    Message no. 06268
    Diagnosis
    Multiple account assignment is not defined for items with account assignment to "individual customer requirement" or "manufacture for individual project" (engineer-to-order).
    This means that you can only enter one account assignment item in the case of individual customer requirement or engineer-to-order.

    pls go to spro-mm-purchasing- account assignment-maintain account assignment-select the account assignment u r using-check ID: AcctAssgt Scrn.
    regards,
    indranil

  • Customizing for multiple account assignment in OME9

    Hello,
    We want to create a specific account category with different account assignment fields (cost center, WBS, order, etc).
    This account category will be used for PO items with single account assignment or multiple account assignment.
    One more information is this specific account category will be used only for PO replicated from Supplier Relationship Management. This means PO document type will not be created directly in R/3.
    We use ECC6 with EhP4 with business function LOG_MM_MAA_1 active, so we make MAA for GR valuated.
    According to those elements, iI would like to have confirmation regarding customizing we implemented, especially for fields:
    - "Indicator: Account assignment screen" populated with value '2' (Multiple account assignment)
    - "Distribution" empty (Single account assignment),
    - "Partial Invoice" populated with value '2' (Apportion IR quantities to GR quantities proportionately).
    While creating PO in SRM and after replication in R/3, cost distribution is done correctly for item with multiple account assignment (Account Assignment tab with Partial Inv. =  "Distribute Proportionately" and Distribution = 1, 2 or 3, depending on cost distribution type chosen) whereas for item with single account assignment, Partial Inv. is "Derive from Account Assignment Category" and Distribution is "Single Account Assignment Category").
    So, it seems OK. Nevertheless, i would like to have confirmation values i gave with above fields are correct in order to not have to change them later, i mean after PO were created, if problems occured.
    Thank you for your help.
    Regards.
    Laurent.

    Hello,
    During PO replication from SRM to R/3, customizing from OME9 is not read and "Partial invoice indicator" is always defaulted to "1" when item has a multiple account assignment.
    This behaviour can be overwritten by implementing:
    - either BBP_PO_INBOUND_BADI for method BBP_MAP_BEFORE_BAPI,
    - or BBP_ECS_PO_OUT_BADI for method BBP_B46B_PO_OUTBOUND.
    So, no need to take care of OME9 customizing.
    Regards.
    Laurent.

Maybe you are looking for

  • Search Results Not Highlighted

    After a recent update Acrobat 9 Standard 9.4.5 does not highlight search ruseults.  Is anybody else having this problem?  Is there a setting I can change?

  • [SOLVED]System upgrade error

    Hi, Trying to upgrade my whole system, using the command: pacman -Syu as root, I got the following error: error: failed to commit transaction (conflicting files) python2-twisted: /usr/lib/python2.7/site-packages/twisted/plugins/dropin.cache exists in

  • Capturing SOAP

    I Have a written a small Web service as part of a Uni' project. I would like to provide samples of the exact SOAP request and response generated by JAX-RPC if possible. Is there anyway of capturing this information ? - possibly from Tomcat or maybe v

  • A case of phishing on an iPhone

    This makes me feel a bit dumb, but I'm sure if I were on one of my laptops it would never happened. So the story goes: I checked my inbox on the iPhone and saw a message from PayPal saying that an unconfirmed transaction needed to be disputed: Since

  • Ever since 11.6.602.171 dl, flash is TOTALLY unlistenable

    static left & right channel dropouts tital sound dropout, ocasional jumpy video windows XP SP3 4 core 4 GB mem 10000rpm western digital black disk same thing with IE8,chrome,Firefox. deleted files,cache,turned off hardware accel.boosted cache size et