Using interface builder to create a table view and add a cell

So I am using interface builder to make a table view. Should be easy. I drag a table view controller to my view, then it seems I should be able to drag a table view cell to the table view but it won't let me drop it down. If I do it in the documents window it just replaces the table view with a cell. Seems like this shouldn't be hard, but it's one of those things that should take 2 seconds but I have been messing with it for hours. It seems like most of the examples I have looked at in the same code don't use iB so I haven't found a good reference. If somebody can point me in the write direction let me know.

I struggled a bit too. Here's what I did on my recently completed app. I used IB to create the basic view and add the table. That's it. Then ensure your UIViewController based class implements the UITableViewDelegate and UITableViewDataSource protocols. Your cells will come from those methods, not anything you do in IB.
If you're creating a set of screens that just have tables that allow you to navigate up and down through the data then IB isn't worth using at all.
Just have your views extends UITableViewController and follow some of the supplied table based example apps.
I rewrote my first app 3 times as I slowly figured all of this out.
Hope that helps.

Similar Messages

  • How can I create a Table View in Cocoa Applescript?

    This is my last resort. I've searched for days and only found tutorials for iPhone and Cocoa, and I have no idea where to start. I'm looking for a way to create a Table View, and fill it with a few cells that call a handler when clicked. I've looked through the Xcode help, the Apple documentation, and countless tutorials, and I don't know what to do. I'm sure what I'm asking is possible, because usually what is possible in Cocoa is possible in Cocoa-Applescript.
    Perhaps something like:
    myTableView's addCell_OfType_WithHandler("This is a text cell", text, "myHandler:")
    I would appretiate any responses and brief descriptions on the matter.

    You did not answer my first question, which was not an idle question. I'll answer here, but if cross-chatter appears in a different thread I'll ignore it. You'll have to keep track of the mess yourself.
    Apple_For_The_Win wrote:
    At this point, I've dragged a Table View onto my window, in Xcode. I've connected it to the value "myTableView", and that's where I need help. I'm specifically trying to add cells into the table view.
    I'll assume that 'connected it to the value "myTableView"' means that you've control-dragged in XCode from the table view in Main Menu.xib to a property in your applescript app delegate called myTableView. If that's not the case, please correct me.
    I prefer to use an array controller for this, so please drag an array controller object into main menu.nib. once you've done that, do the following:
    open the applescript app delegate and add a new property called "tableController"
    select the table view in the object list (you may need to open some disclosure triangles to reach it). and add appropriate (an) column name(s). you can hide column titles later if you like, but having named columns makes life easier.
    select the array controller in the object list
    rename the array controller "table data"
    open the attributes inspector, and then add the column name(s) as key(s) in the object controller area
    open the bindings inspector, and where it says "controller content", open the disclosure arrow and bind the content to the App Delegate object on the model key path self.tableController
    select the table view in the object list again, then go down a level and select each column in turn
    for each column, open the bindings inspector, and where it says "value", open the disclosure arrow and bind the content to the Table Data object with the controller key arrangedObjects model key path being the name of the column (which is the name of the key in the controller as well)
    back in the applescript app delegate, add code like the following:
      -- create a list of records, where each record represents a row and the column name is the record key
      set myData to {{column_1_name:"hello"}}
      -- convert it to an NSArray and add it to the controller content. don't forget the *my* keyword, or it won't work
      set my tableController to NSArray's arrayWithArray:myData
      -- may or may not be needed
      myTableView's reloadData()
    That should populate the table with simple text. if you want something more complicated (like buttons or links) then create the more complicated elements separately and add them to the data.

  • Looking for simple sample of iphone apps without using Interface Builder

    I successfully went through the 'iphone app tutorial' and used Interface Builder, but now want to try creating apps without it.
    The UI Catalog sample is too complex, but didn't see anything that just had a view and a button or label.
    Ideally I want code that doesn't require any IB usage, but I can't tell if that is possible yet...
    Anyone have a link to an easy sample?
    Or has anyone created a test app themselves and wouldn't mind posting?
    I took a stab at creating one and posted it on the "101" forum, but it would be hard for somebody to try and figure out what I was attempting
    Thx for any links/___sbsstatic___/migration-images/migration-img-not-avail.png
    ps
    I really need a good book, especially "cookbook" style

    hey dear
    I have one solution of your problem
    just go to in iphone developer search for FAQ
    In faq their is one section how to use prohramming in this you can see
    the how to ceate label,button etc.
    after that simply add the view or remove theview.

  • Create a table view in my BSP Application!.

    Hi All,
    I am using CRM version 4.0 here i want to crate a new table view in my own BSP Application and want to display in the CRM_IC Application.
    The problem now i am facing is.. there is now provision to create the table view via the wizard. I tried to copy the BSP code, changed the code accordingly also i changed the inheritance for the context node class from
    CL_BSP_WD_CONTEXT_NODE to CL_BSP_WD_CONTEXT_NODE_TV.
    i also copied the iterator attribute.
    still the view is coming with an error saying that page have some problem.
    can anyone suggest any easy method to create the table view!.
    or else can you tell me what i have to do further!.
    Thanks n regards,
    sudeep v d.

    Hi,
    The problem is not only at the .htm page!. I think some changes are required at the context node level. for
    here is the BSP code I m using for displaying the table view..
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <%@extension name="xhtmlb" prefix="xhtmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <%@extension name="CRM_BSP_IC" prefix="crmic" %>
    <crmic:tray2 id     = "MoreFields"
                 title  = "<%= otr(crm_ic_appl/BuPaAccount) %>"
                 height = "100%,603"
                 width  = "100%" >
      <crmic:trayBody2>
        <crmic:gridLayout cellSpacing    = "1"
                          columnSize     = "1"
                          rowSize        = "10"
                          height         = "100%"
                          width          = "100%"
                          widthPredefine = "TRUE">
        <crmic:gridLayoutCell columnIndex = "1" rowIndex    = "4" >
            <crmic:tableView design          = "STANDARD"
                             width           = "100%"
                             id              = "Address"
                             table           = "//Address/Table"
                             visibleFirstRow = "3"
                             visibleRowCount = "4"
                             selectionMode   = "LINEEDIT"
                             onRowSelection  = "select"
                             fillUpEmptyRows = "TRUE"
                             headerVisible   = "FALSE"
                                           >
              <crmic:tableViewCols>
                <crmic:tableViewColumn columnName = "STREET"
                                       title      = "<%= otr(CRM_IC_APPL/BuPaStreet_t) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "POSTL_COD1"
                                       title      = "<%= otr(CRM_IC_APPL/BUPAPOSTCODE_T) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "CITY"
                                       title      = "<%= otr(CRM_IC_APPL/BUPACITY_T) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "REGION"
                                       title      = "<%= otr(CRM_IC_APPL/REGION) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "REGIONNAME"
                                    title      = " "
                                       edit       = "FALSE" />
              </crmic:tableViewCols>
            </crmic:tableView>
        </crmic:gridLayoutCell>
       </crmic:gridLayout>
      </crmic:trayBody2>
    </crmic:tray2>
    In the above code i have given
    table    = "//Address/Table"
    here the 'Address' is defined as a page attribute type ref to the context node class ( CL_CRM_IC_BUPAMOREADDRESS_CN01 ).
    the same class is used in the CRM_IC application works fine!.
    also i entered the attribute entry for the 'Address' in the _CTXT class the view.
    still the same error 'page  cannot be displayed'.
    what could be the problem anyone plaese help!.
    Thanks n regards,
    sudeep v d.

  • How to instantiate a control in code instead of using Interface Builder ?

    I really appreciate the combination of the interface builder and Xcode altogether.
    However when I am learning QT, I realize I had been pampered by Apple's Design to a certain extend as I only need to create say a NSLabel instance and use Interface Builder to do the linking and never have to worry about instantiating the Object myself.
    But I'm curious, what is the way to instantiate a new hmmm say...NSLabel in the code ?
    NSLabel* label = new NSLabel();
    Then what ?
    What you are seeing here is how QT did it, could anyone create an equivalent in ObjC ? No fancy code please, just bare minimum.
    #include <QApplication>
    #include <QWidget>
    #include <QLabel>
    int main (int argc, char * argv [ ])
    QApplication app(argc, argv); //NSApplication in ObjC
    //These two lines merely created a window and set the title bar text.
    QWidget* window = new QWidget();
    window->setWindowTitle("Hello World");
    QLabel* label = new QLabel(window);//Create a label and inform the it belongs to window.
    label->setText("Hello World");
    window->show();
    return app.exec();
    Message was edited by: Bracer Jack

    Hi Jack -
    I think my best answer will be something of a disappointment, because I don't know how to show a one-to-one correspondence between the code you're working with and a Cocoa program. The main function of a Cocoa GUI program for OS X will look something like this:
    #import <Cocoa/Cocoa.h>
    int main(int argc, char *argv[])
    return NSApplicationMain(argc, (const char **) argv);
    As you commented, we could draw a correspondence between the first statements, but after that the functionality of the Cocoa program is going to be spread out in a way that makes for a rather tedious comparison. The only way I know to answer your question in less than 5000 words, is to skip ahead to one of several points in the startup sequence where the programmer can intervene with custom code.
    For example, a common way to get control would be to program a custom controller class and add an object of that class to the main nib file which is loaded during the startup sequence. By making a connection to the Application object in that nib file, the custom object could be made the delegate of the Application object, and if we then added a method named applicationDidFinishLaunching, our code would run as soon as the application's run loop was started.
    Now I finally have enough context to directly answer your question, so here is the code to create a label and add it to the key window at launch time:
    // MyAppController.m
    #import "AppController.h"
    @implementation AppController
    - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    NSLog(@"applicationDidFinishLaunching");
    NSRect frameRect = NSMakeRect(150, 300, 150, 30);
    NSTextField *label = [[NSTextField alloc] initWithFrame:frameRect];
    [label setEditable:NO];
    [label setStringValue:@"Hello World!"];
    [label setFont:[NSFont labelFontOfSize:20]];
    [label setAlignment:NSCenterTextAlignment];
    NSView *contentView = [self.window contentView];
    [contentView addSubview:label];
    @end
    If I needed to develop a worst case scenario for this thread, the next question would be, "Ok sure, but your code still needs a nib to start up. I want to see a Cocoa GUI program that doesn't require any nib".
    It turns out that it's quite easy to build a simple iPhone app without any nib, but it's considerably more difficult for an OS X app. If anyone wants to see my nib-less iPhone code, I'll be happy to post it (I think I did post it here once before, and the response was underwhelming). But I've never attempted the much more difficult nib-less OS X app. Just in case you really want to go there, here's a blog that goes into the details: [http://lapcatsoftware.com/blog/2007/07/10/working-without-a-nib-part-5-open-re cent-menu>.
    Hope some of the above is helpful!
    - Ray

  • Using Interface Builder to Inspect a New Object?

    I am having a major frustration following a Stanford demo on using Interface Builder. The demo shows how to create a simple slider object with a value. But when the demo pulls up the Inspector Window to examine the new Object, in the Stanford demo the inspector window has panes for CLASS ACTIONS and CLASS OUTLETS, whereas my inspector window, identical in every other respect to the demo window, doesn't have these two panes. Help!!!!!!!!!

    The first lecture gives information about joining the developer program and there are forums similar to this at their website. You can also find forums on private sites on the web that are following the courses and have their own forums for asking questions like this.
    Try one of those paths and you should find more help than on here. This is just end users helping end users not delopers.
    Jason

  • Use Universe Builder to create universe on DSO

    I have heard that Universe Builder is able to create universes directly on to DSOs in SAP BW. I have also heard that the SQL generated by Builder is more efficient than that which Designer generates. However, how do you use Universe Builder to create universes connecting to SAP BW? None of the materials I have found show how to connect to SAP sources.
    Please do not post any solutions regarding using Designer to create the universe as we are specifically trying to prototype new methods.

    excuse me for being not clear. I mean how to create the UI of this topic list screen, each time you click the arrow > button, you see a new pages link-which I mean it dynamically showing the pages after query.

  • How to add button to Table View and initiate action?

    hello,
    i'm new to Javafx 2, i recently followed the tutorial on tableview and would like to add a deletion action on particular row. What i had in mind was to add a delete button on the last column of each row, when clicked it will fire a handler and remove that row from the data observablelist. how do i do that?
    please advice,
    wesley

    Hi,
    Please find the below code. I am creating a table view with two columns. The second column consists of delete button.
    TableVeiw table = new TableView();
    /*First column*/
    final TableColumn<String> titleCol = new TableColumn<String>("Title");
    titleCol.setProperty("title");
    /*Second column*/
    TableColumn<String> actionCol = new TableColumn<String>("Action");
    actionCol.setCellFactory(new Callback<TableColumn<String>, TableCell<String>>() {
          @Override
          public TableCell<String> call(TableColumn<String> param) {
                 final TableCell<String> cell = new TableCell<String>() {
                          @Override
                          public void updateItem(String value, boolean empty) {
                                super.updateItem(value, empty);
                                final VBox vbox = new VBox(5);
                                Image image = new Image(getClass().getResourceAsStream("/images/delete.png"));
                                Button button = new Button("", new ImageView(image));
                                button.getStyleClass().add("deleteButton");
                                final TableCell<String> c = this;
                                button.setOnAction(new EventHandler<ActionEvent>() {
                                      @Override
                                      public void handle(ActionEvent event) {
                                              TableRow tableRow = c.getTableRow();
                                              Item item= (Item) tableRow.getTableView().getItems().get(tableRow.getIndex());
                                              /* TODO : Delete this item from your data list and refresh the table */
                          vbox.getChildren().add(button);
                          setGraphic(vbox);
            cell.setAlignment(Pos.TOP_RIGHT);
            return cell;
    grid.addColumns(titleCol,actionCol);I hope this can help you. :)
    Edited by: Sai Pradeep Dandem on Aug 18, 2011 10:04 PM

  • HT5361 When inserting pictures in a new mail message using the " photo browser" button I can view and select photos but the " choose "  button is gone. What have I done wrong?

    When inserting pictures in a new mail message using the " photo browser" button I can view and select photos but the " choose "  button is gone. What have I done wrong?

    Hi Liz,
    Sorry to hear you are having a similar problem.  Last night I went to the tool bar at the top of iphoto, clicked on "File",  then clicked "Browse Backups" in the drop down menu.    I have an external hard drive that is set up to Time Machine.   The Browse Backups  opened the iphoto pages in the Time Machine.  I selected a date one day ahead of the day I performed the now infamous update, and it showed my iphoto library as it had existed that day.   I then clicked  "Restore Library" at the bottom right corner of the Time Machine screen.   Roughly 2 hours later my iphoto was back to normal.   When I opened iphoto there was a message saying I need to upgrade my program to be compatible with the new version of iphoto(version 9.2.1).  I clicked "Upgrade" and within seconds it had done whatever upgrading it needed to do. 
    The only glitch in the restoration was that it restored the library as it appeared last week, so I no longer had photos I had imported this past weekend.   I simply went back to the Browse Backups in the drop down menu,  when Time Machine opened I selected the page showing my pictures from this weekend and again said to Restore Library.   Roughly 45 minutes later the library was restored including the most recent photos.  
    I am now a happy camper. 
    I don't know if any of this will be of help to you because your email says you are having trouble with photos imported after the upgrade was performed.   Have you had any pop up notices when you first open iphoto,  that tell you you need an upgrade to be compatible with the new iphoto?     If so have you clicked "upgrade"? 
    Good luck Liz,  if you have Time Machine running as a back up to your library, maybe you wil be able to get help there, by following my instructions above.   Otherwise,   good luck with your investigations.   I'd be interested in hearing how you make out.
    Karen

  • Documentation on table, view and procedures of the user portal

    Where can I find documentation on table, view and procedures of the portal user?
    Thanks.

    PL/SQL API doc here :
    http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/summary.html
    VIEWS doc here :
    http://download-uk.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_cm_api.htm#CHDIFAGE

  • How to use Innerjoin b/w these 2 tables VBAK and CDHDR ?

    Hi,
              How to use Innerjoin b/w these 2 tables VBAK and CDHDR for retrieving of changed sales order data ?I nned the A select stmt with INNER JOIN for changed sales data.
    Thanks & Regards,
    gopi.

    Hi Gopi,
    You can use the code similar to below to read the changes to Sales order from CDHDR AND CDPOS
    FORM GET_CHANGES .
    * Get all the changes to Sales Order as well as Deliveries. Suppress
    * Non relevant change
      DATA : BEGIN OF SO_VBELN OCCURS 0 ,
           VBELN LIKE CDHDR-OBJECTID,
           END OF SO_VBELN.
      DATA : BEGIN OF DL_VBELN OCCURS 0 ,
           VBELN LIKE CDHDR-OBJECTID,
           END OF DL_VBELN.
      DATA TEMP_SO_VBELN LIKE SO_VBELN OCCURS 0 WITH HEADER LINE.
      DATA DATE_UNTIL LIKE SY-DATUM.
      DATA TIME_UNTIL LIKE SY-UZEIT .
      DATA DATE_FROM LIKE SY-DATUM.
      READ TABLE S_CHADT INDEX 1.
      LOOP AT IT_VBAP.
        AT NEW VBELN.
          MOVE IT_VBAP-VBELN TO TEMP_SO_VBELN.
          COLLECT TEMP_SO_VBELN.
        ENDAT.
      ENDLOOP.
      IF TEMP_SO_VBELN[] IS NOT INITIAL.
        SELECT OBJECTID AS VBELN FROM CDHDR
             INTO TABLE SO_VBELN
               FOR ALL ENTRIES IN TEMP_SO_VBELN
             WHERE  OBJECTCLAS EQ 'VERKBELEG'
             AND OBJECTID EQ TEMP_SO_VBELN-VBELN
             AND USERNAME IN S_CHABY
             AND UDATE IN S_CHADT.
      ENDIF.
      LOOP AT IT_LIPS INTO WA_LIPS.
        AT NEW VBELN.
          MOVE WA_LIPS-VBELN TO DL_VBELN.
          COLLECT DL_VBELN.
        ENDAT.
      ENDLOOP.
    * Changes in Sales Order.
      IF NOT  SO_VBELN[] IS INITIAL.
    * Get partner functions
        SELECT * INTO TABLE IT_TPART
          FROM TPART WHERE SPRAS EQ SY-LANGU.
        SELECT A~TABNAME A~FIELDNAME A~DATATYPE B~DDTEXT
           INTO CORRESPONDING FIELDS OF TABLE IT_FIELD
           FROM DD03L AS A INNER JOIN
                DD04T AS B
                ON A~ROLLNAME EQ B~ROLLNAME
                AND A~AS4LOCAL EQ B~AS4LOCAL
              WHERE ( A~TABNAME EQ 'VBAK'
                      OR A~TABNAME EQ 'VBAP'
                      OR A~TABNAME EQ 'VBEP'
                      OR A~TABNAME EQ 'VBPA'
                      OR A~TABNAME EQ 'VBUK'
                      OR A~TABNAME EQ 'VBKD' )
               AND  A~AS4LOCAL EQ 'A'
               AND A~AS4VERS EQ '0000'
               AND A~ROLLNAME NE SPACE
               AND B~DDLANGUAGE EQ SY-LANGU.
    * Preapare the exclusion table
        R_EXCL_FIELDS-OPTION = 'EQ'.
        R_EXCL_FIELDS-SIGN = 'I'.
        LOOP AT IT_FIELD WHERE DATATYPE EQ 'CURR'.
          R_EXCL_FIELDS-LOW = IT_FIELD-FIELDNAME.
          APPEND R_EXCL_FIELDS.
        ENDLOOP.
        R_EXCL_FIELDS-LOW = 'ARKTX'.
        APPEND R_EXCL_FIELDS.
        R_EXCL_FIELDS-LOW = 'LGORT'.
        APPEND R_EXCL_FIELDS.
        R_EXCL_FIELDS-LOW = 'TDDAT'.
        APPEND R_EXCL_FIELDS.
        R_EXCL_FIELDS-LOW = 'LDDAT'.
        APPEND R_EXCL_FIELDS.
        R_EXCL_FIELDS-LOW = 'MBDAT'.
        APPEND R_EXCL_FIELDS.
        R_EXCL_TABL-OPTION = 'EQ'.
        R_EXCL_TABL-SIGN = 'I'.
        R_EXCL_TABL-LOW = 'KONVC'.
        APPEND R_EXCL_TABL.
        R_EXCL_TABL-LOW = 'VBKD'.
        APPEND R_EXCL_TABL.
        LOOP AT SO_VBELN.
          REFRESH ITAB_CDHDR.
          DATE_FROM = S_CHADT-LOW.
          DATE_UNTIL = S_CHADT-HIGH.
          CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
            EXPORTING
              DATE_OF_CHANGE             = DATE_FROM
              OBJECTCLASS                = 'VERKBELEG'
              OBJECTID                   = SO_VBELN-VBELN
              TIME_OF_CHANGE             = TIME_UNTIL
              DATE_UNTIL                 = DATE_UNTIL
              USERNAME                   = ' '
            TABLES
              I_CDHDR                    = ITAB_CDHDR
            EXCEPTIONS
              NO_POSITION_FOUND          = 1
              WRONG_ACCESS_TO_ARCHIVE    = 2
              TIME_ZONE_CONVERSION_ERROR = 3
              OTHERS                     = 4.
          IF SY-SUBRC NE 0.
            CONTINUE.
          ENDIF.
          LOOP AT ITAB_CDHDR WHERE USERNAME IN S_CHABY.
            REFRESH IT_CDSHW.
            CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
              EXPORTING
                CHANGENUMBER            = ITAB_CDHDR-CHANGENR
              TABLES
                EDITPOS                 = IT_CDSHW
              EXCEPTIONS
                NO_POSITION_FOUND       = 1
                WRONG_ACCESS_TO_ARCHIVE = 2
                OTHERS                  = 3.
            IF SY-SUBRC EQ 0.
              PERFORM GET_ACTION .
            ENDIF.
          ENDLOOP.
        ENDLOOP.
      ENDIF.
    * Changes in Delivery
      IF NOT DL_VBELN[] IS INITIAL.
        REFRESH : IT_CDHDR , IT_CDPOS.
        SELECT  OBJECTCLAS OBJECTID CHANGENR USERNAME UDATE
               FROM CDHDR INTO CORRESPONDING FIELDS OF TABLE IT_CDHDR
             FOR ALL ENTRIES IN DL_VBELN
           WHERE  OBJECTCLAS EQ 'LIEFERUNG'
           AND OBJECTID EQ DL_VBELN-VBELN
           AND USERNAME IN S_CHABY
           AND UDATE IN S_CHADT
           AND CHANGE_IND EQ 'U'.
        LOOP AT IT_CDHDR.
          CONCATENATE SY-MANDT IT_CDHDR-OBJECTID
           INTO IT_CDHDR-TABKEY .
          CONDENSE  IT_CDHDR-TABKEY.
          MODIFY IT_CDHDR.
        ENDLOOP.
        IF NOT IT_CDHDR[] IS INITIAL.
          SELECT  * INTO TABLE IT_CDPOS FROM CDPOS
               FOR ALL ENTRIES IN IT_CDHDR
             WHERE  OBJECTCLAS EQ IT_CDHDR-OBJECTCLAS
             AND OBJECTID EQ IT_CDHDR-OBJECTID
             AND CHANGENR EQ IT_CDHDR-CHANGENR
             AND TABNAME EQ 'LIKP'
             AND TABKEY EQ IT_CDHDR-TABKEY
             AND FNAME IN ('WADAT','LFDAT','ROUTE','VSBED')
             AND CHNGIND EQ 'U' .
          LOOP AT IT_CDPOS .
            CLEAR  IT_DL_CHG-FLAG_RED.
            CASE IT_CDPOS-FNAME.
              WHEN 'WADAT'.
                MOVE 'Goods issue date changed' TO IT_DL_CHG-ACTION.
              WHEN 'LFDAT'.
                MOVE 'Delivery date changed' TO IT_DL_CHG-ACTION.
                MOVE 'X'  TO IT_DL_CHG-FLAG_RED.
              WHEN 'ROUTE'.
                MOVE 'Route Changed' TO IT_DL_CHG-ACTION.
              WHEN 'VSBED'.
                MOVE 'Shipping Condition Changed' TO IT_DL_CHG-ACTION.
              WHEN OTHERS.
            ENDCASE.
            AT NEW CHANGENR .
              READ TABLE IT_CDHDR WITH KEY OBJECTCLAS = IT_CDPOS-OBJECTCLAS
                                           OBJECTID = IT_CDPOS-OBJECTID
                                           CHANGENR = IT_CDPOS-CHANGENR
                                           BINARY SEARCH.
              MOVE IT_CDHDR-USERNAME TO  IT_DL_CHG-ERNAM.
              WRITE IT_CDHDR-UDATE TO  IT_DL_CHG-ERDAT.
            ENDAT.
            IT_DL_CHG-COUNTER = IT_DL_CHG-COUNTER + 1.
            MOVE IT_CDPOS-OBJECTID TO IT_DL_CHG-VBELN.
            MOVE IT_CDPOS-VALUE_OLD TO IT_DL_CHG-OLD_VAL.
            MOVE IT_CDPOS-VALUE_NEW TO IT_DL_CHG-NEW_VAL.
            INSERT TABLE IT_DL_CHG.
          ENDLOOP.
        ENDIF.
      ENDIF.
    ENDFORM.                    " GET_CHANGES
    Cheers
    VJ

  • I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. Mac users can no longer read the page numbers but pc users can.

    I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. As of about 2 weeks ago the mac users can no longer read the page numbers they get a font error message and see only -- where the page information should be. The pc users do not have this same problem. When I replace our regular font (URW Grotesk) with a system font (Verdana) everyone is able to read the page numbers. This is a new issues, I have been creating these documents in the same way for years without a problem. I have been on hold and on and off calls for the last two hours, I keep getting hung up on once I find someone in adobe support to talk to!

    Hi KnoopL,
    Are the Mac users using Preview to view the pdfs or Adobe Reader?
    Regards,
    Rave

  • Check 2 tables(Table A and Table B) and figure out new columns present in Table A and add these new columns to Table B

    How to check 2 tables(Table A and Table B) and figure out new columns present in Table A and add these new columns to Table b.
    DDL-
    Create table A
    ( A INT,
    B INT,C VARCHAR(2)
    Create table B
    A INT,
    B INT
    Any advice on the best approach or method to achieve this.
    I understand that I need to check the schema of the columns and then do a match between 2 tables and find new columns and then alter my target table
    Mudassar

    Can you try this..
    CREATE TABLE A ( A INT, B INT, C VARCHAR(2) )
    CREATE TABLE B ( A INT, B INT )
    Declare @ColumnVar nvarchar(128),@DatatypeVar nvarchar(128)
    SELECT @ColumnVar=x.COLUMN_NAME, @DatatypeVar=x.DATA_TYPE
    FROM INFORMATION_SCHEMA.COLUMNS AS x
    WHERE TABLE_NAME = 'A'
    AND NOT EXISTS ( SELECT *
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE TABLE_NAME = 'B'
    AND COLUMN_NAME = x.COLUMN_NAME )
    Declare @SQL VarChar(1000)
    SELECT @SQL = 'ALTER TABLE B ADD ' + @ColumnVar + ' '+ @DatatypeVar
    Exec (@SQL)
    select * from B
    Please Mark This As Answer if it helps to solve the issue
    http://stackoverflow.com/questions/2614101/alter-table-my-table-add-column-int

  • Create a resource filter and add/redefine a property value to a resource?

    Hello,
    I need an advice how to create a resource filter and add a property to a resource. I already created the project and after creating myfilter.java automatically by using the "Service, filter and scheduler taks generation" in my developer studio, there's a filter() method where the filtering has to be implemented. Here I need an example how to read the resource path and add or redefine a property value. (In this case the property value depends on the resource path) So I also need to know, how to get the ressource path. Can anybody please support me with some example code?
    Thanks in advance
    Cheers
    Steffen

    Hi Jaiswin,
    I need to enter 3 formula:
    Setup
    Production
    Teardown
    In PP this is standard but in PP-PI Resource I only see one field 'other formula'.
    How do I enter more then one formula?
    Can it be done in PP-PI?
    Thanks
    Stuart

  • Management access (view and add) to calendars

    I've done some research on this, and groups and calendar sharing don't quite seem to handle this properly for our needs...
    We have a simple hierarchy in that people on higher levels need the ability to view and add to tasks and appointments of those who report to them.
    So if Mr. Blue reports to Mr. Red, then Mr. Red as the ability to view Mr. Blue's calendar and tasks, as well as give him new appointments and tasks. But I don't want to create team calendars for this and I don't want to give Mr. Blue the same access to Mr. Red's calendar and tasks.
    Similarly, we have admins who need this type of access as well.
    How can we configure CRM on Demand to fulfill this requirement?

    Create a list in Activities called My Team's Tasks/Appointments. In the user profile make sure you specify Mr. Blue Reports to Mr. Red.
    Then Mr. Red will be able to see all his direct report's tasks. But Mr. Red's boss will not be able to see all Mr. Blue's tasks (Someone correct me if am wrong)
    Another way is sharing calendars. Mr. Blue Can share his calendar with Mr. Red, so Mr. red can see all of Mr. Blue's Appointments.
    Hope this helps.

Maybe you are looking for

  • My computer dont find My iPhone!

    My phone dont work on my computer! And it wont uppgrade iTunes! And the computer demands it! How do i fix this??

  • Jdeveloper.ini file is missing

    I downloaded Jdeveloper 2.0 frpm the ftp.oracle.com. I didn't have any installation problem. However, I got jdeveloper.ini missing, cannot run. From the relase note, this file should be created during the installation. Can anyone tell me what was wro

  • Shopping Cart going to Sourcing cockpit!!

    Hi Experts, We are in SRM 5.0 EBP 4.0 in extended classic scenario. In a particular scenario we find that the even after the Shopping cart was approved and the preferred vendor added by the purchaser, the shopping cart went into the sourcing cockpit

  • Error Dump Creating a Transformation Object

    Hi all: I have NW2004s  in my box. I have the following error when trying to create a Tranformation Object (function "Create Transformation"  on a Data Source).: "Make sure that the OCXs ICDataFlow.ocx and wdbdadpt.ocx are installed on your computer.

  • How to disable Java Plug-In authentication dialog ?

    Hi, I'm using SSL connection with client authentication. Certificate is on hardware device. I'm providing keystore with cert for SSLContext in my app programmatically. When I run it from console (java -jar) it works ok. *When I use it as an applet i