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: 

How to add new fields to standard alv report

Former Member
0 Kudos

Hi,

Tcode(VL10G) .ie.out put list will not showing one new field.I want to add one more field to output list. append the field(VIKP-SDABW) In the SHP_VL10_ITEM structure .And write the logic in the exit LV50R_VIEWG05----


>USEREXIT_PREPARE_LAYOUT_FILL.Please expain what is the process?

Why i have write the code?what logic i will write?

Thanks & Regards,

sairam

15 REPLIES 15

Former Member
0 Kudos

Sorry,where i have write the code?

Thanks,

sairam

former_member404244
Active Contributor
0 Kudos

Hi,

add one field in the structure SHP_VL10_ITEM by append structure method..Now activate the structure.now u can write the logic in the exit LV50R_VIEWG05.Actually in this exit ur structure SHP_VL10_ITEM will have values...now u can write the logic for ur requirement...

Regards,

Nagaraj

0 Kudos

Hi,

i want to the one field likp-sdabw.SHP_VL10_ITEM contain this field.

can u give me example of logic?

Thanks & regards,

sairam

0 Kudos

Hi,

i want to add one field likp-sdabw.SHP_VL10_ITEM contain this field.

can u give me example of logic?

Thanks & regards,

sairam

0 Kudos

Hi,

SDABW field of LIKP was not there in SHP_VL10_ITEM

in the user exit program write a select statement to LIKP using the field

SHP_VL10_ITEM -VBELV (delivery) and fetch this field and populate .

reward if useful

regards,

Anji

0 Kudos

Hi,

SDABW field is not there in SHP_VL10_ITEM.But first i will append this field into this structure.But How to fill this field in this userexit_prepare_layout_fill.

How to fill?

Thanks,

sairam

0 Kudos

Hi,

SDABW field is not there in SHP_VL10_ITEM.But first i will append this field into this structure.But How to fill this field in this userexit_prepare_layout_fill.

How to fill?

Thanks,

sairam

former_member404244
Active Contributor
0 Kudos

Hi,

u need a access key inorder to put ur logic.after u append the field to the structure,then go to SE38,give the include name LV50R_VIEWG05 and then press on change.U iwll find one perform statement LAYOUT_FILL_STANDARD

double click on it.Now it will take u to other include...LV50R_VIEWH14.here u need to add the field to the alv dispaly which u want to populate.Thats it..For this u should have access key.Alv display already prepared so just add ur field to the layout set..

Regards,

Nagaraj

0 Kudos

HI,

Can u explain me How to add the field?

Thanks & regards,

sairam

0 Kudos

suppse u work with alv

then

add new code for field catlog part

0 Kudos

Hi,

Can u expain with example?

Thanks & regards,

sairam

0 Kudos

FORM ZI004_FIELDCAT_MOULD .

*

wa_fieldcat-fieldname = 'ZMLDCDID' . "Mould Code ID

wa_fieldcat-tabname = 'IT_MLDETAILS' .

wa_fieldcat-outputlen = 40 .

wa_fieldcat-seltext_l = text-010 .

APPEND wa_fieldcat TO it_fieldcat.

CLEAR wa_fieldcat.

*

wa_fieldcat-fieldname = 'ZMLDID' . "Mould ID

wa_fieldcat-tabname = 'IT_MLDETAILS' .

wa_fieldcat-outputlen = 20 .

wa_fieldcat-seltext_l = text-011 .

APPEND wa_fieldcat TO it_fieldcat.

CLEAR wa_fieldcat.

*

wa_fieldcat-fieldname = 'ZMLDCODE' . "Mould Code

wa_fieldcat-tabname = 'IT_MLDETAILS' .

wa_fieldcat-outputlen = 40 .

wa_fieldcat-seltext_l = text-012 .

APPEND wa_fieldcat TO it_fieldcat.

CLEAR wa_fieldcat.

endform.

0 Kudos

Thanku.Now iam giving bonus points to u.

Thanks & Regads,

sairam

0 Kudos

I gave a bonus points to u.

Thanks,

sairam

0 Kudos

why you problem not yet solved?