Passing non-key field values to a form from a tree link

I'd like to be able to link to a record form from a tree, and to pre-populate certain fields in the form from values available in the tree, even if there isn't a record matching the primary key value on the tree.
I hope that makes sense.
Let me fill in some more detail. I have dummy nodes in the tree, which don't correspond to data items, but to types of data items ( underneath which I have the real items ). I've made the dummy nodes a link to the form in the same way as the real items, so that when you click on the dummynode, you go to the form ( which is blank) and can create a new record. I'd like to populate the form with as much information as possible when this happens. I've tried adding the fieldname/formvalue to the link string but with no effect.
Thanks, Mark.
If the forum allowed screenshots to be posted I could show you what I'm trying to achieve.

If your form items are of source database column, than it will not work. However, you may create a custom form and have no source for the items. For that, you will need to create a custom procedure to fetch, update and delete the records.
If I understood your question properly...
Denes Kubicek

Similar Messages

  • How can we hide the non key field values in the sm30 display

    hello experts,
    I have to protect the non key field values in the sm30 display , can u help me out wat changes i have to do in the layout.

    Hello Gopal,
    What do you mean by 'protecting' your non-key field value?
    1) You want to display it, but make it non-changeable
    A - Make the field as output-only in screen, as already answered by a preivous collegue
    2) You do not want to display this field at all
    A - Goto the DDIC definition of the view (not possible for a table directly), and maintain the required field as a Hidden. After activating, remember to re-generate the maintenance dialogue. Also, please maintain Event 21, in case you want to access/change the value of this field in background.
    3) You want to maintain special validations/checks for the field
    This can be easily done by introducing your modules within the CHAIN-FIELD commands in the PAI of the generated screens.
    Best Regards,
    Rekha

  • To pass non key field data to workflow

    Hello,
    I want to pass data from webdynpro application to workflow. For this i used FM 'SWE_CREATE_EVENT' to trigger the workflow.
    I filled the container table with following values
    wa_cont-element = 'NAME2'
    wa_cont-value = 'James Anderson'.
    APPEND wa_cont to it_cont.
    wa_cont-element = 'STRAS'
    wa_cont-value = 'Hampshire'.
    APPEND wa_cont to it_cont.
    wa_cont-element = 'PSTLZ'
    wa_cont-value = '104010'.
    APPEND wa_cont to it_cont.
    wa_cont-element = 'ORT01'
    wa_cont-value = 'London'.
    APPEND wa_cont to it_cont.
    wa_cont-element = 'LAND1'
    wa_cont-value = 'United Kingdom'.
    APPEND wa_cont to it_cont.
    Also i created a custom business object 'ZHRADCHO'. In which i decleared
    KEY FIELDS as ->
    PERNR
    SUBTY
    ENDDA
    BEGDA
    METHODS ->
    send_data_to_wf
    I created Import/Export parameters for this method ->
    NAME2 (Import and Export parameter)
    STRAS (Import and Export parameter)
    PSTLZ (Import and Export parameter)
    ORT01 (Import and Export parameter)
    LAND1 (Import and Export parameter)
    EVENTS ->
    CHANGE
    In SWDD transaction -> basic data -> binding
    I did the following binding
    &_EVT_CREATOR&                             =>     &_WF_INITIATOR&
    &_EVT_OBJECT.PERSONNELNUMBER&        =>     &WA_ZHRAD.PERNR&
    &_EVT_OBJECT.SUBTYPE&        =>               &WA_ZHRAD.SUBTY&
    &_EVT_OBJECT.ENDDATE&        =>     &WA_ZHRAD.ENDDA&
    &_EVT_OBJECT.STARTDATE&        =>     &WA_ZHRAD.BEGDA&
    WA_ZHRAD is structure type of custom table ZHRAD in which i want the data. So in the workflow container i created the element of type ZHRAD. How do i get the rest of the fields which i declared in the method. I am able to get the data in the key fields which are binded as above. But if i bind the rest of the fields i get an error. How do i get the data in non-key field elements?
    Regards,
    Yayati Ekbote

    Hello Rick,
    I am passing the other values through container only. But my question is, in workflow side, in which parameters will i recieve the values?
    In the method of the BO i wrote in the automatically generated program.
    swc_get_element container  'C/o ' CO.
    swc_set_element container  'C/o ' CO.
    swc_get_element container  'StreetHouseNo '  STREETHOUSENO.
    swc_set_element container  'StreetHouseNo ' STREETHOUSENO.
    Like wise for all non-key parameters.
    So in SWDD transaction, which parameters should i bind to get the values in the fields of workflow container?
    Regards,
    Yayati Ekbote

  • Is it possible to return more than one field values to base form from LOV ?

    Hi
    I have a form with employee_number, employee_name, email_address, phone_nos...etc. I have a LOV to select employees from remote database, I want to send selected employee details to current form through LOV. Is it possible?
    Now I am doing like this..From LOV , I am selecting Employee number, after return that employee number, through process,button and javascript (onBlur), I am populating the other details for that employee_number.
    Please advice me if we can do this in better way in HTML_DB.
    Thanks
    Raju

    You may want to try creating your own custom popup lov
    http://www.oracle.com/technology/products/database/application_express/howtos/how_to_create_custom_popups.html
    you can then create your own lov report listing all people and then when you click the name required you can passback as many values as required to the calling form.

  • How can we protect the  ztable non key fields data in sm30 display.

    Hi experts,
         I have created tablemaintenence generator for one z table, in sm30 user has access to enter the data.
    in that maintenence i have to protect the non key field values data  like once the user saves his data.than in the edit mode it has to show the nonkey fields data  but  dont access to edit some nonkey fields... please help

    Hi
    U need to change the screen flow generated by maintenance view generator: here go to Enviroments->Modifications->Screen; doubleclick on your screen and the system take you to screen painter.
    Here go to screen flow and in PBO add new module in order to protect the field for the old records: u can use the statament LOOP AT SCREEN./ENDLOOP to do it.
    LOOP AT SCREEN.
       IF .....
         SCREEN-INPUT = 0.
         MODIFY SCREEN.
       ENDIF.
    ENDLOOP.
    Max

  • Setting values for non-displayed fields on a Tabular Form

    I'm having a problem setting non-displayed fields on the same table as displayed fields like last_update_date, last_updated_by, id's and other fields when creating new records or updating existing records in a Tabular form.
    What is the best and easiest way to set these values without using database triggers?

    Hi Jes,
    I'm a little reluctant to use database triggers as I used this product a couple of years ago and I'm fairly sure I handled this problem in HTML DB without the use of triggers. I am therefore I'm getting a touch frustrated that I can't remember how to do it now !!
    Do you know of any way of setting values for non-displayed fields on a Tabular Form without using database triggers?
    Also, you seem to be suggesting that database triggers is the best way to do this?
    Thanks

  • It is possible to assign value range to non key fields in the table?

    Hi,
    I want to give some range of values to the fields which are non key fields in the table.
    is it possible?
    can anybody tell me the procedure.
    Thanks in Advance,
    venkat

    HI,
    It is higjly possible in case of Z-table. but in standard table you can't make any modification.
    You assign the value range to the domain of field.
    go to SE11 and open the database table.
    Select the Data Element of the fieldto which  you want assign the range.
    Click on its domain .
    click on Value Range tab.
    Set the range.
    Regards,
    anirban

  • How do I take two separate non numeric fields in a acrobat form and combine the data to display in a third separate field?

    How do I take two separate non numeric fields in a acrobat form and combine the data to display in a third separate field?

    You have to use custom JavScripting to concatenate the first 2 fields. You cannot use the first 2 calculation options because they force the values of the fields to a numeric value or ignore string values.
    Possible scripts for the 3rd field are:
    event.value = this.getField("Text1").valueAsString + " " + this.getField("Text2").valueAsString;
    or
    event.value = this.getField("Text1").valueAsString.concat( " ",  this.getField("Text2").valueAsString);
    If you do not want change the separator or not show the separator when on or the other field is empty, you will need to add more code to adjust for change.
    The above scripts will also concatenate number because the field values are read as strings and not numbers.
    There is also a generalized user written function to concatenate up to 3 fields with a separator that adjust for missing data.

  • Searching non-key fields in table maintainance

    Hi..
    How to find non-key fields or how can we enble the FIND button in maintaince table ?
    Please reply....
    Thanks ...

    Hi,
    When you are on the table maintenance screen, you can :
    1. Goto menu options. Selection-->By Content
    2. Choose the fields you want to search data on and Press enter
    3. Enter the operator and the value  (you can append or insert a new field here as well )
    4. Click on the choose button.
    regards,
    Advait

  • Validating non key fields in table maintenance generator

    Hi,
    I ma using events for table maintenance generator event 05 ,there i want to validate non key fields ......i am throwing error message ....all the non key fields are getting in display mode ...i need them to enable to enter values ....
    please suggest
    Thanks,
    Shailaja Ainala.

    Hi Shailaja,
    Its property of error message, which makes it as non-editable.
    You can display either status or info message after validation check.
    And finally before saving (before save event) display error message, so that it invalid entries doesnt get saved.
    Thanks,
    Nisha Vengal.

  • State machine custom task workflow how to pass one task field value to the next task field

    i am using ItemMetadata.xml to pass value from list to custom task first value its passing the but second value is showing as null
    plus how to pass one custom task value to the next custom task
    i.e one supervisor approver comments submitted field i want to see on department manager approval custom task which is the next approver from supervisor
    ows_firstfield=""
    ows_SecondField=""
    the above ows fields are from list
    in this i am unable to retrive the second value in the task form this is my first query?
    second query is that how can we pass one task field value to next approver task field value?
    any idea
    MCTS,ITIL

    What type of workflow is this?  IS this Visual Studio or SharePOint designer or third party (K2, Nintex, etc...)?  YOu should be able to get ahold of the task that was edited via the correlation token, and then grab any value you want from that
    task (wether it be a custom field or a standard worfklow task field). 
    It would help to know what you are using to build the workflow.
    Thanks!

  • Key fields and non-key field of condition table

    Hello Gurus,
          what is key fields and non-key field of condition table?
    thanks very much!

    Key field
    Each condition table contains keys that can be used for creating dependent condition records.
    for example let take condition type PR00.
    PR00 uses access sequence PR02 .
    Access sequence PR02 has following tables associated with it namely 304, 305 & 306
    When you create a conditon record for PR00 with transaction VK11 or VK31, you have a button 'key combination' which is nothing but fields associated with tables 304, 305 & 306.
    In brief, Condition records are always created using specific keys. Condition tables are used to define the structure of the keys of a condition record.
    Non key field
    For example take condition table 144 - sales deal basic data.
    Table 144 is associated with access sequence PBUD.
    If you check the fields associated with this table (click technical view button), there are three fields at bottom which do not have 'key' check mark -KDATU, PLTYP, KSTAF
    So, when you create a condition record for PBUD, system does not propose these 3 fields in 'key combination' and hence are non key fields.
    Please reward points for good answers as this would help increase the total donation that SAP will make to the United Nations World Food Programme.

  • Changing Non key field to Key field in a custom table

    Hello Abap gurus:
    I have a requirement in which i need to change a non key field in my custom table(Z TABLE) to key field.
    For example; i have field sequence as
    field 1  key field
    field 2 key field
    field 3 key field
    field 4 non-key field
    field 5 non-key field
    field 6 non-key field
    field 7 non-key field.
    i want to change field 7 as key field.
    Can i do perform operation??
    when i am tryingto perform bove operation it is taking long time to get the table activated.
    Could any one please help me in getting this resolved.
    regards,
    Sravanthi.

    Use DB Utility (se14) to perform alter table or conversion. The latter is used when atemps to perform first operation fails. Which one is used, really depends on system and current DB table state (i.e. if has any content and what is being adjusted).
    The way Max suggested is similar to [conversion process|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21f1b8446011d189700000e8322d00/content.htm] which system takes care of itself.
    Refer [Adjusting Database Structures|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21f1ab446011d189700000e8322d00/content.htm] and already given link to conversion.
    Please also consider potential errors while doing conversion . This can lead to data loss, so you should think of some backup to prevent that.
    Regards
    Marcin

  • Key Field Value for File Adapter Sender Wildcard

    Hello everybody, is there a way to use a wildcard for the property of NamA.keyFieldValue in the cc for a Fils Sender????, here's an example why, I need to take some Files via PI 7.0 and my key filed can change according to the file an example is that in a file can be HF28 and in another file can be HF29, the only character that is going to be constant is the H, I would really appreciate any suggestions, thanks in advance.
    Regards,
    Julio Cesar

    Hi Julio
    File sender adapter will read the file using FCC
    Key Field Value entry is mandatory if the key field name is set. Otherwise, the entry can be ignored
    http://help.sap.com/saphelp_nw70/helpdata/EN/34/393071e9b998438ddb8ce97cd617a1/frameset.htm
    Content Conversion ( The Key Field Problem )
    Thanks
    Gaurav Bhargava

  • Wild Card as key field value in Content Conversion

    Hi,
         Can any one please tell me that can a wild card such as '*' be used as key field value.
    Thnx,
    Pravesh Puria.

    Hi Pravesh
    For the file name in the sender file adapter you can use the '*' or '?'(as a placeholder for exactly one character)
    You can also enable the "Advanced Selection for Source File" in the sender file adapter, where you can do two things:
    a)you can specify an exclusion mask for the file name specified above.
    b)you can specify/lits multiple directories with a file name and an associated exclusion mask, e.g. in file name you put ".txt" and in the associated exclusion mask "a". The every file with ".txt" except "a" will be fetched from that directory. 
    Try it out.
    Regards,
    Goekhan

Maybe you are looking for

  • Print Layout Designer \Custom Reports

    Hello All, Is there a way to set a custom report as default in the Print Layout Designer for A/R Invoice in SAP B1 ? Thank you and Best wishes and Happiness in the New Year 2009. Ben

  • Wireless Printing - HP Laserjet P1006

    I have installed the newest HP software package (2.2) and I still cannot print via wireless connection with an Apple Airport. Any suggestions? I am using Snow Leopard. All updates have been installed.

  • Need to clear the terminal

    Hey, me and my friend are writting a program which I will eventually put into a nice GUI but for the beginning develpmental stages I running it in command line. I am using BlueJ to program, I am not sure it matters, but the point I am getting to is,

  • Keyword/best bet migration to 2013

    Has anyone found a way to migrate/upgrade keywords in a site collection from 2010 to 2013?  I have seen mention of the ability to convert the keyword/bestbet to a query rule.  Thanks for any suggestions.

  • I'm sure its been answered before but i can't see it.

    i've only had my ipod 2 weeks and i've never used itunes before. i was lovin the ease of it all the transfering of files, syncing of itunes-ipod. But everytime i play my ipod it either skips halfway through a song or it turns itself off.i've reset tw