10-18-2017 3:59 PM
I try quite a program from yesterday and today. it is very difficult. i need me help.
type-pools: catco.
TABLES: catsco,
catscosum,
catscolist,
ccatscosum.
TYPES: BEGIN OF WA_CATSCOLIST,
PERNR TYPE CATSCOLIST-PERNR,
END OF WA_CATSCOLIST.
DATA: gt_lock_pernr TYPE TABLE OF WA_CATSCOLIST WITH HEADER LINE,
lt_pern TYPE WA_CATSCOLIST,
r_pern TYPE RANGE OF CCHRS_PERNR_RANGE,
lr_pern LIKE LINE OF r_pern,
t_pern TYPE string.
SELECT DISTINCT pernr INTO TABLE gt_lock_pernr FROM CATSCO WHERE pernr = '27892'.
LOOP AT gt_lock_pernr.
MOVE: gt_lock_pernr TO lr_pern-low,
'I' TO lr_pern-sign,
'EQ' TO lr_pern-option.
APPEND lr_pern TO r_pern.
CLEAR lr_pern.
ENDLOOP.
*LOOP AT gt_lock_pernr INTO lt_pern.
* WRITE:/ lt_pern-pernr.
*ENDLOOP.
SUBMIT RCATSTCO
"WITH SELECTION-TABLE gt_lock_pernr
WITH PER in r_pern
"WITH SELECTION-TABLE r_pern
AND RETURN.
10-18-2017 5:04 PM
10-19-2017 7:06 AM
I need to implement Multiple Selection Matchcode and Submit with Selection-Option for RCATSTCO from cat7, but not successfully and always locked with 806 from cat7.
10-19-2017 7:28 AM
Did you read the message long text (KI 806 with SE91)
Either unlock the period lock for activity RKL (via the link provided in message) or pass correct values (dates) to the missing related parameters of RCATSCO (or define and use a variant)
Better ask functionals or perform first some tests with transactions CAT7 or CATA.
10-19-2017 7:37 AM
10-19-2017 7:39 AM
10-19-2017 12:33 PM
Please, use the 'Comment on this answer' option so I would be notified of your answer. (Here you are answering to your original question)
Also what is 'It', the Customizing option (lock period) must not be ignored with a dirty parameter in the submit of an interface.
(Actually period can be opened with report RKCOOP1 for CO like RFPERIOD_OPEN for FI , but ask functional))
10-19-2017 7:50 AM
Yes of course, I first try to executed on SE38 for RCATSTCO. It should enter with personnel number, and then display the employee and working time. It still remains difficult.
10-20-2017 7:24 AM
I'm sorry. Submit for RCATSCO is completed. I've found a good example for Submit with rsparams. It's problem solving. Thank all.