‎2013 Jan 30 8:24 AM
Hi All,
I have called program rqmell20 for Tcode 'QM12' using submit. It is working for notification, date fields but when I pass the values to check boxes in notif. status block (Outstndng , Postponed ) it gives me error: '
No objects were selected
Message no. IH047
System Response
No objects could be selected that met your selection criteria.
'.
Below is my code.
TABLES: rqmqmel.
data: DY_IAR value 'X'.
SELECT-OPTIONS: qmnum FOR rqmqmel-qmnum NO-DISPLAY,
qmdat FOR rqmqmel-qmdat NO-DISPLAY.
**parameters : DY_IAR as checkbox.
**DY_IAR = 'X'.
qmnum-low = '2000014'.
qmnum-high = ''.
qmnum-sign = 'I'.
qmnum-option = 'EQ'.
APPEND qmnum.
qmdat-low = ''.
qmdat-high = ''.
qmdat-sign = 'I'.
qmdat-option = 'BT'.
APPEND qmdat.
SUBMIT rqmell20 WITH qmnum IN qmnum
with qmdat in qmdat
with DY_IAR eq 'X'
AND RETURN.
Kindly help.
Thanks n Regards,
Ashmita.
‎2013 Jan 30 9:30 AM
Check this Code .
TABLES: RQMQMEL.
DATA: DY_IAR VALUE 'X',
P_REPID LIKE SY-REPID .
SELECT-OPTIONS: QMNUM FOR RQMQMEL-QMNUM NO-DISPLAY,
QMDAT FOR RQMQMEL-QMDAT NO-DISPLAY.
P_REPID = 'RQMELL20' .
SUBMIT (P_REPID) WITH QMNUM IN QMNUM
WITH QMDAT IN QMDAT
WITH DY_IAR EQ 'X'
WITH TASKOPEN EQ ' '
AND RETURN.
Regard's
Smruti
‎2013 Jan 30 8:55 AM
Hi Ashmita,
QMDAT you are not passing any values. Just comment these lines.
qmdat-low = ''.
qmdat-high = ''.
qmdat-sign = 'I'.
qmdat-option = 'BT'.
APPEND qmdat.
Now It will work because when you are not passing anything to QMDAT then the system automatically passes blank range and no need for us to create one and pass it explicitly.
Let me know if the problem still exists.
Thanks,
Tooshar Bendale
‎2013 Jan 30 9:01 AM
HI Tooshar,
When I run qm12 alone the date comes by default which i have to clear from z program, that is why I am passing null values to those.
Regards,
Ashmita
‎2013 Jan 30 9:09 AM
Hi Ashmita,
In background when you execute the program rqmell20 the dates are passed blank so the default dates do not appear. I have tried this and remove the QMDAT code it works..
Thanks,
Tooshar Bendale
Thanks,
Tooshar Bendale
‎2013 Jan 30 9:38 AM
Hi,
in Tcode it is having null value means you doesn't have to pass anything and doesn't mean that you manually have to pass NULL values.
thanks.
‎2013 Jan 30 9:30 AM
Check this Code .
TABLES: RQMQMEL.
DATA: DY_IAR VALUE 'X',
P_REPID LIKE SY-REPID .
SELECT-OPTIONS: QMNUM FOR RQMQMEL-QMNUM NO-DISPLAY,
QMDAT FOR RQMQMEL-QMDAT NO-DISPLAY.
P_REPID = 'RQMELL20' .
SUBMIT (P_REPID) WITH QMNUM IN QMNUM
WITH QMDAT IN QMDAT
WITH DY_IAR EQ 'X'
WITH TASKOPEN EQ ' '
AND RETURN.
Regard's
Smruti
‎2013 Feb 04 1:26 PM