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: 

Delivery due list report

Former Member
0 Kudos

Hi all,

My requirement is

1) Special processing indicator field is required (LIKP-SDABW) to be added.

2) Append new fields to structure SHP_VL10_ITEM

3) The appended fields will be filled with values by the userexit LV50R_VIEWG05 - userexit_prepare_layout_fill (In this Include, you can change the ALV-layout).

4)Tcode VL10G.

When i have to append the field in this structure SHP_VL10_ITEM.In the output(VL10G) layout set the added field(SDABW) field is showing.But i want to retrive the values.How can i retriver the values.Is it necessary to fill the field catelog for the field SDABW.Please suggest me what is logic for retrive the values for SDABW.Please suggest me.It is very urgernt.

Thanks,

sairam

2 REPLIES 2

Former Member
0 Kudos

Hi

Try to use the exit POSTAB_DELIVERY_FILL_USER

Max

0 Kudos

Hi,

i write the logic in the postab_delivery_fill_user

TABLES: VBAK.

DATA: WS_C_SDABW LIKE LIKP-SDABW.

SELECT SINGLE SDABW FROM LIKP INTO WS_C_SDABW WHERE VBELN = VBAK-VBELN.

IF SY-SUBRC EQ 0.

MOVE WS_C_SDABW TO CS_POSTAB-ZZSDABW.

ENDIF.

is it correct?Is it necessary to fill the field catelog also?

CS_LAYOUT-BOX_FIELDNAME = 'SDABW'.

CS_LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.

CS_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.

CS_LAYOUT-ZEBRA = 'X'.

APPEND CS_LAYOUT TO CS_LAYOUT.

LT_FKAT-TABNAME = 'SHP_VL10_ITEM'.

LT_FKAT-FIELDNAME = 'ZZSDABW'.

LT_FKAT-OUTPUTLEN = 4.

Lt_FKAT-SETEXT_L = 'SPECIAL PROCESSING INDICATOR'.

APPEND lt_FKAT TO lT_FKAT.

field catelog is required?Because i append the field in the structure SHP_VL10_ITEM the field is showing in the layout.Please suggest me any modifications in the code?Please?

Thanks,

Sairam