on 10-20-2014 10:05 PM
Dear All,
I created a copy of FM:CL_RSPLS_CR_EXIT_BASE and implemented it based on the How to "How to line Items in SAP BI IP".
CLEAR e_t_mesg.
FIELD-SYMBOLS: <l_chavl> TYPE ANY.
* fill user
ASSIGN COMPONENT 'USERNAME' OF STRUCTURE c_s_chas TO <l_chavl>.
IF sy-subrc = 0.
<l_chavl> = sy-uname.
ENDIF.
* fill date
ASSIGN COMPONENT 'DATE0' OF STRUCTURE c_s_chas TO <l_chavl>.
IF sy-subrc = 0.
<l_chavl> = sy-datum.
ENDIF.
* fill time
ASSIGN COMPONENT 'TIME' OF STRUCTURE c_s_chas TO <l_chavl>.
IF sy-subrc = 0.
<l_chavl> = sy-uzeit.
ENDIF.
I have created an input Query and i can save data into the cube. But unfortunatelly 0UNAME, 0DATE and 0TIME are not derived.
How can i solve the problem?
Where could be the issue?
Thank you for helping.
Cheers
Pat
Hi Pat,
If you are using the characteristics 0UNAME, 0DATE, and 0TIME in your InfoCube then the above coding does not work as there the fieldnames 'USERNAME', 'DATE0', and 'TIME' are used (look for the assign statements). You will have to adapt the coding to your used characteristic names.
Best regards,
Gerd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.