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: 

Showing Due date for a posted document in FB03

Former Member

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

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

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

5 REPLIES 5

raymond_giuseppi
Active Contributor
0 Kudos

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

0 Kudos

Thanks a lot for your help, Raymond!

0 Kudos

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.

0 Kudos

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

0 Kudos

Thanks again!