Data transfer between 2 table views

Dear Gurus
Here is my scenario.
I need to transfer data between 2 table views (Both these table views are having only column). These 2 tables are present in separate views (under same viewset).
Now initially I need to display some data in one of the tables when I display the screen for the first time (this I was able to achieve). Now if I double-click on any row of this table,  I need to move the data present in that particular row to a different table present in the same screen.
Here is what I have achieved.
1) When I click on any row,  I was able to capture the row index and the corresponding data in that row.
I put some code in the method EH_ONSELECT (present in the event handler) to get this working.
Now my question is
How can I move this captured data into a different table view?
I tried investigating on some of the methods such as do_prepare_output. But I am left with no clue on what coding needs to be done here.
Any help will be greatly appreciated.
Thanks
Raj

Hi Raj,
You can write the code in methods like DO_PREPARE_OUTPUT, but need to take adequate care of perfrormance as this method gets triggered for all server events.
If you can identify any other method on the second view at an instance when you select rows on view1..
that too is fine.
You can get the selected entries from a context node collection wrapper method...
DATA: lr_marked_line TYPE REF TO if_bol_bo_col.
* Get the lines selected by the user
  lr_marked_line = me->typed_context->productcategory->collection_wrapper->get_marked( ).
You can do a work around this way too...create an internal table attribute in the IMPL class of Custom Controller...Update it with the selceted rows in view1.
Populate view2 with the values in this table by accessing them from Custom Controller.
Code can be in DO_PREPARE_OUTPUT or some method that triggers at the point you select values in first row.
Regards,
Masood Imrani S.

Similar Messages

  • Data transfer between 2 views with context nodes

    Hi all,
    I'm working for the moment in CRM 7 with the BSP WD Component Workbench.
    I have a small exercice (just to learn more about the webclient ect) and I have some problems.
    I created 2 views:
    - Worklist (List with all workflow items available for user)
    - Workflow (When choosing a workflow item in the worklist, the workflow will be executed, or whatever...)
    Now, I have a internal table with all workflow data and when I click on one workflow item, I want to give this data (from one record) from my internal table in a Context node tot the seconde view.
    But how?? I realy don't know.
    Can someone help me with this?
    I created a custom controller
    Should I use model nodes or value nodes?
    what next? How can I fill this nodes with the data?
    Any examples?
    Thx!
    Hans

    Hi Hans,
    Check out this link.
    [Reading Attributes from different context nodes in the same view;
    Regards,
    Sijo

  • Hide data in a table view

    Hi,
    I need to hide data in a table..Only column headers required to display.. I tried by (display column headers only) in view..It is showing only column header in the view ..But when iam displaying the table in dashboard it displays data also..another approach i took is to hide data from column properties ...Custom css display:none.. it is working fine..But the thing is it will not display data in other views also.I need to hide data only in table view..any helps will be appreciated.. Thank you

    Hi Aswin,
    Try this....
    Take columns twice and first set which is use in table view (use display:none)
    and second set use in pivot table and exclude first set columns........
    Cheers,
    Aravind

  • Error 33172 occurred at Read & Write data transfer between two or more PF2010 controller

    Hi,i need to do data transfer between two or more FP2010 controller.e.g. FP2010(A) & FP2010(B).
    FP2010(A) need to transfer the measurement (from its I/O module) to FP2010(B) to do the data analysis.These data transfer should be synchronous btw two controller to prevent data lost.
    From the vi used in the attachment,i encountered some problems at:
    (1) Error 33172 occurred while publishing the data.Can i create and publish data under different item name?
    (2) How to synchronies the read & write btw contorller?
    All controller are communicating with each other directly without the need of a host computer to link them together
    Is there any other method to do fast data transfer betwe
    en controller?

    Hi YongNei,
    You were succesful in omiting enough information to make it very difficult to answer!
    Please post your example.
    Please tell us what version of LV-RT you are using.
    Please define what you concider "fast data transfer".
    Have you concidered mapping the FP tags of FP2010(A) to FP2010(B) and vise versa?
    WHat exactly has to be syncronized?
    If you have something that is close to working, share that.
    Well, that as far as I can go with the info you have provided. Depending on the details, what you are asking could be anything from trivial to impossible with the currently available technology. I just can't say.
    It would probably be a good idea to start over with a fresh question (sorry) because not many people are going to know what a a "
    PF2010" is and I can not guarentee that I will be able to get back to you personally until next week-end.
    Trying to help you get an answer,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Send data from 2 table view to a RFC

    Hi All,
    What I try to do is following:
    I have two table view A and B, which contain data, which I need both for the RFC. Now I can Toolbar for one of the tables and connect both tables to the RFC, both with the action caused by the button.
    But only the data from the table view with the button is sent to the RFC.
    Has anyone an idea what I could do?
    BR Matthias

    Hi Matthias,
    have you defined an action like 'submit' and declared the events in the transition like '*submit'?
    Best Regards,
    Marcel

  • Data transfer between SAP & Java and Vice versa using IDOC Process

    Dear Experts,
            We are working on one of the good requirement related to data transfer between SAP and Java software. Client requirement is, they want to transfer the data in both the ways (from SAP --> Java and Vice versa also).
    In detail is, after sales order creation using one custom program loading plan details will be calculated. Once loading dates are confirmed then, user will release the sales document to transfer the data from SAP to Java using "Outbound IDOC processing". Similarly in that JAVA software some shipment details will be performed, once completed from JAVA software again details needs to be pumped back to SAP as "Inbound IDOC Processing".
    For this fields are already identified from external software SAP and we are looking for the same to perform the steps in SAP.
    At this stage, I need your expert opinion  / feedback how to go  about at this stage.
    Meaning,  
                     1. What are the customizing steps needs to be done in SAP..?
                     2. How to trigger the :Outbound IDOC process" once the documents are "Released" from custom transaction
                     3. How to create the link between SAP and JAVA to transfer the data between these 2 software
                     4. How to trigger the "Inbound IDOC Process" from JAVA software to SAP and how to store the data in SAP
    Experts, please give your feedback in terms of reply or by sending the step by step process to fulfill this client requirement.
    Thanks for your cooperation.
    Regards,
    Ramesh

    Maybe too many open questions in the same document.
    Maybe you should repost a more specific question in a technical forum.
    This looks like a small project where you already know what you want, maybe you should contract a technical specialist so he proceeds to the implementation!

  • Secure the file/data transfer between XI and any third-party system

    Hi All,,
    I would like to use to "secure" SSH on OS Level the file/data transfer between XI and any third-party system Run OS Command before processing and OS command After processing. right now my XI server installed on iSeries OS.
    with ISeries we can't call the Unix commands hope we need to go for AS400 (CL) Programming. If we created the AS400 programm how i can call that in XI.
    If any one have idea pls let me know weather it will work or not.
    Thanks in adavance.
    Venkat

    Hi,
    Thanks for your reply.
    I have red some blogs like /people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi to call the Unix Shell script in XI.
    But as i know in iSeries OS we can write the shell script we need to go for AS400 programe. If we go with AS400 how we need to call that programe and it will work or not i am not sure there i need some help please.
    Thanks,
    Venkat

  • I have problem with data transfer between Windows Server 2012RT and Windows7 (no more than 14kbps) while between Windows Sever 2012RT and Windows8.1 speed is ok.

    I have problem with data transfer between Windows Server 2012RT and Windows7 (no more than 14kbps) while between Windows Sever 2012RT and Windows8.1 speed is ok.

    Hi,
    Regarding the issue here, please take a look at the below links to see if they could help:
    Slow data transfer speed in Windows 7 or in Windows Server 2008 R2
    And a blog here:
    Windows Server 2012 slow network/SMB/CIFS problem
    Hope this may help
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Deleting data from a table view

    I have a data source that is in dictionary form (for why, see here). I have the following code that gets called in the commitEditing method for the table view:
    - (void)removeObjectFromListAtIndex:(NSIndexPath *)indexPath {
    NSMutableDictionary *mutableDataDictionary = [[NSMutableDictionary alloc] initWithDictionary:[listContent mutableCopy]];
    dNSLog (@"listContent: %@, mutableDataDictionary: %@", listContent, mutableDataDictionary);
    dNSLog (@"indexPath.section is %d", indexPath.section);
    NSString *section = [[NSString alloc] init];
    switch (indexPath.section) {
    case 0:
    dNSLog (@"Case Zero");
    section = @"A";
    break;
    case 1:
    dNSLog (@"Case One");
    section = @"B";
    break;
    case 2:
    section = @"C";
    break;
    case 3:
    section = @"D";
    break;
    case 4:
    section = @"E";
    break;
    case 5:
    section = @"F";
    break;
    case 6:
    section = @"G";
    break;
    case 7:
    section = @"H";
    break;
    case 8:
    section = @"I";
    break;
    case 9:
    section = @"J";
    break;
    case 10:
    section = @"K";
    break;
    case 11:
    section = @"L";
    break;
    case 12:
    section = @"M";
    break;
    case 13:
    section = @"N";
    break;
    case 14:
    section = @"O";
    break;
    case 15:
    section = @"P";
    break;
    case 16:
    section = @"Q";
    break;
    case 17:
    section = @"R";
    break;
    case 18:
    section = @"S";
    break;
    case 19:
    section = @"T";
    break;
    case 20:
    section = @"U";
    break;
    case 21:
    section = @"V";
    break;
    case 22:
    section = @"W";
    break;
    case 23:
    section = @"X";
    break;
    case 24:
    section = @"Y";
    break;
    case 25:
    section = @"Z";
    break;
    default:
    dNSLog (@"Default");
    section = nil;
    break;
    if (mutableDataDictionary) {
    NSMutableArray *arrayForNameSection = [[[NSMutableArray alloc] initWithArray:[mutableDataDictionary objectForKey:section]] mutableCopy];
    [arrayForNameSection removeObjectAtIndex:indexPath.row];
    NSArray *array = [[NSArray alloc] initWithArray:arrayForNameSection];
    [mutableDataDictionary setObject:array forKey:section];
    listContent = [NSDictionary dictionaryWithDictionary:mutableDataDictionary];
    [array release];
    [arrayForNameSection release];
    [section release];
    [mutableDataDictionary release];
    The code works flawlessly the first time through, but when I try to delete a second item, it crashes with a CALayer exception involving copyWithZone. The analyzer in Xcode (3.2) is telling me something's going on with the NSString section, but I'm not sure what...I'd appreciate any help!
    BTW, Ray if you happen to get this, the code is identical to what I emailed you, except that I added this code. The method name is the same.

    I have a data source that is in dictionary form (for why, see here). I have the following code that gets called in the commitEditing method for the table view:
    - (void)removeObjectFromListAtIndex:(NSIndexPath *)indexPath {
    NSMutableDictionary *mutableDataDictionary = [[NSMutableDictionary alloc] initWithDictionary:[listContent mutableCopy]];
    // What happens to the mutableCopy? Looks like a leak.
    dNSLog (@"listContent: %@, mutableDataDictionary: %@", listContent, mutableDataDictionary);
    dNSLog (@"indexPath.section is %d", indexPath.section);
    NSString *section = [[NSString alloc] init];
    // Memory leak because in all cases you re-assign the variable.
    // Arrrgggg!
    NSString * section = nil;
    if((indexPath.section >= 0) || (indexPath.section < 26))
    section = [NSString stringWithFormat: @"%c", 'A' + indexPath.section];
    switch (indexPath.section) {
    case 0:
    dNSLog (@"Case Zero");
    section = @"A";
    break;
    case 1:
    dNSLog (@"Case One");
    section = @"B";
    break;
    case 2:
    section = @"C";
    break;
    case 3:
    section = @"D";
    break;
    case 4:
    section = @"E";
    break;
    case 5:
    section = @"F";
    break;
    case 6:
    section = @"G";
    break;
    case 7:
    section = @"H";
    break;
    case 8:
    section = @"I";
    break;
    case 9:
    section = @"J";
    break;
    case 10:
    section = @"K";
    break;
    case 11:
    section = @"L";
    break;
    case 12:
    section = @"M";
    break;
    case 13:
    section = @"N";
    break;
    case 14:
    section = @"O";
    break;
    case 15:
    section = @"P";
    break;
    case 16:
    section = @"Q";
    break;
    case 17:
    section = @"R";
    break;
    case 18:
    section = @"S";
    break;
    case 19:
    section = @"T";
    break;
    case 20:
    section = @"U";
    break;
    case 21:
    section = @"V";
    break;
    case 22:
    section = @"W";
    break;
    case 23:
    section = @"X";
    break;
    case 24:
    section = @"Y";
    break;
    case 25:
    section = @"Z";
    break;
    default:
    dNSLog (@"Default");
    section = nil;
    break;
    if (mutableDataDictionary) {
    NSMutableArray *arrayForNameSection = [[[NSMutableArray alloc] initWithArray:[mutableDataDictionary objectForKey:section]] mutableCopy];
    // Get rid of this copy too.
    [arrayForNameSection removeObjectAtIndex:indexPath.row];
    NSArray *array = [[NSArray alloc] initWithArray:arrayForNameSection];
    [mutableDataDictionary setObject:array forKey:section];
    listContent = [NSDictionary dictionaryWithDictionary:mutableDataDictionary];
    // This is autoreleased. You might want to retain it.
    [array release];
    [arrayForNameSection release];
    [section release];
    [mutableDataDictionary release];

  • Problems with Date Type in Table View

    Hello.
    Following problem:
    I have to make a Table View with some data. One Colum is Type of Date!
    Now I used Table View Iterators to change the backgroundcolor of some cells.
    Sample:
    WHEN 4.
         DATA: col4_text TYPE REF TO CL_HTMLB_TEXTVIEW.
        CREATE OBJECT col4_text.
        col4_text->text = M_ROWREF->DATE1.
           If  mod_vari = 1.
            p_style = 'cellDesign:POSITIVE'.
         ENDIF.
    But now I have the problem that this columm´s date is not formated: 20050112 but I want it this way: 01.12.2005.
    How can I handle this problem? newbie

    This one throw me for a loop as well coming from a non SAP background but here's a nice little code sample that you will find to be quite useful all the world over
    data: lt_date type string,
          lt_tmp type string,
          lt_sep type string.
    lt_sep = '.'
    * You already have your date but for the example not
    * so this is why I use the lt_date
    lt_date = '20050112'.
    CONCATENATE
      lt_date+4(2)
      lt_date+6(2)
      lt_date+0(4)
    INTO lt_tmp SEPARATED BY lt_sep.
    * Now you can give lt_tmp to your output of your cell
    For the cell output you can double check the various weblogs on the subject "Iterator".
    You can play around with the lines after CONCATENATE to put the date in the format you want.

  • Data mismatch between TABLE and Std. Extract str. (AFPO & 2LIS_04_P_MATNR)

    Hi,
    I am getting data mismatch in ECC standard table and ECC standard extract structure. Please help me.
    I am using 2LIS_04_P_P_MATNR data source (standard extract structure).
    <b>I have following data in ECC Table (AFPO - Order Item).</b>
    AUFNR (Order Number) --> 4000460
    PGMNG (Total planned quantity)  --> 0
    PSMNG (ORDER QTY) --> 2000
    <b>Extract Structure is showing following data.</b>
    AUFNR (Order Number) --> 4000460
    PGMNG (Total planned quantity)  --> 2000 (It should be zero)
    PSMNG (ORDER QTY) --> 2000
    I have checked with many other order numbers. <b>The extract structure in RSA3 is showing correct values only if PGMNG is non-zero values. If PGMNG is zero, then it is automatically assigning PSMNG value.</b>
    Is this common? I want to display correct values for PGMNG from AFPO Table. Why this mismatch between table data and extract data. I have done  all required steps refreshing data (deleting setup tables, filling set up tables etc.).
    pls suggest. Poinsts will be assigned to every useful answer.
    Thanks in advance.

    Hi Avneet,
    I have a similar problem where in AFPO shows value 1000 in PSMNG field and 1200 in RSA3 for extractor 2LIS_04_P_MATNR.
    I have found that the standard feature of the extractor extracts the data at the time of release of process order. If the process order is changed after the release then the extractor will not picup the chagne.
    Ex: AFPO value 1000 ---BI Value 1000
    Now released in ECC
    AFPO value 1000 ---BI Value 1000
    In ECC value changed to 1500 after the release. BI will not pickup the change.
    Extractor is pulling the data from MCAFPOV table. You can check the values, there it matches with RSA3 values.
    I was just going thru forums for the solution. After i found the solution. I am just updating it.
    Hope it helps you.
    Thaks
    Srikanth

  • Data transfer between OSX 10.9 and WIN 7 stops

    Hello,
    Unfortunately, I have a problem with the data sharing through SMB.
    I can connect easily to my Mac and see shared folders or data. But in attempting to copy files from Mac to Win 7 PC there is an error. The data transfer is terminated after a while. The file used in the test is an MKV with the size of 1.34 GB.
    The Mac is accessed from a Win 7 PC with administrator privileges. The systems are connected via Wi-Fi 802.11 n.
    The exchange of data between OSX in use of SMB or AFP works without any problems.
    Maybe someone has a solution or a tip for me.
    regards

    Hi ip0wn,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Please click on the link for more details and troubleshooting steps:
    Mac OS X: How to connect to Windows File Sharing (SMB)
    http://support.apple.com/kb/HT1568
    Cheers,
    - Judy

  • Data Transfer Between HR and Erec

    Hi all,
    We are using having 2 backend systems 1 for HR other than Erec and another one for erec.
    Now we have setup the ALE data transfer using Message type HRMD_ABA.
    In erec we have only ERECRUIT Component deployed in backend,no EA HR or SAP HR component deployed.
    MEaning no PA* tables.
    Now when Transfer personnel number(HR!001-A008 with Position) to erec box,it says no pernr exist.
    Howver i cannot tranfer the pernr from ECC to Erec as we dont have PA* tables in Erec.
    Can you share me the object types that are transferred from ECC to EREc and EREC and ECC.
    What are the components to be deployed in backend Erec box.
    In Portal for requistions application which should backend(System Object) and for recruiter and recruitment admin applications which should be the backend system(System Object).
    Thanks,
    Nachy

    Hi ,
    1) First get your users created with roles in your Erec system
    Example recruiter ,Manager ,Recruitment Admin
    2) Get your Structure created in your HR back end system .
    3)Make sure you maintain your basic Infotypes with 0105 miantained (System user name /Email id )
    Assign the user to 0105 subtype 0001
    4)ALE that you have setup first move Org structure moved
      next move the person (Pers no ) .
    ALE chose the insert mode and goto WE10 if yoru IDOCS are clean without errors .
    Make sure all the personal data including address ,postal code is all maintained .
    Let me knwo if it helps
    Regards
    Santosh

  • Access the nodes data in a table view (generated by aet).

    Hi all ,
    I have created a table view in bp overview page.
    so it has created new component /ztable/zbol entity .
    Now how can i access the nodes of BP page..in the new component created?.

    thanks vishal ,
    but as per the thread,when we create table view using aet ,
    Table view in EHP1 CRM 7.0
    You dont need to worry about the component usage nor you need to create or handle anything like that for AET compoent for table extension. SAP has a special way to handle it in WD_USAGE_INITIALIZE of component controller for AET extension generated component so its nothing for us to do about it. Thanks to SAP
    so still i need to redefine..or can directly access the nodes in do_prepare_output.?

  • Best way to pass back data from hierarchical table view?

    Hi,
    I have a view hierarchy using a navigation controller that's working pretty well. One of the bottom level views is a table view where the user selects an item from the list. This bottom view checks the list item, saves the selected item in a property, and then pops the view off the stack.
    What's the best way to alert the parent view that the child view has been popped off so it can retrieve the value in the property? The calling push returns immediately, so it doesn't appear to be a modal call. I want to be able to use the same controller from other parent forms, so I need to be able to do this without referencing the parent in the child form ideally.
    Thanks
    Ray

    Hi, well let me try to explain it a bit more
    - Add a "delegate" property to your child-viewcontroller-class
    - Define a protocoll within each chil-viewController-class
    In this example let us name it "didSelectValue:(NSString *)value"
    - In the parent-viewcontroller before pushing a child-viewcontroller set it's delegate property to "self" (parent-viewcontroller)
    - In the parent-viewcontroller implement to protocoll-method "didSelectValue:(NSTring *)value"
    - In the child view-controller in (assuming it is a tableViewcontroller) add some code in didSelectRowAtIndexPath that checks if the delegate is set and check if it responds to selector "didSelectValue:(NSString *)value". If so, call it with the selected value.

Maybe you are looking for

  • Apps on HP Officejet Pro 8600

    When I first installed this HP Officejet Pro 8600 printer on my computer it worked great.  There is an Apps icon you can tap and it worked.  Now all of a sudden it is coming up with "The printer was unable to connect to the server.  Check your intern

  • 10.4.6 update issues with Powerbook G4

    I have witnessed an error resulting from the 10.4.6 software update on two independent computers, and am stumped as to why I can't find any other references to it. When I first installed the update (about a week or two after release), my computer's r

  • Archiving is not happening.

    Dear All, I am doing the archiving for External storage system(Legacy Server) for Document management server. Can any one guide me like which Archive object I need to select for archiving the same. I tried with Archiving object CV_DVS, but it is not

  • Installing Camera Raw plugin in PSE 10

    My PSE 10 did not come with Camera Raw installed. I've tried to download and install from the Adobe site but my results indicate the downlaod is not for my version. Trying to use the Help menu in PSE 10 says everything is up to date. How can I get an

  • How to get cool dock folder features?

    I was in the Apple store yesterday and was messing around with some of the Macbook Pro's they have there. I clicked on the Microsoft Office folder that the computer had on its dock, and when it opened up, it didn't open up the standard way (a box wit