How to Create Shared Storage using VM-Server 2.1 Red Hat Enterprise Linux 5

Thanks in advance.
Describe in sequence how to create shared storage for a two guest/node Red Hat Linux Enterprise using Oracle 2.1 VM Server on Red Hat Linux Enterprise 5 using command line or appropriate interface.
How to create Shared Storage using Oracle 2.1 VM Server?
How to configure Network for two node cluster (oracle clusterware)?

Hi Suresh Kumar,
Oracle Application Server 10g Release 2, Patch Set 3 (10.1.2.3) is required to be fully certified on OEL 5.x or RHEL 5.x.
Oracle Application Server 10g Release 2 10.1.2.0.0 or 10.1.2.0.1 versions are not supported with Oracle Enterprise Linux (OEL) 5.0 or Red Hat Enterprise Linux (RHEL) 5.0. It is recommended that version 10.1.2.0.2 be obtained and installed.
Which implies Oracle AS 10.1.2.x is some what certified on RHEL 5.x
I think it would be better if you get in touch with Oracle Support regarding this .
Sorry , I am not aware of any document on migration from Sun Solaris to RH Linux 5.2 .
Thanks,
Sutirtha

Similar Messages

  • Can i install the Portal Server 7 on Red Hat Enterprise Linux 4 ?

    hi all,
    Can i install Portal Server 7 on Red Hat Enterprise Linux 4 ?
    Thnx in Advance.

    Hi All,
    After tearing my hair out for about 3 weeks I've figured following are the steps for installing Sun Portal Server 7 on RH Linux 4. These though help successful installation I am still struggling to get the Single Sign On for the sample applications working.
    1. Boot linux with the network cable disconnected. (cable disconnected or wireless disabled is very important).
    2. set Hostname to localhost.localdomain
    3. Start INstaller (I always used the root login).
    4. Once the components list comes up "select All" then unselect "Sun POrtal Server 7" and "Sun Java System Portal Secure Remote Access". (trust me firends I am not kidding around).
    5. Follow steps of installation. Provide a password wherever requested. Highly suggested that you note down the options and the values you are entering in each step. Its about 20 page installer. Also whereever host and domain is asked for use localhost.localdomain. IP should be 127.0.0.1. Valid IP and valid domain name will also work but I haven't gone that route yet.
    6. Take special note of the LDAP Admin Password and LDAP user password. Note the usernames too. The admin password and user passwords HAVE to be different. DO NOT Forget the admin password. Default admin name is amAdmin.
    7. Go ahead and let the installation complete.
    8. I always used localhost.localdomain as domain name and host name and IP to loopback address 127.0.0.1
    Once the installation is complete start newly installed server in the following sequence
    A. To start localhost slapd:
    cd /var/opt/sun/directory-server/slapd-localhost/
    ./start-slapd
    cd /var/opt/sun/directory-server/
    ./start-admin
    (you can test here by running ./startconsole and loggin in using the admin username and password (you you should have remembered those... don't tell me I didn't warn you :)...)
    B. To start Sun Java System Application Server
    cd /opt/sun/appserver/bin
    ./asadmin start-domain --user [username] --passwordfile [a simple txt file with only the password in it] [domain name]
    e.g.
    ./asadmin start-domain user admin passwordfile adminpassword.txt domain1 OR
    ./asadmin start-domain user admin password pass123 domain1
    takes a few seconds to kick it off.
    open browser and go to http://localhost.localdomain:8080/ to check if application server is running
    C. To start Identity Server
    cd /opt/sun/identity/bin
    ./amserver start
    Now go to the SunPortal Server installer again and run it.
    9. In the screen that asks whether you want to install only or configure select configure now.
    10. Fill in required parameters like password. and user name. ( I kept ALL default and used the same password all throughout except for LDAP admin, I am doing this for a PoC so security be damned at the moment ).
    11. Be sure to fill in the correct LDAP admin and user passwords because else installation will fail.
    12. Let the installation roll
    13. At about 38% it will give a popup warning configuration may take upto an hour. If you get to click on this popups ok button good things are progressing fine. If not some server didn't start right.
    14. Takes about 15 minutes (depends on machine config) after you hit okay for the configuration to complete. Anything lesser check logs for any failure notices.
    15. IF all success reported congratulations!!!
    16. Goto http://localhost.localdomain:8080/portal/ to go to portal home page
    IT STILL DOESN"T WORK!!! HELP!!!
    Folks after all I said above it still doesn't work. When I go to any of the portal server Sample Applications and try to log in using the default usernames
    Community Samples has test/test
    Enterprise Sample has mary/mary ed/ed etc
    I cannot log in... The screen simply refreshes but doesn't go anywhere.
    I am suspecting this is because the domain and host is pointing to localhost.localdomain instead it should be given a valid domain name and a valid host and a valid IP instead of 127.0.0.1. If anyone can throw anymore light on this I'll be grateful.

  • Install 11.2.0.3.0 database on Red Hat Enterprise Linux Server v.5.7

    1. if I need to install 11.2.0.3.0 database on Red Hat Enterprise Linux Server v.5.7,
    Here I see 11.2.0.1.0 for Linux x86-64 on the following website._
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linx8664soft-100572.html
    Do I download the following and then apply the 11.2.0.3 patch?_
    Oracle Database 11g Release 2 (11.2.0.1.0) for Linux x86-64 Linux.x64_11gR2_database_1of2.zip (1,239,269,270 bytes) (cksum - 3152418844) linux.x64_11gR2_database_2of2.zip (1,111,416,131 bytes) (cksum - 3669256139)
    2. I need to install 11g and 10g in a same server, I am also looking for a good document.
    Thanks.
    Jack

    user3023234 wrote:
    thanks. I will look into it.
    how do you install 10.2.0.4 and 11.2.0.3 on the same server?You can install multiple homes in a server.
    Every Software dump consists of installer(runInstaller).
    Even you can install same Oracle version & release in same server by differentiating Folder names.

  • How to uninstall Oracle 11g on Red Hat Enterprise Linux 5.3 x86-64

    I've install Oracle 11g on a Red Hat Enterprise Linux 5.3 x86-64 system. I'm new to the world of Oracle and I have come to the conclusion why learning about Oracle I've screwed up my in installation of Oracle 11g to the point where nothing Oracle related is working properly. I've decided that I want to uninstall Oracle 11g and start over.
    How do I uninstall Oracle 11g on a Red Hat Enterprise Linux 5.3 x86-64?

    What do you mean with doesn't work?
    If you want to delete the database manually, then refer [to this link|http://dev-notes.com/code.php?q=40]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Red Hat Enterprise Linux Test Page - why am I directed to this page when I go to a specific website. It does not happen when I use other browsers so there is not a problem with the website.

    Red Hat Enterprise Linux Test Page - why am I directed to this page when I go to a specific website. It does not happen when I use other browsers so there is not a problem with the website.
    Just started happening yesterday.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Do you see any prefs related to that <b>knoxnews<i></i>.com</b> site on the <b>about:config</b> page if you enter that URL in the Filter?
    *http://kb.mozillazine.org/about:config
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How do i install firefox into my Red Hat Enterprise Linux Professional Work Station 3

    I do not know how to install firefox. To my Red Hat Enterprise Linux Professional Work Station 3.

    First make sure that you meet the System Requirements (GTK+ and GLib) for the current Firefox version.
    *http://www.mozilla.org/en-US/firefox/23.0/system-requirements/
    *http://kb.mozillazine.org/Installing_Firefox#Linux
    *https://support.mozilla.org/kb/Installing+Firefox+on+Linux

  • Bcp_init fails in Red Hat Enterprise Linux Server release 6.0

    Hi,
    I tried to do few basic BCP stuff using C. I have installed unixODBC 2.3.0 and MSSQL ODBC driver
    SQL Server Native Client 11.0. I tried connecting to my remote MSSQL Server(2008 r2 & 2012) using 'isql', it works! But when I tried running bcp_initW(...), its returning '0' as return code. But 'SQLAllocHandle', 'SQLSetEnvAttr', 'SQLSetConnectAttr'
    and 'SQLConnect' are working fine. I tried with bcp_initA(...) it was also not working. 
    code:
     retcode = bcp_initW(hdbc1, Table, NULL, NULL, 1);
     printf("\n init: %d",retcode);
     if ( (retcode != 1) )
                            printf("bcp_init(hdbc1) Failed\n\n");
                            cleanup();
                            return(9);
    When I ran gdb, it did not reveal much info :(
    Trace:
    (gdb) run
    Starting program: /home/test/bcp/a.out
    Missing separate debuginfo for /usr/lib/libsqlncli.so
    Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/73/0128bbf278ee580bef68e8a454c519bdede9a1.debug
    [Thread debugging using libthread_db enabled]
    alloc handle: 0
    env attr: 0
    alloc handle: 0
    Missing separate debuginfo for /opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0
    Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/73/0128bbf278ee580bef68e8a454c519bdede9a1.debug
     conn attr: 0
     connect: 1
     init: 0bcp_initW(hdbc1) Failed
    Program exited normally.
    Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.7.el6.x86_64 keyutils-libs-1.4-1.el6.x86_64 krb5-libs-1.8.2-3.el6.x86_64 libcom_err-1.41.12-3.el6.x86_64 libgcc-4.4.4-13.el6.x86_64 libselinux-2.0.94-2.el6.x86_64 libstdc++-4.4.4-13.el6.x86_64
    libtool-ltdl-2.2.6-15.5.el6.x86_64 libuuid-2.17.2-6.el6.x86_64 openssl-1.0.0-4.el6.x86_64 unixODBC-2.2.14-11.el6.x86_64 zlib-1.2.3-25.el6.x86_64
    (gdb) where
    No stack.
    I tried the same in fedora-16 too. When I ran "gdb ./a.out" in fedora, it returned an exception in libsqlncli-11.0.so.1790.0
    trace:
    (gdb) run
    Starting program: /home/test/Bcp/a.out
    Missing separate debuginfo for /usr/local/lib/libsqlncli.so
    Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/73/0128bbf278ee580bef68e8a454c519bdede9a1.debug
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib64/libthread_db.so.1".
    Missing separate debuginfo for /opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0
    Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/73/0128bbf278ee580bef68e8a454c519bdede9a1.debug
    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff7afa64f in ?? () from /usr/local/lib/libsqlncli.so
    Missing separate debuginfos, use: debuginfo-install glibc-2.14.90-24.fc16.9.x86_64 keyutils-libs-1.5.2-1.fc16.x86_64 krb5-libs-1.9.1-18.fc16.x86_64 libcom_err-1.41.14-2.fc15.x86_64 libgcc-4.6.2-1.fc16.x86_64 libselinux-2.1.5-5.1.fc16.x86_64 libstdc++-4.6.2-1.fc16.x86_64
    libuuid-2.20.1-2.fc16.x86_64 openssl-1.0.0e-1.fc16.x86_64 zlib-1.2.5-4.fc16.x86_64
    (gdb) where
    #0  0x00007ffff7afa64f in ?? () from /usr/local/lib/libsqlncli.so
    #1  0x00007ffff7afabee in ?? () from /usr/local/lib/libsqlncli.so
    #2  0x00007ffff7a89345 in ?? () from /usr/local/lib/libsqlncli.so
    #3  0x00007ffff7af5f89 in ?? () from /usr/local/lib/libsqlncli.so
    #4  0x0000000000400d16 in bcpMethod ()
    #5  0x00000000004011dd in main ()

    Sassan,
    That is correct, just override the MP and disable the monitors for those daemons.
    Regards,
    -Steve

  • Application Server 10g R2 install in Red Hat Enterprise Linux 5

    Hi all,
    We want to install Oracle Application Server 10g Release 2 under RHEL 5. We know it isn't certified yet, but it's necessary to install in that OS.
    My question is if anyone knowns a good guide to install that OAS version in that plataform?
    Thanks to all

    the manuals are fine.

  • Sun Java System Web Server support for Red Hat EL 5

    Does anyone have any information when the Sun Java System Web Server might be supported on Red Hat Enterprise Linux 5 Server?
    Thanks

    Certification of RHEL5 will likely happen with one of the upcoming Update releases.
    There is, as far as I know, no reason why Web Server won't run on RHEL5 today though (I use it on Fedora Core 7 without ill effect, and the RHEL trail the Fedora releases a bit in technology versions).

  • How to create restore point in windows server 2008 service pack1

    hi i am bhaskar ... how to create restore point in windows server 2008 service pack1 and how to restore system from a restore point in windows server 2008 service pack1.. is this option available or not ? what is the difference between shadow copies and
    restore point ? instead of restore point we have this shadow copies option in windows server 2008 ?Bhaskar

    AFIK, Restore Points doesn’t exist in Windows 2008.
    Volume Shadow Copy option can be used to achieve:
    Creating consistent backups of open files and applications
    Creating shadow copies for shared folders
    Creating transportable shadow copies using a hardware provider — for backup, testing and data mining scenarios
    Quickly recovering and restoring files and data
    It is more like a file, data, application backup. 
    Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX
    Blogs - http://blogs.sivarajan.com/
    Articles - http://www.sivarajan.com/publications.html
    Twitter: @santhosh_sivara - http://twitter.com/santhosh_sivara
    This posting is provided AS IS with no warranties, and confers no rights.

  • How to create Shared RAW disk on solaris 10?

    Hi,
    I have built two solaris machine using VMware. I am going to configuare RAC. how to create shared RAW disk for ocr,votedisk and asm?
    OS version = 5.10 32 bit
    Thanks

    use openfiler ( software based SAN) if do not have shared disk storage system, this is an appliance kinda software can behave as SAN storage, it can be installed on VM as a guest machine and rest configuration remain same as storage and your RAC deployment.
    http://www.openfiler.com/community/download
    alternativly you can follow below method
    http://startoracle.com/2007/09/30/so-you-want-to-play-with-oracle-11gs-rac-heres-how/

  • How to create new storage group and mailbox database on exchange 2007 CCR

    Hi, Our Environment:
    Exchange 2007 SP3 CCR.
    Now I want to create a new storage group with edb file and log files on the new drive.
    My plan is as below:
    Once we have new drive ready on both active node and passive node,
    1): Create new storage group with log files for this new storage group on other new drive from Active Node.
    2): Create new mailbox database under this newly created storage group with the DB file on the new drive from active node.
    My question is:
    1): Do I need to perform above steps from active node only? or Do I need to do it from both active node and passive node?
    2): How many storage groups can we create on one Exchange 2007 Enterprise server, we already have 25 SGs in place.
    Thanks in advance.

    Hi,
    Here are my answers you can refer to:
    1. We can just create new storage group on the active node. And it’ll be replicated to the passive node.
    We can use the following command in EMS to verify the new Storage Group is being replicated to the passive node:
    Get-StorageGroupCopyStatus "Second Storage Group" | Select SummaryCopyStatus,CCRTargetNode
    http://exchangepedia.com/blog/2007/08/how-to-create-new-storage-group-in-ccr.html
    2. For Exchange 2007 enterprise version, we can have up to 50 storage groups:
    http://www.computerperformance.co.uk/exchange2007/exchange2007_storage_groups.htm
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • How to create the folder in presentation server through pop-up(

    Hi Experts,
    Can u give me the solution , how to create the folder in presentation server through pop-up(means dynamically, after executing the program , pop-up has to come to create the folderand path)
    regards
    ram.

    Use the methods -> DIRECTORY_BROWSE & DIRECTORY_CREATE of the class CL_GUI_FRONTEND_SERVICES
    DATA: path TYPE string,
          rc TYPE i,
    dir_name TYPE string value 'HI'.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
        CHANGING
          SELECTED_FOLDER      = path
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    concatenate path '\' dir_name into path.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE
        EXPORTING
          DIRECTORY                = path
        CHANGING
          RC                       = rc
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Edited by: Kartik Tarla on Sep 23, 2009 5:54 PM

  • How to create a file in the server?

    Hi,
    I'm making a webservice that has to generate a XML file, sign it using another webservice and return this XML. The problem is that i don't know how to create the file in the server throught webservice.
    I use this code in the webservice to generate the XML and after I return the XML to client in a byte[]
         static void outputDocumentToFile(Document myDocument, String path) {
            //setup this like outputDocument
              try {
                   // XMLOutputter outputter = new XMLOutputter("  ", true);
                   XMLOutputter outputter = new XMLOutputter();
                   //output to a file
                   FileWriter writer = new FileWriter(path);
                   outputter.output(myDocument, writer);
                   writer.close();
              } catch(java.io.IOException e) {
                   e.printStackTrace();
        }But the file is generated in the client-side, how can I generate the file in the server-side?
    Thanks very much.

    Well the File object doesn't create a file it's simply an abstract representation of file and directory pathnames.
    You can try something like this:
    <%
    try
    // get the path to the web server root
    // I read somewhere not to use 'getRealPath' for some reason which I
    // can't seem to remember :S Hopefull someone can enlighten us :)
    String path = application.getRealPath("/project/jsp/demo.txt");
    File file = new File(path);
    PrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter(file)));
    writer.println("Hello World!");
    writer.close();
    catch (Exception e)
    System.err.println(e.getMessage());
    %>
    Hope this helps :)

  • How to create purchase order using VA01 for BAPI?

    how to create purchase order using VA01 for BAPI?

    Hi Arun,
    Please check this link
    Example Program for BAPI_PO_CREATE1
    Re: BAPI_PO_CREATE1
    Questions in BAPI_PO_CREATE1
    Problem with BAPI_PO_CREATE1
    *& Report BAPI_PO_CREATE *
    REPORT bapi_po_create.
    Input File Declaration
    TYPES: BEGIN OF ty_input_file,
    column1 TYPE char50,
    column2 TYPE char50,
    column3 TYPE char50,
    column4 TYPE char50,
    column5 TYPE char50,
    column6 TYPE char50,
    column7 TYPE char50,
    column8 TYPE char50,
    column9 TYPE char50,
    column10 TYPE char50,
    column11 TYPE char50,
    column12 TYPE char50,
    column13 TYPE char50,
    column14 TYPE char50,
    column15 TYPE char50,
    column16 TYPE char50,
    column17 TYPE char50,
    column18 TYPE char50,
    END OF ty_input_file.
    DATA: i_input_file TYPE STANDARD TABLE OF ty_input_file,
    wa_input_file TYPE ty_input_file.
    CONSTANTS: c_path TYPE char20 VALUE 'C:\',
    c_mask TYPE char9 VALUE ',.,..',
    c_mode TYPE char1 VALUE 'O',
    c_filetype TYPE char10 VALUE 'ASC',
    c_x TYPE char01 VALUE 'X'.
    PARAMETERS : p_fname LIKE rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
    Browse Presentation Server
    PERFORM f4_presentation_file.
    START-OF-SELECTION..
    Read presentation server file
    PERFORM f1003_upload_file.
    IF NOT i_input_file[] IS INITIAL.
    PERFORM split_data.
    ENDIF.
    *& Form f4_presentation_file
    *& F4 Help for presentation server
    FORM f4_presentation_file .
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_path = c_path
    mask = c_mask
    mode = c_mode
    title = text-001
    IMPORTING
    filename = p_fname
    EXCEPTIONS
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    OTHERS = 5.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " f4_presentation_file
    *& Form f1003_upload_file
    *& Upload File
    FORM f1003_upload_file .
    DATA: lcl_filename TYPE string.
    lcl_filename = p_fname.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = lcl_filename
    filetype = c_filetype
    has_field_separator = c_x
    TABLES
    data_tab = i_input_file
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    EXIT.
    ENDIF.
    ENDFORM. " f1003_upload_file
    *& Form split_data
    Collect data for creating Purchase Order
    FORM split_data .
    DATA: i_poitem TYPE STANDARD TABLE OF bapimepoitem,
    i_poitemx TYPE STANDARD TABLE OF bapimepoitemx,
    i_poitem_sch TYPE STANDARD TABLE OF bapimeposchedule,
    i_poitem_schx TYPE STANDARD TABLE OF bapimeposchedulx,
    i_acct_*** TYPE STANDARD TABLE OF bapimepoaccount,
    i_acct_assx TYPE STANDARD TABLE OF bapimepoaccountx,
    i_services TYPE STANDARD TABLE OF bapiesllc ,
    i_srvacc TYPE STANDARD TABLE OF bapiesklc,
    i_return TYPE STANDARD TABLE OF bapiret2,
    wa_header TYPE bapimepoheader,
    wa_headerx TYPE bapimepoheaderx,
    wa_poitem TYPE bapimepoitem,
    wa_poitemx TYPE bapimepoitemx,
    wa_poitem_sch TYPE bapimeposchedule,
    wa_poitem_schx TYPE bapimeposchedulx,
    wa_acct_*** TYPE bapimepoaccount,
    wa_acct_assx TYPE bapimepoaccountx,
    wa_services TYPE bapiesllc,
    wa_srvacc TYPE bapiesklc,
    wa_return TYPE bapiret2,
    ws_po TYPE bapimepoheader-po_number.
    break gbpra8.
    wa_services-pckg_no = 10.
    wa_services-line_no = 1.
    wa_services-outl_no = '0'.
    wa_services-outl_ind = c_x.
    wa_services-subpckg_no = 20.
    APPEND wa_services TO i_services.
    wa_srvacc-pckg_no = 10.
    wa_srvacc-line_no = 1.
    wa_srvacc-serno_line = 01.
    wa_srvacc-serial_no = 01.
    wa_srvacc-percentage = 100.
    APPEND wa_srvacc TO i_srvacc.
    LOOP AT i_input_file INTO wa_input_file.
    IF wa_input_file-column2 EQ 'HD'.
    wa_header-doc_type = wa_input_file-column3.
    wa_header-creat_date = sy-datum.
    wa_header-created_by = sy-uname.
    wa_header-vendor = wa_input_file-column4.
    PERFORM conversion_output USING wa_header-vendor
    CHANGING wa_header-vendor.
    wa_header-comp_code = 'DE03'.
    wa_header-purch_org = 'DE03'.
    wa_header-pur_group = 'DE1'.
    wa_header-vper_start = wa_input_file-column9.
    wa_header-vper_end = wa_input_file-column10.
    wa_headerx-comp_code = c_x.
    wa_headerx-doc_type = c_x.
    wa_headerx-creat_date = c_x.
    wa_headerx-created_by = c_x.
    wa_headerx-vendor = c_x.
    wa_headerx-purch_org = c_x.
    wa_headerx-pur_group = c_x.
    wa_headerx-vper_start = c_x.
    wa_headerx-vper_end = c_x.
    ENDIF.
    IF wa_input_file-column2 EQ 'IT'.
    wa_poitem-po_item = wa_input_file-column3.
    wa_poitem-short_text = wa_input_file-column6.
    wa_poitem-plant = wa_input_file-column8.
    wa_poitem-quantity = '1'.
    wa_poitem-tax_code = 'V0'.
    wa_poitem-item_cat = 'D'.
    wa_poitem-acctasscat = 'K'.
    wa_poitem-matl_group = wa_input_file-column7.
    wa_poitem-pckg_no = '10'.
    APPEND wa_poitem TO i_poitem .
    wa_poitemx-po_item = wa_input_file-column3.
    wa_poitemx-po_itemx = c_x.
    wa_poitemx-short_text = c_x.
    wa_poitemx-plant = c_x.
    wa_poitemx-quantity = c_x.
    wa_poitemx-tax_code = c_x.
    wa_poitemx-item_cat = c_x.
    wa_poitemx-acctasscat = c_x.
    wa_poitemx-matl_group = c_x.
    wa_poitemx-pckg_no = c_x.
    APPEND wa_poitemx TO i_poitemx.
    wa_poitem_sch-po_item = wa_input_file-column3.
    wa_poitem_sch-delivery_date = sy-datum.
    APPEND wa_poitem_sch TO i_poitem_sch.
    wa_poitem_schx-po_item = wa_input_file-column3.
    wa_poitem_schx-po_itemx = c_x.
    wa_poitem_schx-delivery_date = c_x.
    APPEND wa_poitem_schx TO i_poitem_schx.
    wa_acct_***-po_item = 10.
    wa_acct_***-serial_no = 01.
    wa_acct_***-gl_account = '0006360100'.
    wa_acct_***-co_area = '1000'.
    wa_acct_***-costcenter = 'KC010000'.
    APPEND wa_acct_*** TO i_acct_***.
    wa_acct_***-po_item = 10.
    wa_acct_***-serial_no = 02.
    wa_acct_***-gl_account = '0006360100'.
    wa_acct_***-co_area = '1000'.
    wa_acct_***-costcenter = 'KC010000'.
    APPEND wa_acct_*** TO i_acct_***.
    wa_acct_assx-po_item = 10.
    wa_acct_assx-serial_no = 01.
    wa_acct_assx-po_itemx = c_x.
    wa_acct_assx-serial_nox = c_x.
    wa_acct_assx-gl_account = c_x.
    wa_acct_assx-co_area = c_x.
    wa_acct_assx-costcenter = c_x.
    APPEND wa_acct_assx TO i_acct_assx.
    wa_acct_assx-po_item = 10.
    wa_acct_assx-serial_no = 02.
    wa_acct_assx-po_itemx = c_x.
    wa_acct_assx-serial_nox = c_x.
    wa_acct_assx-gl_account = c_x.
    wa_acct_assx-co_area = c_x.
    wa_acct_assx-costcenter = c_x.
    APPEND wa_acct_assx TO i_acct_assx.
    wa_services-pckg_no = 20.
    wa_services-line_no = 2.
    wa_services-service = wa_input_file-column9.
    wa_services-quantity = '100'.
    wa_services-gr_price = '100'.
    wa_services-userf1_txt = wa_input_file-column13.
    APPEND wa_services TO i_services.
    wa_srvacc-pckg_no = 20.
    wa_srvacc-line_no = 1.
    wa_srvacc-serno_line = 02.
    wa_srvacc-serial_no = 02.
    wa_srvacc-percentage = 100.
    APPEND wa_srvacc TO i_srvacc.
    ENDIF.
    ENDLOOP.
    CALL FUNCTION 'BAPI_PO_CREATE1'
    EXPORTING
    poheader = wa_header
    poheaderx = wa_headerx
    POADDRVENDOR =
    TESTRUN =
    MEMORY_UNCOMPLETE =
    MEMORY_COMPLETE =
    POEXPIMPHEADER =
    POEXPIMPHEADERX =
    VERSIONS =
    NO_MESSAGING =
    NO_MESSAGE_REQ =
    NO_AUTHORITY =
    NO_PRICE_FROM_PO =
    IMPORTING
    exppurchaseorder = ws_po
    EXPHEADER =
    EXPPOEXPIMPHEADER =
    TABLES
    return = i_return
    poitem = i_poitem
    poitemx = i_poitemx
    POADDRDELIVERY =
    poschedule = i_poitem_sch
    poschedulex = i_poitem_schx
    poaccount = i_acct_***
    POACCOUNTPROFITSEGMENT =
    poaccountx = i_acct_assx
    POCONDHEADER =
    POCONDHEADERX =
    POCOND =
    POCONDX =
    POLIMITS =
    POCONTRACTLIMITS =
    poservices = i_services
    posrvaccessvalues = i_srvacc
    POSERVICESTEXT =
    EXTENSIONIN =
    EXTENSIONOUT =
    POEXPIMPITEM =
    POEXPIMPITEMX =
    POTEXTHEADER =
    POTEXTITEM =
    ALLVERSIONS =
    POPARTNER =
    break gbpra8.
    LOOP AT i_return INTO wa_return.
    ENDLOOP.
    ENDFORM. " split_data
    *& Form conversion_output
    Conversion exit input
    FORM conversion_output USING p_ip
    CHANGING p_op.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = p_ip
    IMPORTING
    output = p_op.
    ENDFORM. " conversion_output
    Best regards,
    raam

Maybe you are looking for