05-30-2014 11:32 AM
Hi Experts,
When a posted invoice document is opened via FB03, we cannot see the Due on (due date : NETDT) field.
I am aware that we can check the Due date in Vendor Line items via FBL1N.
But is there any way that we can show this field in the posted Doc itself.
Is the screen enhancement only option for this?
Thanks,
Arash
05-30-2014 1:00 PM
You could try to add your required fields (renamed with ZZ prefix) in an append structure of BSEG_ALV, then update the internal table gt_bseg_overview (already generated by the report with some move-corresponding statements), loop at it and derive your added fields in an enhancement of FORM alvbseg_data_init of program SAPMF05L (look for ehp604_mf05lfalv_01) Use a FM like DETERMINE_DUE_DATE.
Regards,
Raymond
05-30-2014 1:00 PM
You could try to add your required fields (renamed with ZZ prefix) in an append structure of BSEG_ALV, then update the internal table gt_bseg_overview (already generated by the report with some move-corresponding statements), loop at it and derive your added fields in an enhancement of FORM alvbseg_data_init of program SAPMF05L (look for ehp604_mf05lfalv_01) Use a FM like DETERMINE_DUE_DATE.
Regards,
Raymond
06-02-2014 2:45 PM
06-04-2014 11:16 AM
Hi Raymond
I wanted small clarification on this one.
If the new ZZ-fields that are added to BSEG_ALV structure are also included in BSEG table as ZZ fields, then we do not need to derive the added fields in an enhancement, right? it will be taken care of by the system automatically?
Please advice.
Thanks.
06-04-2014 2:02 PM
Yes the report store data in a bseg structure and then use some MOVE-CORRESPONDING into final table, so no code required. (Look for "fill ALV data" in include MF05LFALV) But this can be easily checked.
Regards,
Raymond
06-04-2014 2:45 PM