cancel
Showing results for 
Search instead for 
Did you mean: 

Characteristic Relationship not writing to Cube

Former Member
0 Kudos


Hello Friends,

I've written a Characteristic Relationship on a Real-Time planning cube to stamp User ID, Date and Time onto any new records.

  • Cube characteristics are 0username, 0date & 0time.
  • Copied CL_RSPLS_CR_EXIT and modified the Derive method as follows:
    • FIELD-SYMBOLS: <l_chavl> type any.

    • * Fill User Name
      ASSIGN COMPONENT 'USERNAME' OF STRUCTURE c_s_chas to <l_chavl>.
      <l_chavl> = sy-uname.

      * Fill Date in User Time-zone
      ASSIGN COMPONENT 'DATE0' OF STRUCTURE c_s_chas to <l_chavl>.
      <l_chavl> = sy-datlo.

      * Fill Time in User Time-zone
      ASSIGN COMPONENT 'TIME' OF STRUCTURE c_s_chas to <l_chavl>.
      <l_chavl> = sy-timlo.

  • Characteristic Relationship is set up as a derivation of type Exit in RSPLAN with Source = 'Version' & Target = User ID, Date and Time
  • Aggregation level contains the source 'Version' and this field is always populated.
  • 3 target fields are not in the aggregation level.
  • I create new records in BPC 10.1 EPM front-end input template.
  • During Save of records...I can get the code to break within the Derive method using "BREAK-POINT".
  • After stepping through the code above in debug, the c_s_chas structure contains the correct 3 target values I want.

  • Problem:  Once the process completes...I can see the new record in the cube with all the inputted values BUT not the three that should have been derived.  Everything seems to work ok... until the pass-off from the class to the cube.

Has anyone experienced anything similar?  Any input would be appreciated.  Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello again,

In case any of you are also experiencing this issue, it was resolved by applying Note 2072195.

Regards..


Answers (1)

Answers (1)

cornelia_lezoch
Active Contributor
0 Kudos

Hi,

since you are a new member - please read

point 2 states "be yourself"

I for myself don´t like to answer to people who do not tell their names.

So if you are as nice to tell who you are - we might as nice to tell you an answer.

regards

Cornelia