2014 Aug 12 11:18 AM
Hi Experts,
I created a new Domain Z1_TEST with Data Type CHAR(10) and 3 Entries (TEST1,TEST2, TEST3).
I use it for a Parameter in my Program, to let the user choose TEST 1, 2 or 3.
In the Debugger, when I check the value on the Parameter, I don't have TEST1 but only T (1 character ?).
Any idea ?
Best Regards,
David
Hi Experts,
I created a new Domain Z1_TEST with Data Type CHAR(10) and 3 Entries (TEST1,TEST2, TEST3).
I use it for a Parameter in my Program, to let the user choose TEST 1, 2 or 3.
In the Debugger, when I check the value on the Parameter, I don't have TEST1 but only T (1 character ?).
Any idea ?
Best Regards,
David
2014 Aug 12 11:21 AM
David,
to get the domain description apply the function module: DDIF_DOMA_GET
Export to function:
Domain name
Language
And import all values and respective descriptions.
2014 Aug 12 11:25 AM
... the imported values are in DD07V_TAB internal table.
Example: (se37)
Export:
Import: DD07V_TAB (Internal table)
2014 Aug 12 11:25 AM
Hi David,
Could you please attach snapshot of fixed-values maintained at domain?
Have you created a data element with the domain & used that as data type to your parameter?
Thanks,
Sharath
2014 Aug 12 11:31 AM
2014 Aug 12 11:39 AM
Hi David,
Please also attach your code, you may have declared parameter without any data type.
It will take it as Char1 as by default.
2014 Aug 12 11:42 AM
2014 Aug 12 11:45 AM
David,
check the domain output length
available in 'Output Characteristics'
2014 Aug 12 11:48 AM
Domain -> Definition ->Output Characteristics -> Output Length
2014 Aug 12 12:22 PM
Hi,
How have you declared your parameter ? I am sure you have missed field length somewhere.
2014 Aug 12 1:07 PM
Hi,
Have you tried ?
PARAMETERS:
p_z1test TYPE z1_test AS LISTBOX VISIBLE LENGTH 20.
2022 Jan 23 11:02 AM
Hi,
U have to provide fixed length to the parameter or else we get initial value.
Parameters:
P_z1test type z1_test VISIBLE LENGTH 10.Thanks & Regards,
Preetha.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |