Can I write to a BO attribute straight from BO method-skipping container ?

hi,
We have created a single character virtual attribute in BO, we have created a method that will set the attribute to X if its blank and blank if its X.
I have tried working with  object-attribute name but it does not set the values. I am trying to remove the container binding between method->task and task-->BO out of question by writing straight to BO.
Is it possible ?
thanks,
GV

You can code for Virtual attribute.
You can call method using
SWC_CALL_METHOD
SWC_GET_PROPERTY
Thanks
Arghadip

Similar Messages

  • Can we write query for fomatted search without from clause

    can we write query for fomatted search without from clause as below.
    SELECT (($(u_amt)*14)/100)
    here U_amt is a UDF .I want to assign this to another field .
    Rgds,
    Rajeev

    Hi Rajeev,
    You can write query for FMS without from.  That is because you can omit it when you get value from active form by default.  The grammar of it is:
    Select $[$38.u_amt.0\] * 14/100 in your case if you have item type marketing document @line level.
    From View-System Information, you can get the info you need for your FMS query at the left bottom of your screen.
    Thanks,
    Gordon

  • Can i transfer apps photos and music straight from my iphone5 to my ipad

    can i transfer apps photos and music straight from my iphone5 to my ipad

    1. Backup iPhone to iTunes or iCloud
    2. Restore backup to iPad
    iOS: Back up and restore your iOS device with iCloud or iTunes

  • Can't write on my usb pen drive from 2 days?!?

    hi, from 2 days i can't write on my usb pen drive (Transcend JetFlash Flash  16gb with FAT32 partition)
    if I do a manual mount in a console by root, I can easly a do cp command and copy files over.
    if I open dolphin and mount by hal the drive,  I can read but not copy files, and if I open a console and do a cp command, I have this error:
    cp: cannot create regular file `/media/OZETA/ownage.png': Read-only file system
    what the... is going on? i used my pen 4 or 5 days ago
    on the contrary, i can mount my sd card (fat32) and my 2 usb disk (fat32 and ntfs) and i can write on them.
    help
    Last edited by ozeta (2009-05-21 19:10:19)

    Have you tried running dosfsck on the device? Of course, be sure that you unmount the usb drive and verify the dev file of the relevant partition.
    Something like:
    dosfsck /dev/sdb1 <----replace with correct dev file!!
    to see what the problem is and then
    dosfsck -a /dev/sdb1
    Of course, I would strongly encourage you to backup all data on the drive first.
    Last edited by madalu (2009-05-22 12:45:26)

  • How can I write to port C and read from port A&B simultaneously using 6503 DIO-24

    I attempting to read from Port A and B which are grouped together and at the same time I want to write to Port C. The problem I having now is that every time I want to read from Port A and B, Port C seems to be effected. I have only used the easy dio's vi this may be the root of my prblem

    Hello,
    You will need to use the advanced digital VIs to accomplish what you are trying to do.
    The Easy DIO VI's are simply a combination of two DIO advanced VI, so you will use the same two advanced VI with a little different calling method. We want to call both PORT Config VI first to configure two ports for read and one port for write. Then we can simply read and write to the ports as desired, perhaps in a loop.
    The best place to start would be to look at the LabVIEW examples for Digital Input and Output operations. In LabVIEW, go to Search Examples then under I/O interfaces select DAQ (or Data Acquisition)-> Digital Input and Output->Immediate Digital Input and Output. From her you will want to look at the examples under the 8255 chip which is the chip on
    the DIO-24. I would recommend looking at Read from two digtial ports and the Write to one digital port VI's.
    From here you will simply need to combine the two together. One note: you will want to make sure that both port config VI are called before either Port Read or Port Write VIs.

  • TS1314 can you write the steps for transferring photos from my pc to ipad2

    Can you please write down the steps for transferring photos from my PC to IPAD2?

    Sync photos to iPad
    http://support.apple.com/kb/HT4236

  • How Can I export a specific Business Attribute set from CRM and send it to SAP Cloud System

    Hi,
    I have a scenario, where I have Business Attributes Set in CRM.
    But I want to send specific (not all ) Business Attribute from CRM to Cloud System (C4C).
    Is is possible via some customization.
    Thanks and Regards,
    Amit Khatwani

    Hi Padma,
    Do we have a standard BADI delievered for this integration from CRM to C4C.
    Or the customer has to implement the custom BADI and enhance the existing
    message type (process)?
    Best Regards,
    Amit Khatwani

  • I can't write or access external HD with iMovie

    I've read that some have success and others have not. I am one of the others who have not.
    I'm recently new to iMovie and external HDs. I bought an external once I got iLife 08 so I can do some video editing. I want to have all my video on the external. That is no problem, I can easily transfer, but I can't write directly, or access my files from iMovie. I can import from external, but then it just creates an event on my boot drive and totally defeats the purpose of saving and working from the external.
    What is wrong? I can see the drive in iMovie, but it has a little exclamation mark on the icon. I can't find what the exclamation error means.
    I have an iMac, running to external via firewire, and the drive is FAT32. Do I need to reformat? Or does iMovie not allow direct write or editing from an external

    FAT32
    iMovie should not be used with a FAT32 disk; if you haven't put anything on the drive which you can't move off the drive and don't need to use it with a PC, you should use the Disk Utility in the /Applications/Utilities/ folder to reformat it to Mac OS Extended regardless of what you intend to use the drive for.
    (23692)

  • Why am I getting "Can't write file"? from jsp

    I have the following code:
    public String OpenRAF(String fileName) {
    try {
    file = new File("http://www.domain/filename.prn");
    } catch (java.lang.NullPointerException npe) {
    writeError(npe);
    } catch (java.lang.IllegalArgumentException iae) {
    writeError(iae);
    if (!file.isFile()) {
    retn = "Not a file:" + file.getAbsoluteFile();
    if (!file.canRead()) {
    retn = "Can't read file:" + file.getAbsoluteFile();
    if (!file.canWrite()) {
    retn = "Can't write file:" + file.getAbsoluteFile();
    try {
    raf = new java.io.RandomAccessFile(file, "rw");
    } catch (java.io.FileNotFoundException fnfe) {
    rtn = false;
    Why am I getting the "Can't write file http://www.domain/filename" from this jsp?
    I would like to open this file read,write and update it with the RandomAccessFile api, but I can't seem to get write permissions. I have granted 777 permissions on the file.
    Is this a Tomcat file permission issue or something?
    Thanks.

    Thanks,
    But I want to read,write to a file in the application Server. How do I get the path correct?
    I want to use something like java.io.RandomAccessFile("somepath", "rw");
    I should be able to access the filesystem somehow? The only way I could find the file was using the URL. Whenever I used a relative or absolute path, I could not access the file.
    How do I know what the filesystem path is on an application server (Tomcat 4.1) from a Jsp 1.4?
    Thanks again

  • I can't write to my Drobo

    I have a new iMac (like this):
    I am trying to connect the Drobo that I used to use with my Windows Computer.  It has 4 drives @ 3TB each, and the whole drive is over half full, so I am not terribly interested in the cost that it would take to "back up" that whole disk pack.  It took some shenanigans (reboots of both the drive and the computer; disconnections, and reconnections; fiddling around with MAC Disk Utility) to get it to show up in Finder at all.  I still have issues with it unmounting and needing to remount it, but that's not my main issue.
    THE REAL PROBLEM:
    Though I can get the Drobo to show up in finder, and I can read from it, I can't write to it.  Based on some earlier searching I tried this terminal command, which helped it to show up in finder, but didn't seem to affect it's being read-only:
    new-host-3:~ davidholcomb$ getfileinfo /Volumes/Drobo
    directory: "/Volumes/Drobo"
    attributes: avbstclinmedz
    created: 12/10/2012 19:06:46
    modified: 09/11/2014 03:37:07
    Looking at another thread (partition map check failed because no slices were found), which I wandered into because I was getting this error in Disk Utility upon running Verify Disk because I got a failure when I tried to "mount" the drive in Disk Utility:
    This thread suggested I try a couple additional Terminal Commands, which I will post the results of here:
    #1: diskutil list
    new-host-3:~ davidholcomb$ diskutil list
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         121.0 GB   disk0s2
       3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *1.0 TB     disk1
       1:                        EFI EFI                     209.7 MB   disk1s1
       2:          Apple_CoreStorage                         999.3 GB   disk1s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
    /dev/disk2
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Macintosh HD           *1.1 TB     disk2
    /dev/disk4
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *17.6 TB    disk4
       1:       Microsoft Basic Data Drobo                   17.6 TB    disk4s1
    #2 diskutil cs list
    new-host-3:~ davidholcomb$ diskutil cs list
    CoreStorage logical volume groups (1 found)
    |
    +-- Logical Volume Group 7DACBFD5-E22C-404B-98B1-99D97AD08B2F
        =========================================================
        Name:         Macintosh HD
        Status:       Online
        Size:         1120333979648 B (1.1 TB)
        Free Space:   114688 B (114.7 KB)
        |
        +-< Physical Volume F26F7717-B081-4312-8252-65C9E3040AD4
        |   ----------------------------------------------------
        |   Index:    0
        |   Disk:     disk0s2
        |   Status:   Online
        |   Size:     120988852224 B (121.0 GB)
        |
        +-< Physical Volume 414053B5-EFD8-4FC0-87CE-F3913D6E876B
        |   ----------------------------------------------------
        |   Index:    1
        |   Disk:     disk1s2
        |   Status:   Online
        |   Size:     999345127424 B (999.3 GB)
        |
        +-> Logical Volume Family BE5280EF-B093-4137-88A2-5AF3F1ACEFCC
            Encryption Status:       Unlocked
            Encryption Type:         None
            Conversion Status:       NoConversion
            Conversion Direction:    -none-
            Has Encrypted Extents:   No
            Fully Secure:            No
            Passphrase Required:     No
            |
            +-> Logical Volume D35043A0-F886-4223-81DD-4880F04ECEA3
                Disk:                  disk2
                Status:                Online
                Size (Total):          1114146996224 B (1.1 TB)
                Conversion Progress:   -none-
                Revertible:            No
                LV Name:               Macintosh HD
                Volume Name:           Macintosh HD
                Content Hint:          Apple_HFS
    and #3: Mount:
    new-host-3:~ davidholcomb$ mount
    /dev/disk2 on / (hfs, local, journaled)
    devfs on /dev (devfs, local, nobrowse)
    map -hosts on /net (autofs, nosuid, automounted, nobrowse)
    map auto_home on /home (autofs, automounted, nobrowse)
    /dev/disk4s1 on /Volumes/Drobo (ntfs, local, nodev, nosuid, read-only, noowners)
    Another user who had run these commands and posted the results, seemed to have been missing an EFI partition on their external drive and was asked to run this command and post results.  But the thread with that user dies there.  Here are my results of this command:
    new-host-3:~ davidholcomb$ diskutil info disk4
       Device Identifier:        disk4
       Device Node:              /dev/disk4
       Part of Whole:            disk4
       Device / Media Name:      TRUSTED Mass Storage Media
       Volume Name:              Not applicable (no file system)
       Mounted:                  Not applicable (no file system)
       File System:              None
       Content (IOContent):      GUID_partition_scheme
       OS Can Be Installed:      No
       Media Type:               Generic
       Protocol:                 USB
       SMART Status:             Not Supported
       Total Size:               17.6 TB (17592186044416 Bytes) (exactly 34359738368 512-Byte-Units)
       Volume Free Space:        Not applicable (no file system)
       Device Block Size:        512 Bytes
       Read-Only Media:          No
       Read-Only Volume:         Not applicable (no file system)
       Ejectable:                Yes
       Whole:                    Yes
       Internal:                 No
       OS 9 Drivers:             No
       Low Level Format:         Not supported
    Can anyone help me with a next step to make this drive read/writeable?

    Turns out that the Drobo needs to be plugged straight into computer. I had it via hub. Though it has worked for the past couple weeks in this configuration, the new update pushed it over the edge, I guess. Plugged in directly and working fine.

  • Can you write javac in java Language

    Hi,
    is it possible to write java compiler in java language.

    Here's a compiler written in Java, it is part of an IDE I wrote:
    Compiler.java: import java.io.*;
    * Wrap up javac.
    * The class exists to supply a single method - to compile a file
    * and report status along with error/success messages
    * Compilation (by javac) is carried out asynchronously using a
    * background Thread. Status and any error messages are passed back to
    * the calling object through a callback method.
    public class Compiler implements Runnable
        * Constructor.
        * @param owner the <TT>JavacTool</TT> that has created this Compiler
       public Compiler( CompilerListener owner )
          myOwner = owner;
       private CompilerListener myOwner;
        * Compile a file using javac.
        * This method will compile a Java source file and report both the
        * status of the operation and any error strings produced.
        * The method kicks off a separate Thread that actually carries out
        * the compilation. Upon completion a the JavacTool is called back with
        * a CompilerStatus object.
        * @param filename   the name of a file which <I>must</I> be in the same directory
        * as the JavacTool was run from.  this tool does not have tha capability
        * of working across multiple directories.
       public void compile( String fileToCompile )
          filename = fileToCompile;
          new Thread( this ).start();
       private String filename;
        * The method run by the separate Thread.
        * It runs once for each filename passed to the Compiler object.
        * It creates a new OS process to run "javac filename" externally
        * and captures the error output from the real compiler into
        * a String so that it can be returned to the calling code via
        * a callback method (very similar in principle to an event)
       public void run()
          CompilerStatus returnValue = new CompilerStatus();
          returnValue.outputString = new String();
          try
             Runtime r = Runtime.getRuntime();
             Process p = r.exec( "javac " + filename );
             InputStream is = p.getErrorStream();
             BufferedReader rdr = new BufferedReader( new InputStreamReader( is ) );
             String line = rdr.readLine();
             while( line != null )
               returnValue.outputString += (line + "\n");
               line = rdr.readLine();
             p.waitFor();
             returnValue.exitValue = p.exitValue();
             if( returnValue.exitValue == 0 )
               returnValue.outputString = "Compilation successful\n\nNo errors\n";
          catch( Exception e )
            e.printStackTrace();
          myOwner.compileComplete( returnValue );
    } CompilerStatus.java: public class CompilerStatus
       public int exitValue;
       public String outputString;
    }JavacTool.java: import java.util.*;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    * The main class in the application
    * Provides the screen presence for the controllers and the output view
    public class JavacTool extends JTextArea implements CompilerListener
        * Constructor for the tool
        * @param list A java.util.Vector containing the list of files for compilation
        * or null if none entered.
       public JavacTool( JTextArea jTextArea )
          // View    
          outputWindow = jTextArea;     
          outputWindow.setFont( new Font( "Monospaced", Font.PLAIN, 12 ) ); 
          outputWindow.setText( "TBJava IDE: -ready to compile" );   
          // Get it going!
          // Must create a Compiler object and provide it with a link
          // so that it can call this object back when it has completed
          theCompiler = new Compiler( this );
          // set the size and the visibility
          setSize( 500, 250 );
          setVisible( true );
         public void Compile( String fileToCompile )
                // Infrom user that something is happening
                   filename = fileToCompile;
                   outputWindow.setBackground( Color.white );
                   outputWindow.setText( "Compiling " + filename );
                   setCursor( new Cursor( Cursor.WAIT_CURSOR ) );
                   theCompiler.compile( fileToCompile );
                // When compilation is complete, the Compiler
                // object will callback on the method compileComplete
                // The Compiler runs its own Thread so this method
                // will complete immediately and the outputWindow
                // update can occur.
       private String filename;                                             // the filename as a String
       private JTextArea outputWindow;                                   // the window containing the messages                         
       private Compiler theCompiler;                                        // the compiler
        * Method called by the Compiler when it has completed
        * @param status A CompilerStatus object that contains
        *    the exit value from the compiler
        *    (indicating success or failure) value == 0 => OK and value != 0 => error
        *    and an appropriate text message
       public void compileComplete( CompilerStatus status )
          setCursor( new Cursor( Cursor.DEFAULT_CURSOR ) );
          if( status.exitValue == 0 )
             outputWindow.setBackground( new Color( 0.85F, 1.0F, 0.85F ) );
                                         // pale green
          else
             outputWindow.setBackground( new Color( 1.0F, 0.85F, 0.85F ) );
                                         // pale red
          outputWindow.setText( status.outputString );
    }This is taken straight from my IDE; you'll have to adapt it slightly to make it into a seperate application

  • Can we write in Italic font on to the screen by using the WRITE Statement

    Hello Abappers,
    Can we write in Italic font on to the screen by using the WRITE Statement.
    Please reply.
    Regards,
    Rahul

    Hi Rahul,
    >Sandeep Wrote:
    If you have the codepage for Italian language installed in your machine , you can write the same.
    The OP is asking about italic font not about the language.
    You need to upload font files ITALICI.TTF. Go to SE73 . Click on Install True type font and upload the italic file on to your system.
    Check Font Attribute Italic
    We already have help files on this. Refer:
    [Using TrueType Fonts|http://help.sap.com/saphelp_nw70/helpdata/en/36/5b3438fd263402e10000009b38f8cf/content.htm]
    I don't have idea on write statement in ABAP reports. Hope it cannot be.
    Edited by: K.Manas on Dec 30, 2010 6:08 AM

  • Can't write to mounted HDD after updates. (SOLVED)

    Im using XFCE as my DE.
    I can no longer write to mounted HDD. Neither the 2nd HDD in my computer or my USB backup drive. I can't write to them as root either?!
    I can read them just fine, even drag files from them but nothing at all will write to them.
    Any ideas??
    Last edited by ashlee84 (2011-09-29 17:50:24)

    This is the output of the above command.
    proc              on  /proc                     type    proc                   (rw,nosuid,nodev,noexec,relatime)
    sys               on  /sys                      type    sysfs                  (rw,nosuid,nodev,noexec,relatime)
    udev              on  /dev                      type    devtmpfs               (rw,nosuid,relatime,size=10240k,nr_inodes=256944,mode=755)
    run               on  /run                      type    tmpfs                  (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
    /dev/sdb1         on  /                         type    ext3                   (rw,commit=0)
    devpts            on  /dev/pts                  type    devpts                 (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    shm               on  /dev/shm                  type    tmpfs                  (rw,nosuid,nodev,relatime)
    tmpfs             on  /tmp                      type    tmpfs                  (rw,nosuid,nodev)
    /dev/sdb2         on  /var                      type    ext3                   (rw,commit=0)
    /dev/sdb4         on  /home                     type    ext3                   (rw,commit=0)
    fusectl           on  /sys/fs/fuse/connections  type    fusectl                (rw)
    gvfs-fuse-daemon  on  /home/ash/.gvfs           type    fuse.gvfs-fuse-daemon  (rw,nosuid,nodev,user=ash)
    /dev/sdc1         on  /media/FreeAgent          GoFlex  Drive                  type                                                                     ntfs  (ro,nosuid,nodev,uid=1000,gid=100,dmask=0077,fmask=0177,uhelper=udisks)
    /dev/sda2         on  /media/4A2026C32026B63B   type    ntfs                   (rw,nosuid,nodev,uid=1000,gid=100,dmask=0077,fmask=0177,uhelper=udisks)
    SDC1 is my removable drive, which for some reason i can see straight away it says RO?
    SDA2 is my other HDD, my Windows drive, i can't right to that either.
    I will have a proper look at the above articles after work, i thought i would quickly post this up to see if someone spots anything obvious.
    Thank you.

  • How can i write code inside methods.

    Hi,
       I am new to wbdynpro. How can i write code in Webdynpro?
    I have created one layout in that two textboxes are there. After entering the details when i click on the button the datas should be saved into the database table. How can i write code in this.
    please help me.
    Shyja

    Hi,
    First in context create node for 2 input field. Then disign layout for input filds and do data binding. Then create button and assign ON action event to it. In action method use wizard to read the values from the node.
    DATA: Node type REF TO IF_WD_CONTEXT_NODE,
    elem_node1 TYPE REF TO if_wd_context_element,
    stru_node1 type ZEMP.
    Node = wd_Context->get_Child_Node( Name = `S_NODE2` ).
    get element via lead selection
    elem_node1 = node->get_element( ).
    get all declared attributes
    elem_node1->get_static_attributes(
    IMPORTING
    static_attributes = stru_node1 ).
    INSERT ZEMP FROM stru_node1.
    If helpful reward points.
    Regards,
    Karthick S

  • Can I upgrade straight from 3.0.19 to 3.6.10 without losing bookmarks, history etc

    Can I upgrade straight from 3.0.19 to 3.6.10 without losing bookmarks, history etc? I can't afford to lose all of these as they are work-related.

    All your bookmarks history etc... is stored in your user profile on your pc, not in the install directory of firefox so when you install a newer version it only over writes the files in its install directory and not your bookmarks etc...
    There is also some add-ons that can backup all your user data so that you can restore them later.
    or
    If you want to be safe you can manually backup your profile before you begin the upgrade.
    On Windows Vista or 7 you will find your profile at;
    C:\Users\<USERNAME>\AppData\Roaming\Mozilla\Firefox\Profiles\<random-generated-profile-name>.default
    On XP I believe it is at;
    C:\Document and settings\<username>\Application Data\Roaming\Mozilla\Firefox\Profiles\<random-generated-profile-name>.default
    Just copy the contents of the above folder to somewhere else on your hard drive and if your bookmarks didn't copy over then you can manually place the files back into the above directory.

Maybe you are looking for

  • Problem with scanning in Photoshop CS6 after upgrading to Mountain Lion

    After upgrading to latest version of Mountain Lion i've got a problem with scanning directly into Photoshop CS6. on the previous Lion version when I wanted to scan something, i just opened Photoshop -> File -> Import -> images from device then a new

  • I have a previously registered iPhone 4s [first-time owner] and now suddenly requested to activate?

    I have had my iPhone 4s since 2012, sole owner and never out of my reach.  Therefore, I am sure that no one else has had the opportunity to change any of the settings.  Below is a summary of the problem that i have been dealing with since Saturday, w

  • Zooming and Margins

    I recently bought the Sony PRS-950, mainly to use for reading and annotating academic papers, most of which come as PDFs, generated or scanned. So far, I've been very happy about it displays PDFs --- even on scanned PDFs, pages turn very quickly ---

  • FLEX Beginners

    Flex 2 Beginners - A must see website for good examples of components, samples created by Shigeru Nakagaki. http://shigeru-nakagaki.com/index.cfm?Content=Flex2Samples Thanks to Shigeru Regards, Arthur

  • Collect Fonts

    Does InDesign collect fonts of placed psd files? If not, are there any 3rd party programs taat anyone knows of to do this? Thanx.