Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV Filter Issue

Former Member
0 Likes
1,307

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
922

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.

5 REPLIES 5
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
922

For the same field what have you marked NO_CONVEXT in field catalog...? keep this field as blank...

Nabheet

Read only

0 Likes
922

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

Read only

Former Member
0 Likes
922

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.

Read only

Former Member
0 Likes
922

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.

Read only

Former Member
0 Likes
923

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.