on 12-12-2008 10:50 AM
Dear Experts,
I am using solution manager standard report crm_dno_service_monitor...
How to write submit program for this,,
i had tried with
submit crm_dno_service_monitor "standard report name
with pstatsiv eq 'e0001'
with spost-low eq '01.12.2008'
with spost-high eq '10.12.2008'
with sproc-low eq 'ent1'
and return.
but it return all the values of the report without considering the selection criteria which i have mentioned in the submit program.. how to do this can any one help me...., then initially i have to clear all the fields
what will be the parameter for this ,, for hr related reports there is a parameter called pnptimed , when i set this parameter to ' ' (null) all the values are cleared...
Waiting for your valuable responses,,
Thanks and Regards,
Thiru. R
Dear Experts,
Waiting for your valuable responses...
Thanks and Regards,
Thirukumaran. R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thiru,
Look at the program line from 146 to 154.
*********************
we take care of the status
IF NOT pstatsiv IS INITIAL.
REFRESH sstat.
CLEAR sstat.
sstat-sign = 'I'.
sstat-option = 'EQ'.
sstat-low = pstatsiv.
APPEND sstat.
CLEAR pstatsiv.
ENDIF.
***********************
Program reassigns the value of the field "pstatsiv" to the field "sstat" and clears the value of the field "pstatsiv" if you mention any value to field "pstatsiv".
Look at the program line from 657 to 706 where all the entered values are taken into account
**************************
call report in dark-mode (D) to select data again
SUBMIT crm_dno_service_monitor
WITH p_item = gv_read_items
WITH p_notifh = gv_read_notifh
WITH p_notifs = gv_read_notifs
WITH p_selmod = 'D'
WITH spost IN spost
WITH spartner IN spartner
WITH sfunct IN sfunct
WITH sobject IN sobject
WITH sproc IN sproc
WITH schange IN schange
WITH createat IN createat
WITH createby IN createby
WITH desc IN desc
WITH ponum IN ponum
WITH sreqt IN sreqt
WITH sgoal IN sgoal
WITH sdirec IN sdirec
WITH scat IN scat
WITH sprio IN sprio
WITH catalog IN catalog
WITH codegrup IN codegrup
WITH code IN code
WITH prod_id IN prod_id
WITH pro_loc IN pro_loc
WITH ser_org IN ser_org
WITH eser_org IN eser_org
WITH pcard_no = pcard_no
WITH pcard_tp = pcard_tp
WITH pmy = pmy
WITH poffice = poffice
WITH pcoll = pcoll
WITH pteam = pteam
WITH pstatop = pstatop
WITH pstatcl = pstatcl
WITH pstatal = pstatal
WITH pstatsiv = pstatsiv
WITH sstat IN sstat
WITH s_comp IN s_comp
WITH s_mstat IN s_mstat
WITH s_mnumm IN s_mnumm
WITH s_solnum IN s_solnum
WITH s_buspro IN s_buspro
WITH s_pronum IN s_pronum
WITH p_vari = space
WITH instance IN instance
WITH prod_nr IN prod_nr
WITH iobject IN iobject
AND RETURN.
*******************
It considers the values for all fields(whatever we give) except the field "pstatsiv" which is reset in line from 146 to 154(which i mentioned above).
So don't give any value to field "pstatsiv" and try.
Note: You may also give the relevant status to field "sstat" if applicable.
Regards,
Sanjai
Hi Sanjay,
In you code
WITH pstatsiv = pstatsiv
WITH sstat IN sstat
WITH s_comp IN s_comp
WITH s_mstat IN s_mstat
WITH s_mnumm IN s_mnumm
WITH s_solnum IN s_solnum
WITH s_buspro IN s_buspro
WITH s_pronum IN s_pronum
WITH p_vari = space
WITH instance IN instance
WITH prod_nr IN prod_nr
WITH iobject IN iobject
SUBMIT crm_dno_service_monitor
with <screen field name > in sstat
and return.
Instead of screen field name what is sstat i cant understand can you explain in simple manner
Thanks and Regards,
Thiru. R
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.