Passing data row-wise from one VO to another.

Hi,
I am a ADF newbie so I have a slight issue which I am not able to resolve.
I need to pass data from table t1 to table t2 which I am able to establish by creating viewlink between the two. But each time I press the 'CreateInsert' button for the VO made for t2,I need a different value to be passed. Basically, I need to pass values rowwise from t1 each time the user clicks the 'CreateInsert' button for t2 VO.
Eg. If there is an itemCategory table which contains the attributes for an item such as Expiry Date,Food Code,Type of food then for the itemFood, each time I click the 'CreateInsert' button, a new row should be created where attributeId has to be passed one by one i.e. on first click Expiry date should be passed, 2nd click food code should be passed so that based on these attributes,corresponding attribute values for itemFood can be entered in the itemFood table.
How can I achieve this in ADF? Is there an alternative way where instead of clicking the 'CreateInsert' button, attributeids cn be passed from itemCategory to itemFood?
Any help in this case is highly appreciated.
Thanks & Regards,
Chaya

Is it possible to pass multiple values for same attribute from one table to another using viewlink?
eg. If there are 2 tables- FoodAttributes which contains the type of food and the attributes associated with it.
say,Type -Vegetable, Non-veg, Fruits then for vegetables,attributes can be weight,leafy,etc.
Another table is FoodTable where we have food specific attribute which contains name of food ,attributes associated with it and the values for those attributes, like cabbage is name, attributes associated with it are leafy,weight and in values we specify leafy as yes and its weight in kg. So I need to pass the attribute names from 1st table to 2nd table. Please suggest a way to do this.

Similar Messages

  • How-to extract data in chunks from one R3 to another R3 system

    Does anybody know how to extract data in chunks from one system to another? Imagine you would like to extract 1M records in chunks of 10K records, how would you do it between 2 different R3 systems? A cursor (even with hold) doesn't work
    Any suggestion appreciated
    Thanks
    Ioan

    Hi Ioan,
    I'd do it with fm : TABLE_ENTRIES_GET_VIA_RFC (with where clause-tab)
    or fm GET_TABLE_RFC (get all items)
    regards Andreas

  • Advice on Promoting Master Data Services Changes from one environment to another, e.g. DEV to UAT

    Hi,
    Has anyone got experience of creating a script to promote Master Data Services changes from one environment to another, e.g. Development to Production please?
    The changes basically consist of adding several new MDS members which can be accessed via Excel.
    Thanks in advance,
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    In MDS terminology an Entity is metadata, and Entity Members are the data. 
    Typically changes to an Entity (ie model design changes) are promoted to different environments.  Model design changes can be replicated manually in each environment or you can Export the model and Import it into the target environment.
    Adding, editing and deleting entity members is performed directly in each environment.
    If you want to selectively import data from a Dev environment, you can use staging.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • How to convert data when transferring from one table to another

    I have two tables and these are the structure of the tables
    create table E1(
    ID NUMBER
    ,NAME VARCHAR2(30)
    , DESIGNATION VARCHAR2(30)
    ,GENDER VARCHAR2(10));
    create table E2(
    ID NUMBER
    ,NAME VARCHAR2(30)
    , DESIGNATION VARCHAR2(3)
    ,GENDER NUMBER); Now I want to transfer records from one table to another using a master tables where data are compared because the datatypes in tables are different
    The first one is a gender table to match the gender and convert
    create table Gender(
    E1 varchar2(10),
    E2 number);The second is for the designation
    create table Designation(
    E1 varchar2(30),
    E2 varchar2(3);How to match and convert the data so that it can be transfered.

    Peeyush wrote:
    Can we do it with the help of a cursor.
    All SQL executed by the database are parsed as cursors and executed as cursors.
    I mean I have to insert data in bulk and I want to use cursor for it.The read and write (select and insert) are done by the SQL engine. The read part reads data and passes it to the write part that inserts the data.
    Now why would using PL/SQL and bulk processing make this faster? It will reside in-between the read part and the write part being done by the SQL engine.
    So the SQL engine reads the data. This then travels all the way to the PL/SQL engine as a bulk collect. PL./SQL then issues an insert (the write part to be done by the SQL engine). And now this very same data travels all the way from the PL/SQL engine to the SQL engine for insertion.
    So just how is this approach, where you add extra travel time to data, faster?
    and i want to commit the transaction after every 50 recordsWhy? What makes you think this is better? What makes you think you have a problem with not committing every 50 rows?

  • Data not transfering from one form to another

    I have designed two forms in which i want to transfer data from one form to another which contains lot of fields.Process starts wid filling the first form(form1) from the workspace and all the data from dat form will be transfered to next level user who is having form2.Both forms contains two pages each.I tried with the SETVALUE ACTIVITY after designing two forms but its showing error.

    No am not using any xml schema .i have designed the two forms with the same fileds and field names.what cpould be the problem.After submitting the task from the start process it is going to the next user level but the form is getting added twice in the to do list of that user and data is not getting bound.If u want i can sned u my lca files or forms.

  • Query regarding passing of flag value from one component to another.

    Hi all,
        I need to pass a flag value of type CHAR1 from one view of one component to another view of a different component. Any ideas?

    Hi,
    You can use the Global Data Context Parameters which you can define in SPRO->IMG->CRM->UI Framework->Tech Role Def->Define Global Data Context Parameters.
    You can set the value wherever you want and read the same in the other component using the below similar code.
    * Setting the value using GDC
      CALL METHOD lr_gdc->set_data_attribute
        EXPORTING
          i_value = value
          iv_name = 'ZSTARTDATE'.
    *Reading GDC data
    DATA: lr_gdc       TYPE REF TO if_crm_ui_data_context.
    lr_gdc = cl_crm_ui_data_context_srv=>get_instance( me ).
                CALL METHOD lr_gdc->get_data_attribute
                  EXPORTING
                    iv_name = 'ZSTARTDATE'
                  IMPORTING
                    e_value = lv_sdate.
    * Here ZSTARTDATE is the GDC parameter defined in spro
    Hope it would be helpful
    Regards,
    Shobhit

  • HI Data Mart Interface from one BW to another BW System

    Hi ,
    I am trying to extract data from one CUBE in a BW system to another CUBE In another BW system .. WHen I am trying to extract it gives me srror saying that .
    udayulli - Short dump in the Warehouse
    Diagnosis
    The data update was not completed. A short dump has probably been logged in BW providing information about the error.
    System response
    "Caller 70" is missing.
    Further analysis:
    Search in the BW short dump overview for the short dump belonging to the request. Pay attention to the correct time and date on the selection screen.
    You get a short dump list using the Wizard or via the menu path "Environment -> Short dump -> In the Data Warehouse".
    Error correction:
    Follow the instructions in the short dump.
    When I went in to the short dump i found a message saying the internal table ID cannot be extended further ,
    Thanks in Advance .

    Hi dear,
    try to do a search in these forums with "Caller 70"...you will find a lot of useful posts...
    Hope it helps!
    Bye,
    Roberto

  • How to move multi select rows(records)from one datagrid to another datagrid completelly in flex4

    hi friends,
    I  am doing mxml flex 4 wep application i am using 2 forms, each form i am using datagrid,i am struck in this place,
    my proplem is, in first form i am having a grid with 10rows and columns,i am having 10 records and one move button. Next form also having a datagrid,
    need:
    IF i am doing multi select(2records) from the first datagrid and click move button means that records will show in the second datagrid and will also delete
    from the first data grid again it wont show the records in same datagrid.
    how to do this?
    any useful suggession or snippet code.
    thanks in advance,
    Cheers,
    B.venkatesan.

    One solution could be:
    Source to data grid is an Array collection
    1.> In first data grid extraxct the rows using, grid.selecteditem
    2.>Add it to the arraycollection attached to next grid, use arraycollection addItemat api if rows needed to ve added at particular index
    3.>Use removeitemat api to remove the items from arraycollection attached to first datagrid
    4.>call invalidate on bothe of the datagrids

  • Passing values in table from one component to another component in gp

    hai all,
      I have a table with 5 rows in a view in component1.I need to pass the values in the table from component1 to table in component2.Plz help me with coding of interface controller of both component.
    Thanks in advance
    regards
    Sharanya.R

    Hi,
    Here more than coding its mapping of your components are important to transfer data
    Ex:
    You need to have a public part that exposes the node which is bound to the table in COMPA.
    Then in COMPB you need to make COMPA as used COMP.
    Then you need to map the contexts between them.
    Once this is done . You will need to code if you want to iterate through the elements.
    Following Docs will help you get  a  clear understanding
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f727d100-0801-0010-4cbd-b0ad5c161945
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e1f4df00-0801-0010-6298-8fdf667bbd0f
    Regards
    Ayyapparaj

  • How to send date field value from one page to another page

    Hi every one!
    In my page I have a requirement....I need to select From date and Todate....based on that data has to be displayed in the table....but in my table i dont have such type of fields.....please help me

    I used hidden variable also but it's not useful for me. If by "hidden variable" you mean a "hidden field" (ie a text-input field in the submitting form with display=none), then that's exactly what I was thinking...
    So WHY is a hidden field "not useful"? It's just that... ummm... I suspect you're doing it wrong, or maybe just not understanding how it works. So post both your JSP Pages (if they're not too big), or take the time to prepare a [Short Self-Contained Compilable (Correct) Example|http://mindprod.com/jgloss/sscce.html].
    The more information you provender, the greater your chances of getting real help.
    Cheers. Keith.

  • Can you transfer apps data/preference settings from one iPod to another?

    I just bought a new 32G iPod touch (previously using a 16G touch). I know how to transfer all of my music, movies, etc. from the iTunes library.
    But here is my question: is there a way to transfer the "preferences/settings" files for my apps--workout routines, high score settings, mail settings, stock data--from the iPod itself?
    The actual apps transferred over fine from iTunes, but is there a way to get all of my info from my old iPod to the new one?

    I am trying to do this, but it doesn't seem to work for me. When I restore my new iPod from my old iPod backup, I only get settings and some pictures, but no apps or music.
    In order for this to work would have I had to have the "Sync" settings on for apps and music? I can't turn this on now. The music is not a big deal, but I have a few essential apps on here that I really need the data from.
    Any ideas?

  • GL Master data : Move GL from one Client to another Client

    have created an one Transport Request for creation of Financial Organization structure in Customizing SAP Client 200 and then i have Manually imported that TR in another SAP Client Master data Client System 050 for GL Master data Language Translation FSP0 or FST2. so, in client 050 i have updated translation for all the GL Accounts roughly 5000 GL Accounts. After that, all GL Accoounts i have sent to Client 200 from Client 050 by using Transaction code - BD18, i have imported all the GL Account along with its Translation in another client of SAP System client 200 in order to move all the Changes along with in the same TR.
    but when i am releasing the TR Transport Request from Cusomizing client 200 to unit testing client 300 , changes related to translaton of GL account has not been moved. Apart from that other changes related to Financial Structure have been moved along with Transport Request
    how can i club these Translation related chnages in this same TR so that i need not to run LSMW in all clients and apply changes in each Clients seperately.
    Thanks
    Jignesh

    Hi
    When you save the data relating to the diffrent language not saves in the request. First check whether that particular request is having the data in different language.  
    OSS Note - 1000586
    - Doing the client copy
    If the texts are present in Client 000 but are missing in an Client different from 000 there are different tools to bring the texts from client 000 into the Client other than 000.
    - RSTLAN_SUPPLEMENT_UNI, described in notes 43853 and 211226
    - Client Maintenance function in SMLT
    - (only valid up to SAP_BASIS 6.10: RSREFILL, described in note 48047)
               Please keep in mind:
    Data in clients other than 000 are treated as customer data. Existing texts will not be overwritten there. (see Note 2857)
    VVR

  • How to transfer/ copy data and setting from one iPhone to another

    Hi,
    I recently cracked the screen on my 3G iPhone and a have fortunately managed to convince the insurance company to pay for a new one.
    I'd like to be able to transfer all my contacts, apps aand setting to the new phone. Only problem is I have to give back the old phone to get the new one.
    Any advice much appreciated, and thanks in advance to anyone who spend time to help

    The iPhone is designed to be synced with the supported applications on your computer for contact info, calendar events, and bookmarks. To transfer iTunes content and photos from your computer to your iPhone requires syncing with iTunes. Photos captured by your iPhone should be imported by your computer as with any other camera. The imported photos can be transferred back to your iPhone via the iTunes sync process.
    iTunes also creates and maintains a backup of your iPhone that includes data such as most iPhone settings, email account settings, SMS messages, notes, recent calls, call favorites, 3rd party app settings and data created and stored by 3rd party apps, contact info, and photos captured by your iPhone - but not a good idea to depend on the backup only for the last 2. Sync contact info with a supported application on your computer and import photos that were captured by your iPhone before giving up your iPhone. You can restore your new iPhone from your existing iPhone's backup followed by a sync.

  • Can I transfer app memory (data, not files) from one device to another?

    I have tons of games like Tiny Tower, Cut the Rope, and 243 other games that I would like to keep the memory for (beaten levels, money earned etc.). If I buy an iPhone, is it possible to transfer my app memory to the new device?

    Yes. First you have to back up your data onto iCloud or your computer on iTunes.
    When you have your iPhone:
    Turn on your iPhone, go through the default setup, and when you are on the set up iPhone page, tap
    " Restore from iCloud Backup" - Must enter Apple Id
         or
    " Restore from iTunes Backup" -Must connect iPhone to computer to iTunes
    Then it will sync all your old data to your iPhone.

  • How do I pass a field value from one form to another?

    Hi,
    Please help me.
    First application.
    I have login form.
    One field P48_USERNAME, no password required.
    Enter the User name and press Login button.
    The Login redirects to page 4.
    On Page 4, I need to populate a hidden field called user with the value from P48_USERNAME.
    How can I do this?
    Apex version - Application Express 4.0.2.00.07
    Zac

    Hi Ola,
    What do you have to in the taget page the branches alone does not work.
    No password is required, no password is entnered, no field available to enter a password.
    Any any ideas?
    Zac

Maybe you are looking for

  • How do I found the character count in a document

    How do I find character count and word count in a doumen on my IMc?

  • How do I transfer photos to a new PC w/o losing tag info?

    I am currently using PE6 in an old XP PC and want to use the same PE6 software in my new Windows 7 PC.  The sheer number of photos (>12K) make it nearly impossible to reorganize and retag everything from scratch!!  If a newer PE version would help me

  • Attach to Email - Need to save first?

    Hi All, I just upgraded to Acrobat Pro X. The problem is the following I receive emails via email all day. In Acrobat Pro 7, I could extract the pages I want and re-email with 2 clicks. In Acrobat Pro X,  it seems that when I do the extraction I firs

  • Paper Size Options in PSE 7

    Hi I have a Epson PX700W Photo Printer running on Windows Vista Ultimate, when I look at the printer options in windows I have a huge list of print sizes to choose from but when im in PSE7 i only have a few print size options ??  does anyone know why

  • Appears in Arabic characters when you are tying to type in English?

    what to do when you type as usual in a Word doc or in Facebook and it appears in Arabic characters when you are tying to type in English?