It's too urgent

Hi,
iam concatenating P and infotype number which has subtypes (ex: 0006 or 00021 e.tc.) into variable "intext" which is of type string.
now i use ASSIGN and send that work area to <ptr> which is of type any;
         data : <ptr> type any.
         assign intext to <ptr>.
so now <ptr> has work area. now i want to read a field from the <ptr> which may contain 0006 or 0021 work area. how to write generally to retrieve a field.
<ptr> is type ANY. i can't loop it as internal table.
if i take <ptr> as type standard table, i cant use
     assign intext to <ptr>. because intext is of type string.
how to solve it? urgent.

Hi,
The following coding will work for any infotype which we give from an internal table using field symbol.
Try this way  ...
types: begin of ty_infotype,
            itno(7) type c,
       end of ty_infotype.
FIELD-SYMBOLS: <fsmb_table> TYPE ANY TABLE,
                             <wa>,<wa1>.
data:  int_infotype type table of ty_infotype,
           fs_infotype type ty_infotype,
           wf_table(7) type c,
           wf_ref TYPE REF TO data,
           w_dref1 TYPE REF TO data.
clear fs_infotype.
fs_infotype-itno = 'PA0014'.
append fs_infotype to int_infotype.
clear fs_infotype.
fs_infotype-itno = 'PA0015'.
append fs_infotype to int_infotype.
clear fs_infotype.
fs_infotype-itno = 'PA0315'.
append fs_infotype to int_infotype.
Take each infotype from internal table and process..
    clear fs_infotype.
    loop at int_infotype into fs_infotype.
     clear wf_table.
     wf_table = fs_infotype-itno.
     CREATE DATA wf_ref TYPE TABLE OF (wf_table).
     ASSIGN wf_ref->* TO <fsmb_table>.
    create data w_dref1 like line of <fsmb_table>.
    assign w_dref1->* to <wa>.
       SELECT *  FROM (wf_table) up to 2 rows INTO TABLE <fsmb_table>.
     loop at <fsmb_table> into <wa>.
  do.
      assign component  sy-index
         of structure <wa> to <wa1>.
      if sy-subrc ne 0.
        exit.
      endif.
      if sy-index = 1.
        write:/ <wa1>.
      else.
        write: <wa1>.
      endif.
    enddo.
endloop.
    clear fs_infotype.
    endloop.
Hope it will help u...
Kindly reward points if helpful ***
Cheers,
Shanthi.
Edited by: shanthi ps on Jan 28, 2008 8:43 AM

Similar Messages

  • Clips shift in and out points after render (Dissolves messed up too) Urgent

    Hello all, I have a frustrating and urgent problem.
    I'm working with DV NTSC footage at 23.98 fps, shot 24pA and captured with the advanced pulldown removal from a dvx100.
    The problem arises when I am rendering my footage from a color correction, etc, the in and out points of my shots change and the shot seems to shift. The cut points don't change, but the shot shifts position within them, almost as if rendering has caused final cut to use the slip tool on these and move them ever so slightly forward or backward.
    This problem is also effecting my dissolves, causing them to start to dissolve then suddenly jerk into another part of the clip and then back to the shot that it is transitioning to.
    I have tried outputting a QT movie of my timeline (in order to color correct that instead and avoid a render), but as you may have guessed, this only results in a QT movie with all of the above problems.
    It is very similar, if not the same, as the problem described here: http://discussions.apple.com/thread.jspa?messageID=8096178&#8096178
    I'm under a deadline and any help would be very much appreciated.
    Thanks all,
    Nathan

    I've had that happen before. Crazy as it sounds, I "solved" it by laying a large video file over the top of the timeline (covering everything) then brought the opacity down to 0%. Go figure but it worked; everything straightened out and rendered fine.
    Ghost in the machine for sure.

  • Select Query problem....too urgent

    Hi all!
    I am running oracle 8i.
    I have a table named taxsuamry. I want to arrange the data by exepenses in desc order and after sorting, i want to select first 50 records.
    I supplied the follwoing query:
    select expenses from taxsuamry
    where rownum<51
    order by expenses desc;
    but it selects 50 records first and then sorts them...i want sorting first and then top 50 rerods from sorted data.
    Can anybody help me plz

    hello,riaz
    If it is optimization kind of problem for your sorting first ...then u can go for following way...
    select /*+ index(empid) */ empid from emp where rownum <51 order by empid desc
    .........where empid is attribute where u have index on it....
    null

  • Please help me is too urgent

    ok, so i m developping an J2EE application using jdeveloper studio10.1.3.2, Oracle ADF and oracle apllication server 10G. i work on a database schema that ALREADY exist and the users who will use the application are ALREADY defined at my data base (Profile, rights ...). the problem is:when you use ADF you have to create a database connection with the wizar and doing this you can only give the loginuser and the pass and the SID so the same informations(loginuser,pass) for all connexion to the database although users are not the same. so wath i want is to create dynamic connexion per user in other words i want that the connexion with the database be donne by the user profile.

    - See if this program will place it in recovery mode since that erases the iPod and bypasses the passocode.
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    - Next try letting the battery fully drain. The try again.

  • Its Urgent   How 2  Customized the Layout set LE_SHP_DELNOTE

    Hello Experts,
    as 'm new for smartform development will anyone  suggest me how  to customize smartform such as SAP defined form LE_SHP_DELNOTE in Delivery note. as it's SAP defined form so how can one customize it ..
    plz Help me its too urgent for me to have solution on it.
    Kind Regards..
    A v i

    Hi Avi,,,
    1)    Go to transaction Smartforms
    2)    Put the form name LE_SHP_DELNOTE
    3)    Copy the FORM , give ZLE_SHP_DELNOTE
           Then make the changes as Required.
    Regards
    Avi...

  • Urgent!! downloading file in jsp

    hi all
    can anyone plz help me in downloading file from my disk
    actual scenario is like this
    i have uploaded file path in database, and whole file in to my disk....
    i have given links to file name and when one clicks the link the file of that link should be downloaded / opened from the path specified in the database
    its really too urgent
    plz help me out

    The replies on this post : http://forum.java.sun.com/thread.jspa?threadID=5170452&messageID=9655276 should give you some idea

  • URGENT-Multiple IPs Series In WAN

    Hi There...
    My RMIServer Application is Running on a WAN Server Having 10.X.X.X Series IPAddresses and it is working Fine.
    My Server Having two Different IP's for WAN and LAN Connectivity as below.
    WAN: 10.x.x.x
    LAN:172.x.x.x
    When i want to Provide Access to LAN I have to Use LAN IP Address as Server.hostname Property.
    And Similler For WAN client i h've to Start Server on WAN IP.
    System.setProperty("java.rmi.server.hostname",IpAddress);Is There Any Common Solution for This to Solve this. Problem.
    I tried as below to solve this issue.
    I started to Use ServerHostName in Naming.lookup URL. Instead Of Using IPAddress.
    But then I Got connection Refused Exception since Server IP is Different Series.
    What I Can Do to Solve this??
    Thanks,
    Timir.

    Any reason for not posting this on one of you existing threads? How to Use in WAN / How to Use in WAN
    Ah, it was much too URGENT for you to bother finding your old threads...
    My RMIServer Application is Running on a WAN Server
    Having 10.X.X.X Series IPAddresses and it is working
    Fine.
    My Server Having two Different IP's for WAN and LAN
    Connectivity as below.
    WAN: 10.x.x.x
    LAN:172.x.x.xAccording to RFC 1918, your WAN IP address is in the private address space?
    3. Private Address Space
    The Internet Assigned Numbers Authority (IANA) has reserved the
    following three blocks of the IP address space for private internets:
    10.0.0.0 - 10.255.255.255 (10/8 prefix)
    172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
    192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
    When i want to Provide Access to LAN I have to Use LAN
    IP Address as Server.hostname Property.Provide access to the LAN - from what/where?
    Do you mean provide access FROM a client on the LAN TO your server application?
    And Similar For WAN client i have to Start Server on WAN IP.
    I tried as below to solve this issue.You intended to include some code here?
    I started to Use ServerHostName in Naming.lookup URL.
    Instead Of Using IPAddress.
    But then I Got connection Refused Exception since
    Server IP is Different Series.
    What I Can Do to Solve this??Can you not just run two instances? (listening on different ports).

  • Dynamically Select User Very URGENT !!!!!!!!!!!!!

    Dear Friends it is too urgent,
    I have to build a query where i want to select records from the tables dynamically from different users. i.e Suppose I have many users 'USER1' , 'USER2' , 'USER3'... AND SO ON. All users have same tables. suppose 'Employee' is the table reside in all users. Now suppose if I supply owner name in the query, it must retrieve rows from Employee table from that particular user.
    I'll be very thankful for the kind favour
    Regards

    Srinivas , thanks for the follow up , actually the problem is the referencing of object , whenever u create object in a schema, it is stored with refernce of schema name. LIKE SCHEMA.OBJECT , when u call the object u don't need to define the schema because u are actually working on that schema but if u try to call the object from other schema u need to require the schema name Now i must describe the workeability of object with examples. Now suppose i have a table EMPLOYEE which has the object Address_Type AND IT IS DEFINED IN 2 USERS
    'USER1' AND 'USER2'
    EMPLOYEE
    EMPNO NUMBER(10),
    ENAME VARCHAR2(50),
    HIREDATE DATE,
    ADDRESS ADDRESS_TYPE
    To get value of the address u have to select like that way from 2 different users USER1 and USER2
    select a.empno,a.ename, a.hiredate,
    address_type(a.address.colname...)
    from user1.employee
    or u can also select like
    select a.empno,a.ename, a.hiredate,a.address.colname
    from user2.employee a
    Now coming to the problem
    if u try to create a dummy table in user1 from user2 it will give u error
    CREATE TABLE USER1.DUMMY
    AS
    SELECT * FROM USER2.EMPLOYEE
    ERROR at line 1:
    ORA-00902: invalid datatype
    This error is because object is created with the name of the schema (USER2.ADDRESS) and the schema where u are creating this object also contain the object type with refernce to the object
    (USER1.ADDRESS).
    The problem occurs when I try to define a variable of %ROWTYPE
    it needs a schema name which i can not set it dynamically in the declaration part like for example
    CREATE OR REPLACE PROCEDURE EMP_PROC (V_USER IN VARCHAR2)
    IS
    U_NAME VARCHA2(100);
    type curref is REF CURSOR;
    vcur curref;
    REC [SCHEMA].EMPLOYEE%ROWTYPE [ HERE THE SCHEMA IS PASSING AS AN ARGUMENT WHICH IS NOT ALLOWED IN THE DECLARATION PART ]
    ------ IF I TRY TO REPLACE SCHEMA WITH THE VARIABLE
    ------ U_NAME IT IS NOT ACCEPTED
    I think I wrote a lot to tell u about the actual problem.
    Please dear friends, specially Barbera, i u look closely to my problem I'll be highly thankful. If suppose it is not possible I need other work around.
    Regards
    Shah I think the problem comes down to the fact that object address_typ in schema1 will have a different global object identifier to address_typ in schema2. They are therefore seen as different datatypes.
    If you had a third schema which owned the object, and referenced this is the other two schemas, then you could quite happily insert the contents from schema1 into schema2.
    e.g.
    Schema3
    CREATE OBJECT address_typ AS OBJECT (line_1 VARCHAR2(100), line_2 VARCHAR2(100));
    GRANT ALL ON address_typ TO PUBLIC WITH GRANT OPTION;
    Schema1
    CREATE TABLE emp(empno NUMBER, ename VARCHAR2(100), address schema3.address_typ);
    GRANT SELECT ON emp TO PUBLIC;
    INSERT INTO emp VALUES (1, 'Smith', schema3.address_typ('Street','Town'));
    Schema2
    CREATE TABLE emp(empno NUMBER, ename VARCHAR2(100), address schema3.address_typ);
    INSERT INTO emp SELECT * FROM schema1.emp;
    In this example, the address column in both schema's is of the same datatype (schema3.address_typ).
    I hope this sheds some light on your last post.

  • ALE Urgent

    Hi All .
    TOO Urgent ....
    I have created a messagetype ZSDORDER with idoc type zsdord01 .One of my segment is Z1SORIFO .When ever idoc will posted at that time in filter setting(bd59), if EKORG field of above mentioned segment would be 'MX01'(Mexico). It will filter the idoc .
    I have set all necessary step in bd59 for message type
    ZSDORDER .
    ALE Object Type -
    vkorg
    segment type -- Z1SORIFO
    NO -- 1
    Field -
    vkorg .
    But now problem is when i am creating filter group in BD64 ,The created filter in relation to message typr is showing .But whenever i am tring to insert that filter model then a n error message is showing 'Inconsistency in filter' .Please let me know, How i will proceed futher ?
    Thanks in advance .........
    With Regards ,
    Vikram .

    have u set the offset and length at bd59 for the vkorg

  • Data Element Dcoumentation -urgent

    HI,
               has any one modified the data element documentaion for any Data Elwement in CMOD.If so for what Data Elemet you have done and what was the necessaity.Plz do help me its too urgent i wud reward points for all the answers.

    Hi ,
    To have the control over datapacket size (no of records in a datapackage) you can have settings in infopackage.
    In info package > Scheduler --> DataS. Default Data Transfer.This would be a local settings whenever you run the load through that IP.The changes that you make here takes priority over the default settings (SBIW) and applicable only for the loads from this info package.Default is 20000kB. You should specify it for the correct update method, ie if its a delta IP, you shud mention the size against delta IP. you can define number of datapackets per idoc as 10.
    You can also try RSCUSTV* where * is an integer to change data load settings.
    Change Datapackage size for extraction, use Transaction RSCUSTV6.
    Change Datapackage size when upload from an R/3 system, set this value in R/3 Customizing (SBIW -> General settings -> Control parameters for data transfer).
    IN R/3, T-Code SBIW --> Genaral settings --> Maintain Control Parameters for Data Transfer (source system specific)
    Try
    http://help.sap.com/saphelp_nw04/helpdata/en/51/85d6cf842825469a51b9a666442339/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
    This is related to loading performance, take a look at this doc 'bw load performance and analysis'
    data packet
    SAP Note 138794 Extraction parameter on BW/OLTP
    SAP Note 130253 General tips on uploading transaction data to BW
    SAP Note 365762 Loading data Pre-analysis of (performance)problems
    Note 409641 - Examples of packet size dependency on ROIDOCPRMS
    Note 417307 - Extractor package size: Collective note for applications
    I hope this will help you,
    Assign points if this helps.
    Thanks...
    Vasu...

  • Capturing elements value in the selection screen for LDB during run time

    Hi,
    I have a program where LDB is used.
    Could anyone please suggest how to capture the values of the elements present in the LDB's default selection screen.
    Specially, the company code and the period values.
    Please reply . Its too urgent.
    Regards,
    Binay.

    I got it

  • EJB 3.0 MDB deployment issue with weblogic 10.0

    Hi there,
    I am new to MDB EJB and right now I am using the EJB 3.0 with weblogic server 10.0. I am using Eclipse 3.4 for development.
    After developing the MDB from eclipse I export the EAR from eclipse and deploy it in weblogic. When I try to start the deployed EAR it gives me following error.
    weblogic.application.ModuleException: Exception preparing module: EJBModule(Message.jar)
    Unable to deploy EJB: MessageBean from Message.jar:
    [EJB:011113]Error: The Message Driven Bean 'MessageBean(Application: MessageEAR, EJBComponent: Message.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:399)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         Truncated. see log file for complete stacktrace
    [EJB:011113]Error: The Message Driven Bean 'MessageBean(Application: MessageEAR, EJBComponent: Message.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
         at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.ensureMDBHasDestinationConfigured(MessageDrivenBeanInfoImpl.java:1811)
         at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.prepare(MessageDrivenBeanInfoImpl.java:1011)
         at weblogic.ejb.container.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:997)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1273)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
         Truncated. see log file for complete stacktrace
    >
    Any help really appreciated. It's too urgent.
    Thanks in advance,
    Piyush

    here is the code for my bean.
    package com.ups;
    import java.util.logging.Logger;
    import javax.ejb.ActivationConfigProperty;
    import javax.ejb.EJBException;
    import javax.ejb.MessageDriven;
    import javax.ejb.MessageDrivenContext;
    import javax.jms.JMSException;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    import javax.jms.TextMessage;
    * Message-Driven Bean implementation class for: MessageBean
    @MessageDriven(
              activationConfig = { @ActivationConfigProperty(
                        propertyName = "destinationType", propertyValue = "javax.jms.Queue"
    public class MessageBean implements MessageListener {
         private MessageDrivenContext mdc;
    * Default constructor.
    public MessageBean() {
    // TODO Auto-generated constructor stub
    * @see MessageListener#onMessage(Message)
    public void onMessage(Message message) {
         TextMessage tmsg = null;
    try {
    tmsg = (TextMessage) message;
    System.out.println("MESSAGE BEAN: Message received: " + tmsg.getText( ));
    System.out.println ("The onMessage() is called");
    } catch (JMSException e) {
    e.printStackTrace( );
    mdc.setRollbackOnly( );
    catch (Throwable th) {
    th.printStackTrace();
    public void ejbRemove( )throws EJBException{
         System.out.println("ejbRemove() is executed >>>>>>>");
    I have configured my JMS Distributed queue in the Weblogic.
    If possible please provide more details so that I can get rid of this error as soon as possible.
    Thanks for reply.
    Piyush

  • Error while importing datasource from Dev. to Qlty

    Hi guys,
    I have transported a data source to quality from development system. while importing the same in quality it states error below.
    WSPK901533  imported to WFP & it ended with error(RC=8). Please check.
    Source system ZSTGLDV110 does not exist
    No rule exists
    Source RSDS GECPC_GFO_COD_GPR ZSTGLDV110 does not exist
    Errors occurred during post-handling RS_AFTER_IMPORT for RSDS L
    Please let me know some once has any idea..
    Its too urgent.
    THanks in advance
    Peter

    Hi,
    First check the source system: ZSTGLDV110 is exists or not. check the rfc connections (Also check the source system assignment in both the system to each other). check the settings in the stms tcode. check the suppoet pack on your quality system,.... there are plenty of reasons.
    thanks.

  • Select query gives error in Code inspector and extended program check

    Hi,
    I have a query .
    SELECT pernr
      FROM pa9100
      INTO TABLE t_nca_tab
      WHERE endda EQ c_date AND
      z_nca_required EQ c_yes.
    This query gives me an error in Code inspector like :
    Large table pa0001: No first field of table index in WHERE  condition
    I have one more query that gives error in extended program check
    SELECT SINGLE stell ename
          INTO (g_stell, g_name)
          FROM pa0001
          WHERE pernr EQ wa_nca_tab-pernr AND
                endda EQ c_date.
    The warning says:
    *In "SELECT SINGLE ...", the WHERE condition for the key field "SEQNR" does not
    test for equality. Therefore, the single record in question may not be unique.*
    Its too urgent.
    Please reply.
    Regards,
    Binay.

    The first field is PERNR .. so if UR not giving pernr it will fetch
    all the data from the said table and between the given dates ..
    Check if this is your requirement ...
    write the select as ...
    where r_pernr is a range ...
    SELECT pernr
    FROM pa9100
    INTO TABLE t_nca_tab
    WHERE pernr in r_pernr  <----
                 endda EQ c_date AND
                 z_nca_required EQ c_yes.
    As UR using select single it's expecting to use all the key
    fields in the where condition ...
    U can ignore this warning message

  • Kernel 2.6.32.7-1/mkinitcpio update issue - filesystem/ext3 error

    Hi,
    Earlier my desktop (after a week uptime) didn't boot anymore. It got the "Reboot required" error at filesystem check (the rc.sysinit script gives this when fsck returns exit status 2).
    I tried several things, made sure from a live that the partitions were all clean, yet nothing helped. Then i noticed i wasn't all up to date and made a pacman -Su (after refreshing the list) and at the kernel26 upgrade it said 'SUCCESS' but it gave a small error message during it:
    :: Parsing hook [autodetect]
    /lib/initcpio/install/autodetect: Zeile 17: filesystem:ext3:1.0: Kommando nicht gefunden.
    (Sorry in German but it really is just "line 17" and "command not found").
    The Message only appeared in the normal kernel, during building the fallback it didn't say anything.
    I had done the same updates a day before on my netbook and there i can't remember any error message and it also boots just fine.
    As long as i disable automatic fsck at boot in the fstab the system boots fine.
    I'm too tired right now to try any more things, i need sleep. I'd appreciate some help in this, however it's not too urgent, as i can boot and use the system without automatic filesystem check at boot-time.
    Ogion
    EDIT:
    Forgot to add the filesystems and autodetect files from the directory mentioned in the error message:
    /lib/initcpio/install/filesystems:
    # vim: set ft=sh:
    install ()
    MODULES=" $(checked_modules '/kernel/fs' | grep -v "nls") $(checked_modules '/kernel/fs/nls/nls_cp437')"
    BINARIES=""
    FILES=""
    SCRIPT=""
    help ()
    cat<<HELPEOF
    This hook adds filesystems modules to the image. If you would like to
    minimize the modules installed in the image, add the autodetect hook too.
    HELPEOF
    /lib/initcpio/install/autodetect
    # vim: set ft=sh:
    install ()
    MODULE_FILE="${TMPDIR}/autodetect_modules"
    #blegh, we'll let /tmp clean itself up
    AUTODETECT="$(auto_modules -e '/scsi/' -e '/block' -e '/fusion/' \
    -e '/usb/' -e '/ide/' -e '/ieee1394/' -e '/cdrom' \
    -e '/net/' -e '/pcmcia' -e '/ata' \
    | grep -v -e 'ata_generic.ko' -e 'ide-generic.ko')"
    #Filesystem detection, use sysfs instead of /proc
    findfs ()
    for blkdev in $(find /dev -type b | grep -v -e /dev/loop -e /dev/ram -e /dev/fd); do
    (eval $(/sbin/blkid -o udev -p "${blkdev}"); [ "${ID_FS_USAGE}" = "filesystem" ] && echo $ID_FS_TYPE)
    done
    if [ ${UID} -eq 0 -o "$(groups | grep disk)" != "" ]; then
    for fs in $(findfs | sort | uniq); do
    for mod in $(find "${MODULEDIR}" -type f -name "${fs}.ko"); do
    if [ -n "${mod}" ]; then
    AUTODETECT="${AUTODETECT} ${mod}"
    fi
    done
    done
    if [ -e /sbin/mdadm ]; then
    for raidmod in $(/sbin/mdadm -E -s -v /dev/hd* /dev/sd* /dev/rd/* /dev/ida/* /dev/cciss/* /dev/ataraid/* /dev/mapper/* \
    | awk -Flevel= '{print $2}' | awk '{print $1}'); do
    case "${raidmod}" in
    raid4|raid5|raid6)
    AUTODETECT="${AUTODETECT} raid456" ;;
    AUTODETECT="${AUTODETECT} ${raidmod}" ;;
    esac
    done
    fi
    else
    err "User does not have proper permissions to read superblocks, raid and filesystem modules are not detected"
    fi
    for m in ${AUTODETECT}; do
    modname="$(basename ${m%%\.ko})"
    grep "^${modname}$" "${MODULE_FILE}" >/dev/null 2>&1 && continue
    case "${m}" in
    #*/ieee1394/*) echo -e "sbp2\nsd_mod\nsr_mod" >> "${MODULE_FILE}";;
    *ext3*) echo "jbd" >> "${MODULE_FILE}" ;;
    *ext4*) echo -e "jbd2\nmbcache\ncrc16" >> "${MODULE_FILE}" ;;
    *afs*) echo "rxrpc" >> "${MODULE_FILE}" ;;
    *cramfs*) echo "zlib_inflate" >> "${MODULE_FILE}" ;;
    *isofs*) echo "zlib_inflate" >> "${MODULE_FILE}" ;;
    *msdos*) echo "fat" >> "${MODULE_FILE}" ;;
    *vfat*) echo -e "fat\nnls_cp437" >> "${MODULE_FILE}" ;;
    *ocfs2*) echo -e "ocfs2_dlm\njbd\nocfs2_nodemanager\nconfigfs" >> "${MODULE_FILE}" ;;
    esac
    echo "${modname}" >> "${MODULE_FILE}"
    done
    BINARIES=""
    SCRIPT=""
    help ()
    cat <<HELPEOF
    This hook shrinks your initramdisk to a smaller size
    by autodetecting your needed modules. Be sure to verify
    included modules are correct and none are missing.
    This hook must be run before other subsystem hooks in
    order to take advantage of auto-detection. Any hooks
    placed before 'autodetect' will be installed in full.
    HELPEOF
    Last edited by Ogion (2010-02-06 01:23:07)

    Ogion wrote:
    Hi,
    :: Parsing hook [autodetect]
    /lib/initcpio/install/autodetect: Zeile 17: filesystem:ext3:1.0: Kommando nicht gefunden.
    /lib/initcpio/install/autodetect
    # vim: set ft=sh:
    install ()
    MODULE_FILE="${TMPDIR}/autodetect_modules"
    #blegh, we'll let /tmp clean itself up
    AUTODETECT="$(auto_modules -e '/scsi/' -e '/block' -e '/fusion/' \
    -e '/usb/' -e '/ide/' -e '/ieee1394/' -e '/cdrom' \
    -e '/net/' -e '/pcmcia' -e '/ata' \
    | grep -v -e 'ata_generic.ko' -e 'ide-generic.ko')"
    #Filesystem detection, use sysfs instead of /proc
    findfs ()
    for blkdev in $(find /dev -type b | grep -v -e /dev/loop -e /dev/ram -e /dev/fd); do
    (eval $(/sbin/blkid -o udev -p "${blkdev}"); [ "${ID_FS_USAGE}" = "filesystem" ] && echo $ID_FS_TYPE)
    If I'm counting right it's complaining about the last quoted line, correct?
    Try on your command line, what happens when you do:
    for blkdev in $(find /dev -type b | grep -v -e /dev/loop -e /dev/ram -e /dev/fd); do
    eval $(sudo /sbin/blkid -o udev -p "$blkdev")
    [ "${ID_FS_USAGE}" = "filesystem" ] && echo "$ID_FS_TYPE"
    done

Maybe you are looking for