2005 Jul 04 12:57 PM
Hi friends,
i need to pass values date_from and date_to of FM BAPI_AR_ACC_GETSTATEMENT in my report. i have select-option in the selection screen for the posting date i.e, s_pstgdate-low = date_from and s_pstgdate-high = date_to.
My question is how to pass values if the user enters multiple entries in s_pstgdate (selection-screen).
Hope i'm clear with my question.
Thanks in anticipation.
Regards
Poorna
2005 Jul 04 1:20 PM
Hi,
Loop at s_pstgdate.
refresh i_LINEITEMS.
....pass low & high parameters
..make the table as i_lineitems
append lines of i_lineitems to itab.
endloop.
Finally in itab table,you can find all the entries.
2005 Jul 04 1:08 PM
Hello,
I use select-options : s_pstgdate for ...
no-extension
.Frédéric
2005 Jul 04 1:10 PM
Hi,
This is not possible.
You may wish to call it multiple times with each row of your select-option, and consolidate the returned records.
Better is to restrict the select-option with no-extension.
cheers,
2005 Jul 04 1:20 PM
Hi,
Loop at s_pstgdate.
refresh i_LINEITEMS.
....pass low & high parameters
..make the table as i_lineitems
append lines of i_lineitems to itab.
endloop.
Finally in itab table,you can find all the entries.
2005 Jul 04 1:40 PM
Thanx Jayanthi Jayaraman
i thought of the same solution. i think this is the only way.
poorna
2005 Jul 04 1:36 PM
Hi,
and what is with sign = 'E' and options besides 'EQ'
-> i think simplest solution is to use 2 parameters
'from' and 'to'
regards Andreas
2005 Jul 04 1:42 PM