Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

no formula log updated in the detail log when moving data one ENVT to other ENVT

$
0
0

ALL,

 

In BPC system,we have two environments. Because of the business split, we have to create the second environment and some models in ENVT A are re-created in ENVT B with the same name and same structure.

 

Data needs to be copied from ENVT A to ENVT B.from same MODEL MDL1  to same MODEL MD1 in ENVT B.

 

This has been done through by calling the write back badi method in the implemenation of UJ_CUSTOM_LOGC , i.e reading the ct_data and collect and post it to ENVT B using write back bad

TARGET ENVT is updated with the data . but the formula log , for the package triggered from SOURCE ENVT is NOT updated with the log message.

 

We are using cl_ujk_logger to write some message to the log. Only the package log is available.

 

1. How to get the formula log updated in the detail log ? is there any setting to be changed in the log.

 

2. Can we use write back method for posting data from ONE ENVT to OTHER ENVT for the same MODEL.

 

3. Is there any script logic possibility to acheive this i.e similar to DEST_APP is there any DEST_APPSET ID ?

 

Below is the part of the code used in BADI UJ CUSTOM LOGIC .

 

     CALL METHOD ref_wb->write_back
               EXPORTING
                 i_appset_id      = i_appset_id
                 i_appl_id        = i_appl_id
                 is_wb_param      = i_wb_param
                 it_records       = <lt_cis_final>
               IMPORTING
                 es_wb_status     = wb_status
                 et_error_records = <fs_lt_error>
                 et_message       = et_message.


If the et_message is filled, we are raising exception

RAISE EXCEPTION TYPE cx_uj_custom_logic.

RETURN.


Please let me know if any other information are required.Thanks


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>