06-08-2006 3:57 PM
Dear sirs:
I have to build a data upload program for transaction KEPM (Edit Planning Data), using the BAPI BAPI_COPAPLANNING_POSTDATA. Does anyone have a sample.
Thanks for your help.
Best regards,
Dairo
06-08-2006 3:59 PM
You can also look at prog :RKE_FLEX_UPL
also check thread :
and link
http://sapass.metro.client.jp/Bapi/BUS1167.htm
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"
06-08-2006 3:59 PM
You can also look at prog :RKE_FLEX_UPL
also check thread :
and link
http://sapass.metro.client.jp/Bapi/BUS1167.htm
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"
06-08-2006 4:32 PM
06-08-2006 4:39 PM
Thanks for your help. The Use of the BAPI BAPI_COPAPLANNING_POSTDATA is a must. If you have a sample or info about this BAPI I'd really appreciate it.
Best regards
06-08-2006 4:43 PM
Did you check the links I posted you above ?
Pl..also award the points .
Thanks
SK
06-08-2006 5:33 PM
Yes I did, but I need more info about the BAPI BAPI_COPAPLANNING_POSTDATA
Regards
06-08-2006 5:40 PM
<b>FYI</b>
FU BAPI_COPAPLANNING_POSTDATA
____________________________________________________
Text
Write CO-PA Planning data
Functionality
You use this method to return planning data from Profitability Analysis back into the system. This overwrites existing planning data in the system (or, more precisely, the delta value between the old and new values is determined and updated as a line item).
You typically call up this method after reading planning data with the GetData method and making changes to it. To import the changed data back into the system, you fill the parameters SELECTEDFIELDS and SELECTION with data in the same way as you called up GetData. When data is being written, these parameters determine how the delta value between the planning data to be imported and the old planning data in the system is determined: firstly, the old planning data in the system is read in accordance with the values for the parameters SELECTEDFIELDS and SELECTION, and then the delta for the data to be imported is created.
The data to be posted is imported using the table DATA. Since this table is also used to read data with the GetData method, it should also be populated accordingly when data is imported. See also the documentation for the GetData method and for the parameter DATA for this method.
Warning: Under certain circumstances, data that is not imported but is already present in the system as an old value are canceled in this process.
If, for example, products A1 and A2 from plan version 001 are selected in the selection criterion SELECTION but table DATA only contains planning data for product A1, the planning data for A2 that is in version 001 and already in the system is canceled.
Parameters
OPERATINGCONCERN
TYPEOFPROFITANALYSIS
TESTRUN
SELECTEDFIELDS
SELECTION
DATA
RETURN
Exceptions
Function Group
KE_BAPI_COPAPLANNING
Thanks
SK
06-24-2015 1:55 PM