on 08-20-2014 9:51 AM
hi
when we run fbl1n for vendors or fbl5n for customer we are getting only vendor or customer code, how to get vendor name and customer name in same sap standard report
please suggest
regards
yuvraj singh
Hi Yuvraj,
Do you want to add the field in report output. If so you can either create enhancement or you can copy report program to z and do all the additional changes you wanted to do.
Regards,
Dnyaneshwar Lande
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yuvraj,
For FBL5N go to report RFITEMAR and check for FM FI_ITEMS_DISPLAY and this is where the items are getting displayed on the screen.
GT_FIELDCAT[] this is the table name which will have all the filelds to be displayed.
Please check there and add the NAME1 in that same data will be available in IT_POS Table.
Regards,
Dnyaneshwar Lande
SAP ABAP Consultant
hi lande
i opened the report RFITEMAR and checked FM FI_ITEMS_DISPLAY as below :,
call function 'FI_ITEMS_DISPLAY'
exporting
caller_repid = c_repid_ar
acctype = c_koart_ar
x_change = x_change
i_u_save = gd_alvsave
is_u_variant = gs_variant
it_u_fieldcat = gt_fieldcat[]
then i click on gt_fieldcat[], and get the following :
data: it_t021s like t021s occurs 1 with header line,
it_spectab type tpit_t_tabstat with header line,
it_specfld type tpit_t_fldstat with header line,
it_movefld type tpit_t_fldmove with header line,
it_moveref type tpit_t_refmove with header line,
it_kkcurr type tpit_t_kkcurr with header line,
it_selscreen like rsparams occurs 10 with header line,
it_dyn_trange type rsds_trange with header line,
it_dyn_texpr type rsds_texpr with header line,
it_callback like ldbcb occurs 10 with header line,
gt_selscreen like rsparams occurs 10,
gt_dyn_trange type rsds_trange,
gt_searchpattern type syldb_sp,
gt_dyn_texpr type rsds_texpr,
it_central type tpit_t_central with header line,
gt_fieldcat type slis_t_fieldcat_alv with header line.
now what next, where to add name1, please suggest
regards
yuvraj
Hi Yuvraj,
Are you this much new to ABAP??
Do you at least know about debugging ?? and this is ALV please check if you have the filed already added and just need to change layout.
Put a debug point there on the Fm and execute FBL5N so that you will understand processing.
and then let me know if you need help in that.
Thanks
Dnyaneshwar Lande
Hi,
a. Add the news fields in structure RFPOS and RFPOSX by APPEND structure
b. Run the report RFPOSXEXTEND in order to update the structure RFPOSXEXT from RFPOSX
(this report has to be run in every enviroment, dev, test and prod)
c. Active the BTE 00001650 in order to create a fm as copy of SAMPLE_INTERFACE_00001650:
d. here insert the code you need to fill your new field.
e. Use trx FIBF to active the BTE, trx SE37 to create the new fm
Just now I have incorporated a requirement of adding additional customer field in FBLN5 using BTE enhancement. It works fine.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.