12-12-2013 5:16 AM
Hi,
We have an ALV report displaying a lot of information. When we select the column for the WBS element in the ALV report & choose filter we want the value of the WBS element is also displayed in the next pop-up. The issue we are encountering is that the WBS element is displayed in the external format in the ALV report but when we select the column & choose filter it displays the WBS element in the internal format in the next pop-up. We would require to display the WBS element in the original format as in the ALV report; How do we achieve this technically?
Regards
Tanmoy
12-12-2013 4:47 PM
The final solution was implemented by the developer.
The following code changes are made:
lv_fieldcat-ref_tabname = 'MSEG'.
lv_fieldcat-ref_fieldname = '<field name for the WBS>'.
lv_fieldcat-NO_CONVEXT = space.
12-12-2013 5:24 AM
For the same field what have you marked NO_CONVEXT in field catalog...? keep this field as blank...
Nabheet
12-12-2013 7:50 AM
Hello Nabheet,
Yes I have asked the developer to make these changes in the field-catalog. As suggested we can try with 'NO_CONVEXT = C_X' Or NO_CONVEXT = space. I will update based on the o/p.
Regards,
Tanmoy
12-12-2013 6:01 AM
Hi Tanmoy Mondal,
An Alternative Approach you can use is that if the field has a Conversion Routine use the CONVERSION_ROUTINE_<ALPHA>_OUTPUT method & pass the field value to this FM it will display in the SAME format as the ALV format.
We face a similar issue recently, we used both CONVERSION Routine& NO_CONVEXT = ' ' in Field catalog.
12-12-2013 6:31 AM
Use this conversion with WBS element in your output table before calling ALV.
CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'
EXPORTING
input = wa_export-pspnr
IMPORTING
output = wa_export-pspnr.
12-12-2013 4:47 PM
The final solution was implemented by the developer.
The following code changes are made:
lv_fieldcat-ref_tabname = 'MSEG'.
lv_fieldcat-ref_fieldname = '<field name for the WBS>'.
lv_fieldcat-NO_CONVEXT = space.