on 10-12-2007 6:14 AM
Hello All,
Do you happen to have some sample IP abap code for a char relationship to do derivation?
Thanks!
Tim
You can use characteristic relationship of type Exit (Exit Class) in IP for your requirement. You should copy the class 'CL_RSPLS_CR_EXIT_BASE' and implement the method 'DERIVE'.
This sample code is for the 'line items' functionality.
Field-symbols: <l_chavl> type any.
Populate User ID
assign component '/BIC/IUSERID' of structure c_s_chas to <l_chavl>.
<l_chavl> = sy-uname.
Populate Date
Assign component 'DATE0' of structure c_s_chas to <l_chavl>.
<l_chavl> = sy-datlo.
assign component 'TIME' of structure c_s_chas to <l_chavl>.
get time field <l_chavl>.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.