10-21-2015 12:11 PM
Hi all,
I have to quick fix an issue So ,copied the SAP Standard transaction MDS_LOAD_COCKPIT into ZMDS_LOAD_COCKPIT program
Activated all the includes,program and screens and created the Z Transaction for the same.
The standard sap transaction MDS_LOAD_COCKPIT is executing perfectly, But the copy ZMDS_LOAD_COCKPIT transaction is executed without errors however
the screens are rendered in display mode. am not able to switch it to change mode .
Do I need to make any other changes in the include ?
Best Regards,
Vicky
10-21-2015 12:26 PM
Did you look for usage of SY-TCODE or SY-REPID in the standard report (e.g. reading information on transaction in some system table) and for constants as ' MDS_LOAD_COCKPIT' or 'MDS_LOAD' ?
Regards,
Raymond
10-21-2015 12:26 PM
Did you look for usage of SY-TCODE or SY-REPID in the standard report (e.g. reading information on transaction in some system table) and for constants as ' MDS_LOAD_COCKPIT' or 'MDS_LOAD' ?
Regards,
Raymond
10-21-2015 12:41 PM
Hi Raymond,
Thank you for the quick response.
Yes I looked out for SY-REPID and constants ' MDS_LOAD_COCKPIT' .
Do I need to reset these constants to my new custom ZMDS_LOAD_COCKPIT report ?
Best Regards,
Vicky
10-21-2015 12:59 PM
If you want to use a copy of program (*) yes when related to current report (e.g. subscreen dynpro call or some FM hat require repid to execute some form in caller), but also check if those are used in where criteria of some SELECT statements, you may have to add some record to system tables or not always translate the value.
Regards,
Raymond
(*) DId you first try to use some enhancement of program ?
10-21-2015 2:11 PM
Hi Raymond,
Thank you for the help.
I could fix some of the issues by changing the dynpro references . Now the fields are rendered
in change mode but still the copy of the sap transaction ( in my case ZMDS_LOAD_COCKPIT ) behaves
in a different way when compared to standard sap tcode.
I get the error message like "Select Valid function " when I execute the Z report .
I cant work with just enhancement because need to tweak standard sap logic in some of the includes.
Regards,
Vicky
10-21-2015 3:34 PM
Did you copy/activate CUAD status, also perform a SQL trace to identify required system table with keys as tcode or repid.