Which FM will trigger when we logoff from SAP?

Hi All,
         Can u Tell me which Function module will trigger when we logoff from SAP screen ....pls its Urgent..
Thanks&Regards.
Bharat .
Edited by: Alvaro Tejada Galindo on Feb 26, 2008 11:36 AM

Hi,
  Actually that FM is useful for conform the user selection whether it is YES or No.Acording to that we will write the code for the user selection.Actually i want to Logoff from SAP screens when i click yes button on the popup screen.So please tell me the FM for logoff from SAP.I want to know the actual FM for LOGOFF sap.Please let me know asap.
Regards,
Bharat.

Similar Messages

  • Badi that trigger when opportunity created from lead

    Hi,
    I am looking for a Badi that trigger when opportunity created from lead.  I looked from Order_Save but i am unable to find the preceeding lead number for the opportunity as the link will be created after the opportunities saved.
    Kindly help me
    Thanks
    Naveen

    Hi Naveen,
    You have to do it in Copy control customizing..
    SPRO->CRM->Transactions->Basic Settings->Copying Control for Business Transactions->Define Copying Control for Transaction Types..
    here you specify you Source transaction as LEAD and Target transaction as OPPURTUNITY and give some arbitarory filter value.
    Then use this filter value in CRM_COPY_BADI implementation.
    Dont forgot to reward points if this solves...
    Siva

  • Which event will trigger first?

    hi, any one can explain me the execution of at selection screen events in order.
    which event will trigger first at selection-screen output or at selection-screen?

    Hi,
          The Selection screen sequence is-
    1) AT SELECTION-SCREEN OUTPUT
    2)  AT SELECTION-SCREEN ON VALUE REQUEST FOR <FIELD>
    3)  AT SELECTION-SCREEN ON HELP REQUEST FOR <FIELD>
    4)  AT SELECTION-SCREEN ON <SEL_OPT>
    5)  AT SELECTION-SCREEN ON <PARAMETER>
    6)  AT SELECTION-SCREEN ON BLOCK <B1>
    7)  AT SELECTION-SCREEN ON RADIOBUTTON GROUP1<RAD1>
    8)  AT SELECTION-SCREEN
    9)  AT SELECTION-SCREEN ON VALUE REQUEST FOR <SEL_OPT_LOW>
    10) AT SELECTION-SCREEN ON HELP REQUEST FOR <SEL_OPT_LOW>
    11) AT SELECTION-SCREEN ON END OF SEL_OPT
    ***DO REWARD IF USEFULL
    REGARDS,
    VIJAY

  • How will we send smtp mail from SAP via Exchange

    Hi;
    We changed SAP OS between Windows and Linux and still 4.6c . Now we use linux OS.
    We used smtp mail at SAP via Exchange with 3.party (sendmail,indigomail etc.) But Now I dont know how will we send smtp mail from SAP.
    Please help me,
    Thanks for answers.
    Moderator message: not directly related to ABAP development, please have look in the Netweaver forums, also search for available information on sending emails.
    Edited by: Thomas Zloch on Nov 22, 2010 2:39 PM

    Hi,
    What is the nature of the URL you wish to include in the e-mail ?
    Is it fixed or dynamic ?
    Cheers
    Colin.

  • While executing the application which method will trigger first

    Hi all,
    while executing a webdynpro application which hooker  method will trigger first?

    Hi Naveen,
    The first method called is the WDDOINIT of the component controller.
    For more details on hook method please see the below link.
    http://wiki.sdn.sap.com/wiki/display/WDABAP/HooksMethodsinWebdynprofor+ABAP
    http://help.sap.com/saphelp_tm70/helpdata/en/45/c87f413e70010de10000000a1550b0/frameset.htm
    Thanks
    Pradeep

  • BOX character at the end of line when file transferred from SAP to  WINDOWS

    Hi,
    We have a file interface program which creates a comma seperated '.txt' file in application server. Once it is created in application server in provided path an UNIX script runs which transfers this file from SAP application server to a network drive in WINDOWS platform. This file looks fine  when opened through WINSCP from SAP application server but when checked the file in network drive opened with note pad, it found each line come at the end of another line seperated by 'BOX' character.
    If we opened the file in word pad instead of note pad it looks fine.
    If any one of you have any idea to resolve this issue it will be a great help.
    Thanks,
    Ranadev

    Hi Ranadev,
    This happens because when you transfer the file to the Windows platform using the UNIX script it removes uses only a newline character at the end of each line instead of the Windows platform standard which is carriage return/newline.  The Notepad program displays this character alone as the box that you see.  If you want to verify take the same program and convert to Windows format using Notepad++ and you'll see that the same file then displays properly in Notepad.
    Regards,
    Ryan Crosby

  • Issues when sending mail from sap to outlook in .csv FORMAT

    hI all,
    Im using 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    FM TO send a mail from SAP to user with attachment in .csv format but the data isnot getting displayed correctly ...
    I thnk it is competely displayed in ASCII format ..
    Can anybody give me suggestionson the same
    thanks

    Hi.
    How is the user opening the .csv attachment?
    I'm guessing that it should be opened with Excel.
    Are you using an attachment document type of 'XLS'?
    If not, then the attachment won't be opened with Excel unless the user right-clicks on it and does 'Open with'.
    Even then, the user will have to use the Excel import wizard.
    Is a .csv file what you want?
    You can use the ABAP OLE stuff to write a native Excel file that can be attached to an email.
    Or you can (at the cost of more work) write the Excel file (still type XLS) using XML, which gives you more control, and still works when your program is run in the background.
    John

  • Sending Userid when printing job from SAP

    Is there a way to send a userid when printing from SAP?  In order to control printing costs we are requiring user codes to be input to the printer before a job will print. The windows operating system is capable of sending the codes needed to the printer., Can the SAP application send a user codes ?

    I don't think so directly unless you use LOCL and capture the Windows user ID, though I'm no printer expert.  You may need to generate reports in SAP but then you're never guaranteed that the spool that was released to Windows was actually output.  We have Equitrac boxes on all of our shared corporate printers.  When the print comes out directly from SAP, the only identification as to where the print came from, other than the name of the Windows print queue, is the generic underlying SAP system user (not the SAP user ID).  We can't track the cost unless the user actually logs into the box to use the printer/copier.
    For our high volume color and black/white printers in our data center, we chargeback the print costs based on the Windows queue that the print came from.  As you probably know, you can have many SAP print queues/devices that point to the same physical printer.  We name all of our queues such that the using company/department/application is easily identified and our operators track the costs in that manner.

  • Problem when pushing IDOC from SAP to XI

    Hi,
        I am trying to push an IDOC from SAP R/3 system to XI. When I processed the IDOC using test tool(WE19), it's showing message that IDOC sent succesfully to R/3 or External system. But in SM58 Transaction it gave error message that in Trabsaction IDX1: some RFC connection error. Then I opened the Transaction IDX1 on XI server, in that IDOC Adapter configuration I gave RFC destination, Logical system name of R/3 and saved it. Now When I tried again to push IDOC from R/3 to it's not giving any error message(in SM58), but I am not able to see any thing in SXMB_MONI. Can anybody guess what's happening? And also I am using fresh newly installed XI server. DO I need to configure something else? All RFC connections are well defined and working fine.

    Hi,
    It is not required to create Sender Agreement for the Idoc to XI scenario. Because it is implicitly exists.
    Can u check Receiver Determination  created in the XI once again. And also check for RFC destinations created in the R/3.
    Hope it helps ..
    -Moorthy

  • HT204380 How does a user of multiple Apple devices (iPhone, iPad, Mac laptop) designate which devices will ring when an incoming Facetime call comes in.  If all three are online, should they all be able to accept an incoming video call?

    A friend of mine has an iPhone with a cellular data plan, a Macbook Pro, and a mini-iPad.  She's been using Facetime, but says that all of the devices used to ring at the time of an incoming Facetime call.  Now only her iPhone rings.  How do you set whichever device you want to ring?

    James: I agree. Please keep them shorter.
    The answers to both questions are no.
    The iPad is NOT a computer replacement. It is a mobile device.
    The iPad can not stream tro the iPhone nor an iPod.
    Hope this helps....

  • Adobe Form output cropped when sent directly from SAP to printer

    I have created an Adobe Form (not interactive) that looks perfectly OK when previewed in Adobe Acrobat viewer but when printed blank margins of 4-5 millimeters are applied on all 4 paper edges. The form was designed with a coloured frame around it but the margins effectively remove most of the frame. The form content is being cropped instead of being compressed inside the margins.
    The form has been created with LiveCycle Designer via SAP transaction SFP. I am generating the form from an ABAP program
    When the form is printed from the Adobe Acrobat viewer I have the option to set Page Scaling to 'Fit to Printable Area'. This makes the form content being compressed inside the blank margins and the coloured frame remains intact. If I leave the Page Scaling setting as 'None' the output is being cropped as described above.
    The real problem occurs when I want to print without previewing first. I need to do that since previewing enables the user to skip printing and the application must know if the form has been printed or not. I have so far found no way to make the printer print on the paper edges or fit the content to printable area. Is there some setting in the output parameters than handles this?
    Also there is a need for duplex printing when sending form directly to printer. On help.sap.com there is information about duplex print for SAPscript and Smartforms but nothing for Adobe Forms.
    Here is an excerpt of the ABAP code used for printing the Adobe Form:
      DATA: zs_outparams TYPE sfpoutputparams,
                 z_fmname     TYPE rs38l_fnam.
    Set some print parameters
      zs_outparams-nodialog = abap_true.        "No user dialog
      zs_outparams-device   = 'PRINTER'.          "Output device
      zs_outparams-dest     = z_pdest.              "Printer name
      zs_outparams-reqnew   = abap_true.        "New spool request
      zs_outparams-reqimm   = abap_true.        "Print immediately
    Open print job
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = zs_outparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Get FM name for form
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'Z_TEST_FORM'
        IMPORTING
          e_funcname = z_fmname.
    Call FM to print form
      CALL FUNCTION z_fmname
        EXPORTING
          i_header       = t_data_for_form
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Close print job
      CALL FUNCTION 'FP_JOB_CLOSE'
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        "Ignore
      ENDIF.
    Please advise on how to
    -  avoid the content cropping
    -  enable duplex print
    when sending Adobe forms directly to the printer
    Thanks very much!
    Bernt Evensen

    Thanks for your answer, Ramachandra!
    However I need some more specific information to solve this.
    Which printer layout settings are relevant for the handling of margins and duplex printing for Adobe Forms?
    I have not set up the printer myself but when talking to the printer guy which settings should I recommend him to look at?
    I can see in transaction SPAD that there are settings specific to SmartForms but there is nothing said about Adobe Forms. Is there some way to make Adobe Forms related setting appear in SPAD for a device type?
    Maybe my problem is not related to the printer device settings but rather to the way the printer is being called. When printing duplex we will have to override the default settings of the printer anyway.
    Function module FP_JOB_OPEN has a parameter structure of the type SFPOUTPUTPARAMS. Which fields in this parameter structure are to be manipulated to get duplex print and output fitted to page size?

  • Hiii capturing error when uploading file from sap to Server

    hiii
    i am taking data from an internal table which is as follow
    ITAB:
    colA(35) type c
    colB(35) type c
    when doing opendataset
    OPEN DATASET lv_directory FOR OUTPUT IN TEXT MODE ENCODING UTF-8.
    spliting my itab by the delimiter "|"
    i need file already exist i must not over overwrte the file i must throw an error but how do the open dataset for output will overwrite the file how do i prevent that.  how can i check that a file of that name exist.
    do i try to open dataset for input first then if sy-subrc EQ 0 it meant that a filename already exist

    Hello,
    Do something like this:
    DO.
      READ DATASET file INTO <hex_container>.
      IF sy-subrc = 0.
    " File exists
      ELSE.
        OPEN DATASET....
      ENDIF.
    ENDDO.
    Regards.

  • Finding the XML file when importing ENH4 from SAP DVD

    Hello,
    We are installing the ENH4 from the SAP DVD 51033594, but in the DVD there is no xml file. How can I get one? Our Solution Manager is not yet properly configured as the installation is new.
    Thanks and best regards,
    Ana

    Hi Ana,
    You need to configure your system in Solution Manager.
    Then when you access Maintenance Optimizer, solman will automatically detect the required patches/DVD's needed for your upgrade.
    The XML file generated by solman is MANDATORY.
    Thanks,
    Saba.

  • Security feature in OBIEE when integrating Cubes from SAP BW

    Situation: We are trying to integrate SAP BW cubes with OBIEE and create reports on OBIEE.
    We can import cubes and stuff into OBIEE and do the modelling to the multi dimensional db..
    But when we talk about securities, we (in OBIEE side) want to do it through LDAP Servers. // hitting a hurdle
    So the Authentication can be done using LDAP Servers, but the Authorization cannot be done by LDAP, since the client doesn't have that concept for authorization using LDAP
    So I want to figure out some solution where we can do the authorization through another means...Your ideas are deeply appreciated
    Thanks

    Sonali, it seems to me that I can't mark this thread as answered because I am not the author (owner) of it. I don't see the needed buttons for marking...
    Olga

  • Gui Type when upload role from SAP R/3

    Hi.
    We execute Role Upload function in EP 60.
    It take R/3 Role and create role, transaction iview in  EP.
    My problem is when Role Upload function create transaction iview, They set Gui Type = WebGUI.
    We just use WinGUI.
    Is there any config for this ?
    Regards, Arnold.

    Although this question is rather old now I'll leave an answer for anyone that may be having similar problems.
    After using the role upload tool use multiple property replacement on the uploaded iViews.
    property id:  SAP_GuiType
    new value : WinGui

Maybe you are looking for