How to update Activity based upon Campaign

Hi !
We have created some Campaigns with campaignelements.
These elements has been "connected" to different BP - based upon roles.
The corresponding Activities, then has to be updated (Fields: Dates and Status)
Our task is to create a routine/program, where, based upon Campaign, the corresponding Activities can be updated.
Could any one please tell us how to do this?
Regards
Torben

Hi Torben,
I hope I've got your problem correct. I  think that a update of the Activities created during the campaign is not possible. You can try to search for the activities created by the campaign throu the link.
If I've got you wrong could you describe your business case in more detail please.
Regards
Gregor

Similar Messages

  • How to update UDF based upon the row level dimensions.

    Hello Experts,
    I have made 4 new udf at Sales Order.  Its displaying at Righthand side under General Category.
    Now at row level im entering item detail, and other things with 4 profit center vaues.
    So i want that if i enter value in those 4 proft center in row level then it should automatically update those 4 udf with that value.
    It always happen in Add mode of SO, if SO open in update mode then i can update those udf with other values also, which can be differ then row level profit center values.
    If we need to create any trigger or any query for that, then guide me for that.
    Regards,

    Hi Chintesh,
    You can use the option of changing value when the exising column value changes. (also check the option refersh only option)
    pls revert in case more help.
    Regards,
    Datta Kharat

  • ADF BC: Creating updatable VO based upon DB View with "instead of" trigger

    Hello all,
    I have got an interesting issue. I have an Oracle DB view that is used to hide some complexity in the underlying DB design (it does some unions). This view is updatable because we have created an "instead of" update trigger to update the correct table when a row is updated. This is working fine in SQL.
    Next, we have created an ADF Entity object based upon the view, specifying an appropriate PK for the DB View. Then, we have created an updatable VO based upon the EO. All well and good so far. The issue we have is in trying to commit changes to the DB - because the ADF BC framework is trying to lock the row to update (using SELECT ... FOR UPDATE), it's not working because of ORA-02014 - cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    This leads me to thinking about overridding doSelect() on the EO as hinted here http://radio.weblogs.com/0118231/stories/2005/07/28/differenceBetweenViewObjectSelectAndEntityDoselectMethod.html
    As a temporary test, we have over-ridden the EO's doSelect to call super.doSelect(false) and it does work, although we will have lost update issues as detailed in Steve's article.
    My questions:
    1). Is overriding doSelect() the correct thing here? Perhaps there is a better way of handling this problem? I do have a base EO class from which all of the EO's extend, so adding this behavior should be straightforward.
    2). Does anyone have example doSelect implementation? I am thinking of overriding doSelect for my EO and calling super.doSelect (lock=false), but then I need to deal with some possible exceptions, no?
    Kind regards,
    John

    Hi John,
    I have exactly the same issue as you experienced back in January. I have a complex data modelling requirement which requires the need to pivot rows into columns using ROW_NUMBER() and PARTITION clauses. To hide the complexity from the middle tier, I have created a database view and appropriate INSTEAD OF triggers and mapped my EO to the view. I have overriden the lock() method on the EO implementation class (to avoid ORA-02014) and would like to try the same solution you used with the pl/sql call to lock the record.
    My question is, how did you manage the release of the lock if the transaction was not rolled back or committed by your application i.e. if the user closed the browser for instance.
    In my naivity, I would like to think that the BC4J framework would release any locks for the database session when it found the servlet session to be terminated however my concern is that the lock would persist and cause complications.
    Any assistance greatly appreciated (if you would be willing to supply your lock() method and pl/sql procedure logic I would be even more grateful!).
    Many thanks,
    Dave
    London

  • Update JSP based upon change in database

    Hello JSF gurus,
    Is it possible for a JSP to update based upon a change in a database? For example, say a new row gets added to a table. Can this be detected and somehow result in a notification being sent back to the JSP (or its backing bean), causing a refresh? Thanks.
    -Robert

    In fact, I guess that I could ask an even more general question: can a JSP be updated "programmatically" (a push type model), or does it require a request (i.e. some user interaction) generated on the JSP (a pull type model).

  • How to update Activity of Customer/Contact

    Hi All..
    I am Abap Consultant and i need develop a report to Update Activity for customer/contact using bapi FM.
    can you please tell me what is Activity of customer ? is it similar like Partner Functions?? where we menstioned this PF for a perticular Customer? any t code to change this partner function for a customer? is it my changes are update the table KNVP (customer Partner function table)?....
    any bapi function module is there to change/update the activity of customer?
    thank you in advance,
    Madhu.

    bapi function module is there to change/update the activity of customer?
    Edited by: madhubabu rao on Jan 29, 2009 12:13 PM

  • How to update Activity POC Weight (AFVC-EVGEW)

    Hi
    I need to update Activity POC Weight, Which BAPI or Function Module sould i use?

    The structure of this bapi does not have this field to be modified
    Help-me

  • How to update Jtable based on itemStateChanged in JComboBox?

    My bad... I originally posted this topic in the Java Programming forum before I found this forum. My apologies.
    Anyway, can someone help me out pls? I need to be able to update my JTable based on the selected item in the combobox. Unfortunately, my JTable doesn't update when I choose another item in the combo box. What am I doing wrong? I've read about TableModels but I'm not quite sure how to use it.
    my code:
    my_constructor()
    JComboBox cbdisease;
    cbdisease = new JComboBox();
    cbdisease.setEditable(false);
    cbdisease.setBounds(30,20,270,25);
    add(cbdisease);
    cbdisease.addActionListener(this);
    cbdisease.addItem("View All");
    //aside from "View All" that was previously added to the combo box
    //get the values from the database to fill the comboBox
    showDiseases();
    cbdisease.addItemListener(new ItemListener()
    public void itemStateChanged(ItemEvent e)
    System.out.println(cbdisease.getSelectedItem());
    displayRules();
    }// end constructor
    method: showDiseases
    connect to DB and get D_Description (column in database)
    display D_Description in combo box
    public void showDiseases()
    Connection conn = null;
    ResultSet rs = null;
    Statement statement = null;
    try {
    // Connect to DB
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    conn = DriverManager.getConnection("jdbc:mysql:///dbused",
    "root", "");
    // create a statement, execute query
    statement = conn.createStatement();
    rs = statement.executeQuery("SELECT DISTINCT D_Description FROM disease");
    //place D_Description in combo box
    while(rs.next())
    strDesc = rs.getString("D_Description");
    cbdisease.addItem(strDesc);
    conn.close();
    statement.close();
    } catch (SQLException sqle) {
    sqle.printStackTrace();
    } catch (Exception e) {
    e.printStackTrace();
    }//end catch
    }//end showDiseases()
    method: displayRules
    connect to DB and get the rules depending item selected in the combo box
    display the rules in a table
    public void displayRules()
    Connection conn = null;
    ResultSet rs = null;
    Statement statement = null;
    try {
    // Connect to DB
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    conn = DriverManager.getConnection("jdbc:mysql:///dbused",
    "root", "");
    // create a statement, execute query
    statement = conn.createStatement();
    if(cbdisease.getSelectedItem().equals("View All"))
    rs = statement.executeQuery("SELECT D_DiseaseCode, D_Description, D_QuestionCode, D_Question, D_Action, D_NumArrow, D_Arrow FROM Disease ORDER BY D_DiseaseCode, D_QuestionCode");
    else //query depends on the item selected in combo box other than "View All"
    rs = statement.executeQuery("SELECT D_DiseaseCode, D_Description, D_QuestionCode, D_Question, D_Action, D_NumArrow, D_Arrow FROM Disease WHERE" + " D_Description = '" +cbdisease.getSelectedItem()+ "' ORDER BY D_DiseaseCode, D_QuestionCode");
    // Convert the result set into an array of Objects
    Object[][] rows = getObjects(rs);
    // These are the column headings displayed in the JTable
    String[] headings = { "Disease Code", "Description", "Question Code", "Question", "Action", "# of Arrows", "Arrow"};
    // Initialize a JTable with the rows of objects and column headings
    rulestable = new JTable(rows, headings);
    // Add the table to a JScrollPane to make it display nicely
    rulesScroll = new JScrollPane(rulestable);
    // Add the scroll pane to the container
    add(rulesScroll);
    rulesScroll.setBounds(30,80,720,380);
    conn.close();
    statement.close();
    } catch (SQLException sqle) {
    //sqle.printStackTrace();
    System.out.println(sqle.getSQLState());
    } catch(Exception e) {
    System.err.println("Exception: " + e.getMessage());
    }//end displayRules()
    method: getObjects
    public Object[][] getObjects(ResultSet rs) throws SQLException
    // Find out how many columns are in the result set
    ResultSetMetaData metaData = rs.getMetaData();
    final int colCount = metaData.getColumnCount();
    ArrayList rows = new ArrayList();
    Object[] row = null;
    while (rs.next()) {
    // for each row in the result set, put every column into a temporary Object array
    row = new Object[colCount];
    for (int a = 0; a < colCount; a++)
    row[a] = rs.getObject(a+1);
    // add the temporary Object array to the array list
    rows.add(row);
    // convert the array list to objects
    return (Object[][])rows.toArray(new Object[0][0]);
    }//end getObjects()

    Just pass the new data to a new TableModel object's
    constructor and then u can use this new table model in
    ur JTable constructor. that woud automatically update
    the table data.
    Cheers!
    Asimsir Asim, do you mean inserting
    DefaultTableModel rulesmodel = new DefaultTableModel(rows, headings);
    to my code?
    public void displayRules()
    Connection conn = null;
    ResultSet rs = null;
    Statement statement = null;
    try {
    // Connect to DB
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    conn = DriverManager.getConnection("jdbc:mysql:///dbused",
    "root", "");
    // create a statement, execute query
    statement = conn.createStatement();
    if(cbdisease.getSelectedItem().equals("View All"))
    rs = statement.executeQuery("SELECT D_DiseaseCode, D_Description, D_QuestionCode, D_Question, D_Action, D_NumArrow, D_Arrow FROM Disease ORDER BY D_DiseaseCode, D_QuestionCode");
    else //query depends on the item selected in combo box other than "View All"
    rs = statement.executeQuery("SELECT D_DiseaseCode, D_Description, D_QuestionCode, D_Question, D_Action, D_NumArrow, D_Arrow FROM Disease WHERE" + " D_Description = '" +cbdisease.getSelectedItem()+ "' ORDER BY D_DiseaseCode, D_QuestionCode");
    // Convert the result set into an array of Objects
    Object[][] rows = getObjects(rs);
    // These are the column headings displayed in the JTable
    String[] headings = { "Disease Code", "Description", "Question Code", "Question", "Action", "# of Arrows", "Arrow"};
    // Initialize a JTable with the rows of objects and column headings
    rulestable = new JTable(rows, headings);
    // Add the table to a JScrollPane to make it display nicely
    rulesScroll = new JScrollPane(rulestable);
    // Add the scroll pane to the container
    add(rulesScroll);
    rulesScroll.setBounds(30,80,720,380);
    conn.close();
    statement.close();
    DefaultTableModel rulesmodel = new DefaultTableModel(rows, headings); //like this?
    rulestable.setModel(rulesmodel);     
    } catch (SQLException sqle) {
    //sqle.printStackTrace();
    System.out.println(sqle.getSQLState());
    } catch(Exception e) {
    System.err.println("Exception: " + e.getMessage());
    }//end displayRules()

  • How to Update Activity & SubActivity (User Defined Form)

    Dear All Experts,
    I have a difficult condition with me. I am working on a project which end on 8th Level. Now condition is all 8 levels are connected in some manner. Suppose if I change quantity on 8th level then this quantity should update to 7th level. After updating at 7th Level, the other levels get disturbed. So they also should be updated.
    So it can be explained as follows:
    1. I change quantity at 8th level for an item.
    2. That item is in the row on 7th level. It should be updated by the quantity in step1.
    3. Now sum of quantity on the 7th level should be updated to 6th level at row.
    4. It should be so on upto level1.
    I am just asking about like it happens in Microsoft project. Plz suggest me how can I do that ?
    Reagrds

    Dear All,
    Plz reply to this.
    Regards

  • How to update zfs-based flar?

    Hello!
    I have ZFS-based flash archive (flar file). I need to install to it several additional packages and patches. As I know, it is possible for USF-based flar, but how to do it with ZFS-based one?

    My flash archive knowledge is minimal and I'm not sure how to do this with UFS, but maybe this is what a differential flash archive is?
    If so, ZFS doesn't support this archiving method as described here:
    http://docs.oracle.com/cd/E26505_01/html/E37384/githk.html#scrolltoc
    Only a full initial installation of a ZFS flash archive is supported. You cannot install a differential flash archive of a ZFS root file system or install a hybrid UFS/ZFS archive.
    I think you will need to recreate the flar with the additional components.
    Solaris 10 installation features existed about 10 years before ZFS was created. Getting the basic installation features to work with ZFS was quite an accomplishment. More ZFS installation features have been added since their initial release (Solaris 10 10/08) but not this one.
    Thanks, Cindy

  • How to update Activity Status in PS

    Dear Sir,
    We have defined various Activities under a WBS Element .  Instead of Updating the Status of the Activity from the CJ20n screen , We want to confirm the Activities using a Z program ( utilizing BAPI etc ... ) . 
    Kindly guide us about the steps need to be followed for the same pl .
    With Thanks and Rgds
    S Agarwal

    you can use BAP to confirm, write LSMW via transaction CN25 or write a Z program via CN25 or CN22 to update status etc

  • How to update multiple based on particular field

    Hi All,
    I have a requirement i.e, i have to update two fields based on another field in OIM 11g
    like
    emp_type cashier_ind store_ind
    H N N
    S Y Y
    here based on emp_type i need update casher_ind and store_ind as shown above, as per my knowledge i think i have to use entity adapter for this is it ryt? can any one help in this

    Use Post Process Event Handlers
    Check Metalink: 1262803.1

  • SCCM 2012: windows updates groups, based upon criteria required?

    Hi,
    Is it correct to say that, for updating Windows machines/creating a software update group, you can use the criteria "required" + deployed = no?
    That would simplify our setup: just select the OS, prodcuts, severity and "required" + deployed = no would contain all necessary updates.
    J.
    Jan Hoedt

    Concur with Torsten. In general, I think using required as a criterion is a bad practice for exactly what Torsten outlined above. Additionally, if you are doing OSD, how will you deploy the updates to those systems during the task sequence as not all updates
    will be available for them?
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Updating Activity Type.

    Hi,
    Can you please tell me how to update Activity type present in Cat2 sheet?
    Thank you.

    Hi
    Changing Activity type is not possible in CAT2.
    However you can acheive this by changing in the work center or HR personal master data of that person.
    I suggest you to read and understand the PS in this forum or SAP helo sites to better familarize with terminology and adopting the PS module very quickly.
    Regards,
    PSR

  • How to get CHARG based on matnr

    Hi Experts,
              I want to get PO batch(CHARG) based upon matnr.I am using BAPI_PO_GETDETAIL and receiving PO details by providing purchase order number.The line item table there is no field called charg. ..
    So How to get Charg based upon matnr
    Thanks & Regards
    Mathi

    Hello,
    Get from the table
    MCHA - Batches
    Regards,
    Vasanth

  • How to update the price based upon PGI date

    Hi
            I have issue of updation of the Prices and freight based on PGI date in the billing we are using the two billing types for the excsies and tax invoice creation .And in the copy control pricing type is maintained Aas "C" for the billing types with single delivery but someHow MRP in the excise billing has been picked from the condition record thats validity is ended and in Tax invoice it picks up the correct prices
    Both pricing condition types has pricing type "B" from Billing date and in the freight we have maintained as "A" SRD
    But for the some cases specially for the excise related part that is based upon the MRP we are facing this issue
    Pricing date is some how coming from sales document
    Please find the problem details in the attachment

    Hi,
    if you see two condition tabs snap shots you can understand clearly because that two invoices has been created in two different dates and you have maintained the pricing date C-billing date ( KOMK-FKDAT).Due to this,the price of ZMRP is coming differently.After you creation of first invoice then you would have changed ZMRP amount.Now while you are creating second invoice ,system has taken new price of ZMRP in billing level.
    Note:While creating second invoice, PGI date might have come into billing level but someone would be changed billing date manually at header level of billing document.Please check that one also.
    Kindly let me know if you need further help on this.
    Thanks,
    Naren

Maybe you are looking for

  • IPod Touch 4G upgrade to iOS 5 went badly, now won't sync.

    iPod Touch 4G upgrade to iOS 5 went badly - backup corrupted. Reset iPod and installed as new device in iTunes 10.5 but would not sync.  After many attempts and another reset, it has now synced apps, contacts, and movies but only immediately after a

  • I bought osx lion by mistake. How can I get a refund?

    I was waiting desperately for OSX Mountain Lion, which was anounced for july. I went to the App store on july 2nd, I looked for Lion in the search tab, I did find an OSX Lion and I clicked BUY. It started download, but never got even 10% because of m

  • Interface test fails during mapping - Resource not found

    Just upgraded from 7.1 SP8 to EHP1 SP3. Testing of the existing interfaces has been successful. I have created a very simple HTTP -> RFC Sync interface to complete the testing. When testing it in the integration builder I get the following message. +

  • Can't unlock background layer using Photoshop CS3 Extended

    I installed CS3 a few days ago (though I'm an experienced CS2 and Photoshop 6 user) and opened Photoshop CS3 Extended today for the first time. The problem I'm having is with unlocking the background layer. I read in the documentation and on the Net

  • Erratic mouse response

    Having mouse behavior problems which started about a week ago. Running an iMac 2.8 GHz. intel  core 2 duo with OS 10.6.8. The mouse ( Bluetooth) behaves erratically - skips, drags on its own, responds extremely slowly, then resumes normal behavior sp