Need guide lines for learning XI

Hi,
    I am just begining to learn XI. I have knowledge in ABAP and JAVA J2EE. I need to start learning XI, Please tell me from where I have to start for it.
If you have any book or any link related to it, please share it with me.
Thanx in advance.
Regards,
Mridul.

Hi,
Please follow the below links for detailed info on XI.....
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
/people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
/people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
/people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine
/people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
/people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - XI in the role of a FTP
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion -File Receiver with Content Conversion
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC for Unequal Number of Columns
/people/morten.wittrock/blog/2006/03/21/validating-messages-in-xi-using-xml-schema - Validating messages in XI using XML Schema
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change - IDOC bundling - the "trick" with the occurance change
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1338- [original link is broken] [original link is broken] [original link is broken] [original link is broken] Creating Sales Order through Idoc
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1348- [original link is broken] [original link is broken] [original link is broken] [original link is broken] Creating Purchase Order Idoc through XI
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1310- [original link is broken] [original link is broken] [original link is broken] [original link is broken] Configuration steps required for posting idoc's(XI)
Please Mark it as helpful info....
Thanks.,
Stallin

Similar Messages

  • Is there any sizing guide line for Coherence ?

    Is there any sizing guide line for Coherence ?

    Thanks Robert! It appears we could make a concession and work with unicast UDP (and TCP). Multicast needs to be turned off as leaving it enable has been known to flood our networks and needs to be avoided at all cost.
    We are looking for an option to have "the lowest guaranteed delivery of data and events" with consistent low latency so we need a smart use of the available network bandwidth... (general overview goal).
    That brings me to the next three topics I am trying to really better understand: serialization options, cache server heap sizes, and scalability boundaries.
    Heap Sizes -- It has been suggested in the forums to use 1024m cache server heap sizes (so gc pauses are low enough to "provide" consistent low latencies), and, have 75% of the heap for actual object storage... What are the largest CS heap sizes in production, 4GB, in a 64-bit platform?
    Serialization -- I am trying com.tangosol.io.ExternalizableLite and I am interested in quantifying possible gains (i.e. CPU, network bandwidth, storage size impact). Anybody tried their own serialization with better results than ExternalizableLite?
    Scalability -- Let's say I go with 1024m CS heap sizes, and my 800 clients (growing rapidly to x4 x6), I will probably end very quickly with a significant amount of cache members. Coherence uses their own "P2P" implementation for their cache topologies (TCMP), right?.. What is the realistic limit in terms of maximum cache member number in a Coherence Cluster? Not sure many clusters connected together can provide the latency/data consistency performance scalable use cases need. Anybody can comment on that (with realistic numbers please). Any benchmarks available with 1,000, 2,000, or 4,000+ members?
    Thanks
    Martin --

  • Guide line for task type: Background.

    Hi experts
    Could you kindly tell me the guide line for background?
    I only search the dialog from the internet.
    Is there any difference between them?
    Our system is IDES system.
    DB sever is SQL sever.
    I just want to know the standard value for background. such as the standard avg. response time is X sec. cpu time is XXX, etc.
    You  also can provide the ratio for me.
    Thanks and best regards
    Alex yang

    Hi,
    Please refer the below links:
    http://help.sap.com/saphelp_nw70/helpdata/EN/4a/2d513897110872e10000009b38f889/content.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/c4/3a7ed1505211d189550000e829fbbd/frameset.htm
    Pages:
    http://help.sap.com/saphelp_nw70/helpdata/en/84/7ed390d81f11d188be0000e83539c3/frameset.htm
    Rajeev

  • Guide line for hardware sizing

    Hi,
    can anyone give a guide line for harware sizing for EBS.
    I have searched in the net but here are no comprehencive document.
    I mean to say
    in (Database + Concurrent + Report Server)
         SGA size
         memory per user both for DB and concurrent+report server
         memory per session
         other memory requirements, etc
         CPU required
         Disk space required
         other requirement for RAC(for each RAC node)
    in Apache + Forms Server
         memory requirement
         CPU requirement
         Disk space requirement
    what I mean that what ever may be the concurrent users,managers,processes,module if I know the requirement for per
    users,managers,processes,module then I can roughly estimate the hardware required.Considering
         •     Maximum memory utilization would be 60% in production and 80% in other
         •     Maximum CPU utilization would be 50% in production and 80% in other
         •     File system usage is 50% in production and 80% in others
         •     OLTP to Batch ratio of 60:40 is taken
    Also tell memory required for Vision instance.
    regards

    You can review Oracle Metalink Document:
    Recommendations to Install Oracle Applications 11i : Doc ID: Note:294932.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:11505061881672054616::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,294932.1,1,1,1,helvetica
    Additional please review the following;
    11i (11.5.10.2)
    Oracle Applications Installation Guide: Using Rapid Install
    Chapter - 1
    Disk Space Requirements
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/r115102ins.pdf
    Release12
    Oracle Applications Installation Guide: Using Rapid Install
    Chapter - 1
    Disk Space Requirements
    http://download.oracle.com/docs/cd/B40089_08/current/acrobat/120oaig.pdf
    Adith

  • Guide Line for zone resources control

    Hi,
    i'm looking for guide line or best practices about zone resource control, especially cpu-shares, swap and RAM.
    I need this information to make decision when customers has no idea but has a lot of zone configured.
    For example:
    t2000, 32gb ram, 32gb swap and 20 zones
    Applications run only in zones.
    How can I set cpu-shares, max-swap and capped memory just for security purpose?
    Thanks

    I'm of the opinion that the safest strategy for proactive resource management is CPU only. Playing with memory can have some effects that I'm not crazy about. Nothing unmanageable, but it can really confuse end-users unless you spend a lot of time educating them. The other consideration is that behind most resource pulls are increases in CPU use. Not always, but a lot of the time. So, if you must be proactive, go with CPU.
    The best practice will depend heavily on your environment. Do you migrate zone containers in and out of the box often? Are the apps very similar or wildly differing? Many things need to be decided before mapping out a strategy. Let's take a simple case: Fairly similar apps that don't move in and out often. Figure out what percentage of the box you want each to have, then set up dynamic resource pools to match this model.
    If you have a lot of zones and some degree of change, dynamic pools can get unwieldy, so you may prefer using the Fair share scehduler (FSS). In many cases however, proactive use of SRM means that you need to rebalance resources when you add/remove a zone.
    I think once you understand the various resource controls available to you it's best to just make a bunch of scribbles on a white board to depict what you want at a high level and then map it into a resource constraint that best implements it. The hard part is defining what you want.

  • Guide lines for Oracle Certification

    Hello Sir,
    I want to appear exam for oracle DBA certification.
    Please help me with necessary guide lines to achieve my goal.
    Thanks and regards,
    Binney

    hello,
    oracle certification exam registration and information is there on oracle.com/ you can access that, here we can tell you that oracle DBA certification exams can be grouped as
    1 OCA (oracle certified associate) with 2 papers sql+fundamentals1
    from whicjh fundamentals one include basic and architecture of oracle database, and SQL include use of SQL to acces database
    2. OCP (oracle certified professional) OCA+ 2 papers fundamemtas2+performance tuning
    from which funda2 include backup and recovery techniques and performance tuning include how to tune your oracle database for maximum performance... inspite of what i have told you above you can refer oracle site and better post this question on oracle "Certification" forum here....
    Oracle Certification Program
    you will get more info here
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=51&p_org_id=1001&lang=US
    hope this helps
    thanks and regards
    VD

  • Need Schedule Lines for the External Processed Operation

    Dear All,
    In My routing, I have totally 10 operations. 2 of which are externally processed Operations.
    When i create Production Order, the system creates Purchase Requisitions for both the Operations.
    My client wants, Schedule lines to be created in the Production Order Operations.
    Please guide me where will be the settings to get this.
    Thanks & Regards
    Bala

    Hi,
    For schedule lines cofigration kindly check the following Path:
    Material management--  Purchasing--
    Schdulling agreement
    Here you need to do the cofigration of the following as per your requirements:
    Number ranges
    Docuemnt types
    Release procedure
    Screen layout ( if required)
    Authorization check for GL Account
    Regards,
    Syed

  • Design guide line for filter implementation

    Dear all,
    In a winrt application I need to implement a filter. The filter is in place in order to avoid to load all data. So that filter will be the strating point of my app and it has 3 level :
    - Category
    - Sub Category 1
    - Sub Category 2
    - Sub Category 3
    My design concern is the following :
    Does such a filter is better to implement in the application interface Inside the MainPage or is it better to define the filter as a SettingFlyout control ?
    thanks for advise
    regards

    Thnaks for your reply.
    Yes the filter will be a UserControl and that user control is based on 4 comboBox but my concern is more on the following user action :
    Scenario 1 :
    - The app bar contain a filter button
    - User press the filter button
    - The filter user control gets display in the middle of my Main application Page
    Scenario 2 :
    The app bar contain a filter button
    - User press the filter button
    - A custom Flyout Windows appears in similar way as a  Setting app flyout on right side edge
    - The custom Flyout contains the Filter control
    Which approach is best ?
    I think I find out the answer from this link :
    http://social.technet.microsoft.com/wiki/contents/articles/22608.windows-8-1-how-to-create-a-filters-control-like-health-fitness-and-food-drink-apps-in-xaml-and-c.aspx

  • Need the Materials for learning BI7 (Screenshots for creation of Contents)

    Hi Gurus,
    Pl share the Screen shots for Creating the all Business objects(CUBE,ODS,Infosource ....) in BI7.
    MAIL - [email protected]
    I ll share my thanks as reward points .
    Regards,
    Raja

    Hi,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/1251421705be30e10000000a155106/frameset.htm
    modeling:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6ce7b0a4-0b01-0010-52ac-a6e813c35a84
    Frequently Asked Questions  in SAP NW 7.0 - Enterprise Data Warehousing, Reporting, Query & Analysis and Business Planning
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/93eaff2d-0a01-0010-d7b4-84ac0438dacc
    GTR

  • Need APEX document for learning practice

    Hi All,
    I am new user in Application Express and i want to create a web application for our day to day job.
    Data Should be in column: Serial Number,
    Analyst Name (Multiple),
    Date,
    Customer Name,
    Status (Pending or completed)
    Buttons - submit, cancel
    I should be able to enter the data in the application and at the end of the day I should be able to see how many customers has been completed by individual analyst and should be able to download the data in excel
    So please provide any link or document
    Thanks
    Vinod
    Edited by: user783485 on Dec 10, 2008 10:31 PM

    Hi,
    I have an account in apex and Actually I had already created excel(csv file) and loaded the data in APEX.
    and its showing the result I had put some 15 rows in that excel and its shows all the data in APEX. but I want to do it with out excel or loading excel into APEZ so that i can create form in APEX do the data entry and at the end of the day if i click some button i should come to know how many customer files i have completed and how much time i took for each customer

  • Guide lines onCLDC

    heayas all, i have some questions, pretty basic. I have some school project to do and i thought of making an cldc app which is to connect to remote java web application on tomcat server, retrive data and display it. Servlet tehnology isnt a problem cuz im cuite expirienced with it but i need some basic guide lines for cldc.
    1. is there some way to test cldc app on computer (are there emulators or whatever they are called) so i dont have to transfer app to mobile every time i change something
    2. some tips on programming or/and code regarding topic is more than welcome
    tnx

    download a wtk (sun or other)
    and search in
    http://developers.sun.com/mobility/allarticles/
    and
    http://developer.sonyericsson.com/site/global/home/p_home.jsp?cc=gb&lc=en&ver=4000&template=ph1&zone=ph%20

  • Guide lines from Area Type Options setup

    I am probably wrong, but somewhere in my head I faintly remember that when setting up Area Text with the Area Text Options, that you could also make gridlines at the same time that followed the grid.
    I just may have been dreaming, but this is what I really would like to be able to do. Both for the columns and also horizontal guide lines for rows.
    Does anybody know of a script that is capable of doing this?

    I have the answer I was looking for. No script needed. http://www.youworkforthem.com/blog/tag/tutorial/
    I wasn't dreaming after all.

  • Adding Guide Lines In Photoshop

    Hi All,
    My last post was classed as answered as i got the answer i was looking for and am amazed at the response time.
    I was just wondering how i add guide lines in photoshop CS4. Say i have a image.psd open that has guide lines already on it, how can I add more guide lines for when I am doing my slices.
    Many Thanks in advance
    Lee

    Hi,
    Another 11/10 answer.
    Thank you so much to all who have given me answers and this forum is the best for quick correct answers.
    Thank You so much
    Lee

  • BAPI_QUOTATION_CREATEFROMDATA2 : Multiple line for same Characteristics

    Hi ALL,
    Hi Thomas,
    I am using BAPI "BAPI_QUOTATION_CREATEFROMDATA2" to create quotation.I have one question on Configuration part.
    I am able to update configuration but I need MULTIPLE line for the same CHARECTERISTICS.
    Below is the code.
    Please notice the record of table " i_quotation_cfgs_value". I want to show TWO record for Char 'Z_COIL_THICKNESS' with value 0.2 and 0.3.Do I need to increment Instance ID or Confid ID or do I need fill table QUOTATION_CFGS_PART_OF.Please help.
    CONSTANTS:
    conf_id TYPE char6 VALUE '000010',
          inst_id TYPE char8 VALUE '00000001'.
    w_quotation_schedules_in-req_qty = '5'.
    w_quotation_schedules_in-itm_number = '000010'.
    w_quotation_schedules_in-sched_line = 1.
    APPEND w_quotation_schedules_in TO i_quotation_schedules_in.
    CLEAR w_quotation_schedules_in.
    w_quotation_cfgs_ref-posex = '000010'.
    w_quotation_cfgs_ref-root_id = inst_id.
    w_quotation_cfgs_ref-config_id = conf_id.
    APPEND w_quotation_cfgs_ref TO i_quotation_cfgs_ref.
    w_quotation_cfgs_refinst-posex = '000010'.
    w_quotation_cfgs_refinst-config_id = conf_id.
    w_quotation_cfgs_refinst-inst_id = inst_id.
    APPEND w_quotation_cfgs_refinst TO i_quotation_cfgs_refinst.
    w_quotation_cfgs_value-config_id = conf_id .
    w_quotation_cfgs_value-inst_id = inst_id .
    w_quotation_cfgs_value-charc = 'Z_COIL_THICKNESS'.
    w_quotation_cfgs_value-value = '0.2'.
    APPEND w_quotation_cfgs_value TO i_quotation_cfgs_value.
    CLEAR w_quotation_cfgs_value.
    w_quotation_cfgs_value-config_id = conf_id .
    w_quotation_cfgs_value-inst_id = inst_id .
    w_quotation_cfgs_value-charc = 'Z_COIL_THICKNESS'.
    w_quotation_cfgs_value-value = '0.3'.
    APPEND w_quotation_cfgs_value TO i_quotation_cfgs_value.
    CLEAR w_quotation_cfgs_value.
    Code Formatted by: Alvaro Tejada Galindo on Jan 5, 2010 10:26 AM

    Hi Madhu,
    Pass below four table.
    i_quotation_cfgs_ref
    i_quotation_cfgs_refinst
    i_quotation_cfgs_inst
    i_quotation_cfgs_value
    "config_id" should be same as Item number.
    To define the connection between the sales order item and the configuration you must pass match this-->(ORDER_ITEMS_IN-PO_ITM_NO = ORDER_CFGS_REF-POSEX)
    Let me know if you need any other info
    Code :
    CONSTANTS:
    lc_conf_id TYPE char6 VALUE '000010',
    lc_inst_id TYPE char8 VALUE '00000001',
    lc_item_no TYPE cu_posex VALUE '000010',
    w_quotation_cfgs_ref-posex = lc_item_no. "'000010'.
    w_quotation_cfgs_ref-root_id = lc_inst_id.
    w_quotation_cfgs_ref-config_id = lc_conf_id.
    APPEND w_quotation_cfgs_ref TO i_quotation_cfgs_ref.
    CLEAR w_quotation_cfgs_ref.
    w_quotation_cfgs_refinst-posex = lc_item_no. "'000010'.
    w_quotation_cfgs_refinst-config_id = lc_conf_id.
    w_quotation_cfgs_refinst-inst_id = lc_inst_id.
    APPEND w_quotation_cfgs_refinst TO i_quotation_cfgs_refinst.
    w_quotation_cfgs_inst-inst_id = lc_inst_id.
    w_quotation_cfgs_inst-config_id = lc_conf_id.
    w_quotation_cfgs_inst-obj_type = 'MARA'. "wa_zrvs_mat_char_h-obtab
    w_quotation_cfgs_inst-class_type = 300. "wa_zrvs_mat_char_h-klart.
    w_quotation_cfgs_inst-obj_key = "Material number"
    w_quotation_cfgs_inst-quantity = 1.
    APPEND w_quotation_cfgs_inst TO i_quotation_cfgs_inst.
    CLEAR w_quotation_cfgs_inst.
    w_quotation_cfgs_value-config_id = lc_conf_id .
    w_quotation_cfgs_value-inst_id = lc_inst_id .
    w_quotation_cfgs_value-charc = wa_zrva_tdccodes-zzcharcteristics.
    w_quotation_cfgs_value-value = wa_zrva_tdccodes-zvalue.
    w_quotation_cfgs_value-valcode = 1.
    APPEND w_quotation_cfgs_value TO i_quotation_cfgs_value.
    CLEAR w_quotation_cfgs_value.
    w_quotation_items_in-po_itm_no = lc_item_no. "'000010'."Imp for config
    w_quotation_items_in-itm_number = lc_item_no. "'000010'.
    APPEND w_quotation_items_in TO i_quotation_items_in.
    CLEAR w_quotation_items_in.
    Roshan

  • Script Lines for testpattern

    Hi
    I'm Looking for a Script to generate lines for testpattern. I Need diagonal Lines for each corner
    Thanks

    so is there a way around is? how do I stop the computer going to sleep while the script runs? Or how do I protect password etc if using a script with a password in it?
    There are a number of approaches. One is to encrypt/obfuscate the password within the script, decoding it on the fly.
    Another is to store the password in the user's keychain and have the script retrieve it from there at runtime (this requires a lot more coding to capture the password on the first run, save it to the keychain and retrieve it later).
    Another option may be to edit sudoers to allow the target command to be run without authentication, although this opens a whole slew of other potential issues, of course.
    Of the three, for a program I don't expect to distribute, I'd probably go for the first option. Note that there are many ways of doing this, ranging from the trivial to the herculean - you'll need to decide how much is appropriate for your needs. One very simple approach (not recommended for high security needs) is just to put your password in a list - the data format of the list makes it more difficult than a string to extract from a read-only script, but it's only one line of AppleScript:
    property pw: {"p", "a", "s", "s", "w", "o", "r", "d"}
    set my_pw to pw as text
    You could get a little more complex by reordering the characters:
    property pw: {"d", "r", "o", "w", "s", "s", "a", "p"}
    set my_pw to reverse of pw as text
    Taking it on a step further, there are all kinds of encryption/transformation algorithms you can apply to further mask the data. Most common algorithms can be translated into AppleScript if needed.

Maybe you are looking for