SAP Custom Code Maintainability Service - SAP AG only

As an Enterprise support customer I have a quick question on Custom Code Maintainability Service
We have previously requested this service from SAP and they have generated and gave us the report.
My question:
Is this service ONLY being done by SAP, or are we (as customers) also allowed to run this service ourselves?.
When I look in the services available I cannot find the service to create and run myself. I am currently putting in some serious time to set-up the custom code life cycle management (CCLM). As part of this I would also like to run the service and generate the report myself, as I have done with some other service like TEA (Transport execution analysis)
I have no problems with using CDMC (Custom development management cockpit) and to generate reports there, but it would be nice to actually run the service and generate the report ourselves.
Much apreciated your feedback.

Hi Midhun,
thank you for your quick response!
I have already used SOAPUI to test my query.
>it's creating an xml file in a specific format where you need to pass values to get the output.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:ZGetcustomerWebservice>
         <!--Optional:-->
         <ImCount>5</ImCount>
         <!--Optional:-->
         <ImKunnr>
            <!--Zero or more repetitions:-->
         </ImKunnr>
      </urn:ZGetcustomerWebservice>
   </soapenv:Body>
</soapenv:Envelope>
Is this the xml file you mentioned?
I checked the following blog and tried debugging, but I couldn't see any variables value...
Debugging Custom Script in Integration Gateway
Here is my custom code:
function processRequestData(message) {
   message.setHeader("Authorization", "Basic XXXXXXXX=");
   importPackage(com.sap.gateway.ip.core.customdev.logging);
   importPackage(com.sap.gateway.ip.core.customdev.util);
   importPackage(org.apache.olingo.odata2.api.uri);
   importPackage(java.util);
   importPackage(com.sap.gateway.core.ip.component.commons);
   importPackage(com.sap.gateway.ip.core.customdev.api);
   parentMap = new LinkedHashMap();
   parentMap.put("IM_COUNT", "5");
   //Set the message body back
   message.setBody(parentMap);
   //Logger
   importPackage (com.sap.gateway.ip.core.customdev.logging);
   log.logErrors(LogMessage.TechnicalError, "This is first log"+message.getBody().toString());
  return message;
Authorization is perfectly working but others are not.
It would be great if you could have suggestions.
BR,
Hanae

Similar Messages

  • SAP Fiori - Transports Dev to QA/Prod issues (Activate and Maintain Service)

    Hi All,
        We have configured and activated Fiori - PO and PR scenarios in development environment using Central Hub Architecture (Gateway-Backend system). It is working great. However, we are facing an issue while transporting the configuration between the environments. We configured the entries (System Alias, Activate and Maintain Service and Scenario) for QA/Prod Environment in Development environment and transporting those (as it lets us to create TR's and as any SAP Configuration or technical Object). The transports are imported successfully, however the service is not activated or seen in "Activate and Maintain Services" in QA/Production Environment. But, scenario definition for PO and PR are imported successfully and visible
    Steps and Transports:
    1. System alias configured for QA/Production (Central hub) entries in Development box and transported - Successfully imported and entries are seen
    2. Activate and Maintain Service entries are configured (workbench request- Loads Oauth and Metadata along with the System Alias assigned) - Transport import successfully, However not seen in "Activate and Maintain Services" (tried even creating a customization TR's)
    3. Scenario Definition (PO and PR) - These are successfully imported as well as we are able to see the entries in SPRO
    Solution Options:
    1. Configure the entries and import (No success yet)
    2. Manually re-configure or Activate and Maintain Service in each system [QA/Prod] (Again, SAP let us transport for this step - So, my understanding option 1 should work).
    Any recommendation or suggestions ? Or is the Option 2 the only way to go!
    Thanks in advance
    Cheers,
    Sri

    Hi Sri,
    I think the Support Package for Gateway is old.
    1922510 - Activated Gateway Services are transported only incompletely
    Regards, Masa
    SAP Customer Experience Group - CEG

  • SAP Cloud For Customer : Code List Mapping For Material or Product

    Hi Experts,
    I wnat some information about the SAP cloud code list mapping.
    If i want to replicate Material / Product from SAP ECC / SAP CRM to SAP cloud for customer then any code list mapping entry we need to maintain in cloud side?
    Or
    Any Code list mapping for Material or Product in Cloud?
    If yes anyone have list with SAP ECC / SAP CRM table details?
    Many Thanks
    Mithun

    Hi Mithun,
    Code list data type is available in SAP Cloud. As of my knowledge I trying to find is code list mapping is available or not.
    Yes we can replicate exactly the same values in SAP Cloud that we see in the SAP ECC / SAP CRM. For this, We need to create custom 'Code list' for the required one you want and assign that code list data type name which you created in the previous step to the required element in the BO.
    For creating the code list data type: Go the Solution Explorer, Right Click on the Solution name, Click on 'Add' and Click on "New Item', then Add new item window will open with Installed templates, you will see the list of templates select the code list data type. Give the name as per your requirement starting with Z, max length is 27 only. click next, in 2/3 step, here you can add the list of values you want, add description to them. after clicking on the finish. activate the solution. Go to the BO and for the required element add the name you provided in creating the Custom code list ( ZXxxxxCode ) . Save and activate the BO as well as the solution then update the metadata in the designer part and in date model also, In data model, bind the required root element which is on the left pane to the required BO element which are in the right pane. Click Save and activate here also after the changes are made. finally activate the solution. In the solution explorer Right click on the OIF ui component and click on preview, it will open in the browser, here you will find the custom list you created, for the required one which you added code list date type name for the element in the BO.
    Mithun.. Sorry if I"m confusing you more on this. let me know is this solution enough for the requirement you are searching.
    Best Regards
    Bandhav

  • New Tool to Automatically Search for SAP Notes and detect Customer Code.

    Dear Gurus,
    Please check this interesenting blog with a completely new approach to the note search for bugs and more:
    /people/carlos.martinezescribano/blog/2010/12/16/automated-note-search-and-customer-code-detection
    And feel free to post your comments on the blog.
    Thanks a lot,
    Carlos Martinez Escribano.

    Now Automated Note Search Tool is a standard application:
    http://service.sap.com/sap/support/notes/1818192
    Regards,
    Carlos.

  • How to add a custom code to standard sap menu

    Hello guru,
    will you please explain me how to add a custom code to standard sap menu?
    thanks in advance.
    Best regards.
    juan

    Hello juan,
    with SE43N you can add custom transaction codes to the existing menues.
    see http://help.sap.com//saphelp_erp2004/helpdata//EN/00/783b377bfdcf61e10000009b38f936/frameset.htm
    regards
    johannes

  • Service Limits in Purchase Requisitions: Where to Insert Custom Code?

    The issue is related to finding a place in SAP logic where a BADI, or, an
    enhancement can be implemented when inside transaction ME52N for a
    Service Limits type Purchase Requisition where K is the Account
    Assignment and B is the Item Category for a Service Limit Purchase
    requisition. Especially. or initially, at the point of navigation when
    going from (within the Limit Tab) and selecting the Account Assignment
    Icon to the right.
    By finding a good place to insert custom code in between these two tabs
    during navigation I am referring to (1)the actuality of the transaction
    breaking into this location, and,(2)a place where the global fields can
    be read and changed ie. GL Account Number, Material Group, etc.
    I have read, and reviewed several SAP Notes: 496082, 627072 and 551863.
    Failed Attempts:
    1)I have tried finding BADIs via breakpoints inside of
    CL_EXITHANDLER~GET_INSTANCE. None that are found are used and are not ofany help.
    2)I have attempted to use various user exits within the following SMODs,to name a few:
    MEREQ001 |Customers' Own Data in Purchase Requisition
    SAPLF0PR |Requests: Account Determination and Checks
    SAPMF02H |Function exit: G/L account master data
    V45E0002 |Data transfer in procurement elements (PRreq., assembly)
    WDFE0001 |Customer-Specific Determination of Requirements Data
    COZF0001 |Change purchase req. for externally processed operation
    COZF0002 |Change purchase req. for externally procured component
    3)I have implemented various custom enhancements inside of SAP Main
    Program SAPLMEREQ inside include LMEREQF09, and a few other LMEREQFXX.
    4) We previously used BADI 'ME_PROCESS_REQ_CUST' to satisfy a similar
    requirement, but is of no help for this request.
    Thank-You,

    Custom tags are different than udfs.  Let's stick with udfs.  Your location choices are:
    1.  If only one template is going to use it, you can put it in that template.  Otherwise,
    2. You can put it in a .cfm file and cfinclude that file whenever you want to call the function, or
    3. You can put it into a .cfc.
    A little while back, someone ran some tests and posted the results on one of these forums.  The gist of it was that Option 2 would run faster than Option 3.

  • Customizing incorrectly maintained at service entry sheet save time

    Dear PM Guru's
    we are using ECC 6.4 , while confirm and save the service entry sheet, system gives information message as Customizaing incorrectly maintained instead of document posted information. we are trying in somany ways but we cant solve the issue. please help me to avoid such a issue. here i am not getting any document posting information.
    i am requesting all the PM experts please help me.
    thanks,
    jalu

    Hi,
    I think it is the same problem as I answered in this [thread|Getting a message that "Customizing incorrectly maintained";.
    It is possibly a problem with definition of screen SAPLMLSP/400 (services). You will need to follow the instructions in note [1382685|https://service.sap.com/sap/support/notes/1382685]. This note references ML81N transaction but is relevant for the services screen. Check the table entries mentioned to verify and then correct if necessary.
    -Paul

  • Need abap documenation specifically for SAP BW only.

    Hi,
    I want to learn abap specifically for SAP BW only...How much abap should i know to do bw work....and where i can find documentation of abap related to sap bw 3.5 and 7.0 version.
    Regards
    Yogee.

    HI
    generally we used the ABAP code to write Start Routines, End Routines or Individual Update Routines also exits which include variable exits.
    If you are totally unaware of the programing languages then better start learing ABAP with basic statements includes IF ELSE LOOP CASE ENDCASE etc.
    And then switch to learn how to use this statement to develop the logic.
    In BI, the basic knowledge of ABAP is sufficient, u need not go for deep and detail study, belive me its easier than BI.
    Go to ABAP forum check for any good ABAP learning materail and start working on that.
    Any query please revert back. send ur mail id to me, if possible ll send u some document for ABAP.
    Thank-You.
    Regards,
    Vinod

  • Is it possible in SAP B1 only.

    Hi,
    I want to find out the ITEM WISE - its Last Purchase Price . Is it possible in SAP B1 only.
    Item Details according to item wise -its Last Purchase Price
    Plz reply..............................!

    Hi Jyotsana......
    You can get this report through query generator........
    You may try this.......
    SELECT Top 5 T0.[DocNum], T1.[ItemCode], T1.[Dscription], T1.[Price], T3.[ItmsGrpCod],
    T3.[ItmsGrpNam] FROM OPCH T0 INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON
    T2.ItmsGrpCod = T3.ItmsGrpCod WHERE T3.[ItmsGrpNam] ='[%0]' ORDER BY T0.[DocDate] desc
    Regards,
    Rahul

  • InfoPath 2010 and REST web services, custom code button firing twice and second click fires error

    Hi,
    I have two supposing simple issues which I'm having problems correcting.
    If a add a button to the form and write some custom code (See below) to submit some data via a REST Web Service data connection. The code runs but somehow fires the URL twice to the web service.
    I've also recreated similar functionality using Rules on a button and some concat formulas and exactly the same thing happens when I the run the data using the Query Data Action, it fires the URL twice at the web service.
    How can I stop this.
    Secondly, if I use the custom code route, it work correctly the first time it pressed except for the double fire issue, but the second time I click the button the InfoPath internal system throws up an issue. See screen shot below.
    Any help would be appreciated.
    Rob
    namespace SubmitTest
    public partial class FormCode
    // Member variables are not supported in browser-enabled forms.
    // Instead, write and read these values from the FormState
    // dictionary using code such as the following:
    // private object _memberVariable
    // get
    // return FormState["_memberVariable"];
    // set
    // FormState["_memberVariable"] = value;
    // NOTE: The following procedure is required by Microsoft InfoPath.
    // It can be modified using Microsoft InfoPath.
    public void InternalStartup()
    //EventManager.FormEvents.Submit += new SubmitEventHandler(FormEvents_Submit);
    ((ButtonEvent)EventManager.ControlEvents["SaveDataPoint"]).Clicked += new ClickedEventHandler(SaveDataPoint_Clicked);
    /*public void FormEvents_Submit(object sender, SubmitEventArgs e)
    // If the submit operation is successful, set
    // e.CancelableArgs.Cancel = false;
    // Write your code here.
    MessageBox.Show("Submit Function Start");
    //SaveDataPoint_Clicked(sender);
    MessageBox.Show("Submit Function End");
    public void SaveDataPoint_Clicked(object sender, ClickedEventArgs e)
    try
    FileQueryConnection fqcConnection = (FileQueryConnection)this.DataConnections["TestREST"];
    string fqcFileLocation = fqcConnection.FileLocation;
    MessageBox.Show("fqcFileLocation " + fqcFileLocation);
    fqcFileLocation = fqcFileLocation + "?TestName='HugeArse'";
    fqcConnection.FileLocation = fqcFileLocation;
    fqcConnection.Execute();
    catch (Exception ex)
    MessageBox.Show("NewDataPoint_Clicked: Error " + ex);

    Hi Phillip6653,
    Did you check the similar
    thread to uninstall the windows update KB2756920 which was published on day 1/10? After auto install the update, on day 1/11, the same error occur when I open site using designer, after I uninstall it, it works for me, please have a check.
    For more information, see
    http://consultingblogs.emc.com/shailensukul/archive/2010/09/17/sharepoint-designer-error.aspx
    http://daniyar-tech.blogspot.com/2012/01/sharepoint-designer-2010-error.html
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • RV042 - I have customer who upgraded to 20 meg cable internet service and can only get 10 meg thru the router.

    RV042 - I have customer who upgraded to 20 meg cable internet service and can only get 10 meg thru the router. The customer had upgrade to a 20 meg cable internet service from a 10 meg service.   The customer is only able to get the 20 meg service going from cable modem to PC.  If he goes thru the RV042 router, he is only getting up to 10.7 down and 1.37 up.  Additional steps taken….He had a Linksys SRW224P switch connected to the RV042 router and we had disconnected this switch for testing purposes.   We performed the speed test again and we get the same speed results so we know the switch is not the issue.He had upgraded to firmware version 1.3.12.19 – TM Feb 13, 2009 – tested speed and no change.We accessed the web management interface and tried several modifications.   This includes the following…..-       We disabled the firewall – no change-       We disabled SPI with is the Stateful Packet Inspection (I was thinking this one would do it) – no change in speed.-       We disabled DoS (Deny of Service) – no change.-       We set MTU to Manual and tested various byte increments based on MTU ping testing. – Once again, no change in speed.  He is NOT using Load balancing on the routerHe has NO access rules but does have a few port forwards. Finally, with each change, he is saving the changes on the router. 

    You are expecting 20MB throughput on a $150 router?  Well, ok, maybe.. Can you check on your router or switch if the port is set or auto negotiated to 10 or 100?  That could explain 10MB limit (although technically a 10Mb port is considered 20Mb theoretical max throughput as 100Mb port is considered 200Mb per Cisco).  So maybe you ended up with 10/half somehow?  MTU 1500 would also be good for that connection I think and to try to get max throughput. 

  • How to execute custom code only when a specific node is selected in infoset

    Hi,
    We have written a piece of custom code under a node (P1045). Not all users will have access to this Infotype as it is related to Appraisals. So, when users (w/no access to 1045) try to run a Query for other info types data, they are getting error message 'Can not access 1045'. Custom code is getting generated whenever user runs a query. Tried to control custom code with simple IF condition by giving user name. Still generating 1045 code.
    All users use same infoset, where a group of users has access to 1045 and another group does not have access to 1045.
    Appreciate your inputs to get this resolved.
    Thanks,
    Swapna.

    Why don't you try another aproach, instead of adding the infotype to the infoset, create a new table as an alias (with the fields you want to show in regards to infotype 1045) and fill it in the node depending on the authorization check for that infotype in the code ?
    I think that adding the infotype as a node will always get the data from the infotype regardless, that is why it's showing the error.

  • Issue in OTR creation with Numeric Range of Customer Code

    Dear All,
    I am facing error while creating OTR with reference to Sales order in SAP TM system. The Error message “Business partner internal ID 0000710420 does not exist” appears when I Use Customer Code as Numeric, whereas if I create customer with Alpha-Numeric, then there is no issue.
    I have debugged the same and found the error is in Class “/SCMTMS/CL_TRQ_ICPY_TRQ_REQSRV” under Method “PREPARE_MD”. In this method, the system is converting the Business partner Code (Field: EXT_BP_ID) of Customer to 60 Character for Numeric Customer Code. Due to which system is not getting the KEY (Field: INT_BP_KEY) of the Business partner as shown in below screenshot:
    Whereas for Alphanumeric Customer Code, system is not converting the Business partner Code to 60 Char and hence not giving error. Below is the screenshot:
    Kindly advice how to resolve the issue.
    Regards,
    Vibhu Gupta

    Dear Marcelo,
    Yes same number range is maintained in both systems and infact BP is creating in TM system. But while creating OTR, TM system is calling a functional module in method I mentioned above, which will cusion the Business partner ID to make it 60 Character internally while creating OTR, due to which system is able to fetch its Key and hence give error message.
    This is happening only when Business Partner Number range is Numeric. If I use Alpha Numeric, then system do not cusion the business partner code and hence do not give error.
    Regards,
    Vibhu Gupta

  • Problem in maintaining service user for CCM srm_cse

    Hello all,
    We are implementing SRM 4.0 (EBP 5.5) SSP scenario.
    To support shopping of EBP we are also implementing CCM 2.0 as an add on.
    Please note CCM and EBP are on same client and CAT & CSE are also on the same client.
    No XI is involved as the catalog will be only uploaded in CSV format.
    I am doing intial configurations for CAT and CSE.
    Now we know that we need to configure a service user in the service of srm_cse.
    I am adding the same in SRM client-> trans SICF -> default host -> sap -> bc -> bsp -> ccm -> srm_cse ->change service -> log on procedure- log on data reqd. -> Anonymous log on data - details of client, user, password, language.
    since my SRM and CCM are in same client I have put the same client no. and given the user with role "/CCM/CATALOG_SEARCH"
    But when I am saving this change in service I am getting an error messaeg that " Changes to Repository or cross-client Customizing are not permitted ".
    I am in a same client hence there is no question of cross client customizing .
    The other cause left is CHANGES TO REPOSITORY .
    Can anybody tell me where I should do config so that this "changes to repository" error message will be be corrected?
    Thanks for yr attention and apologies for lengthy matter.
    Kind Regards,
    Dinesh

    Hello Yann,
    Thanks a lot for your attention.
    But my question was regarding particular error I am getting while maintaining service user in the service "srm_cse" as given in my first message.
    Can you throw some light on that pl.?
    My client configration as per yr path is present.
    Regards,
    Dinesh

  • Customizing incorrectly maintained message is appearing in SES, w/o Mat Doc

    Dear all
    Customizing incorrectly maintained message is appearing in service entry sheet in ML81N without showing the mat doc no.  We want to get rid off this message and material document number has to appear.
    When we create SES message came "Customizing incorrectly maintained" & Message no. SE729. When we release the SES then Material Document is not showing in foreground.

    Dear Santosh,
    Reason and Prerequisites
    You have recently made an upgrade
    Number of entries in table T162V is different to the number of columns in table control for screen SAPLMLSP/400.
    Solution
    The variants maintained before and after upgrade are probably different.
    Since different customers maintain different number of entries for each variant, it would not be possible to release a standard note to all customers to fix this. Moreover this cannot be fixed using the Note Assistant, the changes have to be done manually.
    The entries in the Table 'T162V'(for each of the 6 variants) should always be the same as that of the columns in the table control(TC_View).
    Table Control(Screen)  Screen 400 SAPLMSP(TC for services ).
    Below is the standard logic to verify if the customising is correct.
    Determine number of lines in customizing tables
      describe table t162v_tab lines lv_t162vlines.
    Determine number of columns in table control
        describe table tc_view-cols lines lv_tclines.
      lv_tclines = 6 * lv_tclines.
      Here 6 signifies the 6 variants for the TC.
      if lv_t162vlines ne lv_tclines.
        message s729.
      endif.
    Please make sure that the entries maintained in T162V are the same as the columns maintained in the Table Control (TC).
    For this case, you can use SM31 transaction to maintain the same number of entries in table T162V as in TC.
    Please see the attached files "SE729_A.doc" and "SE729_B.doc" for further help, that explain exactly how to check the situation and how to use SM31.
    The most important thing is that you have the same number of entries in lv_t162vlines as in lv_tclines.
    After all changes are made please test the behaviour again.
    =======================================
    Issue two
    The button for services selection is missing and when you want to record a new entry sheet, the system show messagge SE 729.
    This is owing to the incomplete coding of the user-exit that must be performed by the user.
    When the SAP enhancement SRVEDIT is not active, the call of the user-exit is not performed and the value of I_EDIT_KZ is set to 'X', and never changed.
    When you activate your project, which contains the SAP enhancement, you
    need to write the code of the include ZXMLUU18, so that the export parameter E_EDIT of EXIT_SAPLMLSR_001 returns a value. Without code, the parameter value will be blank, hence I_EDIT_KZ will be blank, and the end result is the [Service selection] button disappears. Time out's can also be a result.
    Regards
    Utsav

Maybe you are looking for