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: 

Problem in ALV layout ...urgent

Former Member
0 Kudos

Hi,

I am using transction VL06C which displays the ALV list. The strucute used by standard program for ALV is LIPOV. There is one include available for customer fields LIPOVZ.

I have inculded my Z structure to it and new field i added is shipmet number. Now i can see the shipment number in the layout of ALV list as hidden field. So I automatically got this field in my ALV list.

Now today I added one more filed quantity to my Z structure. But I cant see that field in my Layout of ALV.

When I debugg I can see the field is getting populated correctly in user exit. Also in Field catalog.

But can not see in Layout when I am trying to change the ALV layout. I can see only Ship. Number

Please suggest.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

After adding new fields, you have to execute program BALVBUFDEL (note 122975) to reset the ALV buffer.

See also this blog: [Additional fields in output for VL06O - List Outbound Delivery |https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/additional%2bfields%2bin%2boutput%2bfor%2bvl06o%2b-%2blist%2boutbound%2bdelivery]

7 REPLIES 7

former_member223537
Active Contributor
0 Kudos

Hi Vinit,

I assume that you have passed appropriate values to the Output internal table

Fieldcatalog

Try passing USER_SETTINGS = ' ' in the ALV FM.

Best regards,

Prashant

Former Member
0 Kudos

Hi,

This may sound stupid, but after you have added your extra field and activated your structure regenerate your ABAP program and then log off and log back on to the system.

I've had the exact same problem and I believe it is because of some buffering at the ALV level but don't really know what causes it.

Gareth.

0 Kudos

Log off does not work.

I only added field in stucture and populated in user exit. everything else is Standard program.

There are 8 fields in my Z structure I can see 7 in my layout. Today i added one and I cant see that field.

Former Member
0 Kudos

After adding new fields, you have to execute program BALVBUFDEL (note 122975) to reset the ALV buffer.

See also this blog: [Additional fields in output for VL06O - List Outbound Delivery |https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/additional%2bfields%2bin%2boutput%2bfor%2bvl06o%2b-%2blist%2boutbound%2bdelivery]

0 Kudos

Hi Andrey,

I discovered that program too but it didn't seem to work for me... Will have to try it again.

Gareth.

raymond_giuseppi
Active Contributor
0 Kudos

Look at OSS [Note 367727 - GR date not displayed in delivery monitor|https://service.sap.com/sap/support/notes/367727] here SAP explains :

After you have activated the structure, you must possibly reset the buffer of the ABAP list viewer so that the new field is displayed in the Selection dialog box of the field catalog (for this, refer to Note 122975).

The OSS [Note 122975 - Resetting buffering of ALV field catalog|https://service.sap.com/sap/support/notes/122975] refers to program BALVBUFDEL

Regards.

Former Member
0 Kudos

Hi Vinit,

I think you may have copied the fieldcatalog structure from your previous fields.

Check whether this line has been added for the field.

clear wa_fieldcat.
      wa_fieldcat-fieldname     = 'MTART'(060).
      wa_fieldcat-seltext_l     = 'Mat. Type '(024).
      wa_fieldcat-ddictxt       = c_long.	
*     Hide the column 
        *wa_fieldcat-no_out      =  c_x.*     
 append wa_fieldcat to i_fieldcat.

. Sorry if iam wrong.