cancel
Showing results for 
Search instead for 
Did you mean: 

CM25 Snote 100114

Former Member
0 Kudos

Dear Friends,

I am seeking help here regarding the Snote 100114.

Our basis downloaded the latest version of the note and implemented it. However I encountered an error after I save the changes in CM25 in our test system. The error message indicates that I am lacking of authorization on CM10. It is weird so I checked the document of the note.

Here it is part of the note documentation:

Solution

Implement the modification in the source code (also for releases higher than Release 3.1I) and make the following changes:

1. Create a new user parameter Call Transaction SE80, select 'Other Objects', then select 'Edit' Create the 'ZCY' user parameter with the following short text: 'Start parameter for capacity leveling (Transaction CM10)' Use a customer-specific development class (Z* or Y*), or create a new development class in the customer namespace.

2. Assign user parameters to the data element Call Transaction SE11, select 'Data element', Enter the object name 'CYCM0XPAR', choose 'Change'. Enter the parameter ID 'ZCY'. Save and activate the data element.

3. Activate the set/get parameter on screen 0050 of the SAPMC65B program: Call Transaction SE51, specify the program SAPMC65B, screen number 0050, Choose 'Change'. Select the 'RC65B-STARTPAR' field, select the FType 'I/O', choose 'Attributes'. Set the 'Set Param.' and the 'Get Param.' indicators. Save and activate the screen.

My question is: should I replace the transaction CM10 by CM25 stated in the solution?

Thanks in advance,

YE Mao




Accepted Solutions (1)

Accepted Solutions (1)

dejoy
Active Contributor
0 Kudos

Hello Mao,

No, use CM10 only as it has been used as "Leave transaction CM10 and skip to first screen" in OSS corrections . Consult your Abap'er for this.

Regards,

Former Member
0 Kudos

Dear Deepak,

Thank you for the valuable input but I didn't completely catch what you have said.

I can see following codes are inserted to include MC65BF01.

*<<<< Begin of insertion - note 100114 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

      IF ERROR IS INITIAL.

        IF RC65B-STARTPAR = '0'.

          RC65B-STARTPAR = 'L'.

        ENDIF.

        SET PARAMETER ID 'ZCY' FIELD RC65B-STARTPAR.

        LEAVE TO TRANSACTION 'CM10' AND SKIP FIRST SCREEN.

      ENDIF.

*<<<< End of insertion - note 100114 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    ENDIF.

my question is why it leads to CM10 instead of CM25? is there something wrong?

regards,

dejoy
Active Contributor
0 Kudos

Hi,

Please check help  http://help.sap.com/abapdocu_70/en/ABAPLEAVE_TO_TRANSACTION.htm

Nothing wrong. As far as I understand when you call CM25, CM10 will execute with first screen and  takes input from CM25.Please understand this with your Abap'er first as I told you earlier and share with forum too.

Regards,

Message was edited by: Deepak Jharkharia

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Mao

Please observe that this note is a 'generic' solution, that will work in all the capacity leveling transactions, such as CM10, CM21, CM25, etc...

Since this is a modification note, the developer choose to keep it simple, therefore, instead of creating a different modification for each transaction, he decided to use CM10 as the base for this development.

Therefore, when leaving transaction CM25, the following command is called:

   LEAVE TO TRANSACTION 'CM10' AND SKIP FIRST SCREEN

The user should not  observe any kind of difference, as the layout on CM10 will be similar to transaction CM25.

The solution in this case is to add transaction CM10 to your authorization profile, in order to avoid any kind of authorization issues.

Best regards
Caetano Almeida

Answers (0)