Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Submit for RCATSTCO

Former Member
0 Likes
2,537

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.


8 REPLIES 8
Read only

Jelena_Perfiljeva
Active Contributor
2,235

What is your question exactly?

Read only

Former Member
0 Likes
2,235

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.

Read only

RaymondGiuseppi
Active Contributor
2,235

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.

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,235
Did you first try to run the program RCATSTCO using SE38? What do you get?
Read only

Former Member
0 Likes
2,235

It can't be with submit program?

Read only

2,235

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))

Read only

Former Member
0 Likes
2,235

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.

Read only

Former Member
0 Likes
2,235

I'm sorry. Submit for RCATSCO is completed. I've found a good example for Submit with rsparams. It's problem solving. Thank all.