04-23-2007 11:17 AM
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
04-23-2007 11:24 AM
04-23-2007 11:27 AM
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
04-23-2007 12:12 PM
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
04-23-2007 12:13 PM
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
04-23-2007 12:19 PM
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
04-23-2007 12:36 PM
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
04-23-2007 1:00 PM
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
04-23-2007 1:07 PM
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
04-24-2007 4:55 AM
HI,
Can u explain me How to add the field?
Thanks & regards,
sairam
04-24-2007 4:59 AM
04-24-2007 5:17 AM
04-24-2007 5:26 AM
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.
04-24-2007 5:47 AM
04-24-2007 5:49 AM
04-24-2007 5:54 AM