cancel
Showing results for 
Search instead for 
Did you mean: 

Any SE38 program to activate update rules of a client?

Former Member
0 Kudos

We know that RS_TRANSTRU_ACTIVATE_ALL is for activating transfer rules of a client, but we do need one program to activate update rules as well. If anyone knows, please let us know.

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

see here.

Have fun

Former Member
0 Kudos

Hi,

modify  the program in this way:

  • Copy the program  RSAU_UPDR_REACTIVATE_ALL_1 renaming

         ZRSAU_UPDR_REACTIVATE_ALL_1

          modify this line: i_objvers = M

                 CALL METHOD l_r_updr->activate
                          EXPORTING
                        i_objvers          = 'M'
                        i_with_cto         = rs_c_false
                        i_force_activation = rs_c_true
                        i_with_authority   = rs_c_false
                   IMPORTING
                   e_r_msg            = l_r_msg
                   EXCEPTIONS
                        error              = 1
                     OTHERS             = 2.
                 IF sy-subrc <> 0.
                 CALL METHOD l_r_msg->add_msg.
                   ENDIF.

  • Copy the program  RSAU_UPDR_REACTIVATE_ALL renaming

         ZRSAU_UPDR_REACTIVATE_ALL

          modify this line:

          LINE 33-->

         l_objvers = 'M'.
         l_objstat = rs_c_objstat-inactive.

        LINE 85-->

        SUBMIT zrsau_updr_reactivate_all_1 AND RETURN.

       thanks

edwin_harpino
Active Contributor
0 Kudos

hi Kevin,

try RSAU_UPDR_REACTIVATE_ALL

for comm structure RS_COMSTRU_ACTIVATE_ALL

hope this helps.

Former Member
0 Kudos

hi Bhanu/AHP,

We run the program RSAU_UPDR_REACTIVATE_ALL which bring us to the following input screen with the following three parameters:

ID for update rules

InfoCube

InfoSource

I fill in InfoCube field and then click execute button, but the status bar shows "No messages exist", and it seems going nowhere!

Background info: we've got one cube A and cube A feed data to three different cubes B, C, and D. The update rules from A to B, C, and D are inactive after transport to TEST system from DEV. We've tried many times to activate these three update rules on DEV system and transport CRs to TEST, but always unsuccessful! We are not authorized to activate these three update rules on TEST system, but we used to be successful to run RS_TRANSTRU_ACTIVATE_ALL to activate transfer rules on TEST that remind us of running program on TEST to activate update rules, but we have never run this program before and no idea on how to make it continue. When we open the three inactive update rules on TEST, find all the key figures are marked as red.

Any idea on how to run this program?

Thanks

Message was edited by: Kevin Smith

former_member188975
Active Contributor
0 Kudos

Hi Kevin,

Did you fill in all the details, or just InfoCube name?

Former Member
0 Kudos

hi Bhanu,

I've just added more background information to my last post. Let's assume that we would activate the update rule from cube A (0PUR_C01) to cube B, I fill in the following three parameters:

ID for update rules: 80PUR_C01

InfoCube: B

InfoSource: no idea

Always get the msg "No messages exist

Message no. R7896" on the status bar.

Any idea?

former_member671571
Participant
0 Kudos

Hi,

In your case it should be like this:

ID for update rules:

(Need to get the ID for update rules: Open the update rules and goto Extras -> Object Dictionary Entry. You will get the update rules ID)

InfoCube: B

InfoSource: 80PUR_C01

I hope this helps.

Former Member
0 Kudos

hi Ram,

I input all the three parameters as you suggested, but still get the msg "No messages exist" on the status bar.

Any idea?

BTW, we run the same program on our DEV system and input all the three parameters as you suggested without any problem, maybe we don't have enough authorization or some install missing on our TEST system that it always shows the above msg?

Thanks

Message was edited by: Kevin Smith

former_member188975
Active Contributor
0 Kudos

Hi Kevin,

You can try RSAU_UPDR_REACTIVATE_ALL.

Hope this helps...