Functionality With this method, you can post actual data to the SAP system's costingbased Profitability Analysis (CO-PA). This methods allows you to post a quantity of data records to CO-PA.However, it cannot be used to transfer mass data. You should do thisusing external data transfer. The data you want to post is transferred in parameter InputData>.To assure the consistency of the transferred data, the parameterFieldList> must also be filled with the number of field nameswhich are transferred in InputData>. For each record transferred to InputData>, the system createseither one or two CO-PA line items, depending on whether or not thecompany code currency is active alongside the operating concerncurrency. The currency translation is carried out as for external datatransfer. With currency fields, the field Currency> must alwaysbe filled in the corresponding record of InputData>. For posting, this method uses the same functions as those used forexternal data transfer. The system performs the CO-PA functions Characteristic derivation > and valuation>. If data is actually updated (parameter TestRun> = ' '), a DBCOMMIT is performed within the method, but not COMMIT WORK, At thispoint, the system creates the CO-PA profitability segment numbers -that is, it creates records in the table CE4xxxx (xxxx = operatingconcern). The method BapiService TransactionCommit is used to performthe Commit.Description For information on the significance of the operating concern, see the relevant glossary definition:Operating concern>.Value range Value "X": Test run: Data is not posted. Only tests are run. Value " ": Update run: Data is posted if no error messages haveoccurred (but no COMMIT WORK is executed yet). Description List of field names filled in the parameter InputData>. For each CO-PA record to be written, all fields from the parameterFieldList> must also appear in InputData>.Description Import table containing the data to be written. Each record in InputData> contains a field for a CO-PA record.All fields belonging to a CO-PA record must have the same recordnumber. All value fields belonging to a CO-PA record must have the samecurrency.Value range Permitted fields are those that were also entered during line itementry. You need to enter a company code (field BUKRS). The time fieldsfiscal year, period, year/period> or posting date> must befilled in with data that can be used to specify a distinct postingperiod. The Foreign currency> (FRWAE) field should not betransferred: it is filled automatically with the currency in theCURRENCY field in InputData>. If no record type is specified, thedata is posted in record type "F".Example The product with product number (ARTNR) P-100 in company code (BUKRS)1000 is to be posted with a revenue (ERLOS) of 100 USD for period(PERIO) 1/2000. The corresponding record would look as follows: RECORD_ID,,FIELDNAME,,VALUE,,CURRENCY 000001,,BUKRS,,1000 000001,,ARTNR,,P-100 000001,,PERIO,,2000001 000001,,ERLOS,,100,,USD Description List of generated error messages |