DMSRM RepositorMan-Add new Property to resource leads to ClassCastException

Hi Guys,
I am stuck a bit and need some help , so here is my scenario:
For each resource in the DMSRM repository (/dmsrm/*) I read the values in the multi valued property called characteristics. I parse the value contained in it and want to create the several properties:
So the value would be something like this:
Property1 -> Value1, Property2 -> Value2, Property3 -> Value3
And I split it and want to make three properties with 3 values in it.
Here is the code that writes the property
IUser user = WPUMFactory.getServiceUserFactory().getServiceUser(serviceuser);  
IResourceContext context = new ResourceContext(user);            
IResourceFactory factory = ResourceFactory.getInstance();
IResource resource = factory.getResource(rid, context);
IPropertyName propName = (IPropertyName) new PropertyName("http://sapportals.com/xmlns/cm/dmsrm_cl", prop);
if (resource != null) {
     IProperty property = resource.getProperty(propName);
     IMutableProperty mutableProperty = null;
     if (property != null) {
          mutableProperty = property.getMutable();
     } else {
          mutableProperty = (new Property(propName, "")).getMutable();
     mutableProperty.setStringValue(value);
     IProperty newProperty = (IProperty) mutableProperty;
     resource.setProperty(newProperty);
I get java.lang.ClassCastException on the resource.setProperty line with the
Following error message in the log:
at java.lang.Thread.run(Thread.java:534)
at com.sapportals.wcm.service.scheduler.crt.PoolWorker.run(PoolWorker.java:108)
at com.sapportals.wcm.service.scheduler.SchedulerEntry.run(SchedulerEntry.java:174)
at com.ekrones.SetDMSPropertiesKM.SetDMSProper.run(SetDMSProper.java:58)
at com.ekrones.SetDMSPropertiesKM.SetDMSProper.travFilesInCollection2(SetDMSProper.java:225)
at com.ekrones.SetDMSPropertiesKM.SetDMSProper.travFilesInCollection2(SetDMSProper.java:225)
at com.ekrones.SetDMSPropertiesKM.SetDMSProper.travFilesInCollection2(SetDMSProper.java:246)
at com.sapportals.wcm.repository.ResourceImpl.setProperties(ResourceImpl.java:488)
at com.sapportals.wcm.repository.ResourceImpl2.internalSetProperties(ResourceImpl2.java:204)
at com.sapportals.wcm.repository.GeneralImpl2.internalSetProperties(GeneralImpl2.java:420)
at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMMutablePropertyManager.updateProperties(DMSRMMutablePropertyManager.java:294)
at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.changeDocumentProperties(DMSRMR3FunctionCalls.java:4309)
Any help will be appreciated
Thanks,
Rehan
Edited by: Yousaf Rehan on Jun 19, 2009 5:40 PM

Hi Guys,
<br>
I am stuck a bit and need some help , so here is my scenario:<br>
For each resource in the DMSRM repository (/dmsrm/*) I read the values in the multi valued property called<br> characteristics. I parse the value contained in it and want to create the several properties:<br>
So the value would be something like this:<br>
Property1 -> Value1, Property2 -> Value2, Property3 -> Value3<br>
And I split it and want to make three properties with 3 values in it.<br>
<br><br>
Here is the code that writes the property<br>
<br>
IUser user = WPUMFactory.getServiceUserFactory().getServiceUser(serviceuser);<br>             
IResourceContext context = new ResourceContext(user);             <br>
IResourceFactory factory = ResourceFactory.getInstance();<br>
IResource resource = factory.getResource(rid, context);<br>
IPropertyName propName = (IPropertyName) new <br>
PropertyName("http://sapportals.com/xmlns/cm/dmsrm_cl", prop);<br>
if (resource != null) {<br>
     IProperty property = resource.getProperty(propName);<br>
     IMutableProperty mutableProperty = null;<br>
     if (property != null) {<br>
          mutableProperty = property.getMutable();<br>
     } else {<br>
          mutableProperty = (new Property(propName, "")).getMutable();<br>
     mutableProperty.setStringValue(value);<br>
     IProperty newProperty = (IProperty) mutableProperty;<br>
     resource.setProperty(newProperty);<br>
<br>
<br>
I get java.lang.ClassCastException on the resource.setProperty line with the
Following error message in the log:
<br>
<br>
at java.lang.Thread.run(Thread.java:534)<br>
at com.sapportals.wcm.service.scheduler.crt.PoolWorker.run(PoolWorker.java:108)<br>
at com.sapportals.wcm.service.scheduler.SchedulerEntry.run(SchedulerEntry.java:174)<br>
at com.ekrones.SetDMSPropertiesKM.SetDMSProper.run(SetDMSProper.java:58)<br>
at com.ekrones.SetDMSPropertiesKM.SetDMSProper.travFilesInCollection2(SetDMSProper.java:225)<br>
at com.ekrones.SetDMSPropertiesKM.SetDMSProper.travFilesInCollection2(SetDMSProper.java:225)<br>
at com.ekrones.SetDMSPropertiesKM.SetDMSProper.travFilesInCollection2(SetDMSProper.java:246)<br>
at com.sapportals.wcm.repository.ResourceImpl.setProperties(ResourceImpl.java:488)<br>
at com.sapportals.wcm.repository.ResourceImpl2.internalSetProperties(ResourceImpl2.java:204)<br>
at com.sapportals.wcm.repository.GeneralImpl2.internalSetProperties(GeneralImpl2.java:420)<br>
at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMMutablePropertyManager.updateProperties(DMSRMMutablePropertyManager.java:294)
at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.changeDocumentProperties(DMSRMR3FunctionCalls.java:4309)<br>
<br>
<br>
Any help will be appreciated<br>
Thanks,<br>
Rehan<br>
Edited by: Yousaf Rehan on Jun 19, 2009 5:43 PM

Similar Messages

  • Error when add new property to User Profile "General Information" portlet

    Portal 5.0.2 .NET 1.1
    The following error occurs when:
    1. Create new property (Everyone has select access)2. Edit "General Information" User Profile portlet and add the new property, then "Finish"
    <property name>: Current user is attempting to save an invalid property.
    Is there something that I am missing? Thanks Meredith

    Meredith,
    Don't forget to map the property to User objects in the Global Object Property Map. I suspect that this is the problem.
    jennifer

  • Add new translated language resources for ADF components

    Hello
    I wish to add a new language for the ADF components.
    Our product was translated in serbian language but some items like Next, Previous buttons or the OK and Cancel buttons in the popup dialogs of type OkCancel uses build-in resources of the ADF and does not provide the translation for all languages.
    How is it possible to extend the resources of the ADF with any other language?
    I see the old thread Re: ADF component language for the Georgian language.
    And I guess there are more languages required by some customers.
    Is there any solution available by the ADF how we can just provide the missed translations and configure ADF to load them?
    Kind Regards
    Paul Daratha

    Hi,
    you can bind the text of the components with your bundle.
    see the doc:
    http://docs.oracle.com/cd/E23943_01/web.1111/b31973/af_global.htm#CHDGCAFI
    and here are a resource strings for components
    http://docs.oracle.com/cd/E24382_01/apirefs.1112/e17497/toc.htm
    As far as I know yo can´t add a language.

  • How to write new line on resource file.

    Hello Everyone,
    Can you please help me add new row on resource file, here is the code i have used to read my resource file.
    I have no idea on how to add new line... Please help 
    private void btnBrowse1_Click(object sender, EventArgs e)
    BrowseFile();
    //versionIncrement();
    if (txtInputfile.Text.Length > 0)
    PathSelection = txtInputfile.Text;
    oDataSet = new DataSet();
    //now am reading the files fro the path that is selected
    XmlReadMode omode = oDataSet.ReadXml(PathSelection);
    for (int i = 0; i < oDataSet.Tables[2].Rows.Count; i++)
    string comment = oDataSet.Tables["data"].Rows[i][2].ToString();
    //the elements array contain all the columns filled
    string[] elements = comment.Split('-'); //when it reaches the comma, it will jump to the next line
    string font = elements[0]; //Font
    string datestamp = elements[1]; //DateStamp
    string commentVal = elements[2]; //Comment
    string[] row = new string[] { oDataSet.Tables["data"].Rows[i][0].ToString(), oDataSet.Tables["data"].Rows[i][1].ToString(), font, datestamp = DateTime.Now.ToString(), commentVal };
    Gridview_Input.Rows.Add(row);

    Hello
    Sitholimela,
    >> Can you please help me add new row on resource file, here is the code i have used to read my resource file.
    From your description, it seems that your resource file is a XML format file, if so, you could also have a try to use
    LINQ To XML which is easy to operate the XML file to add new row to your resource file, and here is an example to show how to add a new element/row to the specific tree:
    Linq to XML Add element to specific sub tree
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Add a new Property Set

    Hi,
    My question is:
    I want add a new property set , so I create a new .usr file in workshop,
    then build a ear file and deploy .
    but i can't found this property set in adminportal, Why?
    If I do not use the ear file, under the workshop to deploy, all is ok.

    Hi,
    I used this code to autoformat my columns! Hope this was what you were looking for!
    Optimize width of columns --------------------------------------*
          DATA: column      TYPE ole2_object.
          CALL METHOD OF h_excel 'Columns' = column NO FLUSH.
          FREE OBJECT h_excel NO FLUSH.
          CALL METHOD OF column 'Autofit' NO FLUSH.
          FREE OBJECT column NO FLUSH.

  • How shall i add new tab in cgab transaction under property tree.

    hi,
    how shall i add new class tab under phrase-set-to-attribute assignment under industrial hygine & safety data in transaction cgab.
    thanks and regards,
    manish.

    Hello Manish,
    Based on your data input requirements, first create a characteristics in t-code ct04. Create a class (in t-code cl01) and assign the characteristics to the class. For characteristics, define "Values" by clicking on button "Other value check" and selecting "check values with function module". Input FM as "C14K_PHRASECHARACT_CHECK_F4".
    Now, create phrases (t-code cg12) for the actual values which you wish to have as F4 values on your IHS screen for the custom fields. Then create phrase set (t-code :cg1b) and assign the phrases to the phrase set.
    Go to spro>EHS>IHS>Basic settings>Assign value assignment types to classes..........define here the name of the tab under which custom fiellds should come. Assign the above created class here.
    Now, go for master data match-up (t-code cgcz) , select first three checkboxes and execute.
    Go to cgab now, and you should be able to see the value assigment type created in spro in IHS section . Double click it, and assign the phrase set against the created characteristics.
    Regards,
    Pavan

  • How to add new EEW Business Objects

    Hi guys,
    could you please give me a solution how to add new business objects? Following are the SAP Objects that you can Enhance Using EEWB:
    ADS Analytical Data Storage
    BUPA Business Partner
    BUPR Business Partner Relationships
    BUSINESS_ACTIVITY Business Activity
    BUSINESS_TRANSACTION CRM Business Transaction
    CATEGORY_ENHANCEMENT Category Extension
    COMPLAINTS Complaint
    COUNTERS Counter
    CRM_CASE СRM Case
    CRM_RPT Resource Planning Tool
    GRANTOR_PROJECT Grantor Project
    INDIVIDUAL_OBJECT Individual Object
    INSTALLED_BASE Installed Base
    LEAD Lead
    MARKETING_ELEMENT Marketing Element
    OPPORTUNITY Opportunity
    PPR Partner/Product Range
    RELTYPE Relationship Category
    SALES_CONTRACT Sales Contract
    SALES_TRANSACTION Sales Transaction
    SERVICE_CONFIRMATION Service Completion Confirmation
    SERVICE_CONTRACT Service Contract
    SERVICE_TRANSACTION Service Process
    SOLUTION_DATABASE Solution Database
    But, i didn`t find how add it.

    Hi,
    To my knowledge adding objects to EEWB is possible by customers, SAP controls which all objects enhancement are possible through EEWB, the objects which you have listed are supported by sap for enhancement via EEWB.
    If you are on CRM 7.0 you can use AET which supports more objects that can be enhanced.(AXTREG - transaction for AET supported objects)
    Hope this helps.
    Cheers,
    Sumit Mittal

  • Developer: web inspector how do I add new css rules

    I have been using web inspector for quite some time. It was a regular part of my development workflow, however, I was surprised when the safari team totally re-vamped the tool in safari 6.
    You use to be able to click on the menu in the styling section of the tool bar and click "Add new rule". Now it appears you can no longer add css rules in this way. Which is a bummer because I used this feature all the time.
    You also, use to be able to double click for a new rule when in the actual stylesheet under the Resources tab. I can no longer do this either. For the life of me, I can't figure out why the safari team would get rid of these valuable options.
    Someone please help.
    These options must still exist, as they are invaluable when working with css in the browser. Does anyone know how to add a new style rule. I read the documentation and I don't see anything about removing this functionality.
    The only way I can find to add a new rule, is through the snippet bar, which is kind of a pain as you have to add the <style> tags every time you add a new rule.
    Also, I can't figure out how to view and elements pseudo classes (i.e. :hover , :checked, etc).
    I have to say, it is a little frustrating as I don't clearly see the benefits of their redesign and it just seems harder to use. It kind of feels like they reskinned and rearranged things just to make it look new and didn't really think through how developers use this tool.
    Does anyone else feel this way with the new safari?
    Maybe I will see the light after a couple of days. I hope so because I am partial to using safari.

    Build your FGLayout prototype page so it works well in all screen sizes (mobile first, then tablet, finally desktop).    To create your home page, SaveAs index.html.   Then SaveAs page2.html, replace content.  Repeat for other site pages.
    Nancy O.

  • Cannot add new items to a value list in AW database

    I have a database which I have been using for many years. One of the fields is a value list. I just went to add another item to the list, and no matter what I do, the Create button is grayed out. I have another value list in the same database that works fine.
    There are currently 170 items in the value list that is causin the problem, but I didn't think that there was a limit to the number of items that can be is a value list. (At least there is nothing in the AW technical specifications to indicate thin. I duplicated the existing database, deleted about 20 items from the list, then saved the file, and reopened it, and still cannot add new items to that value list. Does anyone know what might be causing the problem?

    Oops
    I read too fast.
    Here is a short script which may help.
    Replace the pop-up item by a text one and edit the property myList in my script to fit your needs.
    Select the field to fill and run the script.
    Then choose an item in the displaid list. It will be pasted in the selected field.
    This trick would give you to work with a "no limit" list of items.
    -- [SCRIPT DB fillFieldFromAlist ]
    Assuming that
    the front document is a database one
    and that a text field is selected,
    run the script to select an item in a list
    and paste it in the field.
    Yvan KOENIG, Vallauris (FRANCE)
    le 19 mars 2007
    property MyList : {"item 1", ¬
    "item 2", ¬
    "item 3", ¬
    "item 4", ¬
    "item 5", ¬
    "item 6", ¬
    "item 7", ¬
    "item 8", ¬
    (* edit the list to fit your needs *)
    tell application "AppleWorks 6"
    activate
    tell document 1
    set laClasse to (get class of selection)
    if laClasse is not field then return (* the selection is not a field *)
    set myItem to choose from list MyList
    if myItem is false then return
    set the clipboard to myItem's item 1
    select menu item 7 of menu 3 (*
    Tout sélectionner •• Select All *)
    paste
    end tell -- document 1
    end tell -- AppleWorks
    -- [/SCRIPT]
    Yvan KOENIG (from FRANCE lundi 19 mars 2007 16:44:53)

  • Is it possible to add a property using variable in variable name?

    I want to query for a list of virtual machines within a folder, then create a menu of the host names using forms.  Since the list of machines is subject to change, I want to build the list each time the script is run, rather than build off a static
    list. 
    For each virtual machine I need to create the list of variables below:
    $hostnameX = New-Object System.Windows.Forms.checkbox
    $hostnameX.Location = New-Object System.Drawing.Size(10,20)
    $hostnameX.Size = New-Object System.Drawing.Size(100,20)
    $hostnameX.Checked = $true
    $hostnameX.Text = "Type"
    $hostnameX.Controls.Add($hostnameX)
    The location and size values need to be incremented but I think I can figure that part out.
    I can use New-Variable to generate the initial variable. But I receive errors using the same method to try to create a new property for the variable.
    $VMS = Get-Cluster MyCLUS | Get-vApp "My vApp" | Get-VM | Select Name,PowerState | Sort Name
    For ($i=0; $i -lt ($VMS.count); $i++)
    $VMS[$i].Name
    $VMGUEST = "$($VMS[$i].Name)" -replace("-","")
    New-Variable "CB$VMGUEST" "New-Object System.Windows.Forms.checkbox"
    New-Variable "CB$VMGUEST.Location" "New-Object System.Drawing.Size(10,20)"
    In the above, $CBVMGUEST1 =  New-Object System.Windows.Forms.checkbox which is what I want,  but $CBVMGUEST1.Location is not set.
    Is there way to add a property using a variable in the variable name?  Or any other suggestions on how to tackle this issue?

    Hi,
    maybe another approach is a bit easier.
    Use a hash-array like
    $CB = @{}
    $CB[$VMGUEST] = New-Object System.Windows.Forms....
    $CB[$VMGUEST].Location = New-Object System.Drawing....
    Mit freundlichen Grüßen Jens Kalski
    That's the correct answer.  Anytime you find yourself wanting to create variables named "Widget1", "Widget2", "Widget3", etc... it's a pretty clear indication that what you really need is a collection object of some sort.  That might be an array,
    a hashtable, or any other data structure for holding other objects, depending on your specific needs.

  • Cannot "Add new Item" in my SharePoint 2010 custom lists

    Hi guys,
                All these days it was working fine and all of sudden now when i click on "Add new item" in the the custom lists which i have created in my SharePoint 2010 and fill in the fields and click "save",
    I am getting an exception...:( 
    Please HELP!!!
    Neo Alpha

    One more thread for the same issue
    http://social.msdn.microsoft.com/Forums/en-US/51f37f3b-18a3-4d6b-b90f-2a4240306bf8/when-update-a-folders-property-it-throw-a-comexception-0x81020089
    hope this will help you
    Senthilrajan Kaliyaperumal

  • Add new Content to a html/plain file

    Hi Everybody,
    how can is it possible to add new content (a new line) to a existing html/plain file? I have two methods, with the first one i can create a file but with the second one it is not possible to add new content to the just created file. What is my mistake?
    Create a file (works!)
    IResourceContext ctx1 = buildResourceContext();     
    RID rid1 = RID.getRID("/SP");     
    final IResourceFactory aResourceFactory = ResourceFactory.getInstance();
    aCollection =(ICollection) aResourceFactory.getResource(rid1, ctx1);
    String out = new String("<h3> Welcome </h3>");     
    filedataStream = new ByteArrayInputStream( out.getBytes() );
    fileContent =
         new Content(
           filedataStream,
           "text/html",
           filedataStream.available());
    if (aCollection != null) {          
         fileResource = aCollection.createResource(
                       "NewFile.html",
                       null,
                       fileContent );
    Add new Conent (doesn't work)
    private void addNewContentToFile(){
    IResourceFactory factory = ResourceFactory.getInstance();               
    IResourceContext ctx = buildResourceContext();                         
    RID rid = RID.getRID("/SP/NewFile.html" );
    IResource resource = factory.getResource(rid,ctx);
    String out = new String("<h3> my New Line </h3>");
    ByteArrayInputStream data = new ByteArrayInputStream(out.getBytes());
    IContent newContent = new Content(data, "html/plain", data.available());
    resource.updateContent( newContent );
    regards,
    Seed
    Edited by: seed_mopo on Oct 28, 2008 10:49 AM

    Sorry, there was an exception (NoCheckOut...) --> Versioning = false.

  • Add Undo property to JTextPane

    Hi
    I am getting problem for adding UNDO functionality to jtextpane.My requirement is to undo or restore the data by clicking a button.
    According to my application requirement i have to add multiple(as many as required) panels to a scroll pane dynamically.And these panels consist of a text pane and a combo box.when user will click on the undo button the data in the text pane should be restored.
    For this i made a panel class(DynamicPanels in the code below which contains the text pane and combo boxes) and creating array of panel classes and adding these panels through loop.
    The problem here is , as i am adding the panels dynamically. while trying to add any logic for undo in side the loop it is giving class cast exception ( by applying logic in different way null pointer exception as here the instances are created dynamically i.e runtime).
    Please help me to overcome this issue.
    Thanks.
    //UndoInTextPaneFrame.java
    import javax.swing.*;
    import javax.swing.event.UndoableEditEvent;
    import javax.swing.event.UndoableEditListener;
    import javax.swing.text.Document;
    import javax.swing.undo.CannotUndoException;
    import javax.swing.undo.UndoManager;
    public class UndoInTextPaneFrame extends JFrame{
        final static int NO_OFPANELS=10;
        DynamicPanels[] arrayOfPanels=new DynamicPanels[NO_OFPANELS];
        private javax.swing.JButton jButton1;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JScrollPane jScrollPane1;
        public UndoInTextPaneFrame(){
            jScrollPane1 = new javax.swing.JScrollPane();
            jPanel1 = new javax.swing.JPanel();
            jButton1 = new javax.swing.JButton("UNDO");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    System.out.println("UNDO button clicked");
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            setTitle("Frame to add UNDO property");
            setSize(400,300);
            getContentPane().setLayout(new javax.swing.BoxLayout(getContentPane(), javax.swing.BoxLayout.Y_AXIS));
            jScrollPane1.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
            jScrollPane1.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
            jPanel1.setLayout(new javax.swing.BoxLayout(jPanel1, javax.swing.BoxLayout.Y_AXIS));
            for(int i=0;i<arrayOfPanels.length;i++){
                arrayOfPanels= new DynamicPanels(i);
    jPanel1.add(arrayOfPanels[i]);
    //LOGIC FOR UNDO
    // JTextPane txtPane=(JTextPane)arrayOfPanels[i].getComponent(0);
    jScrollPane1.setViewportView(jPanel1);
    getContentPane().add(jScrollPane1);
    getContentPane().add(jButton1);
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new UndoInTextPaneFrame().setVisible(true);
    class DynamicPanels extends JPanel{
    final UndoManager undo;
    private JTextPane jTextPane1;
    private JComboBox jComboBox1;
    private JScrollPane jScrollPane1;
    public DynamicPanels(int number) {
    jTextPane1 = new JTextPane();
    jComboBox1=new JComboBox();
    jScrollPane1=new JScrollPane();
    Document doc = jTextPane1.getDocument();
    undo= new UndoManager();
    // Listen for undo and redo events
    doc.addUndoableEditListener(new UndoableEditListener() {
    public void undoableEditHappened(UndoableEditEvent evt) {
    undo.addEdit(evt.getEdit());
    try {
    if (undo.canUndo()) {
    undo.undo();
    } catch (CannotUndoException e) {
    jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
    jScrollPane1.setViewportView(jTextPane1);
    setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.X_AXIS));
    add(jScrollPane1);
    add(jComboBox1);

    https://forums.oracle.com/forums/thread.jspa?threadID=2469362&tstart=0

  • How to add new row at the top of the advance table.

    Hi,
    I have one advanced table.
    I want to add new rows in advanced table. I can able to add rows using the AddMoreRows button in the footer of the advanced table.
    This adds the row at the end. But I want to add the row at the top.
    How to achive this? Please suggest.
    Thanks & Regards,
    Raja

    Hi,
    Yes you can do it...
    Just set the add Rows automatically property to False of Add Row Button
    and then in processForm Request capture the addRows event
    and invoke a method in AM and then create a new Row in VO.
    Use this code...it will insert row at the top...
    if("addRows".equals(event))
    am.invokeMethod("addrows");
    public void addrows()
    AddressesVOImpl vo1 = getAddressesVO1();
    AddressesVORowImpl row1 = (AddressesVORowImpl)vo1.createRow();
    vo1.insertRowAtRangeIndex(0,row1);
    vo1.setCurrentRow(row1);
    Thanks,
    Gaurav

  • How to add new marketing attribute to the existing marketing attribute set?

    Hi all,
                  I searched for existing forums but I didn't find the required one. I found some using Tcodes ,which is not my requirement. My requirement is to add new marketing attribute to the already existing marketing attribute set. This  attribute set is created by my team lead with 4 attributes but now i have to add new attribute to this set so total will become 5 attributes for this attribute set. This has to be done through marketing professional business role. If this is not done through marketing attribute set, then I will go for the transaction where I can add marketing attribute for attribute set.
    Please send the details of both marketing professional business role and transaction code.
    Your help is highly appreciated.
    Thanks,
    Baasanthi.

    Hi,
    SAP CRM Marketing Attributes explained
    Path to create Marketing attributes from webui: log in with Marketing Pro role->Marketing->Create->Marketing Attribute
    Regards,Sumeet

Maybe you are looking for

  • Generate counter output based on a digital trigger

    I am trying to output a train of pulse based on a digital trigger (GO bit). When the GO bit goes high, I want to output a pulse train after an initial delay (ie: 2 seconds). When the GO bit goes low, I want to stop this pulse train. When the GO bit g

  • CS 5.1 - Manual and Auto upgrades not working

    I originally posted this in the Camera Raw forum as I had have been trying to upgrade Camera Raw to 6.7 on my windows 7(32) machine running CS5.1. without success.  It now appears that I am not able to carry of any updates in CS5.1 either through the

  • How to control item between Form mode change

    Hi Experts I am using B1DE to do something like some item's enable status will be changed following the Form mode change. For instance, add a new matrix into system form, if changing the Form mode to Find, I want to disable this matrix, if changing t

  • How to avoid submitting a page when tabular form rows are empty

    Hi, I have a master detail form in my application. There are 2 tables that are used Table A and Table B. Table A contains Ticket number and Table B refers to Table A through a foriegn key and Table B have columns like Date,Name, Age, ticket_id (that

  • HOW DO I CONTACT SOMEONE!

    HOW DO I CONTACT SOMEONE!