‎2009 Oct 05 8:56 AM
hi all,
i have created one function module, one of the select option is declared as
S_BELNR TYPE RSELOPTION.
i will have in the select option as
SIGN OPTION LOW HIGH
WE want to declare SIGN and OPTION default in the code itself as
s_belnr-sign = 'I'.
s_belnr-option = 'EQ'.
Append s_belnr.
but an error has been occured as S_BELNR is table without a header line and therefore has no component called 'SIGN'.
Please let me know how to delcare them default.
thanks in advance
‎2009 Oct 05 9:01 AM
Hi Sainath,
You can define SELECT-OPTIONS like below
Thanks
Venkat.O
DATA :s_belnr TYPE RANGE OF bseg-belnr,
w_belnr like line of s_belnr.
‎2009 Oct 05 9:05 AM
if i declare as
DATA :s_belnr TYPE RANGE OF bseg-belnr,
w_belnr like line of s_belnr.
getting an error as
s_belnr has already declared.
‎2009 Oct 05 9:09 AM
Hi,
Comment the one previously defined.It might be the below.
Thanks
Venkat.O
S_BELNR TYPE RSELOPTION.
‎2009 Oct 05 10:53 AM