Instantiating a custom UITableViewCell from IB

What is the recommended way to instantiate a custom UITableViewCell, or other object, created in IB that your app may need multiple instances of?
My current approach is something along the following lines:
NSArray *topLevelObjs = [[NSBundle mainBundle] loadNibNamed:@"CustomViewCell" owner:self options:nil];
cell = [topLevelObjs objectAtIndex:1];
This works, but doesn't seem particularly elegant. I tried implementing NSCopying for the custom class at one point but there doesn't seem to be any easy way to deep copy the class instance.
Any suggestions?

Digging through the apple example apps I found an example in "NavBar". An example of the relevant code:
UIViewController *customViewController = [[CustomViewController alloc] initWithNibName:@"CustomViewController" bundle:nil];
Message was edited by: dreyruugr

Similar Messages

  • Custom UITableViewCell from Interface Builder with retain count 2

    Hi!
    I am creating a customViewCell in my UITableViewController (which I was creating in IB) - the wired thing: it has a retain count of 2! Any hints why?
    UIViewController *c = [[UIViewController alloc] initWithNibName:CellIdentifier bundle:nil];
    GroupCell *cell;// = [[[GroupCell alloc] init] autorelease];
    cell = (GroupCell *) c.view;
    [c release];
    NSDictionary *groupDict;
    NSLog(@"retain count of groupCell: %d, ", [cell retainCount] );
    retain count of groupCell = 2!!
    my cell has no init method, no "retain" nor do I send anywhere a retain to it..

    Hey Alex!
    sommeralex wrote:
    I am creating a customViewCell in my UITableViewController (which I was creating in IB) - the weird thing: it has a retain count of 2! Any hints why?
    Your code is obtaining the retain count by sending the [retainCount|http://developer.apple.com/library/ios/documentation/Cocoa/Referen ce/Foundation/Protocols/NSObjectProtocol/Reference/NSObject.html#//appleref/doc/uid/20000052-BBCDAAJI] message, so this warning in the doc applies:
    Important: This method is typically of no value in debugging memory management issues. Because any number of framework objects may have retained an object in order to hold references to it, while at the same time autorelease pools may be holding any number of deferred releases on an object, it is very unlikely that you can get useful information from this method.
    I think the above is telling us that retainCount returns an accurate number, but that number is useless because we don't know how many releases are pending. E.g., suppose your code has released an object prematurely, so your logical count should be zero. However, if the runtime system has retained the object 5 times at that stage, retainCount will return 5. The point is that all 5 of those retains will be released at some future time not of our choosing.
    You can override retain and release to keep your own count, but I don't know if that count is any more useful than what you get from retainCount.
    I think the only retain count that's any of our business is the number of retains and releases we see in our code. In other words, I think the logical count is much more useful than the real count:
    UIViewController *c = [[UIViewController alloc]
    initWithNibName:CellIdentifier bundle:nil]; // Line A: +1
    GroupCell *cell;
    cell = (GroupCell *) c.view; // Line B
    [c release]; // Line C: -1
    NSLog(@"retain count of groupCell: %d, ", [cell retainCount] );
    Based on the doc for the ['view' property of UIViewController|http://developer.apple.com/library/ios/documentation/UIKit/Ref erence/UIViewControllerClass/Reference/Reference.html#//appleref/doc/uid/TP40006926-CH3-SW2], the view object should be created and retained once when the nib is loaded in Line A (except if no view object is included in the nib, in which case the view would be created and retained once in Line B). The view would then be released once when the view controller is released in Line C.
    So using my arithmetic, the view's retain count is zero after Line C. If that's correct, the only thing saving you from a crash might be one of those system retains we don't know about. You could test my analysis by not giving the view to a table view, then checking to see if it still exists at some point after the end of the current event cycle. You could implement dealloc with a NSLog statement in your custom view to see if and when the view is actually freed.
    Absent any further analysis, I would advise retaining and autoreleasing the view before releasing the controller (or just autoreleasing the controller), to make sure the view lasts until retained by your table view.
    - Ray

  • How to edit label in custom UITableViewCell?

    Hi, I'm a newby in iPhone programming, I have created a custom UITableViewCell with 3 labels and I have populated an UITableView with some rows. I need to change the text of one of the labels when the user select the cell.
    I wrote this:
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    static NSString *CellIdentifier = @"Cell";
    UITableViewCell *theCellSelected = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    theCellSelected = [theTableView cellForRowAtIndexPath:indexPath.row];
    UILabel *theLabelToEdit = (UILabel *)[theCellSelected viewWithTag:1];
    theLabelToEdit.text = @"Some Text..";
    ..but nothing happen to the label, the text doesn't change..
    What's wrong?
    Thank you!
    PS: sorry for my english, I'm italian and I don't speak it very well..

    Hi Zoodany, and welcome to the Dev Forum!
    zoodany wrote:
    I wrote this:
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    theTableView = tableView;
    // remove --> static NSString *CellIdentifier = @"Cell";
    UITableViewCell *theCellSelected;
    // remove --> = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    theCellSelected = [theTableView cellForRowAtIndexPath:indexPath]; // <-- remove '.row'
    UILabel *theLabelToEdit = (UILabel *)[theCellSelected viewWithTag:1];
    theLabelToEdit.text = @"Some Text..";
    Assuming your @interface, xib and DataSource methods are consistent with the above, the only thing stopping your code from working would be the 'indexPath.row' arg as commented. The lines which dequeue a cell won't prevent your code from running, though if any cells are actually in the queue, you'll have a memory leak there.
    However, I doubt the code you posted is the same as the code you tested. If you actually coded cellForRowAtIndexPath:indexPath.row, you should have gotten a warning since 'row' is an int instead of a pointer. And if you had ignored that warning the program would have crashed at that line. This kind of mixup often happens when the programmer keys code into the forum instead of pasting it directly from the source file. Please copy and paste when posting your code here (also see the alert about formatting code, the first topic of the forum), ok?
    If indeed 'indexPath.row' is a red herring, I think we need to look elsewhere in your project for the problem.
    I have created a custom UITableViewCell
    This contradicts your code somewhat. If you subclassed UITableViewCell, you'd normally add ivars with matching @properties to the custom cell so you could access the subviews as cell.label1, cell.label2, etc. Using viewWithTag to find one of the labels suggests that you simply added the labels to vanilla UITableViewCell objects rather that subclassing (adding the labels without subclassing is probably the best choice if no further customization is required).
    So please let us know whether or not you actually defined a subclass of UITableViewCell. Assuming you didn't, here's an example of how to add labels to your cells (only two labels are added below to simplify the example):
    // Customize the appearance of table view cells.
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    static NSString *CellIdentifier = @"Cell";
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
    cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
    reuseIdentifier:CellIdentifier] autorelease];
    // make label 1
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20, 3, 140, 38)];
    label.text = @"Label 1";
    label.backgroundColor = [UIColor lightGrayColor];
    label.font = [UIFont boldSystemFontOfSize:20];
    label.tag = 1;
    [cell.contentView addSubview:label];
    [label release];
    // make label 2
    label = [[UILabel alloc] initWithFrame:CGRectMake(160, 3, 140, 38)];
    label.text = @"Label 2";
    label.backgroundColor = [UIColor yellowColor];
    label.font = [UIFont boldSystemFontOfSize:20];
    label.tag = 2;
    [cell.contentView addSubview:label];
    [label release];
    // Set up the cell...
    return cell;
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *theCellSelected = [tableView cellForRowAtIndexPath:indexPath];
    UILabel *theLabelToEdit = (UILabel *)[theCellSelected viewWithTag:1];
    theLabelToEdit.text = @"Some Text..";
    Note that 'tableView' is used in the delegate method instead of an instance variable such as 'theTableView'. The 'tableView' parameter will always be set to the address of the table view which is calling the delegate method, so there's no need to use an ivar in this case. In fact, 'theTableView' could also be the cause of your problem. For example if you made the table view in IB, you might have forgotten to connect the 'theTableView' outlet of the controller (or File's Owner) to the UITableView object. So you might also check that connection, though the code above doesn't depend on it.
    Hope that helps!
    - Ray

  • Custom UITableViewCell: Recognizing which cell to update

    Hello,
    I have created a custom UITableViewCell in IB with two UIButtons and one UILabel. What I would like to do is have each button perform an action on the UILabel - lets just say change the UILabel's text for now. I have the following set up and everything works.
    MyViewController.m/h
    _ Has UITableViewCell property and IBOutlet connected to MyCustomTableCell
    _ Has two IBAction methods to handle each UIButton pressed
    MyCustomTableCell
    _ File Owner set to MyViewController
    _ Has tags denoting each item
    _ UIButtons events are connected to the custom methods in MyViewController.m
    Just as a test, I have populated 3 rows in the table. When I hit either UIButton from any row, it only updates the last row's UILabel text. The method that handles the UIButton's event is something like:
    -(IBAction)buttonOnePressed:(id)sender
    UILabel *myLabel = (UILabel*) [customLoadedCell viewWithTag:1];
    myLabel.text = @"button one";
    How do I recognize which row the button's event came from so I can only update that label?

    sptrakesh wrote:
    The button that triggered the event will be the child of the appropriate cell.
    Took me awhile but I finally understood what you meant. So basically what I did inside the method to handle the touch up event was:
    UITableViewCell *mycell = (UITableViewCell *)[[sender superview] superview];
    UILabel *myLabel = (UILabel*) [mycell viewWithTag:4];
    myLabel = @"test";
    The first line allows to get a reference to the UITableViewCell I tapped. If I needed the row number I could reference it by doing this:
    NSIndexPath *ip = [self.tableView indexPathForCell:(UITableViewCell *)[[sender superview] superview]];
    ip.row will return the row number.
    self.tableView is the reference to the table view.

  • Can you send custom events from one form to another?

    I have a compli
    cated application, where I about hundred inp
    uts organized in several input forms. Some of the forms
    require data which has been input in other forms. I have tried to
    dispatch custom events from one form to another, but it dispatches the
    whole form and I only need one or two items.
    Ha anybody else come across such a problem?
    Svend

    One way is to share data in a static singleton

  • Compile all custom forms from 11i to r12

    Hi,
    I have to compile 11i forms into R12.
    Copyresource folder and fmb to local system and compile forms manually in local system is one way
    I heard there is another easy way of compiling custom forms from 11i to r12. If you have any solution for this please help me.
    Any help is big help, thanks in advance.

    Hi;
    In addition to Hussein Sawwan great post,please review:
    Custom form upgrade 11i to R12
    Planning to upgrade from 11i to R12
    Oracle Custom 11i Forms compatablity in Oracle R12
    Oracle Custom 11i Forms compatablity in Oracle R12
    How To Migrate My Customized reports & Forms To R12?
    How To Migrate My Customized reports & Forms  To R12?
    Regard
    Helios

  • How to query a custom picklist from Opportunity's revenue?

    Hello,
    I would like to query a custom picklist from Opportunity's revenue. I am using Picklist.wsdl:
    myPort.getPicklistValues(myPicklist, Revenue, "");
    With this operation I have the following message: denied acces. (SBL-ODS-50085).
    I have tested with another entity and it works perfectlly:
    myPort.getPicklistValues(myPicklist, Opportunity, "");
    So, I think the problem is in the entity name, so can I access to Opportunity's revenue¿?
    I am very confusing, because in Web Services documentation I have seen:
    NOTE: The Revenue child object of Opportunity is actually called Product.
    I have tested with:
    myPort.getPicklistValues(myPicklist, Product, "");
    But it isn't exists in this entity: SBL-SBL-00000
    The role has access to do the query via Web Service, because it is the administrator and with it I can do any other operation via Web Service...
    What I am doing wrong?
    Thank you and regards.

    I have found the answer:
    Objects Supported with getPicklistValues operation:
    GetPicklistValues is supported for all Web Services v1.0 and v2.0 accessible parent-level objects.
    Revenue is a child object, so I can interact with this operation :(

  • Is it possible to change the color of a layer of a Customs CSS from an External Style sheet?

    Hi,
    I have sucessfully link External .css  file to my HTML page and able to change the font size of the headlines and the paragraph.
    What I am not able to do is to ADD the color my Custom CSS from the External sheet.  I have difined the color attribute as a 'Advance'
    and gave it the same name "#bigwraper" that is has in my HTML file.
    Attached is the color outline of my 'Blank Layout' with colors?
    Thank you.
    Dreamer101.1

    Hi Murray,
    I am building a web site on which the entire content would be changed at least daily. The website would have similar design to www.Helium.com
    The page will have CCS layout boxes in which different content would  be pasted.
    To re-phrase my question:  I want to know how to change the color of a layer from an external style sheet?
    Because my home page 'Sidebar' and colors would be the same for all page, only the content of different pages would be different.  If I want to change a color of my web side pages, I need to learn how to do it in one spot through an External Style Sheet.
    I am amble to link my external style sheet and to change H1 tag and to give it different colors. But I was not sucess with change the color of a layer on which my content sits around.
    I took out the color from my HTML page and gave the same name to the layer in my External Style Sheet with the same color.
    Hope my question and the reason I was able to clarify.
    cheers,
    Dreamer101.1

  • Contract mis-sold. Terrible customer service from a supervisor-no clear way to make a complaint

    After being a good customer for a year and a Verizon Wireless customer for 5 years, numerous issues with Verizon Fios have surfaced.
    1) Representative totally mis-informed about the contract
    When I took out a contract with Verizon FIos a year ago, I had not wanted to have a contract because they only option available was for 2 years and I knew that the lease for my apartment was only for 1 year and in all likliehood I would be moving. I was told by the representative that there would be no problem if I took out a 2 year contract because I could simply transfer the existing contract to wherever I moved with no issue.
    Fastforward a year and I'm moving, call Verizon to make the transfer and i"m told, that actually i'm effectively cancelling my existing contract and re-starting as a new customer. This means that my bundle has gone up $10 a month and I would have to start another 2 year contract.This completely contradicts what I was told a year ago. I would never have taken out the 2 year contract if I had known this.
    2) Terrible customer service from someone who is a supervisor
    This morning I spoke to a representative and after she said she couldnt address my concerns about being mis-sold the contract, I asked to speak with a supervisor. How he handled the call was incredibly unhelpful and rude - I dont understand how someone at a supervisor level can have that kind of attitude. First he tried to indicate that it was my fault for not being clear with the representative last year (before he knew the full facts), he did not take show any recognition that being mis-informed about a contract is a significant issue. When I asked him how to make a complaint he told me to go to verizon.com/contact. I did this while I was on the phone with him and told him that there was no clear way to make a complaint, I was told "I am a supervisor, I cant sit here on the phone with you and take you through it step by step" - I was not asking for step by step help, I assumed that as a supervisor he would know which wa the right section to click on. He then basically made it sound like I was an idiot and I was told that every other customer seems to find it intuitive (which judging by other comments on this forum about the contact piece of the site is not actually true).
    3) Impossible to file an official complaint through normal channels 
    There is no email address to which you can send a complaint (according to the team on the phone). On the verizon.com/contact page, there is no option for making a complaint. When you type in a question about making a complaint nothing comes up. This seems ridiculous and makes it seem like Verizon is not interested in hearing customers feedback.

    Hi customer11201,
    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you. Please go to your profile page for the forum and look at the top of the middle column where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under "My Support Cases" you will find a link to the private board where you and the agent may exchange information. This should be checked on a frequent basis, as the agent may be waiting for information from you before they can proceed with any actions. To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe". Please keep all correspondence regarding your issue in the private support portal.

  • 500 Internal Server Error - Unable to run a custom page from JDEV 10.1.3...

    Hi
    I am trying to run a Custom page from my JDEV. But i am getting the following error.
    *500 Internal Server Error*
    oracle.apps.fnd.cache.CacheException
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.getnullThe base exception is:
    Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    .... 54 more
    I have checked the DBC file. The APPS_JDBC_URL was containing "\". I tried removing that but it dint worked. I checked whether i am using the right version of the JDEV patch, no issues with that also.
    Kindly let me know the solution.
    Thanks.
    Edited by: user605470 on May 23, 2009 5:39 PM

    Anoop
    DBC file is not having any issues. Domain name seems to be correct.
    DBC File
    #DB Settings
    #Fri Dec 19 12:54:03 EST 2008
    GUEST_USER_PWD=GUEST/ORACLE
    APPL_SERVER_ID=5D03027668AF2054E043A8920BA0205451873975540904546222829851405157
    FND_JDBC_BUFFER_DECAY_INTERVAL=300
    APPS_JDBC_DRIVER_TYPE=THIN
    FND_JDBC_BUFFER_MIN=1
    GWYUID=APPLSYSPUB/PUB
    FND_JDBC_BUFFER_MAX=5
    APPS_JDBC_URL=jdbc\:oracle\:thin\:@(DESCRIPTION\=(ADDRESS_LIST\=(LOAD_BALANCE\=YES)(FAILOVER\=YES)(ADDRESS\=(PROTOCOL\=tcp)(HOST\=<Host Name>)(PORT\=<Port #>)))(CONNECT_DATA\=(SERVICE_NAME\=<Instance Name>)))
    FND_JDBC_STMT_CACHE_SIZE=100
    TWO_TASK=<Instance Name>
    JDBC\:processEscapes=true
    FND_MAX_JDBC_CONNECTIONS=500
    FND_JDBC_USABLE_CHECK=false
    FNDNAM=APPS
    FND_JDBC_PLSQL_RESET=false
    DB_PORT=<Port #>
    FND_JDBC_CONTEXT_CHECK=true
    FND_JDBC_BUFFER_DECAY_SIZE=5
    DB_HOST=<Host Name>
    This is my DBC files. I have verified the values of <Host Name>, <Port #> and <Instance Name>. The seems to be correct. Is my error is related to the line which is highlighted ? Any inputs will be appreciated.
    Thanks.
    Edited by: user605470 on May 25, 2009 9:00 AM

  • 500 Internal Server Error - Unable to run a custom page from JDEV 10.1.3.3.

    Hi
    I am trying to run a Custom page from my JDEV. But i am getting the following error.
    *500 Internal Server Error*
    oracle.apps.fnd.cache.CacheException     
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.getnullThe base exception is:
    Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    .... 54 more
    I have checked the DBC file. The APPS_JDBC_URL was containing "\". I tried removing that but it dint worked. I checked whether i am using the right version of the JDEV patch, no issues with that also.
    Kindly let me know the solution.
    Thanks.
    Edited by: user605470 on May 23, 2009 5:27 PM

    User,
    You are not running JDEV, but OA Framework, hence you should use the OA Framework Forum to ask.
    John

  • Error in running custom query from jspx(site) for Content Tracker Report

    Hi All,
    I want to generate a custom Content Tracker Report. I am able to do so from Content Tracker console, but when i try to invoke the service 'SCT_GET_DOCUMENT_INFO_ADMIN' or 'SCT_GET_DOCUMENT_INFO' with my custom query(which simply counts the number of rows in a table) from my jspx page, it gives the following error.
    oracle.stellent.wcm.server.request.RequestException: Error
    occurred in Content Server executing service
    'SCT_GET_DOCUMENT_INFO_ADMIN'
    Caused By: oracle.stellent.ridc.protocol.ServiceException: Unable to get
    document info. Unable to execute service method 'sctExecuteQuery'. The
    error was caused by an internally generated issue. The error has been
    logged.
    What could be the reason and the resolution?
    Also, I know that i am invoking the service in the right way as custom report from query as 'select * from users' works fine from site.
    P.S. I am using UCM 11g + SSXA

    Things are turning weird. The below two queries work from jspx.
    1. SELECT * FROM Users
    2. SELECT dname FROM Users
    But, the following query gives error (SQL is correct).
    select dname, count(dname) from users group by dname
    Unable to execute service method 'sctExecuteQuery'. Null pointer is dereferenced.
    $Unable to get document info.!csUnableToExecMethod,sctExecuteQuery!syNullPointerException
    intradoc.common.ServiceException: !$Unable to get document info.!csUnableToExecMethod,sctExecuteQuery
    *ScriptStack SCT_GET_DOCUMENT_INFO_ADMIN
    3:sctExecuteQuery,**no captured values**
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2260)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
    at intradoc.server.Service.createServiceException(Service.java:2249)
    at intradoc.server.Service.doCodeEx(Service.java:584)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.NullPointerException
    at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
    at intradoc.util.IdcConcurrentHashMap.get(IdcConcurrentHashMap.java:60)
    This works fine from Content Tracker UI.
    Anyone has any idea, what could be the issue here?

  • Customer replication from R/3 to CRM as BP's in install at role

    Hi experts,
    Customer's already exist in our ECC system. In CRM, we need to create the ECC customer;s as BP in install at role. From some ot the previous threads, I found that PIDE transaction can be used. Can anyone explain me the steps clearly for creating the BP's in CRM correpsonding to the R/c customer. I don't want to replicate them as BP's in ECC.
    Thanks
    Santosh

    >
    Santosh Kolleti wrote:
    > Customer's already exist in our ECC system. In CRM, we need to create the ECC customer;s as BP in install at role. From some ot the previous threads, I found that PIDE transaction can be used. I assigned the customer account group classification to BP and to test the replication added a filter in R3AC1 transaction to pick only one customer and run the initial load transaction R3AS, system goes into infinite loop and I had to kill the simulation run.
    > Error is " The program "SAPLSMO0" has exceeded the maximum permitted runtime without
    > interruption and has therefore been terminated."
    > Information on where terminated
    > Termination occurred in the ABAP program "SAPLSMO0" - in
    > "SMOF0_READ_SMOFOBJECT".
    > The main program was "SMOF_DOWNLOAD ".
    >
    > In the source code you have the termination point in line 58
    > of the (Include) program "LSMO0U06".
    > Do I need to download anything else before doing the customer download from ECC to CRM.
    >
    > Can anyone help me fix this issue.
    Hi,
    You have done important steps.
    You have to check all relevant functional modules are available in the table.
    Then,you have to maintain/delete entries based on standard document.
    Make sure all Queue is available with system users,right RFC and the queue is registered.
    Make sure all the RFC connections are created and working properly.
    You have to generate the objects.
    Please check some of the above steps .
    Regards,
    SSN.

  • Customer replication from R/3 to CRM as BP

    Customer's already exist in our ECC system. In CRM, we need to create the ECC customer;s as BP in install at role. From some ot the previous threads, I found that PIDE transaction can be used. I assigned the customer account group classification to BP and to test the replication added a filter in R3AC1 transaction to pick only one customer and run the initial load transaction R3AS, system goes into infinite loop and I had to kill the simulation run.
    Error is " The program "SAPLSMO0" has exceeded the maximum permitted runtime without
    interruption and has therefore been terminated."
    Information on where terminated
    Termination occurred in the ABAP program "SAPLSMO0" - in
    "SMOF0_READ_SMOFOBJECT".
    The main program was "SMOF_DOWNLOAD ".
    In the source code you have the termination point in line 58
    of the (Include) program "LSMO0U06".
    Do I need to download anything else before doing the customer download from ECC to CRM.
    Can anyone help me fix this issue.

    >
    Santosh Kolleti wrote:
    > Customer's already exist in our ECC system. In CRM, we need to create the ECC customer;s as BP in install at role. From some ot the previous threads, I found that PIDE transaction can be used. I assigned the customer account group classification to BP and to test the replication added a filter in R3AC1 transaction to pick only one customer and run the initial load transaction R3AS, system goes into infinite loop and I had to kill the simulation run.
    > Error is " The program "SAPLSMO0" has exceeded the maximum permitted runtime without
    > interruption and has therefore been terminated."
    > Information on where terminated
    > Termination occurred in the ABAP program "SAPLSMO0" - in
    > "SMOF0_READ_SMOFOBJECT".
    > The main program was "SMOF_DOWNLOAD ".
    >
    > In the source code you have the termination point in line 58
    > of the (Include) program "LSMO0U06".
    > Do I need to download anything else before doing the customer download from ECC to CRM.
    >
    > Can anyone help me fix this issue.
    Hi,
    You have done important steps.
    You have to check all relevant functional modules are available in the table.
    Then,you have to maintain/delete entries based on standard document.
    Make sure all Queue is available with system users,right RFC and the queue is registered.
    Make sure all the RFC connections are created and working properly.
    You have to generate the objects.
    Please check some of the above steps .
    Regards,
    SSN.

  • Error in delta load of 'Customer Group' from R/3 to CRM

    Hi Experts,
    I added new 'Customer Groups' in R/3. But this is not being updated in CRM. Do I have to trigger initial load again through R3AS or should I create new Customer Groups in CRM?
    The BP delta load BDocs are stuck in SMW01 due to this change. Also, if I need to do the Initial load of Customer Group, which object do I need to do the load for? Is it dnl_cust_sales?
    Please help as it is a Production issue.
    -- Pat

    Hi Pat,
    Use object 'DNL_CUST_SALES' to download Customer Group from R/3 to CRM.
    Use R3AS4 transaction to execute the same.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

Maybe you are looking for

  • ITunes dies again and again

    After recently upgrading to iTunes 6, it started quitting on me. Sure, it would open and everything, but everytime I tried to play a song, iTunes quits and the "Report bug to Apple?" box pops up. What's wrong with this picture?

  • Jdeveloper 11.1.1.5 - how to change path for log file for Disk quoto exceed

    I am trying to deploy to my jdev integrated webserver and am getting Disk quoto exceeded error. How do I change the path so it goes to /scratch/<user>/ ... or something other than /home/<user> <Jul 7, 2011 1:53:01 PM PDT> <Notice> <Log Management> <B

  • PI EHP1 7.1 CACHE UPDATE ISSUE

    Hi All; I get an error when I try do a full cache refresh. I've read all the posts have been solved before in sdn for the same issue as same mine but stil there's no help. I've checked the sm59 RFC connection test for INTEGRATION_DIECTORY_HMI configu

  • Nokia 3500 classic

    I would to ask some help about java proxy setting for this unit because it can't connect to internet with java application. Maybe someone help me to make a NokiaJAVAProxy.prov and NokiaJAVAProxy.wml because our Smart Philippines does not have setting

  • DB link for physical standby database

    Hi All , I'm facing the below error on primary while trying to create a db link pointing to the 10g standby database which is in mount stage. SQL> create database link synct connect to system identified by 123 using 'stdby'; Database link created. SQ