on 01-27-2016 9:13 AM
Hello Experts,
Am working in BADI IF_BADI_SLS_LO_OIF_GUIBB_FORM.
Here I need to read the drop down values of a field 'AUGRU'. Is there any standard way to read all the drop down values of this field. Please help me.
Also I have checked class cl_lo_oif_model, but couldn't get any relevant details to derive the AUGRU dropdown values.
BR,
RAM>
Hi,
in the GET_DATA method you can access the drop down values. Just read the entry of table CT_FIELD_USAGE with NAME = 'AUGRU', there you have the drop down values in the component FIXED_VALUES.
Best regards,
Rebekka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in the GET_DATA method you have the parameter CS_DATA, which contains the data of the form fields. Just write the value in the component of the structure.
Additionally, you have to set the parameter CV_DATA_CHANGED to abap_true or 'X'.
You should do this only on startup of the application, otherwise the code is called on every FPM event. So the value would be overwritten with your default value even when the user selects another value.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.