Account distribution by Quantity

Hi,
We are using SRm 4.0 with extended classic scenario.
We are facing an issue with cost distribution in shopping cart and purchase order.
In general, when we have a cost distribution, total value  /qty in account assignment tab should match the item value / qty. If not is should give error. It is working fine, when the distribution is by percentage or value.
If it is by quantity, then it is not giving any error message in shopping cart.
In PO, if the quantity doesn't match, then it is giving the error "Sum of quantities >xxx< smaller than total quantity"
But if we delete any of the account assignment item in PO, then at that time also it is not giving the error even the total qty doesn't match the item qty.
Could you please help me to activate this validation in shopping cart and PO?
Thanks,
SS

Muthu,
Thanks for the quick reply.
Please find below the example:
PO item qty - 100
Cost distribution:
Line 1 - 50
Line 2 - 30
Line 3 - 20
Now the PO has been ordered. PO in backend is showing three account assignments.
After that, I have deleted the fiirst 2 account assignments (1 & 2).
Now the PO will show like:
PO item qty - 100
Cost distribution:
Line 1 - 50 (deleted)
Line 2 - 30 (deleted)
Line 3 - 20
Now the Po item qty and account assignment qty are not same. In this it should give an error. But I am still able to order the PO. When the PO has been transfered to backend, I could see only one account assignment in ME23N but the PO item qty is showing there. Because of that I could able to process confirmation and invoice.
Now, if I change the qty of this specific item, then the new qty is getting updated in teh account assignment tab against the third item.
Rather, if I try to add another item to the PO, then at that time it is giving the error messasge: Sum of quantities > xxx < sum of total quantities.
Till invoice has been posted, it is not giving the error message.
Thanks,
SS

Similar Messages

  • Issue on distribution of quantity to WBS elements in invoice

    Hi SAP Gurus,
    I have an issue with the distribution of quantity to WBS elemements in SAP.
    There is a purchase order with 6 line items. For the first line item a quantity of 3 is ordered and the same quantity of 3 is assigned to 7 WBS elements in the account assignment tab. There were 3 invoices created for this line item. For a particular WBS element a quantity of 1.050 was assigned and when we drilled down through the 3 invoices we found only a quantity of 1.028 is assigned to this Particular WBS element. Can someone please tell me as to why this mismatch has happened.
    Thanks in advance

    Hi Raman,
    I am sorry but this is not the case . There are 7 WBS elements used for this PO. The quantity is distributed to 7 wbs elements as follows.
                                          Percentage                    Quantity
    1st WBS element-                 8.7                             0.261
    2nd WBS element                 17.4                            0.522
    3rd WBS element                  18.2                            0.546
    4th WBS element                  8.8                             0.264
    5th WBS element                   6.4                             0.192
    6th WBS element                   5.5                             0.165
    7th WBS element                   35                              1.050
    This is the assigned structure in the PO for all the 7 WBS elements. But when you look into the 3 invoices a quantity of 1.028 has been distributed to 7th WBS element and a quantity of 0.214 has been assigned to 5th WBS element which is causing the mismatch
    Also in the 2nd and 3rd invoices only 6 wbs elements are used. Can you please tell me as to why there is a WBS element missing in the 2nd and 3rd invoices if the splitting is happening automatically.
    Regards,
    Dwarik

  • Oracle r12.1 - Material Account Distribution Detail report not opening in Excel

    Hello,
    We have a requirement to open Material Account Distribution Detail  Report to transfer the output to MS Excel when user clicks the "View Output" window.  Below is the setup.   And I have verified over and over that setup is correct.   Still, for some reason, concurrent program output is dumped in XML format on the browser window!  What is causing this and why?  What am I missing?
    My Data Definition
    ===========
    Name  INVDSTRL_XML
    Code INVDSTRL_XML
    Application  Oracle Inventory
    Start Date 27-Apr-2013
    End Date
    My template definition
    =============
    Name  INVDSTRL_XML
    Code INVDSTRL_XML
    Application  Oracle Inventory
    Type RTF
    Start Date 27-Apr-2013
    Default File Item_error_report.rtf
    End Date
    Default File Language English
    Subtemplate No
    Default File Territory
    Default Output Type EXCEL
    Conc Program Def:
    ============
    Program: INVDSTRL_XML
    Short Name: INVDSTRL_XML
    Application: Oracle  Inventory
    Executable Name: INVDSTRL_XML
    Method: Java Concurrent Program
    Output Format: XML
    Rest are defaults
    I also checked the version of BI Publisher by passing following query. 
    SELECT DECODE (bug_number, '4440000', '5.6.3') PATCH, bug_number FROM ad_bugs WHERE bug_number IN('4440000');
         Not sure what is the issue.  Why the output is not being diverted to EXCEL.  Please advise.  Why it dumps into XML and Not Excel?  This is on r12.1.3
    Thanks.
    Darsh

    Hi Abdul,
    Before running the report select the particular "inventory organization" and then run the report.
    It seems you were directly running the report without selecting the Inv org.
    Please try again.
    Thanks
    -Arif.

  • Regarding po error:buiding default account distribution and please wait....

    hi ,
    i 'll appreciate if any one can help me in this:
    we have applied patches to our system here OAPPS 11.03,after this whenever i go to create purchase orders or requisitions ..shipment and then distribution ,i am getting error that "BUILDING DEFAULT ACCOUNT DISTRIBUTION AND PLEASE WAIT..." but i don't get values for charge,budget,accrual and variance accounts on distribution screen.i checked the wfstatus.sql(account generator workflow file) and run that by giving item_key and item_type for PO,i didn't get any output i.e no rows selected for every activities.Then i used trace on and read the trace file in which i saw one error ORA:00936 which means missing exp(i think) and one wrong sql statement is appearing in trace file.it has comma before from clause..i am not able to understand why is it happening?if any one knows about this then please let me know...is it workflow problem or something else?
    thanks in anticipation

    Muthu,
    Thanks for the quick reply.
    Please find below the example:
    PO item qty - 100
    Cost distribution:
    Line 1 - 50
    Line 2 - 30
    Line 3 - 20
    Now the PO has been ordered. PO in backend is showing three account assignments.
    After that, I have deleted the fiirst 2 account assignments (1 & 2).
    Now the PO will show like:
    PO item qty - 100
    Cost distribution:
    Line 1 - 50 (deleted)
    Line 2 - 30 (deleted)
    Line 3 - 20
    Now the Po item qty and account assignment qty are not same. In this it should give an error. But I am still able to order the PO. When the PO has been transfered to backend, I could see only one account assignment in ME23N but the PO item qty is showing there. Because of that I could able to process confirmation and invoice.
    Now, if I change the qty of this specific item, then the new qty is getting updated in teh account assignment tab against the third item.
    Rather, if I try to add another item to the PO, then at that time it is giving the error messasge: Sum of quantities > xxx < sum of total quantities.
    Till invoice has been posted, it is not giving the error message.
    Thanks,
    SS

  • IPM / Imaging : Account Distribution reassign error

    Hi,
    I am using IPM 11g. While trying to reassign an invoice from Account Distribution coding form, IPM logs generate the following error:
    <Apr 9, 2013 5:19:07 AM PDT> <Warning> <oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectOneRenderer> <BEA-000000> <Could not find selected item matching value "NAME" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=ipsoc1]>
    java.lang.NullPointerException
    at oracle.imaging.axf.servicemodules.bpel.workflow.util.BpelUtility.updatePayload(BpelUtility.java:757)
    at oracle.imaging.axf.servicemodules.bpel.workflow.util.BpelUtility.setSystemAttributes(BpelUtility.java:722)
    at oracle.imaging.axf.servicemodules.bpel.workflow.AxfWorkflowServiceModule.updateTask(AxfWorkflowServiceModule.java:980)
    at oracle.imaging.axf.model.bpel.BPELFacade.updateTaskInfo(BPELFacade.java:523)
    at oracle.imaging.axf.web.IdentityPicker.executeOkAction(IdentityPicker.java:321)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at oracle.imaging.ui.model.filter.ImagingLoginFilter.doFilter(ImagingLoginFilter.java:142)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3739)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3705)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2282)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2181)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    This is preventing the updated username from being reflected in the received payload.
    Moreover, I changed the AXF configurations to map INVOICE_ID to the User Assignment value in AXF_XPATH_ATTRIBUTES table, and surprisingly, the INVOICE_ID node was populated with the newly assigned user name. Same attempt with nodes like ATTRIBUTE15 failed. This led me to believe that the issue could be because of an unpopulated node (somehow I connected this to the usual missing from and to error), and hence I pre-populated the user assignment node with “Weblogic”. That too, has not worked for me.
    I have ran out of ideas on this one. Please do let me know if anyone has faced this issue before? Or if there is something else I should try out.
    Regards,
    Himanshu

    Hi Vikrant,
    I have got the error snippet from the diagnoistic log for SOA.
    I think I have found the error - if you see below, the XML input stream points to : http://http://://usatl01lt616.amer.lendlease.com:8001/soa-infra/services/default/InvoiceProcessing/invoiceprocessing_client_ep?WSDL: http: Error in getting XML input stream
    Do you think this can be an issue? Also, to resolve this, I was thinking of modifying the BPEL processes and re-deploying them via Jdeveloper. Do you have a better option to get around this?
    [2012-11-07T00:15:00.580-05:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.dispatch] [tid: orabpel.invoke.pool-4.thread-1] [userId: <anonymous>] [ecid: 865998f9aeeaf3b0:4c89f4a:13acd705e0b:-8000-00000000000092ed,1:31958] [APP: soa-infra] failed to handle message[[
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>oracle.fabric.common.FabricException: oracle.fabric.common.FabricException: Error in getting XML input stream: http://http://usatl01lt616.amer.lendlease.com:8001/soa-infra/services/default/InvoiceProcessing/invoiceprocessing_client_ep?WSDL: http: Error in getting XML input stream: http://http://usatl01lt616.amer.lendlease.com:8001/soa-infra/services/default/InvoiceProcessing/invoiceprocessing_client_ep?WSDL: http</summary>
    ,detail=<detail>http</detail>}
    Regards
    Abhilash

  • Cannot Submit Material account distribution detail report

    Hi All,
    While Im submitting the report called Material account distribution detail from inventory reports, the following messaging pop up and its get stuck on the same instance.
    1.     Enter a value for Exchange Rate Type Parameter
    2.     Enter value in segment Exchange Rate Type before entering value in Exchange Rate segment.
    However, Im not able to run this report in any case. Therefore, please look into this matter and provide your comments.
    We are on apps 11i on Windows NT 2000 and multi org setup
    RDBMS 8.1.7.1.1
    please provide your valid comments on this matter.
    Thanks
    Altaf
    [email protected]

    Hi Abdul,
    Before running the report select the particular "inventory organization" and then run the report.
    It seems you were directly running the report without selecting the Inv org.
    Please try again.
    Thanks
    -Arif.

  • IPM - Account Distribution Task

    Hi,
    I have a task pending with Account Distribution.I logged into IPM Tasks List screen and clicked on "View Task" link.I see that the account distributions/lines are non-editable..My intention is the distribution form should be editable so that user/group should be able to add the Accounting Segments. What is the setting required to accomplish this?
    Thanks,
    Lakshmi

    Hi Lakshmi,
    Check if this issue is not related to rights.
    Regards,
    Vikrant Korde.

  • Account Distribution form

    Hi,
    I would like to add a custom field in the account distribution form. I did not see the Account Distribution form in the IPM BPEL processes. Where is this form located? Can i customize this form?
    Thanks,
    Lakshmi.

    This form should be a part of imaging.ear.
    Regards,
    Vikrant Korde.

  • Importing in Chart of Accounts distribution SAP INTERCOMPANY

    Hello
    I am configuring the consolidation company. I just inside the Consolidating company and executed Administration> Setup > Intercompany > Chart of Account Distribution. I did an export and and Check Status and received 100% Complete percentage and status Success. BUT when i try import ffrom the branches, the percentage is always 100% and status In progress, even after several hours. What should i do ? I am using SBO 9.0 PL05

    I just configured both companies (it was missing in one DB) with the next configuration
    But again i see the importa status screen with the same time and date even though i pressed import again
    What else can it be ?
    Regards
    Hector

  • Import is always in progress 88% in Chart of Account Distribution screen

    Hello,
    When we perform importing in Chart of Account Distribution screen, the progress is alway 88% and never complete.
    Is there any one that facing this issue ? Please help me to fix this issue.

    Hi,
    Check this thread:
    http://scn.sap.com/thread/3562601
    Thanks & Regards,
    Nagarajan

  • Defaulting Cost accounting distribution line at Responsibility level

    Hi Project Accounting Experts,
    I have now rephrased the query:
    PRC: Distribute Usage and Miscellaneous Costs need to default one of the segment values based on the responsibility that created the misc transaction for the expenditiure batch
    Below is the Auto accounting rule created and assigned to the Misc Trx for All Misc Transactions as Function transaction:
    select decode(upper(ttt.service_type_code),'IGJ',
    fnd_profile.value( 'IJ_BiZ')) from
    pa_projects_all JT,
    pa_project_types_all ttt
    where ttt.project_type = JT.project_type
    and JT.project_id = :1
    The profile option ' J_BiZ'(created for GL module) and is meant to default a segment value for Miscellaneous Expenditure transactions at responsibility level. but rather profile ' J_BiZ' defaults at the site level . Why?.
    I need the segment value to default based on the Profile option at Responsibility level for the miscellaneous tranasaction created via that responsibility.
    Does anyone has an idea?
    Edited by: 198196 on 02-Jan-2013 08:11

    Hi Parakala,
    Maintain Cost centre at each Organization unit at infotype 1008.
    at PR05 it will pick by default.
    Let me know if you need more information.
    with regards,
    Gopala

  • Revoked SES with account assignment distributed by quantity cannot be modified or deleted

    Hi All
    I have users who are posting service entry sheet with the account assignment distributed
    on a quantity basis across multiple maintenance orders.  The acceptance works perfectly but we are having problems if a correction or cancellation is required.
    The service acceptance can be revoked successfully but afterwards it is not possible to change the service quantity or to delete the service entry sheet.  When we try we receive an ABAP runtime error:
    Runtime Errors         COMPUTE_BCD_OVERFLOW
    Exception              CX_SY_ARITHMETIC_OVERFLOW
    Date and Time          08.07.2014 14:25:12
    Short text
         Overflow during the arithmetical operation (type P) in program
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "CL_EX_MMSRV_ACC_DIST_SAP======CP" had to be
          terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not
          caught in
         procedure "IF_EX_MMSRV_ACC_DIST_SAP~DISTRIBUTE_ACC_ASSIGNMENTS" "(METHOD)", nor
          was it propagated by a RAISING clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         An overflow was discovered in an ongoing arithmetical operation with
         operands of type P. Possible causes are:
         1. The result field of type P is too small for the result.
         2. The result or a intermediate result has more than 31 decimal places.
    This problem does not occur if I run the same scenario any of the following variations so I'm confident the problem is related to the account assignment distribution by quantity:
    Single account assignment
    Distributed account assignment via percentage
    No service acceptance/revoke has been posted
    There are ways to get around the problem but I'm trying to find a SAP Note that may be relevant.  I haven't had any luck yet.  Does this problem ring a bell with anybody who might be able to point me towards an appropriate note?
    Thanks
    Robyn

    Hi,
    Kindly refer the below OSS Note, which explains the reason and correction for the error which you are facing.
    1715475 - MAA2: ML81N/MIRO: false postings for Service PO

  • XML shows multiple po distributions account for each po line item

    Hi, We have custome RDF created for Purchase Order Detail Report. Per the PO summary report, PO nubmer 30367 has two lines and each on has single distributions. Each line has different distributions. Line 1distribution account: 01.000.105.65020.00000.00 and Line 2 distribution account: 01.000.000.15020.00000.00. However when I run the XML for PO summary report, each line items contains the two account distributions. How do you make it sho it only show the account distribution pertain to the each line?
    **Please see xml below.**
    - <LIST_G_COMPANY>
    - <G_COMPANY>
    <C_COMPANY>CTI US Ledger</C_COMPANY>
    <C_ORGANIZATION_ID>83</C_ORGANIZATION_ID>
    <GL_CURRENCY>USD</GL_CURRENCY>
    <STRUCTURE_ACC>101</STRUCTURE_ACC>
    <STRUCTURE_CAT>101</STRUCTURE_CAT>
    <C_YES>Yes</C_YES>
    <C_NO>No</C_NO>
    <C_CATEGORY_SET_ID>1</C_CATEGORY_SET_ID>
    <BUSINESS_GROUP_ID>0</BUSINESS_GROUP_ID>
    - <LIST_G_HEADERS>
    - <G_HEADERS>
    <POH_REMARKS />
    <CREATION_DATE>01-SEP-10</CREATION_DATE>
    <STATUS>Approved</STATUS>
    <REV>0</REV>
    <PRINTED_DATE />
    <TYPE>Standard Purchase Order</TYPE>
    <BUYER>BUNTING, DOUGLAS</BUYER>
    <C_CURRENCY>USD</C_CURRENCY>
    <VENDOR>Softchoice Corporation</VENDOR>
    <ACCEPTANCE_DATE />
    <ON_HOLD />
    <VENDOR_SITE>SOFTCHOICE - PO</VENDOR_SITE>
    <ACCEPTANCE_REQUIRED>No</ACCEPTANCE_REQUIRED>
    <C_AMOUNT_AGR>2500</C_AMOUNT_AGR>
    <PO_HEADER_ID1>2790</PO_HEADER_ID1>
    <REVISED_DATE />
    <PO_NUMBER>30367</PO_NUMBER>
    <C_FND_PRECISION>2</C_FND_PRECISION>
    - <LIST_G_BREAK_LINES>
    - <G_BREAK_LINES>
    <LINE>1</LINE>
    <LINE_TYPE>GOODS</LINE_TYPE>
    <REV1 />
    <ITEM_DESCRIPTION>Test</ITEM_DESCRIPTION>
    <UNIT>EACH</UNIT>
    <PO_HEADER_ID>2790</PO_HEADER_ID>
    <UNIT_PRICE>500</UNIT_PRICE>
    - <LIST_G_SHIPMENTS>
    - <G_SHIPMENTS>
    <CLOSED_CODE />
    <LINE_CLOSED>N</LINE_CLOSED>
    <LINE_CANCEL>N</LINE_CANCEL>
    <NOTE_TO_VENDOR />
    <NEED_BY_DATE />
    <PROMISED_DATE />
    <SHIP_TO_LOCATION>CELL THERAPEUTICS INC</SHIP_TO_LOCATION>
    <QUANTITY_AMOUNT_ORDERED>1</QUANTITY_AMOUNT_ORDERED>
    <QUANTITY_AMOUNT_RECEIVED>0</QUANTITY_AMOUNT_RECEIVED>
    <QUANTITY_AMOUNT_CANCELLED>0</QUANTITY_AMOUNT_CANCELLED>
    <QUANTITY_AMOUNT_DUE>1</QUANTITY_AMOUNT_DUE>
    <QUANTITY_AMOUNT_BILLED>0</QUANTITY_AMOUNT_BILLED>
    <C_FLEX_CAT>COMPUTER SUPPLIES</C_FLEX_CAT>
    <C_FLEX_ITEM />
    </G_SHIPMENTS>
    </LIST_G_SHIPMENTS>
    - <LIST_G_CONCAT_SEGMENTS>
    - <G_CONCAT_SEGMENTS>
    <DELIVER_TO_PERSON_NAME>DOUGLAS BUNTING</DELIVER_TO_PERSON_NAME>
    <PO_HEADER_ID2>2790</PO_HEADER_ID2>
    <CONCAT_SEGMENTS>01.000.000.15020.00000.00</CONCAT_SEGMENTS>
    <PLL_LOCATION_ID>3053</PLL_LOCATION_ID>
    </G_CONCAT_SEGMENTS>
    - <G_CONCAT_SEGMENTS>
    <DELIVER_TO_PERSON_NAME>DOUGLAS BUNTING</DELIVER_TO_PERSON_NAME>
    <PO_HEADER_ID2>2790</PO_HEADER_ID2>
    <CONCAT_SEGMENTS>01.000.105.65020.00000.00</CONCAT_SEGMENTS>
    <PLL_LOCATION_ID>3052</PLL_LOCATION_ID>
    </G_CONCAT_SEGMENTS>
    </LIST_G_CONCAT_SEGMENTS>
    <C_FLEX_CAT_DISP>COMPUTER.SUPPLIES.</C_FLEX_CAT_DISP>
    <C_FLEX_ITEM_DISP />
    </G_BREAK_LINES>
    - <G_BREAK_LINES>
    <LINE>2</LINE>
    <LINE_TYPE>GOODS</LINE_TYPE>
    <REV1 />
    <ITEM_DESCRIPTION>test</ITEM_DESCRIPTION>
    <UNIT>EACH</UNIT>
    <PO_HEADER_ID>2790</PO_HEADER_ID>
    <UNIT_PRICE>1000</UNIT_PRICE>
    - <LIST_G_SHIPMENTS>
    - <G_SHIPMENTS>
    <CLOSED_CODE />
    <LINE_CLOSED>N</LINE_CLOSED>
    <LINE_CANCEL>N</LINE_CANCEL>
    <NOTE_TO_VENDOR />
    <NEED_BY_DATE />
    <PROMISED_DATE />
    <SHIP_TO_LOCATION>CELL THERAPEUTICS INC</SHIP_TO_LOCATION>
    <QUANTITY_AMOUNT_ORDERED>2</QUANTITY_AMOUNT_ORDERED>
    <QUANTITY_AMOUNT_RECEIVED>0</QUANTITY_AMOUNT_RECEIVED>
    <QUANTITY_AMOUNT_CANCELLED>0</QUANTITY_AMOUNT_CANCELLED>
    <QUANTITY_AMOUNT_DUE>2</QUANTITY_AMOUNT_DUE>
    <QUANTITY_AMOUNT_BILLED>0</QUANTITY_AMOUNT_BILLED>
    <C_FLEX_CAT>COMPUTER SUPPLIES</C_FLEX_CAT>
    <C_FLEX_ITEM />
    </G_SHIPMENTS>
    </LIST_G_SHIPMENTS>
    - <LIST_G_CONCAT_SEGMENTS>
    - <G_CONCAT_SEGMENTS>
    <DELIVER_TO_PERSON_NAME>DOUGLAS BUNTING</DELIVER_TO_PERSON_NAME>
    <PO_HEADER_ID2>2790</PO_HEADER_ID2>
    <CONCAT_SEGMENTS>01.000.000.15020.00000.00</CONCAT_SEGMENTS>
    <PLL_LOCATION_ID>3053</PLL_LOCATION_ID>
    </G_CONCAT_SEGMENTS>
    - <G_CONCAT_SEGMENTS>
    <DELIVER_TO_PERSON_NAME>DOUGLAS BUNTING</DELIVER_TO_PERSON_NAME>
    <PO_HEADER_ID2>2790</PO_HEADER_ID2>
    <CONCAT_SEGMENTS>01.000.105.65020.00000.00</CONCAT_SEGMENTS>
    <PLL_LOCATION_ID>3052</PLL_LOCATION_ID>
    </G_CONCAT_SEGMENTS>
    </LIST_G_CONCAT_SEGMENTS>
    <C_FLEX_CAT_DISP>COMPUTER.SUPPLIES.</C_FLEX_CAT_DISP>
    <C_FLEX_ITEM_DISP />
    </G_BREAK_LINES>
    </LIST_G_BREAK_LINES>
    <C_AMOUNT_AGR_ROUND>2500</C_AMOUNT_AGR_ROUND>
    <C_AMOUNT_AGR_DISP>2,500.00</C_AMOUNT_AGR_DISP>
    </G_HEADERS>
    </LIST_G_HEADERS>
    </G_COMPANY>
    </LIST_G_COMPANY>
    <XCOMPANY_NAME>CTI US Ledger</XCOMPANY_NAME>
    <YES>Yes</YES>
    <NO>No</NO>
    <ORG_ID>83</ORG_ID>
    <CAT_ID>1</CAT_ID>
    <COUNT_RECORDS>1</COUNT_RECORDS>
    </XXCTI_POXPOSTD_1>
    **Here is the Query for the RDF file...**
    SELECT pol.line_num Line
    , pol.closed_flag Line_Closed
    , pol.cancel_flag Line_Cancel
    , pol.closed_code
    , plt.line_type Line_Type
    , &P_FLEX_CAT C_FLEX_CAT
    , &P_FLEX_ITEM C_FLEX_ITEM
    , pol.item_revision Rev
    , pol.item_description Item_Description
    , pol.unit_meas_lookup_code Unit
    , pol.note_to_vendor Note_to_Vendor
    /* Bug: 141118 Take unit price from PO_LINES if there is no shipment */
    , to_number(decode(plt.order_type_lookup_code,
    'AMOUNT',null,
    nvl(pll.price_override,pol.unit_price))) Unit_Price
    , hrl.location_code Ship_To_Location
    , pll.promised_date Promised_Date
    , pll.need_by_date Need_By_Date
    , ROUND (DECODE (PLT.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', NVL(PLL.amount, POL.amount),
    'FIXED PRICE', NVL(PLL.amount, POL.amount),
    NVL(PLL.quantity, POL.quantity)), :p_qty_precision) Quantity_Amount_Ordered
    , ROUND (DECODE (PLT.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', NVL(PLL.amount_received, 0),
    'FIXED PRICE', NVL(PLL.amount_received, 0),
    NVL(PLL.quantity_received, 0)), :p_qty_precision) Quantity_Amount_Received
    , ROUND (DECODE (PLT.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', NVL(PLL.amount_cancelled, 0),
    'FIXED PRICE', NVL(PLL.amount_cancelled, 0),
    NVL(PLL.quantity_cancelled, 0)), :p_qty_precision) Quantity_Amount_Cancelled
    , ROUND (DECODE (PLT.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', NVL(PLL.amount, POL.amount) - NVL(PLL.amount_cancelled, 0)
    - NVL(PLL.amount_received, 0),
    'FIXED PRICE', NVL(PLL.amount, POL.amount) - NVL(PLL.amount_cancelled, 0)
    - NVL(PLL.amount_received, 0),
    NVL (PLL.quantity, POL.quantity) - NVL(PLL.quantity_cancelled, 0) - NVL(PLL.quantity_received, 0)),
    :p_qty_precision) Quantity_Amount_Due
    , ROUND (DECODE (PLT.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', NVL(PLL.amount_billed, 0),
    'FIXED PRICE', NVL(PLL.amount_billed, 0),
    NVL(PLL.quantity_billed, 0)), :p_qty_precision) Quantity_Amount_Billed
    , pol.po_header_id
    FROM po_line_locations pll
    , mtl_system_items msi
    , mtl_categories mca
    , po_lines pol
    , po_line_types plt
    , hr_locations hrl
    WHERE
    ROUND (DECODE (PLT.order_type_lookup_code,'RATE', NVL(PLL.amount, POL.amount) - NVL(PLL.amount_cancelled, 0) - NVL(PLL.amount_received, 0),'FIXED PRICE', NVL(PLL.amount, POL.amount) - NVL(PLL.amount_cancelled, 0) - NVL(PLL.amount_received, 0),NVL (PLL.quantity, POL.quantity) - NVL(PLL.quantity_cancelled, 0) - NVL(PLL.quantity_received, 0)), :p_qty_precision) > 0
    AND (ROUND (DECODE (PLT.order_type_lookup_code,'RATE', NVL(PLL.amount, POL.amount),'FIXED PRICE', NVL(PLL.amount, POL.amount), NVL(PLL.quantity, POL.quantity)),:p_qty_precision)) > (ROUND (DECODE (PLT.order_type_lookup_code,'RATE', NVL(PLL.amount_billed, 0),'FIXED PRICE', NVL(PLL.amount_billed, 0),NVL(PLL.quantity_billed, 0)), :p_qty_precision))
    AND pol.item_id = msi.inventory_item_id(+)
    AND nvl(msi.organization_id,:c_organization_id) = :c_organization_id
    AND pol.line_type_id = plt.line_type_id
    AND pol.category_id = mca.category_id
    /* Bug No 141118
    Added the outer join on po_line_id ,hrl.location_id and nvl on the shipment_type
    Also added nvl on quantity and price so as to select quantity and price if the PO
    has no shipments */
    AND pol.po_line_id = pll.po_line_id(+)
    AND pll.ship_to_location_id = hrl.location_id(+)
    AND pll.shipment_type in ('STANDARD', 'PLANNED')
    AND &P_WHERE_CAT
    AND &P_WHERE_ITEM
    ORDER BY pol.line_num

    > I made a pr with single line item with 3 account assignment on percentage basis.I created a PO against .GR non valuated was automatically ticked so no account assignment was created at the time of GR posting.
    When you are having the multiple account assignment, then the system will force you to have GR-non valuated indicator being flagged which results in the fact there is not any FI document at GR posting stage and this is the standard feature of SAP.
    > Can I make a valuted GR against PO line item with multiple account assignment.
    No, not at all. The disability of GR indicator can be set in OME9 with account assignment category
    > I faced another problem .I displayed the GR and after ticking out put check box in the general data page of the GR doc. the output is being saved but  the update is terminated immediately.and no output page is generated in this item level.This output problem is not there at the time of single account assignment at PO line item.
    In fact, it is possible to maintain multiple account assignment for each and every PO line item by selecting the 'Multiple Account Assignment' button in the 'Account Assignment' View of the Item Detail of PO. However, for such multiple account assignment selection, no accounting document will be generated upon GR maintenance. This can only be done during IR via LIV process.

  • Why budget check does not work with account assigment distrib. by quantity?

    Hi Gurus,
    I have an issue in the budget check for Purchase Order (PO).
    I'm using the FM B31I_ACC_PURCHASE_ORDER_CHECK.
    The case is next:
    1 Item with 21 account assignment type AS and distribution by quantity:
    ASSET_NO QUANTITY
    1           1
    2           1
    3           1
    4           1
    5           1
    6           1
    7           1
    8           1
    9           1
    10          1
    11          1
    12          1
    13          1
    14          1
    15          1
    16          1
    17          1
    18          1
    19          1
    20          1
    21          1
    All account assignment are for the same G/L account, fund, functional area...
    The price for each item is $2,499.14, then total price is $52,481.94 (2,499.14 * 21).
    I debugged the FM B31I_ACC_PURCHASE_ORDER_CHECK and found that in FM BBP_PD_COMMITMENT_FILL_BAPI it's making a rounding with percentage:
    The system assume next:
    Each item is 4.76% of total (result of divide 100% / 21 = 4.76190476...) but the percentage is rounded to 2 decimals.
    Then it makes the conversion by the amount corresponding to each item:
    ($52,481.94 * 4.76) / 100 = $2,498.1403
    Finally the budget is checked by $52,460.95 (2498.1403 * 21).
    But available budget is $52,481.90, the check pass, but really there are 4 cents missing (total price is $52,481.94).
    Can somebody say to me if this is a standard behavior?
    It can be fixed with configuration?
    The problem is for multiple account assignment with distribution by quantity and:
    (100 / quantity) = not integer (or have more than 2 decimals)
    For example: with quantity 20 it works because 100% / 20 = 5.00%, then the budget is check exactly.

    1503317 - System Behavior for Account Distribution between SRM and R/3 system
    When using distribution by Value in a SRM document this value is not correct and a rounding occurs once this document is transferred to ERP system.
    Cause
    It is not possible transfer documents to the back end system with distribution by value, due to a back end restriction.
    Resolution
    The following information is the system behavior in R/3 / ERP:
    in R/3, there is accounting distribution only by quantity or percentage. So when distribution by value is used, a rounding will always take place.
    in R/3, the use of value based distribution in SRM will lead to rounding differences.
    Distribution by quantity is allowed in SRM and MM side. However MM do not accept is distribution by value. This is internally converted to distribution percentage based.
    Keywords
    Distribution by Quantity, Distribution by Percentage, Distribution by Value

  • Accounting document quantity and billing document quantity doesn't match

    Hello SAP Experts,
    I have an accounting document that was automatically posted in FI (TCode VF01) after billing document was created. Billing document (debit memo rebilling) shows invoiced quantity 1. But corresponding accounting document in FI shows quantity 0 (double click on G/L account in accounting document, section additional account assignments, field Quantity).
    Could you please help me where should I make appropriate corrections, settings?
    Thanks and best regards,
    Peter

    USe user exit EXIT_SAPLV60B_002 and EXIT_SAPLV60B_004 to modify customer lin and  GL line respectively in the accounting document. change values  in export parameter XACCIT
    Regards
    Sridhar

Maybe you are looking for

  • Beep in an applet

    Hi ! I would like to find a portable way, if possible without an audio file, to make a "bip" in an applet. Is printing the character with code 07 to standard output, or standard error, could work and be portable enough ? Thanks, -- Alexis

  • Free floating block

    The Sybex J2Cert book says free floating blocks can be synchronized (pg96) how come this doesn't work? class x { synchronized { } }

  • Unable to open some psd file -   "could not complete your request ,unable to parse the path data"

    Hi I am unable to open some psd file that i created . I get this message "could not complete your request ,unable to parse the path data"  I am curently using cs6. Any idea how to fix it. I tried opening on other computer with photoshop but no luck y

  • Apps will not open after ios5 install.  Any solutions?

    Apps will not open after ios5 install.  Any solutions?

  • Opening a file from a MIDlet

    Hi i am trying to open a file from my MIDlet. here's the code which i have used OutputConnection connection = (OutputConnection)           Connector.open("file:///c/WTK22/appdb/DefaultColorPhone/filesystem/root1/myfile.txt", Connector.WRITE );But i a