Is there a Function or Method to automaticaly generate passwords?

hi there,
is there a Function or Method which generates passwords?

Check the below sample code paste and check in SE38
data lv_genpassword type char08.
CALL FUNCTION 'RSEC_GENERATE_PASSWORD'
EXPORTING
   ALPHABET                   = '0123456789ABCDEFGHIJKNPQRSTUVXYZ'
   ALPHABET_LENGTH            = 36
   OUTPUT_LENGTH              = 8
IMPORTING
   OUTPUT                     = lv_genpassword
EXCEPTIONS
   SOME_ERROR                 = 1
   OTHERS                     = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
else.
   write lv_genpassword.
ENDIF.
Kanagaraja L
Edited by: Kanagaraja  Lokanathan on Sep 3, 2009 2:36 PM

Similar Messages

  • IS THERE ANY FUNCTION OR METHOD TO KNOW CURRENT OPERATIN SYS

    Hi,
    is there any function or method to know current operating system where peoplecode is runnig or any system variable
    thanks,
    Amit

    CTRL + J displays the operating system.
    In terms of the code that does this, as discussed in this article:
    http://www.peoplesoftwiki.com/limit-control-j-information
    You can look at the PT_INFOPAGECONNECT HTML definition which uses the system variable %BrowserPlatform to show this information.
    According to PeopleBooks, this system variable resolves to:
    At runtime %BrowserPlatform is replaced with the operating system name as specified by the browser loading the current page.

  • How can we get the image which is stored in clipboard by labview, is there any functions available like text from clip board

    How can we get the image which is stored in clipboard by labview, i can get the text in clipboard by using invoke node directly.but i cannot get the image, is there any functions or vi available.(image is in Png format)

    The Read from Clipboard method is, unfortunately, limited to text. If the clipboard contains an image then you need to use OS-specific functions calls. This is an example program for Windows. It's old, but it should still work.

  • Error with quantity field:Datasource Creation Using Function Module method

    Problem with DATASOURCE Creation using Function Module method :
    I have created a datasource ZSTANDARD_COST_PRICE using Function Module method . The datasource creation is successfull when I remove the quantity field from the Z table . If I dont remove the quantity field from my Z table it gives an error as "Units Field WAERS for field STPRS of datasource ZSTANDARD_COST_PRICE is hidden". I am not able to remove this error . Please someone guide.
    Let me know if my explanation is not clear enough.
    Thanks in advance,
    Neha.
    Z table definition is as below :
    MATNR MATNR CHAR 18 0 Material Number
    BWKEY BWKEY CHAR 4 0 Valuation area
    LFGJA LFGJA NUMC 4 0 Fiscal Year of Current Period
    STPRS STPRS CURR 11 2 Standard Price   " Here the currency field is WAERS and table T001
    PEINH PEINH DEC 5 0 Price Unit
    VJSTP VJSTP CURR 11 2 Standard price in previous year
    VJPEI VJPEI DEC 5 0 Price unit of previous year.
    Edited by: Neha Rathi on Jan 30, 2009 3:03 PM

    Hi,
    You should add it as one of the main fields as you have added other fields and not as the currency fields...that is..it should be part of the data source and you should be able to see it in RSO2...
    Also if added as i said then it will come as new field in the data source...you can either let it be there...or hide it..
    also if you want to populate it then you will have to write the code for this fields as well.
    Thanks
    Ajeet

  • ESB Error - Extension function error: Method not found 'parseEscapedXML'

    Hi All
    I have written an ESB service in which i have used the function 'parseEscapedXML'. The ESB service works fine in one environment but throws the following error in the other env.
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns="">env:ESBMessageProcessingFailed</faultcode><faultstring xmlns="">XML-22043: (Error) Extension function error: Method not found 'parseEscapedXML'</faultstring></env:Fault></env:Body></env:Envelope>
    I compared the two instances and found that there is a difference in the size of the bpm-services.jar on the two instances. Also the ESB env where the ESB services works in on MLR1 and the instance where its throws an error is on MLR3. Has anyone faced this issue. Does MLR3 overwites this jar with a new jar?
    Thanks
    Rakesh

    Dear,
    The addon is a third party addon which was developed by CitiXSys. so the support is provided by the partner who developed the addon.
    Go to the vendor Citixys for further support will give you a quick reply.
    Regards
    Apple

  • Error: "Function or method not supported." when using RF List Mode on NI 5673E

    Hi,
    I am trying to use the RF List Mode in NI RFSG 5673E. I tried running the sample code "RFSG Configuration List Frequency and Power Sweep.vi" but an error would show up:
    "Error: niRFSGCreateConfigurationList.VI <ERR> The LO reported the following error: Function or method not supported." with the error code: BFFA4239. 
    I also tried running other sample codes that contain the Configuration List VI's but the same error appeared. I am using NI RFSG 1.8.5.
    I would really appreciate any help on this. Thanks!

    Hello jdlabrador,
    I setup a 5673E here and tried to run the same example.  I did not encounter an error.
    Other reports I've found pertaining to this error usually involved a large number of steps - there was not enough space on the hardware to accommodate them.  The error text you're seeing is a little different in that it states that the Create Configuration List method isn't supported for the LO.
    Do each of the modules in your 5673E (5450, 5611, 5652) pass a self-test in MAX?  
    Have you associated the 5450 and 5652 with the 5611?
    Could you post a screenshot of the fully-expanded Devices and Interfaces tree from MAX?
    Since RFSG 1.9.5 is available, it may be a good first-step to upgrade to it.  
    Best regards,
    Matthew H.
    Applications Engineer
    National Instruments

  • Bapis, Functions or Methods for Down Payment F-47

    Hi masters
    I am creating a webdynpro application to display, release and reject Down Payment  like F-47 transactions.
    Please give me the Bapis, Functions or Methods to display details of some document, release and reject.
    No answers will be awarded.
    Edited by: Rob Burbank on Oct 28, 2009 3:14 PM

    Hi Raj,
    Please check with your workflow consultant. Anyway, I'd like to share with you how to know whether there is a standard workflow for application component in question. T-Code SWDD -> Workflow -. Other Workflow/Version. Then drilldown on the task field. Then choose structure search. You will find the standard workflow for each of the component. Unfortunately, there is no standard workflow for downpayment but if you have workflow consultant, they may be able to help.
    Regards
    Fauzi

  • Is there any function module for purchase order change

    Hi Experts,
    Is there any function module for purchase order change or i need to do new recording in me22n.
    Thanks,
    Senthil

    Hi
    Function module <b>BAPI_PO_CHANGE</b> enables you to change purchase orders. The Change method uses the technology behind transaction ME22N.
    Regards,
    Viven

  • Is there a function to open the outlook mail and to attach certain..

    Hello,
    Is there a function to open the outlook mail and to attach certain selected files?

    here is a code snippet from one of our programs
      data: out type ole2_object,
            outmail type ole2_object,
            att type ole2_object,
            atts type ole2_object.
          create object out 'Outlook.Application'.
          call method of out 'CREATEITEM' = outmail
            exporting
              #1 = 0.
          set property of outmail 'SUBJECT' = 'Smartform Output from SAP'.
          call method of outmail 'ATTACHMENTS' = atts.
          call method of atts 'ADD'
            exporting
              #1 = p_file.
          call method of outmail 'DISPLAY'.
    in our case, we save the data to a local file with the path p_file.
    so, we create the attachment on a local drive, at path p_file
    we open outlook
    we create a mail item
    we set the subject
    we add the attachment
    and we call disply, to pop the email up for any changes the user wants to make.
    in other programs we also use
      set property of outmail 'TO' = alvline-prc_email.
    to set the TO address of the email
    hope this helps

  • Is there any function module about same record with a time phase?

    Dear Expert,
    I am developing a program to upload time data into SAP and I was asked to delete the records which coming within 5 mintues and upload the last one into SAP.
    Is there any function module about this?
    BR Wang Yichao

    HI ajay,
    1. If i am not wrong, this infotype hrp1005,
       is maintained using PP01.
    2. One method is
       using FM RH_RELATION_MAINTAIN.
    regards,
    amit m.

  • Is there any Function module available for GR IR for purchase order

    Hi
    Is there any function module available in SAP to get the list of Goods Received and Invoice Reciept for a purchase order.
    One way to create a custom fuction to fetch the details from MSEG and BKPF.
    Can somebody suggest a better solution.
    Thanks in advance.
    Ruhi Hira

    Which table in BAPI_PO_GETDETAILS exactly has these information ?
    PO_HEADER_TEXTS
    PO_ITEMS
    PO_ITEM_ACCOUNT_ASSIGNMENT
    PO_ITEM_SCHEDULES
    PO_ITEM_CONFIRMATIONS
    PO_ITEM_TEXTS
    PO_ITEM_HISTORY
    PO_ITEM_HISTORY_TOTALS
    PO_ITEM_LIMITS
    PO_ITEM_CONTRACT_LIMITS
    PO_ITEM_SERVICES
    PO_ITEM_SRV_ACCASS_VALUES
    RETURN
    PO_SERVICES_TEXTS
    EXTENSIONOUT
    NFMETALLITMS
    Regards
    Ruhi Hira

  • Is there any function modules or BAPI's

    Is there any function modules or BAPI's that would delete the original partner and then add a new partner.Iam using BAP
    bapi_alm_notif_data_modify
    But iam not able to change partner in notification header
    Please give your input for sovling it

    Dear Rama,
                           In the bapi_alm_notif_data_modify, there are 2 structure
    NOTIFPARTNR STRUCTURE  BAPI2080_NOTPARTNRI OPTIONAL
    NOTIFPARTNR_X STRUCTURE  BAPI2080_NOTPARTNRI_X OPTIONAL
    Pass yr partner value in NOTIFPARTNR, and against the value make it "X" in the NOTIFPARTNR_X  , then u can change the partner value.
    Give point if helpfull
    Thanks

  • Is there any functionality for AVERAGE in ALV, like do_sum, subtot?

    Hi Experts,
    In my_alv report, am doing sub/totals for prices, by using do_sum, subtot functions.........fine. But, I need to do/display the AVERAGE value for Discount % column?
    Is there any functionality for AVERAGE in ALV, like do_sum, subtot?
    thanq

    hi
    check these links out
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    regards
    vijay
    reward points if helpful

  • IS THERE A FUNCTION TO RETURN THE NUMBER OF MONTHS OR DAYS?

    I know that you can do a months between function between 2 dates divided by 12 and get years but is there a function that can return the number of months between 2 dates or the number of days between 2 dates in a select statement for a report? These 2 dates are entered in an Oracle forms.
    I have 2 dates.
    BEG_SVC_DT 30-JUL-1995 DATE FORMAT
    END_SVC_DT 981007 VARCHAR2 FORMAT Positions 5 and 6 are the days.
    I must subtract BEG_SVC_DT from END_SVC_DT.
    In PLSQL I add 31 to 07 and get 38. I subtract 30 from 38 and get 8.
    or I have 2 dates
    BEG_SVC_DT 10-JAN-2003 DATE FORMAT
    END_SVC_DT 050924 VARCHAR2 FORMAT Positions 5 and 6 are the days.
    I must subtract BEG_SVC_DT from END_SVC_DT.
    In PLSQL I subtract 10 from 24 and get 14.
    In both scenarios the end_dt field must be VARCHAR2 because the user has to enter the word 'PRESENT' . Is there a function in SQL that would compute the
    number of days between 2 dates?
    Is there a function to get the number of months between 2 dates?
    I have 2 dates.
    BEG_SVC_DT 12-JUL-2004 DATE FORMAT
    END_SVC_DT 050807 VARCHAR2 FORMAT Positions 3 and 4 are months.
    I must subtract BEG_SVC_DT from END_SVC_DT
    JUL is the 7th month.
    In PLSQL, I subtract 07 from 08 and get 01
    Or I have 2 dates
    BEG_SVC_DT 13-NOV-2004 DATE FORMAT
    END_SVC_DT 050429 VARCHAR2 FORMAT Positions 3 and 4 are months.
    I must subtract BEG_SVC_DT from END_SVC_DT.
    NOV is the eleventh month. 04 is less than 11.
    In PLSQL I have to add 12 to 04 and subtract 11 from 16 to get 05.
    In both scenarios, the end_dt field must be VARCHAR2 because the user has to enter the word 'PRESENT'. In SQL, is there a function to compute the number of months between 2 dates?
    I am doing my calculations this way because this is the way that the user has been doing them when they created the report manually.
    The database that I am using is Oracle 9.2.0.6
    Report Writer Report Builder 6.0.8.22.0
    Forms 6.0.8.22.1

    In your example:
    BEG_SVC_DT 30-JUL-1995 DATE FORMAT
    END_SVC_DT 981007 VARCHAR2 FORMAT Positions 5 and 6 are the days.
    I must subtract BEG_SVC_DT from END_SVC_DT.
    In PLSQL I add 31 to 07 and get 38. I subtract 30 from 38 and get 8.
    Where is the "31" depending on, on year and month of BEG_SVC_DT or END_SVC_DT?
    What would be the answer for the following example
    BEG_SVC_DT 25-FEB-1995 DATE FORMAT
    END_SVC_DT 980407 VARCHAR2 FORMAT
    Do I add 28 (=number of days in FEB-1995),
    or 30 (=number of days in APR-1998),
    or 31 (= max number of days in any month?)

  • Is there any function to automatically adjust the voice volume in the multitrack

    I'm trying to mix voice sounds and music files into one track. Sounds easy! But almost every music has its loud parts(for example the climax) and quiet parts. Therefore when i listen to the voice and the music at the same time, the voice files are sometimes relatively too quiet and sometimes to loud. I don want to adjust the volume pan one part after another because I have a lot of files to mix. Could you tell me is there any function I can use to automatically adjust the voice volume to make it always 'just a bit higher than the music'? Or can I read some documents about this problem?
    Thank you very much!

    Sounds like you want to do what is called "ducking" & "side chaining".
    First try using a compressor and or limiter on the voice tracks to get a more even volume.
    Google: Audio Ducking tons of stuff on how to.
    I myself have never tried this with Audition, or the compressors that come with it. I have done it in other multitrack software and older versions of Dave Browns Compressor.
    Duff

Maybe you are looking for

  • What operating system does photoshop elements 13 use?

    what operating system does photoshop elements 13 use?

  • ITunes 10.5 and .m3u streams

    Beginning in iTunes 10.4.x, iTunes stopped handling .m3u files correctly.  A number of folks have said that this was fixed for them in 10.5.  What I find is that when I attempt to import a .m3u file in iTunes 10.5, the first song shows up in a new pl

  • Unit Test - Select current repository disabled in SQL Developer 4.0

    Hi, I am now using Oracle SQL Developer 4.0 and I want to use Unit Testing. However, when I go to Tools-> Unit Testing -> Select Current Repository, the option is disabled. However, it is working and active when using SQL Developer 3.0 Anyone faced t

  • Updates will not download and have frozen my phone.

    With the release of iOS 6, I was subjected to a torrent of app updates adding support for iOS6.  I had not yet (and did not plan to) performed the iOS update, but I figured I would just allow the apps to update.  There were about 20 updates, so I jus

  • Forms and Reports 6i on a Windows 7 Enterprise Edition 32 Bit.

    Hello, I am trying to install oracle forms & reports 6i on a Windows 7 machine. Windows 7 Enterprise Edition 332 Bit Kindly guide me if Oracle certifies Forms and Reports 6i on Windows 7 machine. Please also tell me any link where I can find genuine