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: 

Add date from selection field to report output.

418

Hi All,

I want to add Valid on Date(24/01/2023) from selection screen to the report output header part.

Please guide to proceed further.

Thank you,

Ankita.

4 REPLIES 4

_4ndr3as_
Explorer
0 Kudos
355

Ciao Ankita,

is this a custom report? if yes, you can use the Paramter addition Default value.

PARAMETERS p_valon TYPE date DEFAULT '20230124'.

355

Hi Andreas,

Yes, its a custom report. Actually, date will change as per the requirement. Whichever date we'll pass to the Valid on screen that same one i want in the report output header part.

I just wanted to know whether this can be done in custom report.

Sandra_Rossi
Active Contributor
0 Kudos
355

The answer depends on the ABAP technology used to "report output". Please clarify.

NB: if you don't know what to answer, then you'd better ask a more experienced developer at your place.

former_member736527
Active Participant
0 Kudos
355

This looks like ALV List display. In that case you need to use TOP_OF_PAGE event.

Have a look at the below link, search for TOP_OF_PAGE to see the relevant code.

ALV List event