Unexpected value in COPA

Hi experts,
We are getting a record from COPA datasource in BW which never occured in that fiscal period. Even the company code, cost element (not matching in R3) and amount are coming from a different world. Where should I investigate to check for the problem.

Here is a good "How to..." to have when you are dealing with CO-PA:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fb07ab90-0201-0010-c489-d527d39cc0c6
If you don't turn on the PSA for COPA, then check RSA3 in your datasource.  Also, there are a few copa transactions you can use to look at the datasources:
KEB0 -- COPA Datasource display or create
KEB2 -- Detailed display of COPA datasource
KEB3 -- COPA DS debugging
KEB4 -- ??
KEB5 -- Simulate delta on COPA datasource
These can all be found in SBIW in your R/3 system.
Additionally, you can use KE24 to Display Actual Line Items for COPA.  This is the best way to validate your date because these are the actual line items sent from R/3 COPA to BW (or at least they should be).  Look at your errant line item and document numer and see if they are in KE24.  If they are, you're good!
Brian

Similar Messages

  • Execute SQL Task, OLE DB, Stored Procedure, Returns unexpected value upon second run

    when debugging SSIS, the "Execute SQL Task" runs a stored procedure and returns the expected value. When running the package a second time, the task returns an unexpected value. When running in VS2012 SQL editor, everything operates as expected.
    Please help me debug how to get the stored proc to return the same value every time the SSIS Package is run. thanks!
    Here is the sequence of events and what happens....
    Look for a Positor that matches the Application, Host, and User
    No matching PositorId is found, Creates new Positor row, returns that new PositorId
    Use PositorId to upload some data (Every thing works)
    re-run/debug the ssis pacakge
    Look for a Positor that matches the Application, Host, and User 
    <No clue what is happening>
    Returns -1 (SHOULD BE the same PositorId value returned in #2)
    "Execute SQL Task" Setup: No edits to Result Set nor Expressions
    "Execute SQL Task" Setup: GENERAL
    "Execute SQL Task" Setup: PARAMETER MAPPING
    SP called by "Execute SQL Task"
    CREATE PROCEDURE [posit].[Return_PositorId]
    AS
    BEGIN
    DECLARE @PositorId INT = [posit].[Get_PositorId]();
    IF (@PositorId IS NULL)
    BEGIN
    DECLARE @ProcedureDesc NVARCHAR(257) = OBJECT_SCHEMA_NAME(@@PROCID) + N'.' + OBJECT_NAME(@@PROCID);
    DECLARE @PositorNote NVARCHAR(348) = N'Automatically created by: ' + @ProcedureDesc;
    EXECUTE @PositorId = [posit].[Insert_Positor] @PositorNote;
    END;
    RETURN @PositorId;
    END;
    Supporting SQL Objects:
    CREATE FUNCTION [posit].[Get_PositorId]
    RETURNS INT
    AS
    BEGIN
    DECLARE @PositorId INT = NULL;
    SELECT TOP 1
    @PositorId = [p].[PO_PositorId]
    FROM [posit].[PO_Positor] [p]
    WHERE [p].[PO_PositorApp] = APP_NAME()
    AND [p].[PO_PositorHost] = HOST_NAME()
    AND [p].[PO_PositorUID] = SUSER_ID();
    RETURN @PositorId;
    END;
    GO
    CREATE PROCEDURE [posit].[Insert_Positor]
    @PositorNote NVARCHAR(348) = NULL
    AS
    BEGIN
    DECLARE @ProcedureDesc NVARCHAR(257) = OBJECT_SCHEMA_NAME(@@PROCID) + N'.' + OBJECT_NAME(@@PROCID);
    SET @PositorNote = COALESCE(@PositorNote, N'Automatically created by: ' + @ProcedureDesc);
    DECLARE @Id TABLE
    [Id] INT NOT NULL
    INSERT INTO [posit].[PO_Positor]([PO_PositorNote])
    OUTPUT [INSERTED].[PO_PositorId]
    INTO @Id([Id])
    VALUES(@PositorNote);
    RETURN (SELECT TOP 1 [Id] FROM @Id);
    END;
    GO
    CREATE TABLE [posit].[PO_Positor]
    [PO_PositorId] INT NOT NULL IDENTITY(0, 1),
    [PO_PositorApp] NVARCHAR(128) NOT NULL CONSTRAINT [DF__PO_Positor_PO_PositorApp] DEFAULT(APP_NAME()),
    CONSTRAINT [CL__PO_Positor_PO_PositorApp] CHECK([PO_PositorApp] <> ''),
    [PO_PositorName] NVARCHAR(256) NOT NULL CONSTRAINT [DF__PO_Positor_PO_PositorName] DEFAULT(SUSER_SNAME()),
    CONSTRAINT [CL__PO_Positor_PO_PositorName] CHECK([PO_PositorName] <> ''),
    [PO_PositorHost] NVARCHAR(128) NOT NULL CONSTRAINT [DF__PO_Positor_PO_PositorHost] DEFAULT(HOST_NAME()),
    CONSTRAINT [CL__PO_Positor_PO_PositorHost] CHECK([PO_PositorHost] <> ''),
    [PO_PositorSID] VARBINARY(85) NOT NULL CONSTRAINT [DF__PO_Positor_PO_PositorSID] DEFAULT(SUSER_SID()),
    [PO_PositorUID] INT NOT NULL CONSTRAINT [DF__PO_Positor_PO_PositorUID] DEFAULT(SUSER_ID()),
    [PO_PositorNote] VARCHAR(348) NULL CONSTRAINT [CL__PO_Positor_PO_PositorNote] CHECK([PO_PositorNote] <> ''),
    [PO_tsInserted] DATETIMEOFFSET(7) NOT NULL CONSTRAINT [DF__PO_Positor_PO_tsInserted] DEFAULT(SYSDATETIMEOFFSET()),
    [PO_RowGuid] UNIQUEIDENTIFIER NOT NULL CONSTRAINT [DF__PO_Positor_PO_RowGuid] DEFAULT(NEWSEQUENTIALID()) ROWGUIDCOL,
    CONSTRAINT [UX__PO_Positor_PO_RowGuid] UNIQUE NONCLUSTERED([PO_RowGuid]),
    CONSTRAINT [UK__Positor] UNIQUE CLUSTERED ([PO_PositorApp] ASC, [PO_PositorHost] ASC, [PO_PositorUID] ASC),
    CONSTRAINT [PK__Positor] PRIMARY KEY ([PO_PositorId] ASC)
    GO
    ssd

    The error is in item 7: Returns -1 (SHOULD BE the same PositorId value returned in #2); but no error message is returned or thrown from SSIS.
    The error message indicated referential integrity is not upheld when inserting records. This error message occurs AFTER the Execute SQL Task successfully completes; the E.SQL Task returns -1.  The executed SQL code will not allow values less than 0
    ([PO_PositorId] INT NOT NULL IDENTITY(0, 1),)
    [Platts Valid [41]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E2F.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80040E2F  Description: "The statement has been terminated.".
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80040E2F  Description:
    "The INSERT statement conflicted with the FOREIGN KEY constraint "FK__PricingPlatts_Posit_PositorId". The conflict occurred in database "Pricing", table "posit.PO_Positor", column 'PO_PositorId'.".
    The aforementioned FOREIGN KEY constraint is due to the value being returned by the Execute SQL Task.; therefore, the error lies in the value returned by the Execute SQL Task.

  • Copa - text of material classification values to copa

    we will use copa for analysis.
    we want to have some material classification values to pa. we have the ausp value at copa by using
    kedr. but the problem is text of the classification values.
    When i try to create a value field with referance to the data element ATWRT than i have the error length 00030 of the data element is too big.also i know that there is no chance to create ATRWT with 30 chac length.
    when i create the value field without value maintanance then the text of the classification not comes to pa.
    At last i have created the value field as with own value maintanence and double the charecteristic names and text from kes1.
    But this solution is not suitable.
    Is there a way to take this text from cawnt table?

    we will use copa for analysis.
    we want to have some material classification values to pa. we have the ausp value at copa by using
    kedr. but the problem is text of the classification values.
    When i try to create a value field with referance to the data element ATWRT than i have the error length 00030 of the data element is too big.also i know that there is no chance to create ATRWT with 30 chac length.
    when i create the value field without value maintanance then the text of the classification not comes to pa.
    At last i have created the value field as with own value maintanence and double the charecteristic names and text from kes1.
    But this solution is not suitable.
    Is there a way to take this text from cawnt table?

  • 9.745 * 100 gives an unexpected value

    Hi All,
    When I multily decimal values it give unexpected values.
    9.145* 100 = 914.5 (OK)
    9.245* 100 = 924.49999999999999999999999 (Unexpected ..should be 924.5)
    9.345* 100 = 934.5 (OK)
    9.445* 100 = 944.5 (OK)
    9.745* 100 = 974.49999999999999999999999 (Unexpected ..should be 974.5)
    Could some one please help me to resolve this ?
    Actually i'm using this thing for rounding up for 2 decimal places.
    Any suggetion for a good rounding for 2 decimal places alogorithm.
    Rgds,
    Thanx

    import java.text.*;
    NumberFormat nf = NumberFormat.getInstance();
    nf.setMinimumFractionDigits(2);
    nf.setMaximumFractionDigits(2);
    System.out.println(nf.format(9.145* 100)) ;
    System.out.println(nf.format(9.245* 100)) ;
    System.out.println(nf.format(9.345* 100)) ;
    System.out.println(nf.format(9.445* 100)) ;

  • Auto renewable subscription verify receipt, unexpected value in expires_date field

    During renewable IAP subscription receipt verification I need to get the end date of the latest reciept.
    Apple has documented the receipt field "expires_date" field as giving the number of milliseconds since 1 jan 1970 but it actually contains the formatted date. Apple has warned not to use undocumented fields but there is an undocumented field called "expires_date_ms" that does give a millisecond value. So i have a choice to use the undocumented field that gives the documented expected value or the documented field that gives an unexpected value. It doesn't seem like either field will be reliable. What is the solution?
    Apples documentation on receipt fields:
    https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreRec eipt/Chapters/ReceiptFields.html#//apple…

    can you remove this from WSDL  <wsdl:definitions> tag.
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:cc="urn:ebay:apis:CoreComponentTypes"
    and add name="yourmessage interface" in <wsdl:definitions> tag.

  • WRITE command gives unexpected value when currency is JPY (japanse yen)

    Hi All
    I am getting unexpected value for below WRITE command but only when the currency is JPY (Japan Yen)
    lv_amount = 1215.40
    lv_currency = u2018JPYu2019.
    write   lv_amount   to   ev_amount_ext    left-justified    no-gap   NO-GROUPING   currency lv_currency.
    Value wrongly gets as ev_amount_ext = 121540 (Decimal takes as full value)
    Appreciate your help if you have any idea on this please
    Many Thanks
    Iver

    Hi,
      use like this
      lv_amount = '1215.40'
    lv_currency = u2018JPYu2019.
    write lv_amount to ev_amount_ext left-justified no-gap NO-GROUPING currency lv_currency.
    other wise.
    data lv_amounts  type string.
    move lv_amount to lv_amounts.
    lv_currency = u2018JPYu2019.
    write lv_amount to ev_amount_ext left-justified no-gap NO-GROUPING currency lv_currency.

  • Unexpected value matrix(1,0,0,1,NaN,NaN) parsing transform attribute Anychart

    We are running Oracle Apex 4.2 and whenever a user creates a new session,  the chart on the home page shows the No Data Found Message. However, when you refresh or submit the page, the correct data and rendering appears. On the initial page load, the only message in the Javascript Console is a warning "Unexpected value matrix(1,0,0,1,NaN,NaN) parsing transform".
    We attempted an on load refresh dynamic action but that does not work as well.
    What could this be?
    Thanks.

    The error:
    gethydrosdi.xsl<Line 22, Column 40>:
    XML-0137: (Error) Attribute 'select' used but not declared.is caused by trying to parse your XSLT stylesheet using an XML parser which has been set to use DTD validation.
    The follow example illustrates a program that causes your error to appear. Given the file 'foo.dtd':
    <!ELEMENT foo EMPTY>and the file 'foo.xml':
    <?xml version="1.0"?>
    <!DOCTYPE foo SYSTEM "foo.dtd">
    <foo/>and the stylesheet 'foo.xsl':
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>The following Java program illustrates producing your error:
    import oracle.xml.parser.v2.*;
    import java.io.*;
    import org.w3c.dom.*;
    public class ex {
    public static void main(String[] a) throws Throwable {
    DOMParser d = new DOMParser();
    d.setValidationMode(true);
    d.parseDTD(new FileReader("foo.dtd"),"foo");
    d.setDoctype(d.getDoctype());
    d.parse(new FileReader("foo.xml"));
    d.parse(new FileReader("foo.xsl"));
    XMLDocument doc = (XMLDocument)d.getDocument();
    doc.print(System.out);
    }If you run this with the command:
    java exfrom the directory where foo.xml, foo.dtd, and foo.xsl are, you'll get the error:
    Element 'xsl:stylesheet' used but not declared.The following code illustrates the way to avoid the error, by setting validation mode to false before trying to parse the stylesheet:
    import oracle.xml.parser.v2.*;
    import java.io.*;
    import org.w3c.dom.*;
    public class ex {
    public static void main(String[] a) throws Throwable {
    DOMParser d = new DOMParser();
    d.setValidationMode(true);
    d.parseDTD(new FileReader("foo.dtd"),"foo");
    d.setDoctype(d.getDoctype());
    d.parse(new FileReader("foo.xml"));
    // Set the validation mode to false before using
    // the same instance of a DOMParser to parse the stylesheet.
    d.setValidationMode(false);
    d.parse(new FileReader("foo.xsl"));
    XMLDocument doc = (XMLDocument)d.getDocument();
    doc.print(System.out);
    }null

  • Unexpected value type for Item Tag Name ; expected System.Single, received

    Hi,
    I am using PCo 2.1 with MII 12.1 to extract values from some PI tags. When I run the query, I get this error -
    Unexpected value type for Item <Tag Name>; expected System.Single, received System.String[Value = Scan Off]
    Can somebody explain what I need to do to get the correct result?
    Regards,
    Chanti.

    To make the service return "whatever is passed", you have to take a step back and realize that there is a little understanding of XML Schema required.
    When using a complexType, which is defined as a sequence, then you are implying an ordered sequence of elements. Default value for the 'minOccurs' attribute is 1. It's also important to understand that there is a difference between minOccurs=0 and nillable="true".
    nillable="true" just means that the name element can carry a null value. If you want the name element to be optional, then you must use the minOccurs=0 and keep the maxOccurs to it's default value of 1. Using an array is just a bad work around. This is for deserialization (XML to JAVA).
    The second part of you problem is on the serialization (or JAVA to XML). When you have a JAVA Bean, there is no way to make the difference between a member's value being null or not set, so it's impossible to decide if you need to send back a nul (xsi:nil="true"), an empty element <ns1:name/> or nothing.
    That said, if you do want to go the XML route, you can use the dataBinding="false" flag in the different WSA command. Instead of converting XML into JAVA, you will have SOAPElement parameters, where you can do all you want (see WS user's guide [1] for details - chapter 16). Note that you have to make sure that the WSDL (your contract) reflect what you are doing on the wire (format of your messages), so that you do not geopardize your interoperability with other toolkit.
    Note that this only applies to literal message formats (use attribute in WSDL), which is your case.
    Hope this helps,
    Eric
    [1] http://download-west.oracle.com/otn_hosted_doc/ias/preview/web.1013/b14434.pdf

  • Zero phase filter returns unexpected values

    Hi,
    I want to filter the signal using the zero phase filter.
    This is my code using the filter:
    The filter returns some values like this:
    In this diagram, the green curve is the signal, which has been filtered using the zero phase filter.
    Is there a better example or special advices for these unexpected values? What I want is the signal without phase-dirft.
    Wilbur

    Hi,
    it was a good idea to post that snippet - but it would be best if we had your data too.
    Could save your inputs as default data and post the vi (don't know if snippets retain default values)?
    Regards
    Florian

  • Wo ist der Fehler? : Unexpected Value in einem Switch-Script

    Hallo!
    (ich benutze Adobe Acrobat 11 prof mit Windows 7 prof. -Umgebung) 
    Ich "arbeite" seit Januar 2014 mit Acrobat 11 prof. Kein Informatiker, reiner Anwender...
    Ich möchte in einem "Ernährungs-PDF-Bilderbuch" Wissen abfragen. Mit einem Script, das in einem anderen Formular bereits funktionierte, hänge ich jetzt und komme nicht weiter.
    Jede Seite hat 4 Optionsfelder und 1 Textfeld. Bsp: die Gruppe: "Blumenkohl" mit - verschiedenen Kohlehydratmengen (0-3 KE als Optionsfeldauswahl).
    Das Script steht in dem zugehörigen Textfeld ("Blumenkohl-KH") in einem benutzerdefinierten Berechnungsscript.
    Format: "Keine":
    Das Script lautet:
    var cSelection = this.getField("Blumenkohl").value;
    switch (cSelection)
       case "0":
         event.value = "Richtig! Blumenkohl hat 0 KE ";
         break;
       case "1":
         event.value = " 1 KE ist falsch! Blumenkohl hat 0 KE ";
         break;
       case "2":
         event.value = "2  KE ist falsch! Blumenkohl hat 0 KE ";
         break;
       case "3":
         event.value = "3 KE ist falsch! Blumenkohl hat 0 KE ";
         break;
       case "Off":
         event.value = "Keine Antwort: Fehler! Blumenkohl hat 0 KE ";
         break;
       default:
         // This option should never be called since
         // all possible cased are handled
         event.value = "Unexpected Value: " + cSelection;
         break;
    Nach dem Reset erhalte ich erwartungsgemäß die Auswertung: Keine Antwort: Fehler! Blumenkohl hat 0 KE!
    Ich kann alle Optionsfelder anklicken, aber ich erhalte in dem Textfeld immer die Auswertung. "Unexpected Value: " mit dem zugehörigen "cSelection"-Wert.
    zuvor kamen Fehlermeldungen, wie:
    ReferenceError: SetFieldValues is not defined
    SetFieldValues is not defined
    nachdem ich ein Leerzeichen zwischen switch und (cSelection) eingefügt habe, kommen jetzt gar keine Fehlermeldungen mehr. Dennoch bleibt die Fehlausgabe "Unexpected Value: ...", ohne dass ich den Grund für das Nichtfunktionieren erkennen kann.
    Danke für die Rückmeldungen.
    chris.sberg

    Danke für die Antwort - aber es funktioniert auch dann nicht.
    Es sieht dann so aus:
    //-----------------Bearbeiten Sie nicht die XML-Tags--------------------
    //<AcroForm>
    //<ACRO_source>Blumenkohl-KH:Calculate</ACRO_source>
    //<ACRO_script>
    /*********** gehört zu: AcroForm:Blumenkohl-KH:Calculate ***********/
    var cSelection = this.getField("Blumenkohl").value;
    switch (cSelection)
       case "0":
         event.value = "Richtig! Blumenkohl hat 0 KE ";
         break;
       case "1":
         event.value = " 1 KE ist falsch! Blumenkohl hat 0 KE ";
         break;
       case "2":
         event.value = "2  KE ist falsch! Blumenkohl hat 0 KE ";
         break;
       case "3":
         event.value = "3 KE ist falsch! Blumenkohl hat 0 KE ";
         break;
       case "Off":
         event.value = "Keine Antwort: Fehler! Blumenkohl hat 0 KE ";
         break;
    //</ACRO_script>
    //</AcroForm>
    Es bleibt jetzt an der letzten Antwort hängen: "Keine Antwort: Fehler! Blumenkohl hat 0 KE" -
    Wenn ich auch die Zeilen von case "off" entferne, also nur case "0" bis "3" stehen lasse, dann erscheint gar kein Text mehr.
    Habe ich vielleicht bei der Formatierung des Textfeldes einen Bug?
    Danke für die Tips!
    chris.sberg

  • Derivation of Material classification Characteristics values in COPA

    Hi,
    Although  similar type of questions are there in Forum, But I did not find the correct solution, hence I am putting this thread.
    My question is , in classification view of material master we have Class type - 23 (Batch).
    We are maintaining many chracteristics and their values in the material master.
    Now my requirement is whenever the billing is done for any sales order having this material, all the characteristics and its value should flow to COPA.
    Although the details are there in table AUSP. But I am not finding any way out to derive these characteristics and its value or get these information in COPA.
    Please help.
    Regards
    Kami

    Hi Ajay,
    The attribute tab is not available in MOVE. Is there any other place where I can find this attribute tab.
    While doing the Analysis of derivation, it showing the message :
    *"Derivation was not carried out. Reason: Not available"*
    Both Source field and Target filed is showing blank. I am not able to figure out the reason.
    Is there any relation with Class Type. We are using here Class Type - 23 (Batch).
    And in KEDR , in MOVE as you suggested I am using Source Vield VCONF.
    I hope these are OK.
    I am using the User defined characteristics WW09 , with own value maintenence. Is this OK?
    What could be the possible reasons for not populating the data.
    regards
    Kami

  • Cost Value in COPA

    Dear All,
    In our organisation we have two units, whereas 1 units will be using the standard cost estimate and the other will not use the standard cost estimate.  The standard price of the product will be updated in the material master manually for inventory valuation purpose. Will COPA pick the standard cost of the material even if the standard cost estimate run has not done.
    As per my understanding it will. Since i calling the figure from the particular table of the material master whether i run the standard cost or not it will pick the value lying in that table. Need you kind advice in this regard.
    Regards
    Vasantha

    Hi,
    As long as you have a cost maintained in the Material Master for thr plant that you are delivering from the cost will be picked up.
    In the sales order you can see for item conditions (If you are using condition type VPRS) the value being picked up for the plant where you do not use cost estimate to update the material master. This is the value(VPRS) that will pass to COPA (If you are using costing based COPA), provided you have assigned this condition to a value field in KE4I
    Hope this helps
    Siva

  • RA values in COPA report

    Hi,
    In COPA report, we get cumulative figure of both actual revenue and the RA figures either Rev in excess billings or Revenue surplus in the Revenue value field. But, we would like to show in the copa report, what is the actual revenue and the values against Revenue in excess billings and Revenue surplus seperately.  I have explored and but could not find any clue. If any of you met this type of requirement and appreciate if you can share with this agust forum.
    Regards!!

    Hi
    I try...
    Basically you need to create two line IDs in my case these were:
    T70 POC Sales
    T71 T Sales
    In OKG5 I linked all revenue costelements to T70 with requirement to capaitalize. No assignement has to be made to T71.
    In OKG4 (Update for LineIDs), I added both, T70 and T71, with category E "revenues" and two different costelements. In the appropriate PA Transfer Structure I added the costelements to the correct value field (either POC sales or sales).
    In enhancement KKAG0001 I used exit EXIT_SAPLKKAG_001 and include ZXKAGU01. Coding (in extracts as we do other stuff within this user exit):
      DATA: lt_sume   TYPE TABLE OF xkabasis WITH HEADER LINE.
      DATA: lt_sumd   TYPE TABLE OF xkaabgr WITH HEADER LINE.
      DATA: BEGIN OF ls,
             soll TYPE istkumkg,
             sollp TYPE istkumkg,
             sollc TYPE istkumkg,
             ist  TYPE istkumkg,
             diff TYPE istkumkg,
            END OF ls.
      CLEAR ls.
      LOOP AT import_basis WHERE kateg = 'E'.
        lt_sume = import_basis.
        CLEAR: lt_sume-zlnid, lt_sume-bewkz.
        COLLECT lt_sume.
      ENDLOOP.
      READ TABLE lt_sume INDEX 1.
      READ TABLE import_abgrenzun WITH KEY zlnid = 'T70'.
      ls-ist                     = import_abgrenzun-abgrkumkg.
      ls-sollp                   = ls-soll - lt_sume-istkumkg.
      ls-sollc                   = ls-soll + ls-sollp.
      ls-diff  = ( ls-ist - ls-sollp ) * - 1.
      export_veraender-abgty     = 'D'.
      export_veraender-zlnid     = 'T70'.
      export_veraender-abgrverkg = ls-diff.
      APPEND export_veraender.
      ls-diff                    = lt_sume-istkumkg.
      export_veraender-abgty     = 'D'.
      export_veraender-zlnid     = 'T71'.
      export_veraender-abgrverkg = ls-diff.
      APPEND export_veraender.
    With this POC and real sales are splitted to T70 and T71.
    I hope this helps!
    Best regards
    Benjamin

  • Balance sheet values to COPA/PCA

    Hello all
    We need to allocate and take few Balance Sheet account values as well to COPA OR PCA for finer reporting, any pointers on this shall be very helpful?
    Thanks
    Balla

    Hi Balla,
    Can we understand the business requirement a bit more clearly. I'll put down the background as per my understanding.
    1. PCA - the requirement is to have the balance sheet at profit center wise - If you are using ECC6.0 all you need to do is set up document splitting functionality. Once this is done, all the documents (P/L and B/S) will have the profit center mandatorily and the balance sheet is possible at PC level. Of course you can imaging that with this PCA has become redundant.
    2. COPA - I do not understand why a balance sheet item will come to balance sheet should come to any profitablity analysis ever? As I'm analysing the profitability at any level i will not require the balance sheet item in any case unless you are trying to achieve something else with COPA. Do you want to recheck the requirement or can you please explain the exact business requirement?
    Best Regards
    Vimal

  • MM Condition Types values flow COPA

    Dear Gurus,
           My client requirement is MM Condition Types Values Should flow to COPA like SD to COPA. I had seen a screen that KE4IM is there we can map our COPA Value Field and MM Condition Types. But I am not sure that values flow to COPA, Because No document will be generated in FI or other while doing PO.
    Pl suggest me how can I fullfill this requirement.
    Regards,
    Balaji Bhonsle.

    Hi,
    If you read config doco for KE4IM you will find a statement:
    "It is also possible to transfer conditions from MM to update billing data in pooled payment in the IS Retail system. These are transferred according to the same rules as SD conditions."
    So KE4IM is only used in IS Retail. Are you IS Retail?
    If not you probably want to bring conditions from purchase orders to CO-PA.
    I agree with Ajay except for point 1.
    You can actualy trigger CO-PA posting during goods receipt (and invoice receipt) for PO.
    In order to achive it you need to activate "Purchase Accounting" in MM.
    SPRO -> Marterials Management -> Valuation and Account Assignment -> Account Determination -> Account Determination without Wizard -> Purchase Account Management
    Please read doco for Purchasing Account. In a nutshell when you activate it system will post addtional line item for GR and IR:
    Purchasing account and Purchasing Offseting account for value of purchased nmaterial and also for delivery costs.
    In table T030: Purchase account(EIN), purchase offsetting account (EKG), freight purchase account (FRE).
    Define EIN and FRE as cost elements and map to profitability segment in OKB9. Leave EKG as P&L account (no cost element).
    Then map cost elements to value fields in COPA.
    Done.
    Cheers,
    Szymon

Maybe you are looking for

  • Printing from ALV Grid

    Hi Friends, I am facing a problem while printing a report from ALV grid .. The report display is coming perfectly based on the SORT criteria .. but while trying  to print or print preview or Download to  Excel  the sorting is not working .. If any on

  • Facebook event in iCal

    Hi all, A question, If I combine my Facebook events in iCal, I noticed some strange behaviour. One of my friends created an all day event on thursday januari 31 in Facebook, but on my iPhone 5, in iCal the event is on wednesday januari 30. Also on my

  • TRM: doubts in interest rate instrument and Business partner

    Dear all, While implementing Treasury Risk Management, in order to fulfill my clientsu2019 needs I have three questions regarding, 1. Interest rate instruments, 2.Leasings and 3.Business partners. 1.When creating a contract of an interest rate instru

  • Empty Segment handling  in XSLT

    Hi All,   I have a strange requirement as below    --> PI is getting data from R3 system by ABAP proxy and the whole XML proxy structure should be mapped to one of the target field (SOAP call). i have done this by using XSLT mapping and everything is

  • Enhacement: tax determination in invoice correction

    Hello! I have to set tax determination in invoice correction, according to: "Tax clasyfication material" (TAXM1) but importing from preceding invoice (VBRP), not from master data. How would you solve this problem? Thanks in advans for any helpfull id