Problem creating an A/P Invoice

Hello, SAP experts:
I have a customer with the following situation:
He had created a down payment invoice for a vendor. Later, after the negotiations with the vendor ended, it turned out that the negotiated unit price for the purchased items was a smaller amount than the unit price in the down payment invoice, so the total amount in the down payment invoice was bigger than the total amount in the final invoice.
Consequently, he tried to create an A/P Invoice drawing only the necessary amount from the down payment, so the total amount in that invoice turned out to be zero. He has authorizations to create purchasing documents with a zero amount. But when he clicks in OK, the following error message appears and the invoice is not created: "Document total value must be zero or greater than zero".
He then tries to create the invoice drawing a lesser amount from the down payment, so the total amount in that invoice turns out to be $1USD. But then, a different error message appears: u201CEnter valid currency, 82120000 [Message 173-57u201D. This message appears despite the fact that the currency of the G/L Accounts for the inventory and the vendor are set as u201CAll currenciesu201D.
What could be causing these issues?

Hi Leonardo,
Is the downpayment invoice paid through Outgoing payment.
1. If the down payment invoice is paid, you can cancel the payment this  will reopen the down payment invoice . The Sales order / downpayment invoice correct unit price can be update and the payment can be executed once again.
2. After cancelling the payment you can either copy the downpayment invoice to the AR Credit note and create a invoice directly.
Hope this helps.
Regards,
Rakesh N

Similar Messages

  • Problem creating A/R Invoice with Withholding tax data via DI-Server

    Hi!
    Using the following SOAP Request to the DI-Server, I wanted to create an A/R Invoice having a withholding tax data but it always respond with an error saying
    Total taxable amount of all rows exceeds the base amount  [INV5.TaxbleAmnt][line: 1]
    SOAP Request:
    <?xml version="1.0" encoding="UTF-16"?>
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
      <env:Header>
        <SessionID>203A3C01-7808-4638-8322-2307DF3C0F8F</SessionID>
      </env:Header>
      <env:Body>
        <dis:Add xmlns:dis="http://www.sap.com/SBO/DIS">
          <Service>InvoicesService</Service>
          <Document>
            <DocType>dDocument_Items</DocType>
            <HandWritten>tNO</HandWritten>
            <DocDate>2010-02-08</DocDate>
            <DocDueDate>2010-02-08</DocDueDate>
            <TaxDate>2010-02-08</TaxDate>
            <VatDate>2010-02-08</VatDate>
            <CardCode>NPI</CardCode>
            <Comments>test di-server soap message 1</Comments>
            <DocumentLines>
              <DocumentLine>
                <ItemCode>TRC</ItemCode>
                <Quantity>1</Quantity>
                <Price>1000</Price>
                <TaxCode>OVAT</TaxCode>
                <VatGroup>OVAT</VatGroup>
                <TaxLiable>tYES</TaxLiable>
                <WTLiable>tYES</WTLiable>
              </DocumentLine>
            </DocumentLines>
            <WithholdingTaxDataCollection>
              <WithholdingTaxData>
                <WTCode>C140</WTCode>
                <TaxableAmount>1000</TaxableAmount>
                <WTAmount>100</WTAmount>
              </WithholdingTaxData>
            </WithholdingTaxDataCollection>
          </Document>
        </dis:Add>
      </env:Body>
    </env:Envelope>
    OVAT rate above is 10%.
    The withholding tax code C140 is setup as
    rate=10,
    Category=Payment,
    Base Type=Net,
    % Base Amount = 100,
    Rounding Type = Commercial Values.
    We are using the New Zealand/Australia localization in SAP B1 2007A PL49.
    The above code can be successful only if I set the <WithholdingTaxDataCollection> node to:
            <WithholdingTaxDataCollection>
              <WithholdingTaxData>
                <WTCode>C140</WTCode>
                <TaxableAmount>0</TaxableAmount>
                <WTAmount>100</WTAmount>
              </WithholdingTaxData>
            </WithholdingTaxDataCollection>
    setting TaxableAmount equal to 0 which is not desired.
    Can anyone extend me some help, please?
    Thanks.

    Albert,
    Did you try adding this via the DI API and not the DI Server?  Do you get the same error?  Please see this SAP Note ...
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001303019
    Eddy

  • Problem in creation of Excise Invoice.

    Hi Gurus,
    When i am creating a Domestic Excise Invoice- starting from a  Inquiry, the system is giving an error. The same error is not occuring for Export scenario. Can yo please help me in resolving the same....
    <b><b>Account assignment cannot be carried out because of different origin no.</b>
    Message no. V1134
    Diagnosis</b>
    The sales document to which you want to refer is based on sales document 30091 and item 000010. Therefore, the settlement and possibly inventory management are carried out using the number of the preceding document.
    System Response
    This entry is not allowed.
    Procedure
    Enter the document and the item number of the preceding sales document.
    regards,
    Sridhar.P

    The problem is resolved..  There was account assignment  assigned  in basic functions-- account assignmrnt costing  -
    > Maintain requirement classes for costing/assignment---->  Requirement class 30.
    For this requirement class the account assignment category was activated.
    Thanks
    sridhar.p

  • Create AP Down Payment Invoice

    Dear All,
    I have a problem when I creating AP Down payment Invoice using SDK SAP2007. Error message like this
    "Chosen BP is not customer  ODP1.Cardcode line: 1, 'v181'"
    When i check in SAP B1 2007, V181 is already set to VENDOR.
    Here is the code :
    Set oCompany = New SAPbobsCOM.Company
        With oCompany
            .Server = "T9\sql2005"
            .CompanyDB = "blive"
            .UserName = "n2301"
            .Password = "n7hfd8sd22"
            .DbServerType = dst_MSSQL2005
            .language = ln_English
            .UseTrusted = False
            .DbUserName = "sa"
            .DbPassword = "23dsasdh8d"
        ierr = oCompany.Connect()
            If ierr <> 0 Then
                Call oCompany.GetLastError(lErr, sErr)
                MsgBox sErr
            Else
                MsgBox "OK"
            End If
        End With
        Set oDP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments)
        With oDP
            .CardCode = "V181"
            .NumAtCard = "Ticket 001"
            .DownPaymentPercentage = CDbl(100)
            .DocDate = Now
            .DocDueDate = Now
            .DownPaymentType = SAPbobsCOM.DownPaymentTypeEnum.dptInvoice
            .Lines.ItemCode = "C1"
            .Lines.Quantity = CDbl("10")
            .Lines.Price = CDbl("200")
            .Lines.VatGroup = "ZI"
        End With
            lErr = oDP.Add()
            If lErr <> 0 Then
                Call oCompany.GetLastError(lErr, sErr)
                MsgBox sErr
            Else
                MsgBox "OK"
            End If
    Thanks before
    rgrds,
    Edited by: Lunatic on Jun 25, 2009 6:24 AM

    HI
    Use the BoObjectTypes.oPurchaseDownPayments for A/P Down payments (purchase).
    oDownPayments object is a A/R  Down payment for (sales)
    Regards,
    J.
    Edited by: Janos  Nagy on Jun 25, 2009 9:32 AM

  • Graphical Mapping Problem : Create Segments by conditions

    Hi,
    i have a problem while mapping an incoming invoice to IDoc Invoic02. I had to create some Segments (E1EDP02) on basis of identifiers in the incoming message. I hope the following example i created will help to understand my exact problem:
    EXAMPLE MESSAGE:
    <invoice>
    <document>
    <position>
       <line>
         <posnum> 1 </posnum>
         <IMD>
         <ident> Name </ident>
         <val>   Maxx </val>
         </IMD>
         <IMD>
         <ident> Age </ident>
         <val>   19 </val>
         </IMD>
         <IMD>
         <ident> Gender </ident>
         <val>   Male </val>
         </IMD>
       </line>
    </position>
    <position>
       <line>
         <posnum> 2 </posnum>
         <IMD>
         <ident> Name </ident>
         <val>   Tina </val>
         </IMD>
         <IMD>
         <ident> Age </ident>
         <val>   28 </val>
         </IMD>
         <IMD>
         <ident> Gender </ident>
         <val>   Female </val>
         </IMD>
       </line>
    </position>
    </document>
    </invoice>
    THE RESULT I WANT:
    <invoic02>
    <E1EDP01>
    <SEGMENT> </SEGMENT>
    <POSEX> 1 </POSEX>
      <E1EDP02>
           <SEGMENT> </SEGMENT>
         <QUALF> 021 </QUALF>
         <BELNR> 19 </BELNR> // THIS should be the Age
      </E1EDP02>
      <E1EDP19>
      </E1EDP19>
    </E1EDP01>
    <E1EDP01>
    <SEGMENT> </SEGMENT>
      <POSEX> 2 </POSEX>
      <E1EDP02>
         <SEGMENT> </SEGMENT>
         <QUALF> 021 </QUALF>
         <BELNR> 28 </BELNR> // THIS should be the Age
      </E1EDP02>
      <E1EDP19>
      </E1EDP19>
    </E1EDP01>
    </invoic02>
    I tried to different ways to get the above result but i failed
    My first try:
    ident      -------|--- equalsS ------ createIf ---- E1EDP02
    Constant[000] --------- SEGMENT
    Constant[Age]--|
    ident      -------|--- equalsS ------ ifWithoutElse ---- QUALF
    Constant[Age]--|             |          
                           |
                        Constant[021]
    ident      -------|--- equalsS ------ ifWithoutElse ---- BELNR
    Constant[Age]--|             |          
                           |
                           val
    Result:
    The E1EDP02 Element will not created reliable. Sometimes it is there sometimes not dunno why ? Any Idea ?
    My second try:
    IMD -------------- E1EDP02
    Constant[000] --------- SEGMENT
    ident      -------|--- equalsS ------ ifWithoutElse ---- QUALF
    Constant[Age]--|             |          
                           |
                        Constant[021]
    ident      -------|--- equalsS ------ ifWithoutElse ---- BELNR
    Constant[Age]--|             |          
                           |
                           val
    Result:
    Now every E1EDP01 Element has two E1EDP02 Elements. One correct one and an empty one with only a segment element. Is there a way to delete this empty elements ?
    Any ideas to create a working mapping ?
    Thanks

    @Liang Ji 
    When i do this i have only the first E1EDP01 Element
    @Tarang Shah
    Which function i had to use for this ?
    Thank you

  • Create a A/P Invoice Draft for approval

    Hello Experts,
    I want to create a A/P Invoice-Draft via Purchasing module,when clicking The Add Button the invoice is directly posted to the G\L without create a draft that other user who have permissions can view and approval via the Approval Decision Report.
    Please Tell me what is wrong...
    Thanks.
    Ben

    Hi
    I am not sure about your  problem.It looks to me that your approval query is not triggered .
    There could be th reason:
    1.If you are using user defined query ,and you are not meeting the condition to trigger.
    2. For example : If you said  Trigger approval procedures if sales order total is greater than 200.
         It won't trigger approval procedures if sales Order total is less than 200. And User can add the document .
    When Approval Procedures triggers, then the document that triggers  stays as a draft  until it is approved .
    One quick way to check if it not your query , on the condition  specify always .(Approval template >> term >> always . See if it creates the same situation .
    Hope this helps to narrow down your problems .
    Thank you
    Bishal
    Edited by: BIshal Adhikari on Dec 10, 2008 4:18 PM
    Edited by: BIshal Adhikari on Dec 10, 2008 4:39 PM

  • Problem Creating Hyperlink to another workbook

    I am having a problem creating a hyperlink to a worksheet in another workbook.
    Here is what I have done:
    Created the master and detail reports in 2 different workbooks.
    Executed the master worksheet to display the data
    Right clicked the field in the first row where I want to create the hyperlink, and chose Manage Links
    Clicked the New Link button
    Chose Worksheet for Where do you want to link to?
    Clicked Browse by the Destination Worksheet
    Clicked the detail report from the list of workbooks but the select button is grayed out
    Does anyone have any idea why it won't let me select the detail report to link to?
    I have OracleBI Discoverer Plus 10g
    Any suggestions would be deeply appreciated.

    Yes, I did add a parameter to the detail report so that I could get detail just for that one item. The part that is giving me trouble is specifying the Destination workbook/worksheet. I see the detail report when I browse but the Select button is grayed out so I haven't made it to the part where you identify what values to pass to the detail report yet.

  • Can a excise invoice be created for a proforma invoice

    Hi frenz,
    For Intracompany stock transfer order a excise invoice has to be created.Here they raise a proforma invoice for a PO. Now they want to raise a Excise invoice(tcode: j1ib) for that Proforma invoice.
    So is it possible to raise a Excise invoice for a proforma invoice? If so wat has to be done....
    Regards,
    vimal

    Hi,
    Excise Invoice is created based on Proforma Invoice or
    Invoice (based on configuration, it can also be Delivery).
    The Process Flow will be as under:
    Process 1:
    Sales Order (VA01 / VA02 / VA03) --> Delivery (VL10A / VL10C
    / VL01N / VL02N ? VL03N / VL04) --> PGI (VL02N) --> Proforma
    Invoice (VF01 / VF02 / VF03) --> Excise Invoice (J1IIN)
    Process 2:
    Sales Order (VA01 / VA02 / VA03) --> Delivery (VL10A / VL10C
    / VL01N / VL02N ? VL03N / VL04) --> PGI (VL02N) --> Invoice
    (VF01 / VF02 / VF03) --> Excise Invoice (J1IIN)
    You can find more info this here.
    [Link|http://www.allinterview.com/showanswers/57937.html]
    regards
    sadhu kishore

  • I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to iCloud, following your instructions and now I can not use my mobileme e-mail address. How can I contact directly with Apple, not just an automatic reply phone number

    I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to icloud following all your instructions and now I can not use my mobile me e-mail address. I can not activate icloud because when I put my e-mail address it answers that somebody is already using my address. I have my old e-mails, but I can not receive any e-mail or send them.
    I have contacted Apple Technical Support in Spain and I was sent an e-mail saying that I have to call a phone number and when I call it is always an answering machine who answers that says that I have to pay 50€ for a consultation or wait for 10 minutes. When I have made the consultation it was never mentioned that I have to pay 50€ for a phone consultation. If I don't want to wait I have to pay for the Apple Tecnical Support which cost 250 €, this was not mentioned in the technical support page.
    Can somebody let me know how can I contact Apple in another way in order to talk with a human being or chat directly? I was very happy just using my mobileme e-mails, I didn't need any clouds and I was force by Apple to registered if I want to continue using my mobileme e-mail address.

    Sandra,
    See this Apple support document for information on reporting an issue with your iTunes purchase.
    http://support.apple.com/kb/HT1933
    B-rock

  • I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    Hi czigrand,
    Thanks for visiting Apple Support Communities.
    Currently, you can gift dollar amounts or individual items (EG. songs) on the iTunes Store. See this article for more information:
    In the iTunes Store, you can gift a dollar amount or specific music, movies, TV shows, or apps from your iPhone, iPod touch, iPad, Mac, or PC. Follow these steps to send a gift from the iTunes Store.
    iTunes: Sending iTunes Gifts
    http://support.apple.com/kb/HT2736
    Best Regards,
    Jeremy

  • Problem creating Allocation Table with Reference to a PO

    Dear Folks,
    I am having problems creating an allocation table with reference to a PO in T-code WA01.
    I read the SAP help that some prerequisites need to exist:
    ==> You can only reference order items flagged as being relevant to a stock split (the Allocation table relevant indicator in the additional item data).
    Can anyone advice me where to find this stock split indicator?
    Also, can anyone advice me how to reuse an allocation table? For example, I had previously created an allocation table with many articles and various allocation rules. I already generated follow on documents for this table.
    Say after 2 weeks, I have the similar requirements that I can make use of the same table, only with minor adjustments to the quantity. How do I create a new allocation table using the existing allocation table data?
    Thanks and Regards
    Junwen

    Any idea please?
    thanks

  • Problem creating Network ACL for a ROLE in Oracle 11gR2

    According to Oracle Documentation when you create a new Network ACL you can add privileges to a user or role.  I need to create a new ACL for the UTL_SMTP package for a specific role, but when I granted it the users who have that role are still getting the "ORA-24247: network access denied by access control list (ACL)" error when they try to send an email.  If I grant the ACL privilege to the same users directly it works fine.  Is there any step I'm missing?  This is the test I have made on my Solaris 10 - Oracle 11gR2 (11.2.0.3) Standard Edition server:
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 21 09:31:52 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> SET LINES 1000
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> COLUMN host FORMAT A20
    SQL> COLUMN lower_port FORMAT 99999
    SQL> COLUMN upper_port FORMAT 99999
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN principal FORMAT A15
    SQL> COLUMN privilege FORMAT A10
    SQL> COLUMN is_grant FORMAT A8
    SQL> COLUMN status FORMAT A10
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    no rows selected
    SQL> CREATE USER testacl IDENTIFIED BY testacl;
    User created.
    SQL> GRANT CONNECT TO testacl;
    Grant succeeded.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL         connect    true
    After creating this ACL I test it like this:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    HOST                 LOWER_PORT UPPER_PORT PRIVILEGE  STATUS
    localhost                    25         25 connect    GRANTED
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    PL/SQL procedure successfully completed.
    SQL>
    This works fine and I receive the email correctly.  Now if I try to do the same thing for a role:
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> BEGIN
      2     dbms_network_acl_admin.drop_acl('test_smtp.xml');
      3     commit;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> CREATE ROLE testacl_role;
    Role created.
    SQL> GRANT testacl_role TO testacl;
    Grant succeeded.
    SQL> ALTER USER testacl DEFAULT ROLE ALL;
    User altered.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL_ROLE',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL_ROLE    connect    true
    SQL>
    And now I test it again with the same user:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL>
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    no rows selected
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    DECLARE
    ERROR at line 1:
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 267
    ORA-06512: at "SYS.UTL_SMTP", line 161
    ORA-06512: at "SYS.UTL_SMTP", line 197
    ORA-06512: at line 4
    SQL>
    I'm aware that role privileges doesn't apply inside procedures, functions or packages by default, but this is an anonymous block so it should use the active roles for the user.  I also tried adding a "dbms_session.set_role('TESTACL_ROLE');" at the beggining of the anonymous PL/SQL block but I got the same access error.
    Thanks in advance for any help you can give to me on this question, it would be very hard to grant the ACL to all the individual users as they are more than 1000, and we create more regularly.

    Thanks for your quick reply... I don't have a problem creating the basic ACL with the privileges granted for a user.  The problem appears when I try to create an ACL with privileges for a ROLE.  You can see here http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_networkacl_adm.htm#BABIGEGG than the official Oracle documentation states that you can assign the ACL principal to be a user or role:
    Parameter
    Description
    acl
    Name of the ACL. Relative path will be relative to "/sys/acls".
    description
    Description attribute in the ACL
    principal
    Principal (database user or role) to whom the privilege is granted or denied. Case sensitive.
    My issue is that when I try to create the ACL for a role it doesn't work.
    Have you ever created an ACL for a role? if so please send me an example or let me know which step I might be missing.  Cheers.

  • Problem creating hierarchy based on 2 physical dimension tables

    I'm having a problem creating 1 logical dimension with a drill-down hierarchy, based on two separate physical dimension tables. The errors I receive when navigating the drill-down hierarchy is:
    "Cannot find logical table source coverage for logical columns" &
    "Missing join between logical tables".
    I'm using OBIEE 10.1.3.4
    Here are the details of what I have setup sofar:
    Physical layer:
    Dimension table DIM_ORG with columns:
    -dimension_key
    -org_total_code
    -org_total_description
    -org_detail_code
    -org_detail_description
    Dimension table DIM_DEPT with columns:
    -dimension_key
    -dept_total_code
    -dept_total_description
    -dept_detail_code
    -dept_detail_description
    Fact table FACT_SALES with columns:
    -fk_org
    -fk_dept
    -sum_sales
    Physical Joins:
    FACT_SALES.fk_org = DIM_ORG_dimension_key
    FACT_SALES.fl_dept = DIM_DEPT.dimension_key
    Business Model & Mapping layer:
    I created a logical dimension ORG_DEPT. It contains two logical table sources (DIM_ORG & DIM_DEPT) and the following logical columns:
    - All Departments (mapped to dept_total_code)
    - Organisation (mapped to org_detail_description)
    - Organisation Number (mapped to org_detail_code)
    - Department (mapped to dept_detail_description)
    - Department Code (mapped to dept_detail_code)
    The business logical key is based on the combination of Organisation Number & Department Code
    The hierarchy I need is: All Departments -> Organisation -> Department so I created the following hierarchy for ORG_DEPT:
    - Total Level containing: All Departments
    - Organisation Level containing: Organisation Number (defined as the Logical level key) & Organisation (defined als the Drill level key)
    - Detail Department Level containing: Department Code (defined as Logical level key) and Department (defined as Drill level key).
    In the LTS of the dimension ORG_DEPT I've set the Content levels for the sources:
    DIM_ORG : Organisation Level
    DIM_DEPT: Detail Department Level
    In the LTS no -inner- joins have been added against related physical tables.
    I created a logical fact table SALES (based on the physical fact table) and joined it against the logical dimension table ORG_DEPT.
    In the LTS the Content level for ORG_DEPT is set against the Detail Department Level. No - inner- joins have been aded against related physical tables.
    When I create a report in Answers to test the hierachy and select only 'All Departments' I get the correct dimension value returned. When I try to drill to the next level I get the following ODBC error:
    "Cannot find logical table source coverage for logical columns: [All Departments]. Please check more detailed level keys are mapped correctly".
    When I create a report in Answers and select both 'All Departments' and 'Sales' I get the correct result. When I try to drill to the next level I get a different ODBC error:
    "Missing join between logical tables DIM_DEPT and DIM_DEPT: There must be at least one physical join link between the underlying physical tables".
    Any suggestions are welcome!
    Thanks!

    Hello Robert,
    Your suggestions were known to me but I still wanted to combine the two physical dimension tables in one logical dimension. So I've played around a bit more and found the solution: In my original setup I had two seperate logical table sources (one for each physical dimension table). The solution was to combine the two logical table sources in one logical table source. I achieved that by logical joining the DIM_DEPT table to the FACT_SALES table and subsequently to the DIM_ORG within the 1 LTS and using inner joins.
    Then I created the logical table key (a combination of org_detail_code & dept_detail_code). After that I could create the hierarchy with no problem.
    Edited by: The_Dutchman on Nov 4, 2011 9:43 PM

  • Creating  idocs based on invoice number ocurrences

    Hi ,
    I want  to create idocs based on invoice numbers .
    Lets say i have a file coming in from sender system
    Invoice1 material customer value
    Invoice1 materail1 ..........
    imvoice2 material2.....
    invoice2 material1.....
    invoice1 material3..
    Invoice3. material4....
    So for Invoice1 only one Idoc should be created  similarly for invoice 2 which is ocurring twice in the file
    only 1 idoc  should be created
    Let me know how to achieve this ..  by UDF , or by split by value
    please help
    thnx
    Chirdip

    Hi,
      Change the IDOC occurance to 0-unbounded.Export the xsd change the occurance and import it to external definition.
    Map Like below:
    invoice number--removecontext--sort--splitbyvalue(valuechange)--IDOC
    other fields you need to map like below.
    invoice number--removecontext--sortbykey--SplibyValue(Each)---IDOC fields
    source field----removecontext------
    Regards,
    Prakasu.M

  • Problem Creating VirtualProviders Based on the DTP

    Problem Creating VirtualProviders Based on the Data Transfer Process .
    (1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
    (2) Then I replicated this Data Source to SYS2.
    (3) In SYS1 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
    Till this point I have no issues .
    (4) But after that I am not able to "Create Data Transfer Process"  for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Scheduled" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
    Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
    Thanks & Regards,
    priyadarshi

    Corrected some typo in my earlier update...
    Problem Creating VirtualProviders Based on the Data Transfer Process .
    (1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
    (2) Then I replicated this Data Source to SYS2.
    (3) In SYS2 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
    Till this point I have no issues .
    (4) But after that I am not able to "Create Data Transfer Process" for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Standard(Scheduled)" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
    Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
    Thanks & Regards,
    priyadarshi

Maybe you are looking for

  • Missing Mounted Volume Issue

    I have a Linux Fileserver with netatalk running, I have three sharepoints on this server. The OS X machines have suddenly been unable to see the third sharepoint. I have been investigating the problem and found that the volume is listed in the Volume

  • Down Pmnt Request - Out put - Urgent

    Hi all of you I have configured the Down payment process for both customers and vendors .. But thing is that when iam raising request for down paymnet for customer iam not getting the output. My client is asking the request output to sent to the cust

  • Invoicing Plan Partial Payment

    Dear All, I have created a Periodic Invoicing Plan for a year. I have started mid of the month for the first month and want the Invocing to be done in pro rata basis, For example in PO if we give 2000/- for a month, for 15 days (first month),we need

  • JSpinner in Forte 4.0 CE GUI Editor

    Is there any way to integrate a JSpinner in (NetBeans/Forte/)SunOne 4.0 GUI Editor ? The JSpinner class is in rt.jar, but is not visible as bean, and thus cannot be integrated in the GUI editor ? Any idea would be greatly appreciated. Thanks in advan

  • A77- High ISO colour cast

    Hi everyone, I am a proud owner of a shiny A77 and was greatly pleased to see LR3.5 supporting this camera. General impressions of the LR conversions are very good until I get to ISO6400 or higher. No problems with grain or noise (except that it's hi