Dynamically assigning field name and field value

Hi all,
logic:
select field1 field2 from table into workarea.
workarea-field1 will have value as 'MATNR' or 'BUKRS'  or  'KUNNR'  or............etc
workarea-field1 will have values as '10000025' or  '2010'  or  '102536' or  ............etc
Now i need to dynamically assign MATNR = 10000025
                                           or   BUKRS =2010
                                           or  KUNNR = 102536
HOW CAN WE DO THIS.

Hi,
Use the ASSIGN COMPONENT statement.
Regards,
Ankur Parab

Similar Messages

  • Assignment field value different from sort key

    Dear Forum,
    I notice in the customer line item, the assignment field value different from sort key.
    sort key for customer i maintain as doc number + fiscal year, but i notice some line item's assignment is not this information.
    for example, billing posting. some customer line item assignment is document + fiscal year but some are delivery number in assignment field. no changes made in log file.
    may i know why?
    thanks

    dear,
    as i did mention, customer master sort key no change and in the same customer line item, assignment field which carry delivery number also no change log.
    may i know where to see the subsitution? i do not think that is due to substitution.
    thanks

  • Query parameters with the same name and different values

    According to HTTP, multiple query or post parameters with the
    same name and different values are permitted. They are transfered
    over the wire in the following format -
    name1=val1&name1=val2&name1=val3
    The problem is that I can't see anyway of assigning multiple
    parameters with the same name and different values to the request
    object of mx.rpc.http.HTTPService. I have tried using the
    flash.utils.Dictionary object as it does strict key comparison but
    that doesn't work too. I have tried setting an array of values to a
    property of the request object but that sends the request to the
    server in the following format -
    name1=val1,val2,val3
    The java servlet engines throw exceptions when they see this.
    Any help would be greatly appreciated.

    If you're not on 8.1.4 move there. 8.1.3 had limitations in the wsrp
    release.
    wrote:
    I have an html select box that contains several values, and multiple
    selection is enabled. When my code runs as a remote portlet, the
    following is showing up in the soap monitor when I select multiple
    values and submit the form:
    <urn:interactionParams>
    <urn:portletStateChange>cloneBeforeWrite</urn:portletStateChange>
    <urn:interactionState>_action=addEmployeesToGroup</urn:interactionState>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}OldValue">
    <urn:value>true</urn:value>
    </urn:formParameters>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}">
    <urn:value>beatest1</urn:value>
    </urn:formParameters>
    In this case, I selected beatest1 and beatest2, but only beatest1 comes
    through to the remote portlet. Is this a known bug, and, if so, is
    there a patch or workaround available?
    Thanks in advance,
    Andy

  • How to put the column name and variable value in the alert message.

    Dear,
    how can i put the column name and variable value in the alert message text. i want to display an alert which tell the user about the empty textboxes. that these textboxes must be filled.
    Regards:
    Muhammad Nadeem
    CHIMERA PVT. LTD.
    LAHORE
    [email protected]

    Hello,
    The name of the item that fires the current trigger is stored in the :SYSTEM.TRIGGER_ITEM system variable.
    The value contained in this item can be retrived with the Name_In() built-in
    value := Name_In( 'SYSTEM.TRIGGER_ITEM') ;
    LC$Msg := 'The item ' || :SYSTEM.TRIGGER_ITEM || ' must be entered' ;
    Set_Alert_Property('my_alert_box', ALERT_MESSAGE_TEXT, LC$Msg ) ;
    Ok := Show_Alert( 'my_alert_box' ) ;
    ...Francois

  • Srvrmgr syntax: how can I create Named Subsystem with both Name and Description values?

    In looking through bookshelf, there is no syntax discussed that allows you to include both the Name value and the Description value for a Named Subsystem/Profile Configuration.  In the screenshot, the circled values were created with the server manager command-line.
    In contrast, you can create a component definition with a Name (full name) and Description.
    For CompDef, this works:
    create component definition CompDefTest1_enu for component type AppObjMgr component group Fins run mode Interactive full name "Test Comp Def Test 1" description "Test 1 Object Manager CompDef"
    For Named Subsytem, this does NOT work:
    create named subsystem Test5 for subsystem EAITransportDataHandlingSubsys full name "Test 5" description 'Test 5 Description'
    Can anyone tell me if, for a Named Subsytem, there is a proper syntax to include both the Name and Description values in the command-line, or is the only way to manually create it in the UI?

    Hi,
    I have reviewed the help for create command in srvrmgr, it does not give the full name and description as parameters for subsystem creation. However, as you indicated these parameters are available for component definition creation:
    srvrmgr> help create
      create { component group | compgrp } <component group name>
           [ full name <descriptive name> ]
           [ { description | desc } <description of component group> ]
      create { component definition | compdef } <component definition name>
           for { component type | comptype } <component type name>
               { component group | compgrp } <component group name>
           run mode { batch | interactive | background }
           [ full name <descriptive name> ]
           [ { description | desc } <description of component definition> ]
           [ with [param <param_name>=<value>[, <param_name>=<value>...]]
                  [fixparam <fixed_param_name>=<fixed_value>[,...]]]
      create named subsystem <named_subsystem_name> for
           subsystem <subsystem_name> with <param_name>=<param_value> [, ..]
    Bookshelf also has an example of subsystem creation that does not include full name and description:
    http://docs.oracle.com/cd/E14004_01/books/StoreFwdMsg/StoreFwdMsg_InstallConfig14.html#wp1351472
    In this case I suggest you to create a ticket on My Oracle Support to confirm that srvrmgr does not support creating a new subsystem with full name and description parameters, and request an enhancement request for these parameters to be included in create statement for new subsystems when using srvrmgr.
    Hope it helps,
    WSiebel

  • Can you assign field values as the file name

    When filling fillable pdf forms I would like to assign the name of the file (automate a Save As) to field values. 

    Place a regular button on the form and write the below code in the click event of button:
    app.execMenuItem("SaveAs");
    Thanks,
    Vipin

  • Dynamic PDF field value doesn't display XFDF value when no keyboard focus

    I created a simple PDF (test.pdf) file (one text field), and saved it as a "static PDF". I created a XFDF file, and when I double-click on the XFDF file, the sample PDF opens and the field is populated.
    Here's the problem: I save test.pdf as a "dynamic pdf" file. I double-click on the xfdf file and the pdf opens up, but the data is not displayed in the field. If you click on the field, the text appears. If you click out of the field, it disappears. If you update the field value, and navigate away, the value stays.
    There is nothing but the field on the page, no scripts, no subforms, nothing.
    Is this a bug in Adobe Reader 7.0? or is there some weird setting in Live Cycle Designer that I'm missing?
    Thanks

    What is your xfdf file look like? Something like:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br />     <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><br />          <f href="file:///C|/test3.pdf" /><br />     <fields><br />          <field name="firstName"><br />               <value>William</value><br />          </field><br />          <field name="lastName"><br />               <value>White</value><br />          </field><br />     </fields><br /></xfdf>

  • Dynamic inputText fields values.

    Dear all,
    Please suggest solution on following:
    In my ADF/Trinidad project I have one view which is build dynamically by <tr:iteratior/> tag depending on amount of binding elements. Purpose of the page is to read parameter names from database and ask user to provide values for those parameters. Sample code:
    <tr:iterator var="items" first="0" value="#{bindings.parameters.collectionModel}" varStatus="status" id="ip">
         <tr:inputText Label="#{items.bindings.label.inputValue}" binding="#{backing_parameters.it}" id="it"/>
    </iterator>Once user resubmits page I need create pairs of parameter/value in backing bean and use it further in business logic. My challenge is to how actually obtain these values, provided by user if amount of fields (inputText) is only determined during runtime?
    Sorry if solution is too obvious. Please guide me to the correct way.

    I think I succeeded to resolve it:
    Solution:
    1. Create ValueChangeEvent on backing bean and map it to the inputText field
    2. Add <f:attribute/> tag to map inputText field to desirable value
    3. Handle event in backing bean and obtain new values and mapping to the field from ValueChangeEvent object.
    The only issue is if user does not change value of the field, then no event created and backing bean still does not know on existence of inputText field and its value
    <tr:iterator var="items" first="0" value="#{bindings.parameters.collectionModel}" varStatus="status" id="ip" >
         <tr:inputText valueChangeListener="#{backing_parameters.event}" label="#{items.bindings.label.inputValue}" binding="#{backing_parameters.it}" id="it">
              <f:attribute name="paramName" value="#{items.bindings.name.inputValue}"/>
         </inputText>
    </iterator>
    public void event(ValueChangeEvent actionEvent) {
        actionEvent.getComponent().getAttributes().get("paramName");
        actionEvent.getNewValue();
    }Thank you.

  • Dynamic screen field values

    Hi,
    One quick question, I have created a screen with reference to a custome table fields and it is working fine. When I enter values for the first time, the values look ok in debug but when I change the values on the screen, the new values are not updated in the screen fields in debug. Old values are shown in the debug.
    I guess there is some kind of logic to do this. Like using the dynamic screen fields read or ....
    Can someone help me on this?
    Regards,
    Roopesh Singh

    hi there...
    when u first enter the values, they get into the work area related to the screen fields.....
    but when u change the values, they dont get changed in the workarea associated with the fields. since the data does not get updated in the fields, it wont show in the debugging mode. so chk ur code and make sure u update the data in the variables associated with the fields.
    do reward if helpful or get back with further queries.

  • Dynamically assign series names for SVG Chart

    I have created a line chart with 5 series in it. I would like the legend name for each series to be dynamically assigned (as a value from a field in the database). Is this possible?
    Ideally, i'd also like the number of series to be variable too. Is this possible?

    Hi,
    I am trying to use the code you gave me above (which normally works fine). But when I put it in the query below with 3 ' (3 quotes) it fails.
    Any ideas?
    Thanks
    Owen
    return
    'SELECT null link, month label, sumamt "'||:P4_FY||'"
    FROM
    SELECT
    month
    , CASE
    WHEN MONTH = '''JUN''' THEN 1
    WHEN MONTH = '''JUL''' THEN 2
    WHEN MONTH = '''AUG''' THEN 3
    WHEN MONTH = '''SEP''' THEN 4
    WHEN MONTH = '''OCT''' THEN 5
    WHEN MONTH = '''NOV''' THEN 6
    WHEN MONTH = '''DEC''' THEN 7
    WHEN MONTH = '''JAN''' THEN 8
    WHEN MONTH = '''FEB''' THEN 9
    WHEN MONTH = '''MAR''' THEN 10
    WHEN MONTH = '''APR''' THEN 11
    WHEN MONTH = '''MAY''' THEN 12
    END AS SORT_ORDER
    , sumamt
    FROM
    Select month
    , sum(DEAL_VALUE_SUM) sumamt
    from my_deals
    where country = :P8_COUNTRY
    and FY = :P8_FY
    group by month))
    ORDER BY SORT_ORDER';

  • Assigning field value to Field symbol

    Dear Experts,
    I have one program which works fine in non unicode system.. The program contains Assign statement with offset and length..
    This program dumps in Unicode system due to this instruction.. The field which i want to assign to field symbol is type P field..
    Is there any ways to avoid the dump?
    Thank you in Advance..

    Hi,
    isn't it an ABAP question in an EP forum?
    Romano

  • Dynamically assign fields to table control

    Hi All,
    I have some requirements with me... I have a report which has an output table. The output table will be filled based on some conditions.
    ex... 1) select name, id, date
          2) select name, id, time  (just an ex)
    My output table contains name, id, date, time.
    So, I would like to dynamically display the fields on to the table control to either display 1) or 2).
    Is it doable thru Visual Composer?
    Please suggest.....
    Regards,
    Manjunatha.T.S

    When you use a JDBC system, the fields may change at runtime.
    So, generally, any fields that come out of the stored procedure at runtime will be displayed in the table.
    Lior

  • EBS search string updating space on assignment field value

    Hi Experts,
    I am useing serch string to fatch assignment No.
    But after uploading bank statment assignment no. getting updated with space in it.
    Below line item i m trying to upload
    :61:1410311031C0360266,00NCSHNONREF          //NONREF    
    :86:CASH MGT 1430400013622                                      
    CASH, TEST, Pickup Loc/BANGLORE, CAS                      
    Yr /652254,Dep/30/10/201                                  
    and received attached output.
    please help to find how this space updated in assignment No.

    Hello,
    You have not mentioned, which interpretation algorithm you are using. Nevertheless, please review the following information:
    Interpretation algorithm 001 tries to find an open item via document number (BELNR) or reference number (XBLNR). If it doesn't find an open item the system tries to clear via amount. It uses the information stored on the note to payee, the search string is used to manipulate this information. Please check, if in your case  the algorithm 001 found an open item via XBLNR, and it is
    choosing the wrong document.
    All information from the note to payee is inserted in table FEBRE. If the string required is there, your mapping must include it to remove it. If you don't want to change your search string, it is recommended using algorithm 020. It only searches for document number (BELNR).
    Further, the algorithm 015 (ZUONR) works only if the number is available in the FEBEP-CHECT field or in the first line of note to payee.
    I hope this information helps.
    Best regards,
    Suresh Jayanthi.

  • Assign a name based on values

    I can't figure out how to display a name of a field based on values.  Here is what I have:
    {SEAT_RECORD.TAX_TOTAL1}
    {SEAT_RECORD.TAX_TOTAL2}
    {SEAT_RECORD.TAX_TOTAL3}
    {Tax.ID} - IDs are 1,2 and 3
    {Tax.NAME}
    I want to assign the {Tax.Name} to the the corresponding {SEAT_RECORD.TAX_TOTAL#}.
    I have 3 IDs in Tax.ID (1,2,3). I want to create a text field with the appropriate tax name. {SEAT_RECORD.TAX_TOTAL1} corresponds with {Tax.ID} 1 and therefore should display {Tax.NAME} where {Tax.ID} = 1.
    Same for {Tax.NAME} 2 and 3
    On my Report I would like to have something like this in the footer section.
    (TaxName1) {SEAT_RECORD.TAX_TOTAL1}
    (TaxName2) {SEAT_RECORD.TAX_TOTAL2}
    (TaxName3) {SEAT_RECORD.TAX_TOTAL3}
    Do I need to create a formula or SQL expression? Any help will be appreciated.
    Thanks,
    -Matt

    That doesn't work...my footers look like this then...
    Group Footer #1a: {Tax.Name} {SEAT_RECORD.TAX_TOTAL1}
    Group Footer #1b: {Tax.Name} {SEAT_RECORD.TAX_TOTAL2}
    Group Footer #1c: {Tax.Name} {SEAT_RECORD.TAX_TOTAL3}
    and the output is pretty crazy.
    I need to be able to create a variable like
    Set @Tax1 as {Tax.Name} where {Tax.ID} = 1
    That way I can just put the variable on a footer along with {SEAT_RECORD.TAX_TOTAL1} and get what I need.
    -Matt

  • Dynamically assign column names in reports

    I have a report that has to display the data for the years within the given date range.
    For example, for customer A I need to display order value placed in each year between the date range 01-dec-2010 till 31-dec-2014.
    From Date : 01-dec-2010 To Date :31-dec-2014
    Output should be a follows :
    Customer 2010 2011 2012 2013 2014
    A 50 40 60 100 20
    This means that if the date range is 2010 to 2015 then output will be as follows
    Customer 2010 2011 2012 2013 2014 2015
    A 50 40 60 100 20 50
    So the report column name must change accoding to the Fm/To Period range
    Please tell me the coding for dynamically changing report column names as per the parameters 'From Dt' and 'To Dt'.

    Hi,
    First and best option I will recommend is to create a MATRIX report.
    Second option if the number of columns are fixed,
    create fixed no of date ranges as parameters or placeholder columns (can be achieved even with 2 parameters start date and end date), you just need to use DATE is formula calculations cleverly.
    Now create formula columns and pass the date ranges as parameters to the respective column formulas.
    Best Regards
    Arif Khadas

Maybe you are looking for

  • Songs on the iPod  cannot be updated beaucse all of the playlists .....

    I was trying to update my ipod and my ipod only has 52 songs but my libary has 92 songs. i tried to updated it by left clicking where it said my "RISHI"S IPOD" and clicked update...and this message said "Songs on the iPod "Rishi's iPod" cannot be upd

  • Lumia 520

    Just bought the Lumia 520 and the Bluetooth can't pick up any devices and my car and my friends phone can't discover my phone neither. Is there a reason why?? HELP! (want to play music and answer calls via Bluetooth while driving- hands free)

  • Transfer ENTIRE iTunes library via Wifi?

    Hi, I ordered my first mac today and i cant wait for it but i was wondering how could i transfer my entire itunes library from my PC (TV, Movies, podcasts, Music, Playlists)to my new mac via the Wifi setup in my house.

  • How to customise the Finder, programmatically

    I've long complained about the Finder's lack of a location/address bar, and since most Mac people seem to cope without it, I'm going to try to write one myself. Could somebody please point me to the documentation for the Finder -i.e., public interfac

  • Customer Information in PS

    Hello PS Gurus, I am new to PS and I have a couple of questions 1)  I need to know if its possible to see customer specific information via PS? Basically I am loooking at a link between project definition and customer master for whom I am creating th