Quantcast
Channel: SCN : Popular Discussions - Custom Code Management
Viewing all 731 articles
Browse latest View live

Custom Code References

$
0
0

Hi Experts

 

Quick question(s) this:  Should the /SDF/CC_REFERENCES job be running in the managed production system and should the CC Ref extractor be triggered for the production managed system?

 

Currently I only have the Object, UPL and a custom extractor running for my production managed systems and my housekeeping trigger job is failing due to the table CCREF Input table being empty.

 

Thanks

Ian


TextEdit UI element Enable/Disable for User input Dynamically Webdynpro

$
0
0

Hi Experts,

 

I have an TextEdit UI element in my Output and this needs to be Enable/Disable for User input Dynamically based on a condition. Buy default it will be enabled for user input.

 

 

As CL_WD_TEXT_EDIT is a protected class, I have created custom class as a sub class of CL_WD_TEXT_EDIT and tried SET_ENABLED and SET_DISPLAY_ONLY both the methods. But it's not working for me.

 

Please suggest is there any way to achieve the same.

 

Thanks,

Viswanath

Why I haven't settings menu and active systems?

$
0
0

Hi, people!

 

I haven't settings menu and active systems (Transaction CCLM)

 

My system

 

Снимок1.PNG

 

How it looks in other systems

 

Снимок2.PNG

ATC not checking code in user exit includes

$
0
0

Dear Friends,

 

I'm not sure if you have faced this issue, but I have not found anyone or any post or any document or any OSS note talking about it.

 

I've recently have realized than when using ATC for checking the custom code of an Z include it was finding cero errors when it was actually full of them.

 

In fact using code inspector, the errors where found. It was not an issue of using a different variant, this was checked, CI and ATC are using the same,

 

The issue itself was clear: When the ATC checks a parent object its checks the code of its includes. If you try to check an include directly with ATC, it is ignored with message "No checks are available for the objects types", giving the chance to "add master program" so it will be checked when the master program is checked with all its includes. Last, ATC neither Code Inspector checks custom code.

 

The end result is that when trying to check the code in a user exit include with ATC it does not find any error.

 

I can think about encapsulating the code found in a user exits but this is a titanic task.

 

The main problem is that the jobs for getting in CCLM the quality required massive ATC runs that will not catch the errors in these kind of objects.

 

Have you face this issue? do you have any recommendation?

 

I would like your opinion before raising this as customer message, as from my point of this this may require a SAP correction.

 

Thanks

Aubin

Analysis jobs in the managed system for CCLM does not run properly

$
0
0

Hi All,

 

As a part of CCLM configuration we have scheduled Analysis jobs to run in the managed system.

UPL jobs is running successfully.

But 2 jobs, Custom code Refrences and Custom code Similarity though indicates the job is finished successfully, the results are not as expected.

 

Below is the initial analysis carried out by me where i could not identify the cause of the issue.

Did anyone face same issues?

 

thanks

Sai

 

Initial Analysis:

 

We  are configuring CCLM in solution manager SOD system, client 100

In step 6.3, Schedule Analysis Jobs, we have scheduled analysis jobs in PDS (managed) system and client 801

But the jobs don’t run correctly.

  1. Job /SDF/CC_REFERENCES

 

Job shows that it is completed successful but the job log mentions error

 

Job log does not indicate that the job completed successfully. This is misleading.

Could not find any note the SAP Market place with similar error.

 

Can you please advise on removing the error?

 

  1. Job EFWK ANALYSIS JOB FOR SIMILARITY completes successfully

There exists data in managed system PDS

But, if we check for the similarity details, in SOD:100 using report RAGS_CC_REPORTING, the result contains no data.

Number of records found ‘0’

Extractor for custom code similarity is also active

But looks like no data is fetched into solution manager SOD.

Can anyone please check and advise.

RAGS_CC_GET_LAST_USAGE - force new start date

$
0
0

Hi All

 

I have a scenario where I have 365 days of UPL data extracted into my CCLM. There was no previous last used date calculated and held within tables AGS_CC_LAST_USG or AGS_CC_USAGE.  Therefore, the program RAGS_CC_GET_LAST_USAGE run via the job SM_CCL:LUSG_<SID>_<INSTALLATION_NUMBER> has calculated the start date from the AGS_CC_EXTRACTOR table, setting it to sy-datum -3.

 

However, what I really need is to reset this date to last year.  Currently I am thinking that I will have to somehow remove all the data for the SID in question, apart from one row with a last used date of the date I require.

 

Anyone else have this issue and found a better solution?

 

Thanks

Ian

XLS download (Using OLE2_OBJECT) not working for WebGUI.

$
0
0

Hi,

 

I am using OLE2_object to download XLS document which contains ALV output of my report.

the functionality is working Fine when ran through SAP GUI (SE 38), But when I tried to run the same from WebGUI (Portal) functionality fails and ther is no file download.

 

following is the code which i used for achieving this functionality.

 

As per my observation CALL METHOD of gv_excel (type ole2_object) is not populating LV_MAPL (type ole2_object) and afterwards ,

when we CALL METHOD of LV_MAPL (type ole2_object) it returns sy-subrc = 2.

 

I tried debugging CALL METHOD OF but it is not possible to debug.

Capture.JPG

 

can you please help me to understand what is the difference while running the report functionality from SAP GUI and from WebGUI.

Thanks in advance

SEA analysis failed - no custom code data 0SM_CCLG

$
0
0

Hello,

 

We are launching SEA analysis on our solution maanger system in order to analyze upgrade impact of ECC system.

Nevertheless, the analysis always failed in error as you can see below:

sea error.png

In SLG1 we have the following error:

SLG1 error.png

We checked in SOLMAN_SETUP -> Custom Code Management part -> activity 6.2 Activate Extractors -> CC GEN extractor already activated for development system BOD.


We also checked in workcenter “SAP Solution Manager Administration” -> Infrastructure -> the corresponding extractor is “Custom Code Object Extractor” and is active:

extractor active.png

 

In RSA1, the infocube 0SM_CCLG has data.

 

Issue: the data are collected in infocube, extractor is activated and SEA analysis is in error. Each time we have this issue we re-activate extractor framework as shown and when extractor has terminated we launch again SEA analysis and then it works, we do not have issue anymore.

The problem is that if the day after we want to launch a new SEA analysis, it will be stopped with the same error and we will have to re-activate extractor again, which is not the expected behavior as data are already collected and should be there for new analysis without having to manually re-activate extractors.


Does anyone already encountered this kinf of issue?

 

Thanks for your help!

 

Louise B.


Problem Overview CCLM "no data"

$
0
0

Hello,

 

We are implementing CCLM on Solman SP13.

We followed the configuration guide, all extractors are working fine and we do not have any authorization issues.

When we launch transaction "CCLM", we do not have any data on the "overview" part.

All other parts (library, decommissioning...) are showing data correctly.

We are using IE 10 or 11 and we also tried with chrome and firefox but the issue remains.

Do you have any idea where this problem could come from?

 

2015-08-31_173616.png

 

Thanks for your help!

 

Louise Bariohay.

Active implementation of BADI TRIP_POST_FI is not triggering.

$
0
0

Hi Experts

 

I implemented badi TRIP_POST_FI .

I provided the filter value , wrote custom code in MODIFY_PTRV_DOC_IT method as per requirement and activated the implementation.

now when I am posting my document via T-code PRRW this implementation is not called.

 

For checking if BADI implementation is called or not I am creating debugger break point in modified method.

system is not stopping at break point .is there any other way to check?

 

Can you help me understand why this implementation is not getting called.

 

Thanks in advance

There is no app which can be added to this dashboard

$
0
0

Hi All,

 

When i am trying to add Custom Code App in solution manager, i get an error 'There is no app which can be added to this dashboard'. I could not find any info on how to fix this error.

Does you have any idea on this error?

Custom_Code_app_error.png

thanks

Sai

How to enable the ATC in the Solman

$
0
0

Hi All,

 

Currently i am working in ATC setup in Solution manager, I have checked the below blogs for the same.

 

Getting Started with the ABAP Test Cockpit for QMs and Admins

 

 

Completed the CCLM setup for required managed systems and activated ATC extractor.

 

I have below quires to push the ATC details option

 

1. Whether i need to execute the ATC t.code in Solution manager system or managed system or both.

2.  Which System ID is need to maintain in the master system

3. What is the RFC ( TMW or Trusted or needs to created new RFC)

ATC.png

4. How to pull the ATC data to solution manager.

    Whetehr i need to execute the belwo transfer setup in Solution manager or managed system or both

Push data.png

 

Please provide some idea for the above setup.

 

Rg,

Karthik

Custom_Code_Security_Objects

$
0
0

Hello everyone!!!!

 

Using Custom code management(CCM) ,can we able to find custom objects that are without security objects.

if yes!!!!!,could someone guide me please.

SUGEN Extractor Type - Missing FM E2E_ICIDB_EXT_PMDATA

$
0
0

Hi Experts

 

I've got my SUGEN extractor type to be active but it is currently failing due to a missing FM - E2E_ICIDB_EXT_PMDATA

 

SUGEN Extractor.PNG

 

I can't find a note on this and it definitely missing from the system with no immediately obvious typo.

 

Can anyone help?

 

Thanks

Ian

Custom Code Library Extractor - FM AGS_CC_CCLM_EXTRACT

$
0
0

Hi Experts

 

Just debugging this extractor FM and noticed that all the usage values were 0.  Looking at the code, it dawned on me that the  lv_last_usg_day,  lv_last_usg_week,  lv_last_usg_month,  lv_last_usg_year are not set which is probably why.

 

AGS_CC_CCLM_EXTRACT.png

 

Is there an OSS note for this as I cannot currently find one.

 

Thanks

Ian


Documentation for CCLM on SolMan 7.1 SP12

$
0
0

Hi,

It seems the CCLM documentation in SCN is mostly 7.1 SP10 specific (see this link:  https://websmp110.sap-ag.de/~sapidb/011000358700000426872012E).  Is there an SP12 equivalent document?

 

We're having issues with SP12 specific functionality, such as the Citymodel, and I'd like to do my due diligence in reading the documentation to see if we missed a step.

 

Thanks,

David

Workaround for GAP in UPL Data

$
0
0

Hi

 

The response by Alexander looks to be the long term solution for my issue but I'm just wondering that for a short term workaround to enable the extraction of data, that the job and program /SDF/UPL_PERIODIC_EXTRACTOR could be triggered to enable the purge of the /SDF/UPL_LOG entries.  Recently this job has been failing due an unknown variant (not sure if this was to do with the SP12 upgrade or not) and therefore I have removed the variant.

 

I'll check the rerun of the job tomorrow and see if my issue goes away as a result but if anyone has any thoughts on the subject in the meantime, please jump right in!

 

Thanks

Ian

E2E_ICIDB_SYS - Blank

$
0
0

Hi Experts

 

Can I ask how E2E_ICIDB_SYS table is populated?  I have several extractors failing with the below error.

 

ICIDB Failing Extractors2.PNG

 

How do the entries get into to the E2E_ICIDB_SYS table?

 

I have seen the WDA - E2E_ICIDB_MAINTAIN_SYST but not sure if this is used at all. If it is, where is it accessed from? I haven't seen it as part of the Measurement platform setup and had to activate the service to see it.

 

E2E_ICIDB_MAINTAIN_SYST.PNG

 

Thanks

Ian

Active implementation of BADI TRIP_POST_FI is not triggering.

$
0
0

Hi Experts

 

I implemented badi TRIP_POST_FI .

I provided the filter value , wrote custom code in MODIFY_PTRV_DOC_IT method as per requirement and activated the implementation.

now when I am posting my document via T-code PRRW this implementation is not called.

 

For checking if BADI implementation is called or not I am creating debugger break point in modified method.

system is not stopping at break point .is there any other way to check?

 

Can you help me understand why this implementation is not getting called.

 

Thanks in advance

Scope and Effort Analysis failed due to Similarity Data is too old

$
0
0

Hi All,

 

I am trying to generate Scope and Effort Analysis Report for EhP deployment of an ERP system. However, the analysis failed; in the Processing Log, the step "Provide Similarity (Clone Finder) data"  shows "Similarity Data is too old".

 

What should I do in this situation? Is there any possibility to bypass this step?

 

Best regards,

Duy BPS Finland

Viewing all 731 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>