2024 Jul 11 1:38 PM - edited 2024 Sep 23 4:19 PM
I have created a report with selection texts like seen in the first attached picture.
After transporting it to quality check system and to production, in both systems, the selection texts look as seen in the second screen shots (all texts are showing a single dot whilst the "dictionary reference" flag is set)
Running the report, no selection texts do show up, but the technical names appear.
My ABAP version is 750. What went wrong? How can I get the right texts?
EDIT: found the reason:
data db type zds_pp47_ocon_order_config. " <-- Data definition of a CDS view
data t001w type t001w.
select-options:
s_plant for t001w-werks,
s_dgltp for db-dgltp, " <--- texts do not work
s_aufnr for db-aufnr,
s_matnr for db-matnr matchcode object mat,
s_arbpl for db-arbpl,
s_atnam for db-atnam.
If you refer in select-options to a CDS-View data definition, the selection texts seem to work in development, but after transporting they're gone. My solution was, to use DB table fields as reference:
data afko type afko.
data afpo type afpo.
data crhd type crhd.
data cabn type cabn.
data t001w type t001w.
select-options:
s_plant for t001w-werks,
s_date for afpo-dgltp,
s_order for afko-aufnr,
s_mater for afpo-matnr matchcode object mat,
s_arbpl for crhd-arbpl,
s_charn for cabn-atnam.
Request clarification before answering.
See the edited description: do not refer to CDS-Views in select-options.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you
In a hurry: try to activate report in target system and/or command such as /$SYNC, /$CUA or /$DYN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
34 | |
22 | |
16 | |
8 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.