Auto insert values to addition fields from a comma seperate value input?

I pray someone (Gunter :) ) knows how to do this or perhaps a better approach.
I have a google map api geocoding application that I created by following some sample files from the google api documentation. Works really well.
It gets the address information from an address field that has its values put in this format
"Street# Street, city, state/province" So... it would like like "123 fake ave, toronto, ON"
It is able to generate the longitude and latitude perfectly. How ever on the front end I would like the user to pull down show me based on just the city.
so.. show me "New york" or "Bowling green"... I was thinking of adding a city field into my table to facilitate this. It just seems redundant since the user already is going to put the address (which includes the cityname) above in the format I detailed. This is so the geocoding works.
So in the admin section when they add a new record is it possible to have some hidden fields that take the second comma seperated value (which would be the city)from the "address form field" (which is formatted with commas liek above) and input it into my "city column" in my table ?
any help of guidance is greatly appreciated, as always

Hi Kevin,
PHP´s function "explode" (http://de2.php.net/explode) would allow you to split a comma separated string and echo the individual substrings wherever you want, however...
is it possible to have some hidden fields that take the second comma seperated value
...it seems you´d like to have the hidden fields "value" attribute dynamically updated based on the selected menu item, correct ? This will be much more complicated, as you´ll need some custom javascript to make this happen.
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver

Similar Messages

  • How to get additional field from the second list base on lookup information column ?

    Hi everyone,
    Currently I created a SharePoint hosted Apps project and I need to know how can I get additional field from the second list base on lookup information column. example List1 Have 2 columns column1 and column2(Lookup Information from list2 (category)),
    List2 have 3 columns title, and category, and color.  so how can get the title and color from list2 base on this lookup information column (SharePoint Hosted apps and Javascript code)? that is possible?
    Best regards,
    ------------------------------------------------------------ ---Tola---

    You can build one custom lookup control. Refer to the following post
    http://www.stuartroberts.net/index.php/2012/10/03/enhanced-lookup-field-part-1/
    Alternatively, try the following solution from codeplex
    http://sp2010filteredlookup.codeplex.com/
    http://filteredlookup.codeplex.com/
    --Cheers

  • Inserting Image into BLOB field from URL

    Is it possible to insert an image into a BLOB field from a URL? I don't have access to the filesystem on the server and I have a page that uses PL/PDF to generate dynamic PDF files from data I pull from the database. I would like to include my companies official header with logo on the top of the PDFs I generate and need to somehow get the image which I currently have uploaded to the images section in Application Express and can access from the "Shared Components => Images" section of the Application Builder. I just want to be able to either query whatever table holds those images or copy the image I need to a blob field in one of my tables so I can use it in my PDF document.
    The other alternative (which is what I first mentioned above) would be to try and perform an insert into the BLOB field in my table but the location of the image file would be like "http://www.myportal.com:7777/pls/htmldb/wwv_flow_file_mgr.get_file?p_security_group_id=1234567&p_flow_id=111&p_fname=myimage.jpg".
    Is this possible? If not, what can I do?
    Thanks in advance.

    The reason why I am asking this question in this forum is two-fold:
    1. I am using Application Express (AE).
    2. Since I am using AE all images that I upload to my workspace are stored in a table in a database and not as an actual file in a directory structure like in Windows etc. This being the case, I can't ever reference any of the files that I upload to my workspace in order to insert them into my BLOB field unless I know their physical location on disk (which of course does not exist b/c they are stored in the AE database somewhere). If I knew AE's database and table structure I could do a "select into ..." from whatever table stores my uploaded images and save those images to my own custom table in my BLOB field.

  • Exit_saplv60b_008 / transfer additional field from vbrp to bseg (SD-FI)

    Hi together,
    I´ve populated an additional field 'ZXXX'for trx. va01 and adjusted the copying control in order to transfer this information into the billing document (e.g. trx, vf03). So far so good.
    But now I want to transfer this information to table bseg (field bseg-zxxx). I know that you can use 'exit_saplv60b_008' with this. But I don´t know how to proceed.
    Do I have to expand structure ACCIT?
    Thanks for any help

    Hi,
    Well, in my opinion it doesn´t really matter if I use sdvfx004 or sdvfx008.
    My problem is I don´t know how actualize the  transfer vbrp-zXXX to bseg-zXXX.
    I´m looking for a suitable piece of coding.
    Thanks for any help

  • EHP5 ESS - Add Additional fields from custom infotype on Personal Data

    Hi Gurus
    I am able to launch the Personal Information screen under Personal Profile
    I will need to add more fields on the Personal Profile --> Personal Data section
    I have added the infotype in V_T7XSSPERSUBTY
    I am not sure if I will need to do some configuration GenIL Model Editor
    Is BADI (Enh. Imp) HRESS_PER_CONFIG_KEY relevant to adding fields to the screen?
    Please guide how to go about doing this
    Thanks in advance

    for adding a infotype and fields you need to do this
    1. Customizing the Fields in Overview Screens
    http://help.sap.com/erp2005_ehp_05/helpdata/en/77/804c18e1844944b7f8baf5
    3159be78/content.htm
    2. Configuration of Personal Profile Services
    http://help.sap.com/erp2005_ehp_05/helpdata/en/3a/fe6eac579d4a9ead651d77
    9a2dbd23/content.htm
    3. Personal Profile application Documentation
    http://help.sap.com/erp2005_ehp_05/helpdata/en/14/60cd56b1514ae5aa811d2a
    a4a59de3/content.htm
    In EhP5 ESS Personal Profile application, in order to change the
    Address overview page fields, you need to adapt the Address component
    configuration HRESS_CC_PER_OVR_ADDRESS_XX.
    Note: In EhP5, ESS screens are based on Floor Plan Manager for
    WebDynpro ABAP Generic UI Building Block concept. To configure
    overview page fields we no longer use 'Determine Fields for Business
    Card on Area Page' View instead of that we adapt the FPM configurations.
    In the standard delivery in the Overview Page, always international
    Address is displayed and in the edit screen based on the country
    selection (Foreign Address scenario), corresponding country screens
    are displayed.
    Note: We always show international address screen in overview page in
    order to support Foreign Address scenario.
    If you want to chanage the fields in the Address overview page fields
    then adapt the Address component configuration.

  • Additional Field require to flow from SAP Delivery Line to DTR Line to Freight Unit

    Dear All,
    My scenario is Delivery line Item = DTR Line Item = Freight Unit.
    For this my requirement is I have added Additional field in ECC Delivery Line Item Table (LIPS) to record BAR Code Number.
    Now I want this BAR Code Number to flow in DTR Line Item and also in Freight Unit probably in Z Field as I do not found any standard field which I can use to map Bar code Number.
    Please suggest the necessary steps to achieve the same and also the Table/ Structures that need to be modified to flow additional field from Delivery (ECC) to PI and from PI to DTR (TM) and from DTR to Freight Unit.
    Regards,
    Vibhu Gupta

    Hi,
    First the inbound PI service needs to be enhanced with the addtional field on item level and in TRQ item node, this field also needs to be enahnced;
    For this field, do you want to save it in FU header or item level?
    In the implementation class of the inbound service, this field should be mapped to DTR item instance;
    If you enhance the field in FU item level with same field name, then the field value saved in DTR item will automatically flow to FU item.
    Hope this help.
    BR, Dawson

  • Bringing in Additional Fields into SAP Query

    Hi,
    I'm new to SAP Query. I had to modify an existing report to bring in an additional field from one of the tables of the query. When i look at the tables in query, i don't even see the field i would like to add under the table. I guess it needs to be first bring into query and later i can add. Can someone help me how to do this?
    Thanks in Advance.

    HI,
    IN SQ02, IF table is already in JOIN, just click on the PLUS sign to expand the strcture.
    All the field showing Plus sign in the strcture are selected in your query and with MINUS sing are no selected.
    So you have to just click on the MINUS sign for the field you want to use through table field.
    Generate the query and execute thriugh SQ01.
    If you want to add some other field which is not a part of JOIN,
    then click on EXTRAS Button shown in the MENU option.
    Click on Create button and system will ask abt the additional field.
    Regds,
    Anil

  • Extra ADDITIONAL field in catsprofile

    Hi All,
    I have one requirement like adding a new field in cats profile.
    I am aware that we can use additional 10 fields in CI_CATSDB structure. We have alreday used all the 10 additional fields.
    And i want to add one more field..is there any way to do it.
    Thanks
    -Pradeep

    But to add the new field in CAC2 for user input..this must available in Influencing section.There i can see the only 10 additional fields from CATS_ADDFI.So i feel i should get an entry in CATS_ADDFI also,How so i do that in customization.
    Thanks
    -Pradeep

  • CO document Additional fields store

    Hi,
    I need to pass additional fields from CRM while CO posting. I checked there is Custom include COBL_CI in COEP table.
    I need steps for storing additional fields in to CO document.
    If any of you can guide me on this.
    Thanks in Advance
    Regards,
    Deven
    Message was edited by:
            Deven Chheda
    Hi,
    can someone please guide me, Thanks
    Message was edited by:
            Deven Chheda   
    Hi,
    can someone please guide me, Thanks

    Hello Natalia,
    Did you solve your problem?
    I got a similar one, I'm trying to add some Z fields (added to BKPF via append struc.) to screens of transactions: F-43, F-63, FV60, FB60 (this badi could work for F-43, but I need to find another exit / badi for the others transactions).
    I implemented the mentioned badi, but after debugging it, it looks like that after exiting the Z implementation, the only fields enabled to be transfered in the end, are XREF1_HD and XREF2_HD, no matter if you add any other else.
    Please, let me know if you got further information.
    Thanks in advance.
    José Gabriel.
    Edited by: José Gabriel on Oct 14, 2009 11:13 AM

  • ADF to BPEL - Adding additional field for the web service call

    I have an existing ADF project that invokes a BPEL process. Recently I added 2 new fields to the bpel process and I want to populate this additional fields from the ADF when calling the bpel process.
    What is the best way to do this ? I dont see a way to regenerate the data control. Am I missing something ?

    correct, i am using the WS data control
    I manually added the 2 new fields in the ProjectName.xml and pagenamepagedef.xml files and also he necessary code in the bean class . But when i run it i still dont see the vallues passed to the bpel process.

  • How to get auto-increment value after insert on ACCESS db?

    When you insert a new record to a table with an auto-incrementing key, how do you find the value for the row you just inserted? This works differently with different databases. I know how it's done on ORACLE and mySql.
    How does it work with ACCESS through ODBC? How about MSSQL?

    I have discovered there's a LAST aggregate function which when I've tested it gets the just inserted auto-increment, but I'm not sure if it's reliable. You have to do:
    SELECT LAST(index-field) FROM table
    That ought to be faster than MAX, which I've noticed some people use. Persumable LAST will get the value from the last row in the table's natural order.
    In fact an auto-increment field has no business filling in missing slots since the main point is a a foreign key in other tables and a foreign key pointing to a deleted table row ought to be invalidated, not point to some unrelated successor record.
    I could use a separate table as a source of counters, of course, though that's one more call. In either case I'm worried about thread safety. In Oracle there are special sequence objects for this purpose which are incremented and read atomically. I'm not sure if the access driver transaction handling works adequately.
    Perhaps the safest approach might be to use a separate sequencer table and Java sychronisation to serialise access to each row in the sequencer table (assuming all the access is from the same app).

  • How to auto insert a number array with size of 20 into a named excel file with the positon is from A1 TO A20?i use lv6.1

    can you give me a example vi for it ?thanks a lot!
    how to auto insert a number array with size of 20 into a named excel file  with the positon is from A1 TO A20?i use lv6.1

    You don't need us to give you an example, as the example already comes with LV. Go to Help>>Find Examples and search for "excel". You will find an example called "write table to XL". You should note that the example doesn't do that exactly, because it writes a 2D array from 2 to N.
    You can modify the example by using only one for loop (instead of nested loops) with a 1D array or by going into the Set Cell Value and modifying it to accept a second cell value for the Cell2 terminal and wiring in a 1D array instead of the single string. If you do modify it, be sure to save it under a different name, so you don't overwrite the original.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • SAP Query - Additional field that collects information from table RESB

    Hello gurus. I have a question.
    I want to create a SAP Query that shows me the stock level of a list of materials, and also show me the total quantity of order reservations in an additional field.
    I created an InfoSet with table MARD, which is the one that holds the Stock information in a plant. Then I created an additional field which would read information from table RESB, the table that holds order reservations per material.
    So I wrote this piece of code:
    SELECT * FROM RESB
    WHERE MATNR EQ MARD-MATNR and
           WERKS EQ MARD-WERKS.
    ENDSELECT.
    if ( sy-dbcnt NE '0').
          MOVE RESB-BDMNG to ZQTY.
    ELSE.
          MOVE '' to ZQTY.
    ENDIF.
    This works fine. However, this is currently just catching the first record in table RESB that matches my condition.
    What I would like is to collect every instance of RESB-BDMNG and add them to field "ZQTY", have it loop in RESB until it finishes finding every record that match the MATNR and WERKS. With this I could get the total number of order reservations that this material has in that table.
    Could someone share some coding that would help me achieve this?

    Yes! That did it. That's what I needed to do. Thank you so much.
    While I'm at it, let me ask you a related question.
    When I execute the query, in the first records of the query where there's no value from RESB to transfer, the value of field ZQTY appears empty. Once it finds the first record in RESB and it populates ZQTY with a value, then the rest of the records with no hit get the proper value of 0.
    Do you know why the first records in the query appear empty and not with a 0? Is there anything I should add to the coding to fix this?

  • Populating Multirecord text fields from Tlists value's combinations

    I have a UI wherein there are two T lists, one on the Left and other on the Right. The left one contains
    From values and the Right one contains To values. There's one Button which when Pressed should populate
    a Data Block which has multi record text fields just below the button with all the possible combinations of
    the T lists elements. The Text fields have the values From, To, Time, Unit. When populated From and Two will
    get the values from the combinations and the user will enter the values in other fields i.e. Time and Unit,
    Then the user can save the Records.
    e.g. If the Left T list contains Red, Blue and the Right T List contains Green, Black. Then on pressing
    the button below the T lists, the text fields From and Two of a data block displayed in the same window
    should get populated with all the possible combinations as:
    From || To || Unit || Time
    Red Green
    Red Black
    Blue Green
    Blue Black
    Now the user can enter the values for Unit as well as Time and when he does save the Records should be inserted
    for the Data Blocks DML Source that's some table.
    What I'm trying is:
    On pressing the Button i'm writing code that will have Two PL/SQL Tables(Index by binary_integer). One will have
    all the values of the left T List and the other with all the values of right T List.
    I do it as in the WHEN BUTTON PRESSED as:
    DECLARE
    TYPE varchar_table IS TABLE OF VARCHAR2(30) INDEX BY BINARY_INTEGER;
    from varchar_table;
    to varchar_table;
    v_count1 NUMBER;
    v_count2 NUMBER;
    v_count3 NUMBER;
    v_count4 NUMBER;
    BEGIN
    v_count1 := Get_List_Element_Count('CONTROL.FROM_TYPE');
         FOR i IN 1..v_count1 LOOP
              from(i) := Get_List_Element_Value('CONTROL.FROM_TYPE', i);
         END LOOP;
    v_count2 := Get_List_Element_Count('CONTROL.TO_TYPE');
         FOR i IN 1..v_count2 LOOP
              to(i) := Get_List_Element_Value('CONTROL.TO_TYPE', i);
         END LOOP;
    END;
    Now how will I populate the text fields with the values in the tables that i got with the piece of code above.
    Any help would be appreciated. Any other method other than the one i'm trying is also welcome. Please note that
    i'm not using any table to store the elements in the T Lists. The lists get values at runtime by
    user's selection.
    Thanks,
    Abhishek.

    Try and stay civil in your postings. The solotion should be to simply issue a GO_BLOCK, followed by a CREATE_RECORD followed by setting the approriate values :block.value = <value from list>

  • While inserting values from a xml file into the database.

    Dear Forum Members,
    While using Samp10.java (given in XSU!2_ver1_2_1/oracleXSU12/Sample)for inserting values from xml file Sampdoc.xml into database table xmltest_tab1,the error shown below appears on the DOS prompt.
    The code for sam10 is:
    import oracle.xml.sql.dml.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.jdbc.*;
    import java.net.*;
    public class samp10
    public static void main(String args[]) throws SQLException
    String tabName = "xmltest_tab1";
    String fileName = "sampdoc.xml";
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn=DriverManager.getConnection("jdbc:odbc:BookingSealinerScott","scott","tiger");
    OracleXMLSave sav = new OracleXMLSave(conn, tabName);
    URL url = sav.createURL(fileName);
    int rowCount = sav.insertXML(url);
    System.out.println(" successfully inserted "+rowCount+
    " rows into "+ tabName);
    conn.close();
    }catch (Exception e){e.printStackTrace();}
    The Structure of Sampdoc.xml is:
    <?xml version="1.0"?>
    <ROWSET>
    <ROW num="1">
    <EMPNO>7369</EMPNO>
    <ENAME>SMITH</ENAME>
    <JOB>CLERK</JOB>
    </ROW>
    <ROW num="2">
    <EMPNO>7499</EMPNO>
    <ENAME>ALLEN</ENAME>
    <JOB>SALESMAN</JOB>
    </ROW>
    <ROW num="3">
    <EMPNO>7521</EMPNO>
    <ENAME>WARD</ENAME>
    <JOB>SALESMAN</JOB>
    </ROW>
    </ROWSET>
    Description of table xmltest_tab1 is:
    SQL> desc xmltest_tab1;
    Name Null? Type
    EMPNO NUMBER(4)
    ENAME CHAR(10)
    JOB VARCHAR2(9)
    Error Displayed is:
    A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
    occurred in :
    'oracle/xml/sql/dml/OracleXMLSave.cleanLobList ()V': Interpreting method.
    Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
    oracle.xml.sql.OracleXMLSQLException: sun.jdbc.odbc.JdbcOdbcConnection
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:1967)
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:1880)
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:1013)
    at samp10.main(samp10.java:36)
    Press any key to continue . . .
    Please send me the solution as soon as possible.
    Thanks,
    Waiting for your Reply,
    Bye,
    Vineet Choudhary
    Email id: [email protected]
    null

    Go and read about JDBC. You need to know some basics before asking such a st&*id questions.
    Paul

Maybe you are looking for