Application Development 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: 

ALV Filter Issue

Former Member
0 Kudos

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

Former Member
0 Kudos

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

nabheetscn
Active Contributor
0 Kudos

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

Nabheet

0 Kudos

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

former_member184155
Participant
0 Kudos

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.

former_member184569
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.