Standard SAP code is calling HTTP - want it to call HTTPS

We have recently switched our environment to HTTPS however some SAP code such as this:
FORM get_url  USING    p_application
              CHANGING p_url.
  DATA: lw_application_name TYPE string.
  lw_application_name = p_application.
  CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
      application_name = lw_application_name
      namespace        = 'sap'
    IMPORTING
      out_absolute_url = p_url. "
ENDFORM.                    " GET_URL
calls the HTTP URL instead of the HTTPS URL.
Is there a way to change this globally so that call code calls the HTTPS value (with the correct port as defined in the ICM - i.e. 443)?

Hi
Check the below link.
[Calling https:// url from ABAP code IF_HTTP_CLIENT;

Similar Messages

  • How to know where the user exits or enhancement used in standard sap code?

    Hi
    I m pretty new to abap.
    How can I know where the user exits or enhancement used in standard sap code?
    As i have to add some functionality to the standard sap code. I m looking to search the enhancement or user exits used in this standard code wher i can add my functionality.
    thanks in advance.
    Moderator message : Search for available information, thread locked.
    Edited by: Vinod Kumar on Oct 19, 2011 2:38 PM

    Hi Henry,
    I don't think this is the easiest way to look at the code around a particular field on the screen. Debugging standard programs also can be very tedious, if not impossbile. So, instead of this question, I would like to find out exactly what you want to do if you know the code.
    If you are in a transaction and you want to know where the code of a particular field is, the fastest way to get to it is by pressing the F1 key on the field and then press the Technical info button on the help screen. In here you will typically see the same kind of information but it is very specific to the field you selected.
    PROGRAM(SCREEN) tells you which program is manipulating the main screen, in which your field is embedded. Remember your field may be included in a sub-screen and that subscreen may be the one included in the main screen.
    PROGRAM(SUB SCREEN) tells you which program is directly responsible for the field on the subscreen it is included in. This is where you should find the code most appropriate for the field, but not necessarily.
    PROGRAM(GUI) controls how your push buttons and the menu options in the screen behave and controlled.
    Srinivas

  • Tracking and maintaining data about modifications done to Standard SAP code

    Hi All,
    I need your help to know if there is a way to track and maintain the modification changes done to standard SAP code. I have gone through SE95 but not much help. Is there any DB tables which stores these information after a standard SAP code has been modified like for example when the core Mod was done, transport number for the MOD, object in which the MOD was done, version of the object etc.
    Thanks in advance.

    Hi,
        Try the following tables.
    SMODILOG & VRSD.
    Regards
    Kiran Sure

  • Suppressing the message generated by standard SAP code

    Hi experts,
    I have requirement in which i have to suppress the warning message generated by standard SAP code.Is it possible?
    If so how?
    Any pointers will be highly appreciated.
    Thanks,
    Rakshith

    Hi,
    Check with the functional consultant. There might be a config transaction, wherein you can specify the type of error whether Harderror' or warning etc.
    I know, Fi and MM has that.
    Regards,
    Subramanian

  • Modification in standard SAP code.

    I want to modify a standard SAP program. THe Tcode is MM01. I want to add a new screen with few fields when the tabstrip control is 'accounting2'. Iwant to find the tab no for the same and writethe new code for it.
    please help

    hai  Archana,
    Hi Try This Once .
    It Is ver EASY Procees.
    Just Go To SE84
    Give The PRogram Name Or PAckage name In Which MM01  is present.
    Then Click On Display.
    Then Click On Enhancements.
    Then U will Get USer Exits Aswell As BADI 's.
    IF Found helpful Reward.
    Regards
    Eshwar

  • What are the acceptable Sap methods/steps to change standard SAP/Abap code?

    To you Sap experts:
    Can you point me to Sap document  that lists the acceptable methods to follow when modifing SAP standard  (abap code).  We are on release 4..7.  
    I assume there is a best practice guide if you have to modify standard Sap code of what to do and don't do.  Ex:. Field exit, CMOD, SMOD... Thanks for assistance.

    Hi,
        You can implement your own logic using User Exits (which includes function module exits, screen exits, field exits and menu exits), Badi's, Enhancement points and Business Transaction, Events.
    Thanks,
    Srinivasa Rada

  • How to display standard SAP icons in WebDynpro?

    Hi everybody,
    in my web dynpro app I'm using several web icons for display. Works very well so far with this notation: `~Icon/Failure` e.g.
    Now I need an icon which I can't find in the web icons library: the standard sap icon ICON_PRESENCE.
    I have tried this method: http://www.sapgeek.net/2009/10/web-dynpro-use-icons/  but it doesn't work; it seems that the system searches for the gif name as a web icon and can't find it.
    Is there any other way to diaplay standard sap icons in web dynpro, or does someone know if there is a web icon showing a burning light bulb??
    Thank you in advance for any advice!

    Hi,
       Suppose you need to display a standard SAP icon then take a image UI element and in the property SOURCE
       of image element click on the small F4 icon, a window opens with different tabstrips, select SAP ICONS tab
       and choose the relevent icon.
       If you dont find the icon, then you can upload the icon onto the application server and use it in your component.
      For this rightclick on your component and create a mime object and import the image from PC to SAP and you can
      now use this and will find it in the component usage tab in that F4 window of SOURCE property.

  • How to call a standard sap transaction in workflow

    Dear All,
    I want to know how to call a standard sap transaction inside my workflow , please tell me how to get this done .
    Kind Regards,
    Anshu Kumar

    Hi,
    You can use the FM - ABAP4_CALL_TRANSACTION u2013 Initiates a transaction in a separate window
    inside the method in the BO.
    Implement that BO and the method in the Activity of the WF..!!
    Use the FM like this:-
    CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
      EXPORTING
        tcode                         = 'ZSCREEN_884' - T-Code
       SKIP_SCREEN                   = ' '
       MODE_VAL                      = 'A'
       UPDATE_VAL                    = 'A'
    EXCEPTIONS
       CALL_TRANSACTION_DENIED       = 1
       TCODE_INVALID                 = 2
       OTHERS                        = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    If you do not want to use the FM u can use this Statement:-
    call transaction 'ZSCREEN_884'. - T_CODE
    Check the following links:-
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/delegationandRedefiningmethodsofbusinessobject+BUS1001
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
    Let me know if you still face any issues..!!
    Regards,
    Kanika

  • How to call a Standard SAP Program in Zprogram.

    Hi,
    how to call a SAP Standard program in SAP Program?
    Do we have to use any funtion module and pass paramters?
    I want to call a Standard SAP prg in to my prgram? can anyone explain me or give the piece of code to call standard prg.
    Thanks & Regards

    Again, ABAP related questions should be asked in the ABAP forum.
    To answer you question,  if the standard program is a report program, you can use the SUBMIT statement and pass parameters using the WITH Extention.
    Submit <report>
          with p_fld = 'X'
              and return.
    Please make sure to award points for helpful answers and mark your posts as solved when solved completely.  Thanks.
    Regards,
    RIch Heilman

  • Calling a Standard SAP transaction VA03 from another web dynpro application

    Hi All,
    I have a requirement wherein I need to call the standard SAP transaction VA03 whenever a sales order is selected in some other we dynpro application so that the sales order gets displayed.
    No regarding usage of OBN for the above functionality I have certain queries:
    1. In order to call VA03 do I need to create a transactional iview for it or is there any direct method.Also how to pass this sales order number as parameter to the T.Code.
    2. Can we use standard business object BUS2032 for OBN or a new Business object is created.What exactly is the purpose of these standard business objects in portal and when should they be used.
    Thanks in advance
    Aman Gupta

    Hi Aman - Do you have a portal team in your project or you have to create the IVIEWS yourself?
    I do have a portal team and I dont know how they create the IVIEWs but for example, I will go to my portal team and I will ask them to create an IVIEW for TCODE VA03, they will created and they will tell me the input parameters they entered for the IVIEW so I can call OBN and display in webdynpro.
    SAP in SRM has webdynpro e.g. for BUS2121 and they have an IVIEW already implemented in the portal context pointing to the webdynpro of BUS2121 so we can used the IVIEW by calling OBN and passing the parameters; in my case the object_type will be 'shc' and the operation will be 'display' and the paremeters itab will be the GUID of my shopping cart, that way the OBN can understand which Shopping cart open and in which operation mode.
    I also did something like your requirement, I need it to display a specific case in Records Management but SAP has a standard IVIEW for records management 'RMREGEDIT' that didn't work for my requirement so I went to SE38 created a program that displayed the case based on GUID and I created a TCODE of my custom program. Portal team created a custom IVIEW of my custom TCODE and they told me the input parameters to call the TCODE in OBN and I pass in the itab parameter the GUID of the case using the FM that I post before.
    The action to call the OBN is in the event handler ON_CLICK of my ALV and the action is getting trigger when the user actually clicks a HYPERLINK in the ALV.
    Hope this helps you!
    Please feel free to ask me more details if you need.
    Jason PV

  • How to uncomment code in Standard SAP Programs

    Hi Experts,
    how to uncomment entire code  of standard SAP programs  which is commented .
    Standard SAP Program is fully commented,i have to uncomment it ,to work it as normal.
    i saw that some lines * / * like  this are there in the commented code .
    what is the way to un comment this ?
    Thanks in advance,
    Regards,
    Hitu

    Well, if it is commented by your company - This doesnt ask for access key but if it is commented by SAP and you want to uncomment, you need access key.
    You can ask basis guys to get access key for the object. you need to provide the program name and other information.
    Other information: - go to the GOTO on application tool bar and select object direct entry.... you need to provide the full object key.
    To uncomment the code - select the lines and right click - uncomment . This can only be done in editable mode.

  • 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

  • How to CATCH error from call to standard SAP Function Module

    Please, is it possible to catch the following error with the TRY CATCH ENDTRY construct?
    From a custom program, am calling CS_BOM_EXPL_MAT_V2.
    Several nested calls in, Form STL_DATEN_HOLEN (LCSS4F1I) calls FM CS_ALT_SELECT_MAT. 
    However, that call is missing the CALL_INVALID Exception. 
    CS_ALT_SELECT_MAT is raising CALL_INVALID, but since it was not included in the FM call, the RAISE_EXCEPTION runtime error is issued.
    I added a TRY CATCH ENDTRY construct around the call in the custom program using CATCH cx_root, but the program is still short dumping.
    All the research I have done has been misleading...some articles indicate all errors should be caught, some indicate only catchable runtime errors can be caught, others are not quite clear.
    So, I would like to find out if, in this scenario, it is even possible to catch this error and avoid the short dump.
    I will open a message to see about having the SAP code fixed as soon as I get authorization to do so, (as well as fix the data causing the issue in the first place), but in the meantime, I would like to handle it in my code if possible.
    ECC 6.0
    Thanks for any information!
    Kind Regards,
    Deb
    Edited by: Debra Garner on Jan 26, 2012 5:19 PM

    Hi Debra,
    You cannot catch non class based exceptions using the TRY/ENDTRY.  You might also find no luck with help from SAP since the FM in question 'CS_BOM_EXPL_MAT_V2' is not released for customer use.  The best bet is to examine why the error is occurring and figure out what needs to be done to fix it and/or avoid it in the future.
    Regards,
    Ryan Crosby

  • Change in Standard SAP menu : How to catch the transaction code!

    Hello,
    I have added a menu item 'More Help' to the standard SAP menu 'Help' which should navigate to URLs for the respective transactions. Suppose i am in transaction FB03 and click the 'More Help' menu, it should navigate to the URL mentioned in a table.
    My Problem is I have created a transaction for that menu item 'zhelp' which calls a program and when i am clicking the 'more help' tab , the original value of sy-tcode which should be FB03 is replaced with the new Transaction which is used for the menu item i.e. 'zhelp'. Because of this i am not able to retrieve my value from the table corresponding to the transaction FB03.
    Is there any other system field which stores the value of transaction FB03 aftter navigating to other transaction? How should i go ahead with this? Please help!!
    Edited by: Rojalin Priyadarshiny on Sep 10, 2009 3:45 PM

    Hi,
    I really dont know in how many standard transactions you have added the More Help option.
    If you hav added only in 2  to 3 transactions then you can think on using the below Logic.
    Say if u have added in  FB01, FB02 and FB03 transaction.
    Find one exit for each transaction, in the exit EXPORT TCODE ( EX: FB01 ) to memory.
    In your Ztransaction report IMPORT the TCODE from memory.
    Now u will get FB01 after inmport statement and u can make use of this.
    If the option is added in many transactions , you have to think again in using the above logic as it involves identification of many Exits.
    Regards,
    Sravan

  • Call standard SAP transaction in BSP

    Hi guys,
    I am working in WAS 6.20.
    We have separate server for WAS and records fetched from R/3 server.
    Now the requirement is i have to call a standard SAP transaction and the output of the standard transaction should be displayed in the BSP output.
    Is it possible to call a SAP standard transaction in WAS 6.20.
    Is it possible to display the same output in the BSP screen.
    Above to all, displayed output should be refreshed automatically for every 20 minutes.
    I come with lot of doubts, expecting your reply.
    Hopefully waiting for yours reply.
    Saravanan. V

    Hi,
    Pls check threads like
    calling STD SAP transaction in BSP
    Calling R/3 Transaction from BSP
    Calling standard R/3 transaction from BSP
    Calling an SAP transaction from a BSP page
    Calling ITS transaction from BSP
    Can we call standard transaction from bsp
    Eddy
    Pimp up the S(D)N site and earn points. Check this <a href="/people/eddy.declercq/blog/2007/02/01/pimp-up-the-jam log</a> for details

Maybe you are looking for

  • Need help with loops! Where can I find them?

    I have garageband '09 and when I go through my loops, over half of them are missing. That is to say they are labeled and there is a list of them, but only half work, The rest of them are see-through text and wont play music. It has said I could get t

  • How to avoid that some text [instructions] will be printed in PDF (forms)?

    The idea is that some texts may be seen in the screen but not printed when the form is filled up. Adobe has information on this in ECycle but could not find any reference in Acrobat X or Indesign. It may be a solution to convert a frame text to a but

  • I'm having trouble with the install of Adobe digital editions

    I'm having trouble with the install of Adobe digital editions, how can we fix this? It will begin to dowload it says complete but stops there, no other prompts and if you click the close button it appears that it begins to delete itself. How can i fi

  • Oracle GL - Inventory Reconcilliation

    Hi All, I am trying to Reconcile GL with Oracle Inventory. Could you please help on the process/steps to start of with . I am seeing the below reports for Reconcilliation. Inventory Valuation Reports Period Close Reconciliation Report Period Close Va

  • Help to find an /AFS/BAPI  to make a SALEORDER!!

    Hi everyone! I hope you all fine. I'm new ont his type of programming, so I need to find a function that brings me back all the information from the SD module, but my problem is that I'm working with AFS, so I need a function that handles AFS (/AFS/B