How to implement ESS Logoff through ABAP

Hi,
I need to implement Logoff Functionality in ESS through ABAP code.
Note that our ESS works through ITS server.
I have tried SPH_R3_LOGOFF and LMBP_RESOURCE_LOGOFF.
But these FM's dont work in ESS environment (through ITS).
Please anyone help me in this regard.

Hi,
The following SAP Note has some correction instruction which has some logging out code.
Note 142724 - Prevention of multiple SAPGUI logons
Maybe that helps.
Regards,
Siddhesh

Similar Messages

  • How to implement user logoff with ABAP

    Hi NG,
    how do I implement a user logoff in ABAP?
    Kind regrads
    Stefan

    use the function module "TH_DELETE_USER"
    and send the user name whom you want to exit from SAP.
    but i am not very sure can we use this function module in our programs or not.
    Regards
    srikanth

  • How to implement ESS

    Hi all
    Please help me how to implement ESS in my local system.
    i have portal(EP 6.0) in my local system and R3(4.7 version) also there.
    can u tell me how to start ESS and how to complete with step by step procedure.
    Thanks in advance
    Regards
    Sunil

    Hi,
    The links below can get u started with configuring ESS.
    http://help.sap.com/saphelp_erp2004/helpdata/en/38/e8584c2a664547b60442646bee23b6/frameset.htm
    /people/srinivasarao.gv2/blog/2005/06/11/configuring-ess-in-sap-enterprise-portal-60
    Hope this helps.
    Regards,
    Elaini

  • How to implement Ess in EP 6.0 to enable workflow

    Hi experts,
    How can I implement HR Workflows through portal using ESS BP?
    We would need some custom workflows also.
    While implementing ESS and MSS, is there any configuration to be done for using workflow?
    Can anyone guide me on this?
    Thanks alot
    Shobin

    Hi Shobin,
    Check the below links
    http://help.sap.com/saphelp_erp2005/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    http://www.erpgenie.com/workflow/index.htm
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    http://www.insightcp.com/res_23.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Regards
    Arun

  • How to implement Strategy pattern in ABAP Objects?

    Hello,
    I have a problem where I need to implement different algorithms, depending on the type of input. Example: I have to calculate a Present Value, sometimes with payments in advance, sometimes payment in arrear.
    From documentation and to enhance my ABAP Objects skills, I would like to implement the strategy pattern. It sounds the right solution for the problem.
    Hence I need some help in implementing this pattern in OO. I have some basic OO skills, but still learning.
    Has somebody already implemented this pattern in ABAP OO and can give me some input. Or is there any documentation how to implement it?
    Thanks and regards,
    Tapio

    Keshav has already outlined required logic, so let me fulfill his answer with a snippet
    An Interface
    INTERFACE lif_payment.
      METHODS pay CHANGING c_val TYPE p.
    ENDINTERFACE.
    Payment implementations
    CLASS lcl_payment_1 DEFINITION.
      PUBLIC SECTION.
      INTERFACES lif_payment.
      ALIASES pay for lif_payment~pay.
    ENDCLASS.                 
    CLASS lcl_payment_2 DEFINITION.
      PUBLIC SECTION.
      INTERFACES lif_payment.
      ALIASES pay for lif_payment~pay.
    ENDCLASS.                   
    CLASS lcl_payment_1 IMPLEMENTATION.
      METHOD pay.
        "do something with c_val i.e.
        c_val = c_val - 10.
      ENDMETHOD.                   
    ENDCLASS.                  
    CLASS lcl_payment_2 IMPLEMENTATION.
      METHOD pay.
        "do something else with c_val i.e.
        c_val = c_val + 10.
      ENDMETHOD.  
    Main class which uses strategy pattern
    CLASS lcl_main DEFINITION.
      PUBLIC SECTION.
        "during main object creation you pass which payment you want to use for this object
        METHODS constructor IMPORTING ir_payment TYPE REF TO lif_payment.
        "later on you can change this dynamicaly
        METHODS set_payment IMPORTING ir_payment TYPE REF TO lif_payment.
        METHODS show_payment_val.
        METHODS pay.
      PRIVATE SECTION.
        DATA payment_value TYPE p.
        "reference to your interface whcih you will be working with
        "polimorphically
        DATA mr_payment TYPE REF TO lif_payment.
    ENDCLASS.                  
    CLASS lcl_main IMPLEMENTATION.
      METHOD constructor.
        IF ir_payment IS BOUND.
          me->mr_payment = ir_payment.
        ENDIF.
      ENDMETHOD.                  
      METHOD set_payment.
        IF ir_payment IS BOUND.
          me->mr_payment = ir_payment.
        ENDIF.
      ENDMETHOD.                  
      METHOD show_payment_val.
        WRITE /: 'Payment value is now ', me->payment_value.
      ENDMETHOD.                  
      "hide fact that you are using composition to access pay method
      METHOD pay.
        mr_payment->pay( CHANGING c_val = payment_value ).
      ENDMETHOD.                   ENDCLASS.                  
    Client application
    PARAMETERS pa_pay TYPE c. "1 - first payment, 2 - second
    DATA gr_main TYPE REF TO lcl_main.
    DATA gr_payment TYPE REF TO lif_payment.
    START-OF-SELECTION.
      "client application (which uses stategy pattern)
      CASE pa_pay.
        WHEN 1.
          "create first type of payment
          CREATE OBJECT gr_payment TYPE lcl_payment_1.
        WHEN 2.
          "create second type of payment
          CREATE OBJECT gr_payment TYPE lcl_payment_2.
      ENDCASE.
      "pass payment type to main object
      CREATE OBJECT gr_main
        EXPORTING
          ir_payment = gr_payment.
      gr_main->show_payment_val( ).
      "now client doesn't know which object it is working with
      gr_main->pay( ).
      gr_main->show_payment_val( ).
      "you can also use set_payment method to set payment type dynamically
      "client would see no change
      if pa_pay = 1.
        "now create different payment to set it dynamically
        CREATE OBJECT gr_payment TYPE lcl_payment_2.
        gr_main->set_payment( gr_payment ).
        gr_main->pay( ).
        gr_main->show_payment_val( ).
      endif.
    Regads
    Marcin

  • How to display BAR-CODE through ABAP report

    Hi,
    Could you please help me, how to display BAR-CODE through the ABAP report.
    I am writing below code, but BAR-CODE is not displaying on report.
               PRINT-CONTROL FUNCTION 'SBP01'.
                WRITE: 20  BAR_CODE1 NO-GAP.
               PRINT-CONTROL FUNCTION 'SBS01'.
    Regards,
    SSRAJU.

    Hi RAJU,
    you can see this forum link and its sub-links, here it is clear about it.
    Re: Barcode printing on report
    Thanks & Regards,
    Dileep .C

  • How to trigger GP workflow through ABAP Program.

    Hi All.
    i have one scnerio , i want to create BOM through Custom Ztransaction that will be developed in ABAP Modulepool.
    User will create BOM  from this ztransaction through  Transactional Iview in PORTAL,Once the user save transaction , i want to trigger a GP(Guided Procedure ) workflow,from ABAP Program.
    is it possible to trigger GP workflow?
    if yes how  to  do it , please suggest the way out.
    Regards,
    Shyam.

    Hi lingana,
    As u see in my requriment that, Workflow is not designed within SAP , But the Workflow will be designing
    in SAP Netweaver, its a GP Workflow. And Ztransaction(Developed by ABAP) will  be seen by user through portal  and
    he save transaction on PORTAL, In backend  ABAP program will run , and after meeting certain condition, it should create
    or(Initiate) GP workflow(process).
    So my question is , how ABAP Program will call GP workflow, How the connection will be made in between ABAP Code and GP workflow framework.
    If any doubt regarding requriment let me know,
    Regards,
    Shyam.

  • How to view HTML document through ABAP in CRM

    Hi,
    I have an internal table with one field type string containing html code.
    How can i see the output of that html document in SAP CRM using ABAP code.
    Is there any standard function module to display the document by passing the internal table?
    Please help.
    Regards
    Kiran

    you can use cl_gui_htmlviewer control to do this.
    check the demo program
    SAPHTML_DEMO1
    RSDEMO_HTML_VIEWER
    or you can use dynamicdocuments for the same check out samples programs in package
    SDYNAMICDOCUMENTS
    Regards
    Raja

  • How to implementing locking mechanism in abap?

    Hi
         my program run by different users. I want
         to ensure that at a particular point of time only
         one instance of my program running, and all others
         should be in wait.
         if have a solution for this. i can make use of a flag
         (global flag ) i set/get this flag from import/export
         mechanism. for example.
         do.
         import v_flag = v_flag from MEMORY id 'ZFLAG'.
         if v_flag is initial.
             v_flag = '1'.
             export v_flag to memory id 'ZFLAG'.
             exit.
         endif.  
         enddo.
         ***Rest of the program main code****
         clear v_flag.
         export v_flag to memory id 'ZFLAG'.
         is this ok? or any other locking mechanism supported
         by abap.
    Regards,
    Abhimanyu.L

    Hi
    Check the following,
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/f9813712f7434be10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/aa/fd823730fa874ae10000009b38f8cf/content.htm
    http://www.sapdb.org/7.4/htmhelp/7d/75d34a6a210b4b95f232e5f9acd232/content.htm
    http://www.sapdb.org/7.4/htmhelp/6e/ab5d79286b3d4a9f72ef140191d208/content.htm
    http://sapdb.net/7.4/htmhelp/43/151d12671a2240947990c5152a4bbd/content.htm
    Please reward if it helps.

  • How to format excel attachment through ABAP?

    Hi Experts,
    I am using FM ''SO_DOCUMENT_SEND_API1' to generate an email with excel attachment. Does anybody know if there is any way to format the contents of excel attachment? For example, framing, coloring or making the fields bold etc.
    Any inputs will be helpful.
    Thank you,
    Amol

    Hi,
    Check this blog.
    Downloading data into Excel with Format Options
    Thanks,
    Sree.

  • How to implement a print screen through a java program rather than a keyboa

    help needed urgently to make a college project.
    have to capture whatsoever is on the client screen
    and sent it to to a server program where it will be made visible on a frame or panel.
    this is to be done without the client ever knowing it.
    so needed to implement a printscreen command using java code and put it in a program(also how to make
    the .class file containing this code run in the background all the time since the client comp starts till it is shut down without the client ever knowing it)
    e mail: [email protected]

    <pre>
    hartmut
    i need help.
    i've recently started using the web to learn more about java.your reply was very discouraging.
    the proff. just wants a decent project.
    but i want to make this project to improve my java networking skills.
    if you can help , please tell me how to implement a printscreen through a java program rather than a keyboard.
    I'll be very grateful to you if you can help me in this regard, but please dont send a dissapointing response like the previous one.
    mail: [email protected]
    </pre>

  • SMS through ABAP Program

    Hi Experts,
    How can we send sms through ABAP program. What are the web services required? Is there any tutorial/resource on this topic?
    Regards.
    Abdullah

    Hi...
    Go through this code.....
    REPORT  y_sms_to_india620.
    DATA: http_client TYPE REF TO if_http_client .
    DATA: wf_string TYPE string ,
          result TYPE string ,
          r_str TYPE string .
    DATA: result_tab TYPE TABLE OF string.
    SELECTION-SCREEN: BEGIN OF BLOCK a WITH FRAME .
    PARAMETERS: mail(100) LOWER CASE,
                m_no(20) LOWER CASE ,
                m_mss(120) LOWER CASE.
    SELECTION-SCREEN: END OF BLOCK a .
    START-OF-SELECTION .
      CLEAR wf_string .
      CONCATENATE
      'http://www.webservicex.net/SendSMS.asmx/SendSMSToIndia?MobileNumber='
      m_no
      '&FromEmailAddress='
      mail
      '&Message='
      m_mss
      INTO wf_string .
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = wf_string
        IMPORTING
          client             = http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.
      CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
      CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR result .
      result = http_client->response->get_cdata( ).
      REFRESH result_tab .
      SPLIT result AT cl_abap_char_utilities=>cr_lf INTO TABLE result_tab .
      LOOP AT result_tab INTO r_str.
        WRITE:/ r_str .
      ENDLOOP .
    Reward if it helps u...

  • Implementing ESS Workflow

    Hi Friends,
        I am new to HR. I want to try implementing ESS. I am quite comfortable with all the activities it takes to implement ESS except for Workflows.Is there any documents available providing a sort of walkthrough of how to implement ESS workflow from Portal(UWL)?
    Thanks in advance.
    Regards,
    Nathan.

    Hi Nathan,
    Which Wofkflow you are looking for? There are some standard WF's (Leave) already in the system...From your Portal Content Directory you can find these Iviews under migrated content -> EP version -> Iviews -> ESS :working time -> Leave request...
    And from the iview properties, you can find the workitem 
    WS200000081 name..You execute this Woritem in SWDD trnx...
    Later you copy the workitem and the iview and do necessary modifications.
    Hope it helps .
    Rgds,
    Jothi.
    Do award pts for helpful answers.

  • How to implement html in ABAP ?

    Hello i want o know how to implement html code in sap ?
    Is there any procedure for which if yes please do share with me.
    Points will be rewarded for the helpful answer.
    Thks

    hi Balu,
    what ever Mr. Nikhil said is suitable to ur requirement..
    Webdynpro for ABAP & BSP concepts serve u. At the end they both will generate a
    URL ...
    When we run this url ...
    required screen is called and what ever we entered in screen saved in ssap backend tables..
    hopes u got ur ans...
    Go through WEBDYNPRO FOR ABAP & BSP DOCs..
    Regards..
    Raju Mummidi.

  • How to implement this calendar function in ABAP code

    Hi everyone,
    Our requirement is : Give a date (e.g. YYYY.MM.DD, 1983.12.26), then we need to know which weekday it is. Is there a existing FM for this fuction? or how to implement it in ABAP?
    Thanks a lot for any hint
    Best regards
    Deyang

    Hi Deyang Liu,
        Could you please check these the below links they would give you some idea ....[SAP Calendar Control|http://help.sap.com/printdocu/core/print46b/en/data/en/pdf/BCCICALENDAR/SAP_KALENDER.pdf]
    [Calendar functions |http://help.sap.com/saphelp_nw04/Helpdata/EN/2a/fa00f6493111d182b70000e829fbfe/content.htm]
    [SAP Functions|http://abap4.tripod.com/SAP_Functions.html]
    [Determine calendar |http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa00e9493111d182b70000e829fbfe/content.htm]
    Regards,
    S.Manu

Maybe you are looking for

  • RSD...just stops on its own?

    So about a month ago the dreaded RSD started happening to my macbook. I tried several times to make appointments to see a "Genius" at my apple store, however unless I wanted 11am or 1130am on any day I tried...I couldnt get in, and forget any times o

  • Declaring deep structures in OOP

    Hello experts, I would like to ask for your help in solving a problem, i'm currently stuck at this and can't proceed with the requirement. I would like to declare a deep structure in a table and was able to come up with this in procedural programming

  • Web As ABAP to Web As Java

    Hi all, In my system having Ecc 6.0 ,R/3,EP 7.0.At present I am using Web As for ABAP .It is using some what uncomfotable for me .Why Bcoz every time creating one new user you neeed to go R/3 system and create one new user and again come to EP 7.0 .H

  • Ipod / personnal photo slideshows

    I cant get my slideshow to import into itunes for my new ipod. I made a imovie with photos and music, then selected the share, ipod , and the movie was compressed . I have the document that is finished. Using "Command i", i see it says to open with i

  • 4.3 won't update to 5.1

    I keep getting asked to update my Pages...I'm running 4.3 Pages '09 but when I go to update it says it's installed (version 5.1) but it isn't. What can I do?