Application Development and Automation 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: 

Hoow to Read selection screen values of standard transaction code to a Badi

Aditya
Participant
0 Kudos
685

Hi everyone,

I am implementing a Badi (HRALE00OUTBOUND_IDOC) of standard transaction code PFAL.

I need to use the parameters of PFAL (e.g: dates given on selection screen) in to my newly implemented Badi.

The reason for this is I need to use few conditions in the Badi with the date selected on the selection screen. I aware of the FM DYNP_VALUES_READ to read the selection screen values, but can I use the same in the FM? or suggest any alternate to read?

Please see the attachment of the PFAL transaction code.

Regards,

Shekhar

2 REPLIES 2

Former Member
0 Kudos
327

I believe you may try something like the following:

" Fetch "Today" field value.

FIELD-SYMBOLS: <lv_today> TYPE pchztr_d.

ASSIGN ('PCHDY-ZTR_D(RHALEINI)') TO <lv_today>.

Juwin
Active Contributor
0 Kudos
327

Hi,

You should be able to use RS_REFRESH_FROM_SELECTOPTIONS, to get the required data.

Thanks,

Juwin