2006 Jul 13 11:01 AM
hi all,
Ive copied RIEQUI21 into a custom report ZRIEQUI21 , in which iam commenting the code for classification tab.
The only problem is the search help for:
"status included" & " status excluded" of general data tab is not being shown ?
many thanxs
2006 Aug 11 12:27 PM
Ciao AS!
i'm new here.
i had same problem. this is your solution:
write in the initialization-area:
DATA: p_obtyp(3) TYPE c VALUE 'OVG'.
EXPORT p_obtyp TO MEMORY ID 'PM_OBTYP'.
with this statement the search object exit works ok.
by
2006 Jul 13 11:06 AM
Hello AS,
Are U using like this.
STAI1 FOR RIHEA-I_ESTATIN MATCHCODE OBJECT I_STATUS ,
STAE1 FOR RIHEA-I_ESTATEX MATCHCODE OBJECT I_STATUS
Check whether the Serach help I-STATUS available in ur system.
Also a search help exit IMCH_STATUS_EXIT is attached in the search help I_STATUS.
Check this also.
If useful reward points.
Regrads,
Vasanth
2006 Jul 13 11:13 AM
hi,
when i execute the original report RIEQUI21 the search help i_status is available but when i run the copied report its not visible. both the reports are on the same system.
regards.
Message was edited by: AS
Message was edited by: AS
2006 Jul 13 11:40 AM
Hello AS,
I am not understanding ur point. Since Serach help are globall dictionary objects so it should reflect in ur report also.
In the report RIEQUI21, They have decleared the structure like this.
DATA: BEGIN OF H_WA_SYS,
STATUS TYPE I_STATUS,
TEXT TYPE TEXT30,
STATUS_INT TYPE J_ISTAT,
END OF H_WA_SYS.
DATA: BEGIN OF H_WA_USR,
SCHEMA TYPE J_STSMA,
STATUS TYPE I_STATUS,
TEXT TYPE TEXT30,
STATUS_INT TYPE J_ESTAT,
END OF H_WA_USR.
Please check whether U Have commented these parts.
If yes uncomment these things and check.
Or
Create One more serach helpie) copy the search help I_STATUS to ZI_STATUS.
Use like this
STAI1 FOR RIHEA-I_ESTATIN MATCHCODE OBJECT ZI_STATUS ,
STAE1 FOR RIHEA-I_ESTATEX MATCHCODE OBJECT ZI_STATUS ,
If useful Reward points.
Regards,
Vasanth
2006 Jul 13 12:04 PM
hi,
I havent commented the serach help declaration structure in the report. but i did create a copy of the search help ie zi_status & used it in the copied report iam getting the following error:
"search help internal error: destroy tab2".
thanx& regards
2006 Aug 11 12:27 PM
Ciao AS!
i'm new here.
i had same problem. this is your solution:
write in the initialization-area:
DATA: p_obtyp(3) TYPE c VALUE 'OVG'.
EXPORT p_obtyp TO MEMORY ID 'PM_OBTYP'.
with this statement the search object exit works ok.
by
2006 Aug 11 12:47 PM
hi,
welcome to sdn & thanx a lot u really solved my problem.
but can u tell me please why are we giving the code in "initialization" event.
regards.
2006 Aug 11 1:09 PM
hi,
the initialization event is the really first event when executing abap-report.
there is in the matchcode-object-exit 'IMCH_STATUS_EXIT' in matchcode-object I_STATUS following form:
<i>FORM GET_OBTYP CHANGING P_OBTYP LIKE JSTO-OBTYP.
CASE SY-CPROG.
WHEN 'RIQMEL20' OR 'RIQMEL40' OR 'RIQMEL60'.
P_OBTYP = 'QMI'.
WHEN 'RIEQUI20' OR 'RIEQUI21'.
P_OBTYP = 'IEQ'.
WHEN 'RIAFVC10' OR 'RIAFVC20'.
P_OBTYP = 'OVG'.
WHEN 'RIIFLO20'.
P_OBTYP = 'IFL'.
WHEN 'RIAUFK20'.
P_OBTYP = 'ORI'.
WHEN 'RIQMEL30'.
P_OBTYP = 'QA1'.
WHEN 'RIMPLA00'.
P_OBTYP = 'WPL'.
************************************************************************
note 313728 : INSERT
************************************************************************
WHEN OTHERS.
read object type from memory with ID PM_OBTYP
<b>import p_obtyp from memory id 'PM_OBTYP'.</b>
if sy-subrc = 0.
object type found, exit processing
exit.
endif.
************************************************************************
ENDCASE.
ENDFORM.</i>
the export to memory is necesary for the exit.
i hope i did not make too much errors in my english, sorry
ciao
2006 Aug 11 1:18 PM
... something more... u work with a copy of RIEQUI21...
so you better put 'IEQ' behind the value-statement..
regards