2009 May 07 2:29 PM
Hi Experts,
I would like to add a column in the report LX03. Can anyone please suggest if it is possible.
Warm Regards,
Abdullah
Hi Experts,
I would like to add a column in the report LX03. Can anyone please suggest if it is possible.
Warm Regards,
Abdullah
2009 May 07 2:35 PM
ya its possible, but its not suggestible to modify the standard programs. If you want to enhance this program then copy the same program and modify where ever required.
While copying u can use below:
Transaction: LX03
Program Name: RLS10030
Logical database: S1L
Satyasuresh Donepudi
2009 May 07 2:39 PM
hi,
try BADI: SCM_TRM_COORD_ADD_D (+add append structure to RL030)
or in easier method:
copy LX03 transaction to new one (ZLX03)...
regards, darek
2009 May 07 3:07 PM
@Satyasuresh
I want to enhance the report and add one column using some exit/badi.
@ Darek
Can you please elaborate how can I use the badi you specified as it is directly taking me to the type pool slis.
regards,
Abdullah
2009 May 07 3:18 PM
structure RL030 does not have a customer append available. Is it advisable creating my own append here? Or should I create a copy of this report and the structure as well?
2009 May 07 11:09 PM
hi
about append structure method look at:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
to implement extra column in lx03 you must:
1. add zzfield to RL030 via append structure
2. create implementation of BADI SCM_TRM_COORD_ADD_D with
code which:
2.1. modify field catalog by adding your zzfield
2.2. change via assign technique content of internal table
(RLS10030)itab[]
regards, darek
2009 Jul 31 7:50 PM
Hi.
This BADI, SCM_TRM_COORD_ADD_D, is only provided for SAP internal use.
You must implement an enhancement for rerpot RLS10030. This enhancement could be for 3 operations:
1. Add field for the internal table 'itab'. Something like:
data: begin of itab occurs 0.
include structure rl030. " LAGP- u. LQUA-Felder
data: dauer like dauer,
virgo like lqua-virgo,
lsonr like rl01s-lsonr.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$SE:(1 ) Struct. ITAB, End S
*$*$-Start: (1 )--------------------------------------------------------------------------------$*$*
enhancement 1 zenh_des_mate_repo_wm_lx03. "active version
* JAS 31.07.2009 - Incluir la descripción del producto
data: maktx like makt-maktx.
* FIN JAS 31.07.2009 - Incluir la descripción del producto
endenhancement.
*$*$-End: (1 )--------------------------------------------------------------------------------$*$*
data: end of itab.
2. Add filed to the ALV catalog. Something like:
append afield to xfield.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$SE:(2 ) Form FELDKATALOG_AUFBAUEN, End D
*$*$-Start: (2 )--------------------------------------------------------------------------------$*$*
enhancement 2 zenh_des_mate_repo_wm_lx03. "active version
* JAS 31.07.2009 - Incluir la descripción del producto
* Se va a colocar en el catalogo la descripcion del producto
data: idx like sy-index.
idx = 4.
clear afield.
afield-fieldname = 'MAKTX'.
afield-ref_tabname = 'MAKT'.
insert afield into xfield index idx.
* FIN JAS 31.07.2009 - Incluir la descripción del producto
endenhancement.
*$*$-End: (2 )--------------------------------------------------------------------------------$*$*
endform. " FELDKATALOG_AUFBAUEN
3. Add the information refers to the material description for each registry in the internal table 'itab' before call function 'REUSE_ALV_LIST_DISPLAY'.
Regards, Julian.
2009 Jul 22 1:33 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |