[SLVD] `sudo mount` from Apache's (mod_php) context isn't system-wide.

Title field appears to be limited in acceptable symbols, so, the proper title would be `sudo mount` from Apache's (mod_php) context is successful, but not applied to whole system.
Apache is run as http:http, http is added to sudoers as http ALL=(ALL) NOPASSWD: ALL.
Now, drop the "insecurity" bucket, I know how insecure it is. This is for a different kind of environment - a NAS (as in Network Attached Storage), that has a web-based OS on top of it, written in PHP for the sake of simplicty and team scalability. The Web OS and NAS together make up for Mobotix IP camera storage and configuration.
I've already asked 2 questions on Stack Exchange network - http://stackoverflow.com/questions/1959 … h-nopasswd and here http://unix.stackexchange.com/questions … le-by-root, where I've explained the situation in great detail (at least I think I have).
Now, assuming that more experienced users do not camp Stack Exchange, I'm giving a hot here. Arch is the distro under the NAS, so...
Basically, the problems description can be narrowed down to:
Performing a `sudo mount /dev/sdb1 /mnt/firstdrive` in a web-request by PHP's exec mounts the filesystem successfully.
Though, it appears that the mount is made private for the running user.
Private as in... Logging in @ TTY0 with root and running lsblk or cat /proc/mounts does not show the mountpoint.
That breaks down some of the subsequent functionality required for some of the NAS'es processes.
What could be the reason for `mount`/`umount` not executed system-wide?
How come commands like `parted`, `dd`, `mdadm`, `mkdir` execute as expected?
How do I overcome the issue?
P.S. Excuse the quirky environment, but, it actually works flawlessly (we've shipped about 30 units now, with no complaints, am refactoring/majorly upgrading now, hence the problem) and is very pleasant for quick extensions/modifications.
Thanks in advance!
Last edited by psycketom (2013-10-30 12:27:51)

Okay, now I'm really amazed.
I thought that there are problems with EUID's and what not, so, I compiled Apache with `-DBIG_SECURITY_HOLE` to make it run as root.
Same problem remains, it mounts, but somewhere "behind the scenes".
Why doesn't mount work system-wide in Apache's context?
Update:
I've find out what's happening in "technical" terms. Apache appears to be running in it's own mount namespace.
Querying cat /proc/<apaches-main-or-child-pid>/mounts display the mount.
Now, how'd I make the namespaced mount to reflect whole system?
Last edited by psycketom (2013-10-30 11:01:23)

Similar Messages

  • Migrating to Web Server 7.0 from Apache HTTPd document

    We've [made available|http://wikis.sun.com/display/WebServer/Migration+from+Apache+HTTP+Server] a work-in-progress document on our Wiki page discussing some of the common problems people have when they migrate from Apache HTTPd server to Sun Java System Web Server 7.0.
    We'd love to get your feedback. What are we missing? Have some information you'd like to add? The comments section is open to all feedback.
    Thanks!

    can this be made as a topic rather than a post in the forum ?

  • Issue in loading images from Apache webserver in JSF image tags on WLS 10

    I have configured the apache webserver2.0 for passing on the request to weblogic 10.0. I have images in apache webserver. In my application on weblogic i am using JSF f. In JSF for <h:graphics> tag i am not able to load images from apache webserver. issue we found out that it prepend a context url on it.
              pls provide if u have any solution for it.
              Edited by neerajr at 11/16/2007 3:33 PM

    Hi, Neeraj,
              Are you actually telling <h:graphicImage>? As per html_basic.tld, the "uri" attribute is context-relative.
              Using "value" attribute instead of "url" attribute may be helpful. Something like
              <h:graphicImage id="fooImage" value="http://www.foosite.com/image/foo.jpg"/>
              This should work on WLS10.0 if you are using the JSF library bundled in it.
              Thanks,
              -Fred.

  • [Solved] Some problems.. (cron, sudo, mount, mpd)

    Hello all, glad to be back with archlinux again :)
    A few errors I encountered though that I would like some help with:
    I have this script here:
    $ ls /etc/cron.hourly/
    totalt 4,0K
    -rw-r--r-- 1 root root 34 2 dec 03.44 pacman.hourly.sh
    $ cat /etc/cron.hourly/pacman.hourly.sh
    #!/bin/bash
    pacman -Sy
    return 0;
    Cron can't run it, errors from the log:
    30-Dec-2007 00:02 initgroups failed: root Operation not permittedChangeUser failed (root): /usr/sbin/run-cron /etc/cron.daily
    30-Dec-2007 00:02 FILE /var/spool/cron/root USER root pid 23281 cmd /usr/sbin/run-cron /etc/cron.daily
    30-Dec-2007 00:22 initgroups failed: root Operation not permittedChangeUser failed (root): /usr/sbin/run-cron /etc/cron.weekly
    30-Dec-2007 00:22 FILE /var/spool/cron/root USER root pid 10195 cmd /usr/sbin/run-cron /etc/cron.weekly
    30-Dec-2007 01:01 initgroups failed: root Operation not permittedChangeUser failed (root): /usr/sbin/run-cron /etc/cron.hourly
    30-Dec-2007 01:01 FILE /var/spool/cron/root USER root pid 15952 cmd /usr/sbin/run-cron /etc/cron.hourly
    30-Dec-2007 02:01 initgroups failed: root Operation not permittedChangeUser failed (root): /usr/sbin/run-cron /etc/cron.hourly
    30-Dec-2007 02:01 FILE /var/spool/cron/root USER root pid 9428 cmd /usr/sbin/run-cron /etc/cron.hourly
    30-Dec-2007 02:54 /usr/sbin/crond V3.2 dillon, started
    30-Dec-2007 03:01 FILE /var/spool/cron/root USER root pid 11302 cmd /usr/sbin/run-cron /etc/cron.hourly
    30-Dec-2007 04:01 FILE /var/spool/cron/root USER root pid 7751 cmd /usr/sbin/run-cron /etc/cron.hourly
    30-Dec-2007 05:01 FILE /var/spool/cron/root USER root pid 16539 cmd /usr/sbin/run-cron /etc/cron.hourly
    30-Dec-2007 06:01 FILE /var/spool/cron/root USER root pid 7280 cmd /usr/sbin/run-cron /etc/cron.hourly
    30-Dec-2007 07:01 FILE /var/spool/cron/root USER root pid 26785 cmd /usr/sbin/run-cron /etc/cron.hourly
    30-Dec-2007 08:01 FILE /var/spool/cron/root USER root pid 18862 cmd /usr/sbin/run-cron /etc/cron.hourly
    30-Dec-2007 09:01 FILE /var/spool/cron/root USER root pid 6531 cmd /usr/sbin/run-cron /etc/cron.hourly
    hm, apparently it's working now? Strange.
    ok, problem number 2.
    I like to mount my smb shares from fstab.
    //Goamania.se/Muzax /mnt/Muzax smbfs credentials=/home/willie/.smbpassword,uid=1000,gid=1000,noauto 0 0
    /home/willie/.smbpassword
    $ ls /home/willie/.smbpassword
    -rw------- 1 root root 30 26 dec 04.06 /home/willie/.smbpassword
    $ sudo cat /home/willie/.smbpassword
    user=someuser
    password=somepass
    If I sudo mount as a user I get the following error:
    $ sudo mount /mnt/Muzax
    1601: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
    SMB connection failed
    But no problem mounting as root, or unmounting as user with sudo.
    /etc/sudoers:
    $ sudo cat /etc/sudoers
    # sudoers file.
    # This file MUST be edited with the 'visudo' command as root.
    # Failure to use 'visudo' may result in syntax or file permission errors
    # that prevent sudo from running.
    # See the sudoers man page for the details on how to write a sudoers file.
    # Host alias specification
    # User alias specification
    # Cmnd alias specification
    # Defaults specification
    # Runas alias specification
    # User privilege specification
    root ALL=(ALL) SETENV: ALL
    willie ALL=(ALL) SETENV: ALL
    # Uncomment to allow people in group wheel to run all commands
    # and set environment variables.
    # %wheel ALL=(ALL) SETENV: ALL
    # Same thing without a password
    # %wheel ALL=(ALL) NOPASSWD: SETENV: ALL
    # Samples
    # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
    # %users localhost=/sbin/shutdown -h now
    Oh, and a last question:
    Is there someone who knows if there is a way to get mpd to play alac (apple lossless) files? Faad2 doesn't seem to support alac. :/
    Last edited by WiLLiE (2008-01-03 23:21:04)

    byte wrote:/usr/sbin/run-cron expects executable (+x) files in /etc/cron.*
    Yeah, I missed that when posting the question. Seems to work now.
    Still have the sudo + mounting problem though. (I'm forced to su to root to mount)
    Edit:
    Solved. Me being stupid, had user= in my credentials file (but it is the same credentials file i've used like a year on other dists)
    Last edited by WiLLiE (2008-01-03 23:19:51)

  • Non static method cannot be referenced from a non static context

    Dear all
    I am getting the above error message in my program.
    public void testing(Vector XY){
    RecStore.checkUnits(XY);
    }method checkUnits is non static and cannont be called from a non static context. I don't see the word static anywhere...
    I have done a wider search throughout the main class and I'm haven't got any static their either.
    Any ideas?
    Thanks
    Dan

    Yup
    I had pared down my code, infact it is being called from within a large if statement.Irrelevant.
    But the same thing still holds that there is no static keyword used.Read my previous post. Calling checkUnits using the class name:
    RecStore.checkUnits(XY);implies a static context--in order for that call to work, checkUnits must be static. That's what your error message is saying--you are trying to call the non-static method "checkUnits" from the static context of using the class name "RecStore."

  • Webdynpro application not functioning from Apache Reverse Proxy

    Hi Experts,
    We are currently working on custom webdynpro application, which needs to be exposed to Internet. We are using Apache HTTP Server as a reverse proxy.
    We canable to access URL, but no images are getting displayed and also the application not functioning when we click any button/links.
    Below is the HTTPD file configuration.
    ProxyPass /esampleApp  http://hostname:port/webdynpro/dispatcher/local/esampUI/ESamplingApp
    ProxyPassReverse /esampleApp  http://hostname:port/webdynpro/dispatcher/local/esampUI/ESamplingApp
    When we look into  image URL, which is being called from Apache, we  found out "webdynpro" is missing in the URL.
    Actual URL in Portal Server: (working)
    http://portalhostname:port/webdynpro/resources/local/esampUI/Components/esampling.ui.ESamplingComp/logo.gif
    Apache URL:
    http://Apachehostname:port/resources/local/esampUI/Components/esampling.ui.ESamplingComp/logo.gif
    Please suggest.
    Thanks
    Aravind

    We also had the same issue, but the problem was that instead of http https was getting called.
    This has to do with 2 settings:
    1. Check the reverse proxy re-write URL's again. Note that there will be 2-3 entries one for webdynpro as well.
    2. Open your system definintion in system admin-sys configuration adn check the WAS settings. this should point to the FQDN of the proxy server and not to the R3 server.
    ankur

  • Is it possible to use an internal optical drive/ZIP drive mount from a PowerMac G4 Graphite in a PowerMac G4 Quicksilver?

    Hello, All. Is it possible to use an internal optical drive/ZIP drive mount from a Power Mac G4 Graphite (Sawtooth) in a Power Mac G4 Quicksilver? Obviously, the two computers use physicly different mounts, but does anyone have any tips or hints to make this possible? I appreciate any advice.

    "I may be persistent and attempt to drill holes in the correct position in the front of the Quicksilver chassis."
    Unfortunately, it's more than a case of drilling a couple of holes.  The modification isn't really feasible, and after you remove the front panel from the Quicksilver case, you'll see what I mean.  In the Optical/Zip drive area, the Quicksilver's front chassis wall isn't cut out the same way as previous models were.  Prior to the Quicksilver models, the front plastic bezel (with the hinged Optical drive door and a blank or Zip-slotted bezel) was snapped in from the front, after the front panel was installed.  The chassis wall had a large opening to accommodate installation/removal of the Optical and Zip drive carrier.  As I indicated before, in the Quicksilver model, the Optical and Zip drive carrier is mounted internally.  This is necessary because the front chassis wall has two separate openings cut in it.  The upper opening is for the oval-shaped, hinged Optical drive door (snaps into place from the interior of the chassis) and the lower opening is a narrow slot for Zip disk insertion and the eject button.  To use the Optical and Zip drive carrier from a Sawtooth G4 would require cutting the Quicksilver's front chassis wall, to create an opening large enough for the carrier.  In doing this, you'd cut away the metal which has (7) small holes in it, through which the hinged door assembly's plastic mounting pins are inserted to properly position and secure it in place.  If you don't want to lose the use of the hinged optical drive door, including the appearance of a seamless front panel, you can't cut away that metal.  If you don't care about having a permanent oval opening in the front panel in front of the optical drive, you could attempt your modification.  Because the Quicksilver's optical drive typically needs to have the trim piece unsnapped from the front of its tray, I'd want to retain the front panel's hinged door bezel to prevent excessive dust from entering the drive.  As I recommended before, check ebay for a pulled carrier.

  • Migrating Regular Expression from apache to Java1.4

    Did any one out there migrate from apache regular expressions to the new Java regular expressions? Are the two compatible? How much work is it to do this? What are the pitfalls? Are there any resources on this topic?
    Thanks,

    I did migrate some Jakarta regexp to java 1.4's. If ur old codes just used match() method to see if a string matches the pattern, then search/replace using any decent text edit could quickly migrate all of them. However, if you used lots of the Apache regexp's APIs, the fastest way is to write a wrap class for each class you used in the regexp pacakage, and use the new regexp package to implement all the Apach regexp APIs, then, the only thing you need to do is to replace the import statement to import those wrapper classes. I personally think this is the best and common way to migrate from an old API package to a new one.

  • Sudo upgrade from 1.8.5p2 to 1.8.6p8 will have any affect on oracle rac 11.2.0.3 servers running on the same?

    sudo upgrade from 1.8.5p2 to 1.8.6p8 will have any affect on oracle rac 11.2.0.3 servers running on the same?

    564b2558-b4a1-43c9-99b6-cfedc0ec44fb wrote:
    Thanks for the information.
    It means will not have any impact of upgrading the following in oracle 2nodes 11gR2 environment running on AIX.
    SUDO: 1.8.5p2 to 1.8.6p8
    SSH: 5.8.0.6102 to 6.0.0.6102
    SSL: 0.9.8.1801 to 0.9.8.2500
    So we need to bring down the servers and reboot the same once upgraded the above mentioned secured packages.
    Will not have any problems of logging and Db will be in normal as earlier before upgrade and capable of using the secured packages as well, Please confirm on this?
    I confirm

  • HELP! How can i restore/recover files from Bootcamp with Boot Failure - Missing operating system error?

    Hi,
    I am having a few problems with bootcamp on my imac. When i tried to move the bootcamp partition on windows 7 into free space, it crashed and turned off. Ever since i have had the error 'Missing operating system' and it fails to boot. I have some very important files on the bootcamp partition. Is it possible to recover these files or even to restore the bootcamp partition to it's original state? I do not have a backup of my bootcamp partition. Another problem i have is that ever since i tried to expand my macintosh HD partition into free space, when i hold alt while booting up (to choose which partition to boot like i normally do), the bootcamp partition has stopped appearing. This means that i cannot even boot the windows 7 bootcamp partition anymore!
    So basically here are my 2 questions:
    How can i restore/recover files from Bootcamp with Boot Failure - Missing operating system error?
    How can i make the Bootcamp partition appear in Startup Disk and when i hold the option key while starting up my computer to allow me to boot windows 7?
    Any solutions are very much apreciated!
    Thanks!
    I know that bootcamp (disk0s4) hasn't been fully deleted since it appears in disk utility (i cant do anything to it though)
    And here is the error i see when i try to launch bootcamp (back when i was actually able to boot up bootcamp to the error screen)

    WinClone 3 is OS X and saves Windows image it makes for restore - that should work but you will have to try and you would need to make a new image unless it also works with a native Windows system restore image. It is now supported and has come a long way.
    http://www.twocanoes.com/
    Paragon Clone OS works and does disk-to-disk clone just like CCC you end up with two bootable drives. But does not work with your setup. It would let you clone and move your Windows install to an SSD or another disk drive though and be bootable.
    During its clone process it checks for errors which is very helpful and lets you know - something CCC and others should adopt more of.
    http://www.paragon-software.com/downloads/demo.html
    I wish for our/my sake you had re-read and rewritten the long 'story' and broken it into a brief list of facts we needed.
    OS X
    Windows
    Backup (though external is much safer) and you want bootable OS X clones as well as TimeMachine
    https://support.apple.com/kb/HT1427
    https://support.apple.com/kb/HT1553
    There are a number of things to do like chkdsk and others as well as Windows DVD to do automatic system repairs and find out why.
    AppleHFS - the abilty to mount and read HFS volumes can be notorious.
    I would rearrange and redo your storage setup and how you use the 4-5 internal hard drive bays.

  • Ur mount point have not more space and ur system table space is full how u

    ur mount point have not more space and ur system table space is full how u resize or add file . u have not other mount point .what steps u follow

    Answers in your duplicated thread: Some inter view Questions Please give prefect answer  help me
    You can get all the answers at http://tahiti.oracle.com.
    You understimate job recruiters, a simple crosscheck is enough to discard people with experience from people who memorize 'interview answers'.
    Don't expect to get a job just because you memorize answers for 'job interviews', get real life experience.

  • Some how I have deleted the system Preferences application. I had already deleted everything from the trash bend before I realized system pref. was deleted. How can I recover or get it downloaded?

    Somehow I have deleted the system Preferences application. I had already deleted everything from the trash bend before I realized system pref. was deleted. How can I recover or get it downloaded? Everything has been transferred to my new mac pro, but would like to give this old mac to son-in-law.  Can I download system preferences back into this old mac? 
    Sidney Jean Bienvenu

    How Restore Deleted or Missing OS X Components
    A few of the basic OS X installed applications can be restored from the Optional Installs installer located in the Optional installs folder on your Installer DVD.  However, if what you need is not there then follow the instructions below.
    How to Use Pacifist to Restore Deleted or Missing OS X Components
    Insert the OS X Installer DVD into the optical drive.  Use a simple utility like TinkerTool to toggle invisibility so you can see invisible items.  Alternatively, open the Terminal application in your Utilities folder and at the prompt enter the following:
    defaults write com.apple.finder AppleShowAllFiles Yes
    Press RETURN.
    To turn off the display of invisible files repeat the above command substituting No for Yes.
    The install packages are located in the /System/Installation/ folder on the DVD.
    Download the shareware utility Pacifist. Use it to extract a fresh copy of the missing item(s) from the file archives on your OS X installation DVD. The file archives are in the /System/Installations/ folder (use Go to Folder option in the Go menu of the Finder.)
    Here are Four Basic ways to use Pacifist (courtesy of George Orville.)
    Drag a .pkg icon onto the Pacifist window .....proceed to step 7.
    Click on “Open Package ....” and navigate to package desired and click “Open” in the open/save window.....proceed to step 7.
    Insert Mac OS X installer CD and when it mounts, navigate to .... Menu->Go->Go to Folder. In the path field enter or paste ....
    /Volumes/disc name/System/Installation/Packages (where disc name is the name of the CD/DVD that you inserted.)
    Click on the  "Go" button ..... • Drag a .pkg to Pacifist..... proceed to step 7.
    The package you'll need will have to be discovered by trial and error, but for most applications you should start with the Essentials.pkg and/or Additional Essentials.pkg.
    D. Insert your Mac OS X install disk 1 .... and open Pacifist.
    1.          In Pacifist, select "Open Mac OS X Install Packages" ... dialog may appear asking for disk 2, then disk 3 and finally disk 1 again.... {if DVD is not used)...If “Stop Loading” is selected...the procedure will stop!!!
    2a. When loading is complete, a new window appears, click the triangle to display contents of each package...Select item and proceed to step 7.
    2b.          or click the “Find” icon in the Pacifist window and type the name of the software you need.
    3.          In the list that comes back, click the top most entry for the item that you want. ..... that is the one for the English language.
    4.          On the top of the Pacifist window, click “verify” .... you will probably be prompted for your password.
    5.          Enter checks for.... “verify permissions” and “verify file contents.” and click “verify” ....enter password when prompted.... you will get back output which may look like this:
              20 files were scanned. 20 of 20 files were present on the hard disk. 0 of 20 files had file permissions that did not match those specified in the package. 0 of 20 files had checksums that did not match those specified in the package.
    6.          Click “close”. Go to step 7.
    Extract or Install........
    7.          In the Toolbar (upper left), you now have the option to extract or install. Click a file in the lower list and those two icons will be enabled.
    8.          If “Extract to...” is selected.... navigate to the location where the file will be placed, select “choose”, select “extract” in new dialog that appears,authenicate , if prompted, click “OK”.
    9.          In the next dialog, click “Extract”.
    10.          If “Install” is selected... dialog will appear with the location/path of the installed software. Click “Install”
    11.          Type in your password, click “OK”
    Pacifist will begin to extract files.
    12.          In steps 8/10ß.... you also have the choice to “cancel”
    Notes:          Pacifist may find that a file it is installing already exists on the hard disk. Pacifist will present you with an alert panel....
    Stop
    Leave original alone
    Update .....
    Default selection
    Replace .... (Replace option should only be used on full install packages)

  • Unable to delete Role from User ID in SAP SOLMAN production system but able to from DEV with the same authorization, pls suggest

    unable to delete Role from User ID in SAP SOLMAN production system but able to from DEV with the same authorization, pls suggest

    Hi,
    For SU01 role removal, you do not need S_USER_AGR with 02, and as you mentioned both authorizations available in production, if so trace should not show you the S_USER_AGR with 02 with RC=04.
    I would recommend to do role comparison for the user performing the activity. and then check if you have the S_USER_AGR with 02 in user buffer SU56.
    But ideally it should not ask you S_USER_AGR for 02 through SU01, so please take help of abaper to debug it.
    Also put trace in non-prd to see if S_USER_AGR is getting checked with 02 for removal through SU01.
    BR,
    Mangesh

  • Iam not able to share internet in windows 8 from my macbook air...though my iphone ipad is connected to the hotspot well..tried everything but it seems to be different from windows 7  and other microsft operating systems setting. help!!

    Iam not able to share internet in windows 8 from my macbook air...though my iphone ipad is connected to the hotspot well..tried everything but it seems to be different from windows 7  and other microsft operating systems setting. help!!

    Ask on a Windows forum since that's what you're having a problem with.

  • Extracting Values of a Field from a Database Table in SAP ECC System

    Hi,
    I downloaded Extracting Values of a Field from a Database Table in SAP ECC System Using MII 12.0
    senario from sdn. I'm trying to do that senario in MII 12.05. But I have problem with section 6 in page 7 (you can supply senario from sdn)
    "6- Under the loop of Repeater, use action u2018Rowu2019 to append just the string part of the WA which will display only values for field u2018Batchu2019"
    I did not find WA elemen in Output element of Repeater_0
    How can I create WA element?
    Thanks.

    Cemil,
    Set up a SAP JCo Interface action block.  Use the RFC name RFC_READ_TABLE.
    In the link editor map the table to "MARA", set RowCount to something small (20 is good sample size) and create an xml transaction property named FIELDS and copy the following into it:
    <?xml version="1.0" encoding="UTF-8"?><FIELDS>
          <item>
            <FIELDNAME>MATNR</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>MTART</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>BSTME</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>XCHPF</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>DATAB</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
        </FIELDS>
    Then link the Transaction.FIELDS to SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/TABLES/FIELDS}.  You may run into problems with two other fields and optionally they can be removed (set link type to remove xml).  I usually remove them initially for testing.  The two fields are:
    SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/INPUT/NO_DATA}
    SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/INPUT/DELIMITER} (or you can set this to something like a semicolon,";" or tilda,"~".  I find it easier to caclulate position by length, but that is my own idiosyncrasy.)
    Once you get this one working, we can explore how to do filtering on the dataset.  Your output should be something like this:
    <?xml version="1.0" encoding="utf-8"?>
    <RFC_READ_TABLE>
      <INPUT>
        <DELIMITER />
        <NO_DATA />
        <QUERY_TABLE>MARA</QUERY_TABLE>
        <ROWCOUNT>20</ROWCOUNT>
        <ROWSKIPS>0</ROWSKIPS>
      </INPUT>
      <TABLES>
        <DATA>
          <item>
            <WA>000000000000000023ROH 00000000</WA>
          </item>
          <item>
            <WA>000000000000000038HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000043HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000058HIBE 00000000</WA>
          </item>
          <item>
            <WA>000000000000000059HIBE 00000000</WA>
          </item>
          <item>
            <WA>000000000000000068FHMI 00000000</WA>
          </item>
          <item>
            <WA>000000000000000078DIEN 00000000</WA>
          </item>
          <item>
            <WA>000000000000000088FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000089FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000098HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000170NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000178NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000188NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000288HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000358HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000359HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000521HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000578FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000597HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000598VERP 00000000</WA>
          </item>
        </DATA>
        <FIELDS>
          <item>
            <FIELDNAME>MATNR</FIELDNAME>
            <OFFSET>000000</OFFSET>
            <LENGTH>000018</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Material Number</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>MTART</FIELDNAME>
            <OFFSET>000018</OFFSET>
            <LENGTH>000004</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Material Type</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>BSTME</FIELDNAME>
            <OFFSET>000022</OFFSET>
            <LENGTH>000003</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Purchase Order Unit of Measure</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>XCHPF</FIELDNAME>
            <OFFSET>000025</OFFSET>
            <LENGTH>000001</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Batch management requirement indicator</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>DATAB</FIELDNAME>
            <OFFSET>000026</OFFSET>
            <LENGTH>000008</LENGTH>
            <TYPE>D</TYPE>
            <FIELDTEXT>Valid-From Date</FIELDTEXT>
          </item>
        </FIELDS>
        <OPTIONS />
      </TABLES>
    </RFC_READ_TABLE>
    Add a repeater sourced on:
    SAP_JCo_Interface_0.Response{/RFC_READ_TABLE/TABLES/DATA/item}
    Link your repeater output to a tracer with this:
    Repeater_0.Output{/item/WA}
    What you will see in each tracer message is a single line of data with all the fields contents concatenated together.  You can look up what each field in the string represents by the length of the field as returned in the Response segment of the RFC_READ_TABLE rfc.  Then you can parse out the data you are interested in.
    Give this a try and let me know how you succeeded.
    By the way, I could not find the scenario you referred to.  Can you post a link?
    Regards,
    Mike
    Edited by: Michael Appleby on Jan 12, 2009 5:16 PM

Maybe you are looking for

  • Disk Utility in Mavericks Verify Disk gives no report

    When I use Disk Utility, version 13, in OS X Mavericks (10.9)  to verify a disk, it goes through the various steps ... Verifying volume "MacSSD" Starting verification tool: Checking file system Performing live verification. Checking Journaled HFS Plu

  • Dsiplay Dynamic Column in ALV Grid

    Hellow everyone, i am using alv grid to display the stock in detail , I need date and stock qnty with labour hour dynamic , my requriend output is:                             LVside                                 HV side                      Coresi

  • Web Plug-ins for BB?

    Hey all- I am fairly new to the BB world and just purchased a tour.  I am only a few days in but am starting to love it very quickly.  Quick question, are there any apps available for BB that would allow you to view java applets, wmp, or activex via

  • 10.5.7 update: Bluetooth gone, disks won't mount

    Installation of the 10.5.7 update sort of worked. My system says it installed, but I did get a message saying something like "Update was not completely succesful". The one reason for updating was that I hoped to be able to use my wireless mouse again

  • Bangkok, Thailand route pattern

    Hello,    I am trying to create a route pattern for my office in bangkok.  they are needing to call toll free numbers within their country, however when I do DNA it shows the pattern has blocked  when I have allowed it. I don't understand what I'm mi