Problem in reading ITResourceLookup field value

Hi All,
I hav created an object form with an ITResourceLookup field. Also I hav created a task assignment adapter to choose the approver dynamically from a file. This adapter calls a java method to read the approver from the property file for the selected ITResource.
I am facing problem in mapping task assignment adapter variable with ITResourceLookup field of the object form. Its not coming as a string or a long.Please suggest how to read the resource name.
INIYA

Yeap INIYA.
When you have a parameter of long type and OIM shows the resource form's fields to be assigned, it will not consider the fields that field type is ITResource. For example, see the query below: SDC_FIELD_TYPE != 'ITResourceLookupField'
SELECT SDC_NAME, SDC_VARIANT_TYPE,SDC_SQL_LENGTH,SDC_LABEL FROM sdc
WHERE (SDC_FIELD_TYPE != 'ITResourceLookupField' OR SDC_NAME like '%_note%' AND SDC_NAME='orc_key'
OR SDC_NAME ='obi_key') AND sdk_key = 121 and sdc_version = 3
Yeap, OIM should consider the variant type intead of the field type.
Renato.

Similar Messages

  • How to read Choice Field values in a Formula of ohter shrepoint field

    Hi,
    i want to read choice field values(total values) in formula of other sharepoint calculated column field.
    Can anyone please help me.
    Thanks & Regards,
    Sandeep 

    Hi,
    According to your description, you might need to set the value of a column with the option from a Choice Field based on the value of another column(Site Column 1).
    The OOTB Calculated Formulas doesn’t provide such functionality to read the options of a Choice Field, we can do it via SharePoint JavaScript Client Object Model instead.
    Here is a documentation about SharePoint JavaScript Client Object Model :
    http://msdn.microsoft.com/en-us/library/office/hh185006(v=office.14).aspx
    An articel about using SharePoint JavaScript Client Object Model with steps in detail for your reference:
    http://social.technet.microsoft.com/Forums/en-US/2f679d4d-9aac-41ce-94a9-872ab258e30a/forum-faq-step-by-step-jsom-in-sharepoint-code-samples?forum=sharepointdevelopment
    Feel free to reply if there are still any questions.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Problem with reading Dynpro fields

    Hi,
    I have some tabstrips. On each tabstrip, I have a
    container for an ALV and on the bottom I have another
    subscreen for some input fields.
    Under the subscreen I have some buttons to insert, delete
    etc...
    The fields in my subscreen I have bound to DDIC table
    fields and I have defined that in my program under TABLES
    in my declaration.
    So when I write something in the fields, their content
    has been written to my table-structure defined in TABLES.
    If you double click on a line in the alv, the content of
    the line has been written to my dynpro fields in the
    subscreen.
    My problem now is:
    When You have double clicked a line and the content was
    filled in my dynpro fields and I change the values after-
    wards, I do not have the changed field content in my
    TABLES structure. It´s because, the framework isn´t
    processing my PBO of the subscreen.
    How can I call the pbo manually to get the new field
    content, when I´m pressing the button on the parent
    dynpro?
    I hope it´s possible to understand my problem!
    Cheers Arne

    Hi again,
    I have tried both functions Dynpro_field_get and read_values, but I´m not getting any content. With dynpro_field_get, I´m getting the fieldnames, but not the values!
    I have seen, when I´m pressing enter, after I have typed in the new field values, my TABLES structure has been updated. But I think, it´s not very user friendly, if You have to pay attention to press enter before pressing the "add" button...
    Any other idea? Or do You know why I´m not getting any content?
    Cheers Arne
    Message was edited by: Arne Hein

  • Reading deleted field values using change pointer

    hi
    i am triggering DEBMAS06 using change pointer technique for XD01/02/05/06 transactions.
    now when i delete data(make nulll values) in partner functions the generated IDOC is not showing the complete field itself.when i am deleting the field value and making it null the IDOC must send the fields with null values.but unable to trace out how to do this.
    can anyone let me know how to handle this situation?
    and i have extended DEBMAS06 with customer hierarchy data i.e. KNVH.i have written change pointers.now how can i populate these fields into my extension?

    Hello Moorthy,
    1. This message function in the Idoc is populated as 005 then it should replace the entrire values while posting,
    2. To populate KNVH extension you have to populate this only if you have KNVV data.. so you can either create enhance menti perfrom FILL_SEGMENT_E1KNVVM i(nf Function moduler MASTERIDOC_CREATE_DEBMAS) inclduer LVV01F01. or you can write the logic in BAdi CUSTOMER_ADD_DATA->FILL_ALE_SEGMENTS_OWN_D or in user eixt EXIT_SAPLVV01_001.
    Regards
    Naresh

  • Problem with reading timestamp field

    hello
    i use use ADO to read from oracle 10g data base
    the field in database has value 2010-11-10 15:19:00.000000000
    when i get the value of this field by executing ADO_DM->Source_Query->FieldByName(DM->DataFieldsTbl->FieldByName("FIELDNAME")->AsString)->AsString
    i get this the value 10.11.2010 г. 15:19:00 - this is the same data but in other format
    this is big problem
    how can i get the exact value in the table's field ?
    i use c++ builder 5.0
    10x all

    784633 wrote:
    hello
    i use use ADO to read from oracle 10g data base
    the field in database has value 2010-11-10 15:19:00.000000000
    when i get the value of this field by executing ADO_DM->Source_Query->FieldByName(DM->DataFieldsTbl->FieldByName("FIELDNAME")->AsString)->AsString
    i get this the value 10.11.2010 г. 15:19:00 - this is the same data but in other format
    this is big problem
    how can i get the exact value in the table's field ?
    i use c++ builder 5.0
    10x allYou are getting the value in the table's column ("field"). But the character string that represents the value stored in the table is formatted according to the controlling value of the appropriate NLS parameter. That is set first as an initialization parameter in the database, but can be overridden by an OS environment variable on the client, which can be overridden by a session setting (ALTER SESSION SET NLS.....), which can be overridden by the to_char function at the individual sql statement. Your application only has control over the last two, and if it is not exercising that control, it is dependent on something outside of its control. It is dependent on something it cannot depend on ....

  • How to read the field value from Table Control

    Hello Experts,
    I am creating my first Table Control Screen. Basically I have to create a screen (102) with a table control which has 2 fields: A_QTY, B_QTY and 2 Buttons: SAVE, EXIT.
    When Clicked on 'SAVE' the data (MATNR) from a previous screen (101)  and the data (A_QTY, B_QTY) from the new screen (102) should be saved into a Z-table.
    Internal table t_data has 3 fields.
    MATNR
    A_QTY
    B_QTY.
    Table Control TC_RACK was declared like this:
    controls tc_rack type tableview using screen 0102.
    I/0 Fields:
    A_QTY type ZQTY.
    B_QTY type ZQTY.
    The screen Flow Logic:
    process before output.
    module status_0102.
      loop at t_data into w_data with control tc_rack.
      endloop.
    process after input.
      module exit_0102 at exit-command.
      loop at tc_rack.
      endloop.
    module user_command_0102.
    module status_0102output.
      set pf-status 'STATUS_102'.
      set titlebar 'TITLE_102'.
      describe table t_rack lines tc_rack-lines.
    endmodule.                 "status_0102 output
    process after input.
    module user_command_0615 input.
    case ok_code.
       when 'SAVE_RK'.
       when others.
    endcase.
    endmodule.                 "user_command_0102 input
    Now for eg, when the users enter values for A_QTY and B_QTY like this:
    A_QTY     B_QTY
    1000         2000
    3000         4000
    How can I read these values and pass them to T_DATA so that I can save it into Z-table?
    I greatly appreciate your help.
    I've gone through some previously posted threads and could not understand because my knowledge in this area is preliminary.
    Thanks a lot.
    Could you please let me know
    Edited by: dev a on Jan 13, 2010 2:46 PM

    Hi dev a
    You should use
      DATA: lv_name(30) TYPE c.
      FIELD-SYMBOLS: <QTY> type ZQTY.
    GET CURSOR FIELD lv_name.   "Get the field name in table control
    check sy-subrc = 0.
    assign  (lv_name) to <QTY>.  "Here you get the value in <QTY>
    check sy-subrc = 0.
    Also use <your table control>-current_line to get the table index uo're currently on.
    Hint: Do not use GET CURSOR LINE if you want to get table index since this gives you the line relative to dialog screen
    Good luck
    Dean Q.
    Edited by: Dean Q on Jan 13, 2010 11:11 PM

  • Problem with reading an unusual value from a FP-RTD-124 module.

    I need help troubleshooting a FP-RTD-124 module. The problem I am having is that when I monitor the channel in FieldPoint Explorer, I get what appears to be a random number for the value. The numbers range from around -40C to +50C. I would expect the value to be consistent since it should be room temperature. FP Explorer also indicates that the channel status is "Successful!" and the rest of the channels are "Open RTD".
    I am convinced that the RTD is wired in correctly to Channel 0 of the FP module. I have pulled the RTD out and measured consistently (using a multimeter) the resistance at ~107.4 Ohms which is what I would expect at room temperature. I have also tried changing the RTD and using diff
    erent channels but I am still receiving those random numbers for the value. In addition, I made sure the channel was configured with the same TCR value as the RTD.
    --- Additional Information ---
    The RTD is a 4 wire Minco 100 Ohm Platinum RTD with a TCR=0.00385. I am using FieldPoint Explorer 3.0.2 (build 177). The network module is a FP-1600 connected directly to a computer using a x-over ethernet cable. The terminal base for the FP-RTD-124 is a FP-TB-1.
    Any help would be appreciated.
    Ken

    Ken,
    The first thing to do is to make sure the FP-RTD-124 is working correctly. Take a fixed resistor (100-200 ohms) and wire it between +Sense and -Sense. Add one jumper wire from +Sense to +Excite and a second one between -Sense to Com. Set the channel to the 0-400 Ohm range in FieldPoint Explorer. If the resistance is a steady, accurate value then the FP-RTD-124 is fine and you need to double check the RTD itself. If the reading is jumping around on the FP-RTD-124, then there is either an outside source of influence (make sure there are no connections to the V & C terminals on the terminal base) or the FP-RTD-124 has been damaged. If the FP-RTD-124 is behaving correctly, then check the lead to lead resistance on your RTD. It may be that one of the wires is
    partially open that you did not catch when measuring with the DMM (assuming you used a 2 wire DMM).
    Regards,
    Aaron

  • Problem in reading the row values in table display format.

    Hi All
       I created UI asTable display format using three columns( name, email and resume ).
    In this Resume column type is Link to Action. This entire column contains text as Resume  - this element type is Link to action.
    When click on Resume that respective row values I have to capture.
    I have used following code, but It is capturing based on lead selection. ( On the UI, lead selection row is different and clicking on Resume row is different ).
    DATA lo_nd_email TYPE REF TO if_wd_context_node.
      DATA lo_el_email TYPE REF TO if_wd_context_element.
      DATA ls_email TYPE wd_this->element_email.
      DATA lv_email_ref LIKE ls_email-email_ref.
    navigate from <CONTEXT> to <EMAIL> via lead selection
      lo_nd_email = wd_context->get_child_node( name = wd_this->wdctx_email ).
    get element via lead selection
      lo_el_email = lo_nd_email->get_element(  ).
    lo_el_dashboard_1->get_attribute(
        EXPORTING
          name =  `NAEM`
        IMPORTING
          value = lv_name ).
    Please help me on this ..thanks in advance....

    Hi,
       Just declare a variable in the parameters of the method,which u declare for the cell action.
    CONTEXT_ELEMENT      type ref to                      CONTEXT_ELEMENT         as importing paramter
      code:
        context_element->get_static_attributes(
          IMPORTING
            static_attributes = stru_sflight ).
    this will surely solve ur problem
      regards,
    Madhu

  • Reading Target field Values in Mapping Runtime

    Hi all,
    I have a requirement ,
    source                target
    A                           X
    B                           Y=X+Z+W
    C                           Z=X+Y
    D                           W
    Kindly can some one help me,how this can be achived in mapping?

    Hi,
    are you sure about that ?
    B                           Y=X+Z+W
    C                           Z=X+Y..... so Z=X+X+Z+W    !!!!!    so 2X = -W... (in mathematic) 
    does "+" is "add" or "concatenate"?
    Else as X comes from A, W comes from D... in your mapping use the sources A and D, and do not try to use your targets... Or if you have have to the same value, reuse the rule ! and point it to two target fields
    regards
    Mickael

  • Screen field value under POV event

    Hi All,
    I have one issue...please suggest me solution for this.
    In module-pool program i have one screen(1000) which has one field(hrname_1000).
    Under this event:
    PROCESS ON VALUE-REQUEST.
    FIELD hrname_1000 MODULE hrname_1000.
    under this module hename_1000 i have used F4IF_INT_TABLE_VALUE_REQUEST to put a search help for field hrname_1000.
    after that i am trying to retrive HR related stuff's based on the field on module-pool i.e i am using hrname_1000 in the where condition.
    but problem is that im not getting value for hrname_1000 which im giving in the module-pool screen.
    thats y my select query is not working.
    Where as im getting values for the hrname_1000 under PBO & PAI.
    It will look like below.
    PROCESS ON VALUE-REQUEST.
    FIELD hrname_1000 MODULE hrname_1000.
    (under the above module)
    SELECT DISTINCT ename plans FROM pa0001 INTO CORRESPONDING FIELDS OF TABLE itab WHERE stell = '50001026'.
    LOOP AT itab INTO wa WHERE ename = hrname_1000.
    ENDLOOP.
    Please suggest
    Thanks & regards
    Ansumesh

    Hi,
    I guess you don't get back value from function F4IF_INT_TABLE_VALUE_REQUEST to your global data object hrname_1000, althought it is returned from search help back to screen field.
    See this thread. I explained there [how values are returned from screen field to a variable|https://www.sdn.sap.com/irj/scn/profile?userid=3509696]
    You may also try with FM DYNP_VALUES_READ for reading dynpro fields values in POV.
    Regards
    Marcin

  • Not able to retrieve netui hidden field values in java script

    I have problem in retrieving hidden field values in javascript
    I have declared hidden field as below,
    <netui:hidden dataSource="actionForm.selectedColumns" tagId="hiddenSelectedfield"></netui:hidden>
    and retrieving with tagId in javascript as below,
    obj1 = document.getElementById(tagId).style;
    its not getting value with tagId defined in netui tag.
    Any suggestion...
    Thanks,
    Amit

    Hi,
    I'm a new bee to this adobe forms and VBS.Could you explain more on that Fdf file or Can you send some documentation where i can go through of.
    Even i'm very much happy to share the pdf file..the problem is it is binded with the SAP browser.So i cant make a copy to my local system,But i can explain all the technical stuffs inside the form.
    The form is developed using adobe lifecycle designer,i can see the fields are defined in the design view.
    The fields which i'm accessing to enter the values are visible & Set user defined values..
    when you access through the SAP portal,it opens up inside the browser ..so every field you choose or select additional fields get added based on the selection..
    The "GetField" code you have shared works perfectly fine..i could read all data,or i could select a particular field to retrieve the field.
    But the "SetField" code you have shared locating the field but it is not writing the value into the field.I called a setfocus method on the particular field as well..then put f.value = fieldvalue still it chooses the particular field but didnt feed the value...
    is it possible to call a keystroke to the particular field?
    if you have any ideas please throw it up on me..i'll try all my possibilities.
    Thanks for your time !

  • Field value not getting updated in R/3

    Hello Experts!!
    I am facing a problem while updating a field value back in R/3.
    The Syncbo is of type U01 and the field has data type char 40.
    The meRepMeta.XML file has following description
    Field name="DESCR1" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
    <Input type="modify">false</Input>
    1) when i test the function module in R/3. The field value is gets updated.
    2) when i create a record for the sync BO from client , i can see the field value being created on the client.
    3) when i synchronize, i dont get any error or warning and get a successful message.
    S        15.07.2008 12:19:09 All updates for one TOP block were successful (seq. no.=65, TOP cntr.=0000000001)
    15.07.2008 12:19:09 Synchronizer UPLOADER completed successfully (mobile ID=0000002646, SyncBO=ZDBMSERORD)
    I am not able to locate where is the problem
    Please suggest!!
    Regards,
    Priya Ghosh

    Hi,
    please check your maping in the create handler in MEREP_SBUILDER. Perhaps the value is created on the client but not mapped to the field of the function module. Furthermore have a look into MEREP_MON and see if the data gets forwarded in there.
    At last I would dump the information received by the function module into a table without any logic. So you can see what data actually is forwarded into the funct module - if brake point i not possible.
    Hope this helps.
    Regards,
    Oliver

  • How we can Print a field Value in last line of the layout

    Hello:
    I am doing Check printing report ... Accroding to that I am facing a problem to print a Field value in last line of the layout....Anyone Can help to this please.....

    Hello,
    Take a look to the example provided in the note :
    Note.253881.1 How to Create a Report With a Frame Only on the Last Page at a Fixed Position
    Regards

  • How to read multiline element values to a table

    Hello every one,
    I am facing a problem while reading multiline element values for workflow container.
    Through portal i am populating multipul records to the structure in wrokflow and they are storing fine, but when i am trying to read
    them through SAP_WAPI_READ_CONTAINER and reding with SWC_GET_TABLE OR SWC_GET_ELEMENT to a table with similar structure, i am not geitting the values.
    DATA: lt_url TYPE STANDARD TABLE OF ZHRESS_URL WITH HEADER LINE.
    CALL FUNCTION 'SAP_WAPI_READ_CONTAINER'
            EXPORTING
              workitem_id                    = '476329'                            "for instance i have hard coded the value
             LANGUAGE                       = SY-LANGU
             USER                           = SY-UNAME
          IMPORTING
            RETURN_CODE                    =
            IFS_XML_CONTAINER              =
            IFS_XML_CONTAINER_SCHEMA       =
           TABLES
             SIMPLE_CONTAINER               = lt_container
            MESSAGE_LINES                  =
            MESSAGE_STRUCT                 =
            SUBCONTAINER_BOR_OBJECTS       =
            SUBCONTAINER_ALL_OBJECTS       =
      swc_get_table wf_container 'URL' lt_url.
    the above element URL is multiline structure(ZHRESS_URL).
    Request your guidence.
    Thanks,
    Krish.

    Hello,
    Just look in SIMPLE_CONTAINER, you'll see mutiple entries if there's a table, eg:
    ADDRESSSTRINGS                   USSMITHJ
    ADDRESSSTRINGS                   USJONESB
    You can just read them using normal ABAP.
    regards
    Rick Bakker
    hanabi technology

  • Problem with READ Statement in the field routine of the Transformation

    Hi,
    I have problem with read statement with binary search in the field routine of the transformation.
    read statement is working well when i was checked in the debugging mode, it's not working properly for the bulk load in the background. below are the steps i have implemented in my requirement.
    1. I selected the record from the lookuo DSO into one internal table for all entried in source_packeage.
    2.i have read same internal table in the field routine for each source_package entry and i am setting the flag for that field .
    Code in the start routine
    select source accno end_dt acctp from zcam_o11
    into table it_zcam
    for all entries in source_package
    where source = source_package-source
         and accno = source_package-accno.
    if sy-subrc = 0.
    delete it_zcam where acctp <> 3.
    delete it_zcam where end_dt initial.
    sort it_zcam by surce accno.
    endif.
    field routine code:
    read table it_zcam with key source = source_package-source
                                                 accno  = source_package-accno
                                                 binary search
                                                 transportin no fields.
    if sy-subrc = 0.
    RESULT  = 'Y'.
    else.
    RESULT = 'N'.
    endif.
    this piece of code exist in the other model there its working fine.when comes to my code it's not working properly, but when i debug the transformation it's working fine for those accno.
    the problem is when i do full load the code is not working properly and populating the wrong value in the RESULT field.
    this field i am using in the report filter.
    please let me know if anybody has the soluton or reason for this strage behaviour.
    thanks,
    Rahim.

    i suppose the below is not the actual code. active table of dso would be /bic/azcam_o1100...
    1. is the key of zcam_o11 source and accno ?
    2. you need to get the sortout of if endif (see code below)
    select source accno end_dt acctp from zcam_o11
    into table it_zcam
    for all entries in source_package
    where source = source_package-source
    and accno = source_package-accno.
    if sy-subrc = 0.
    delete it_zcam where acctp 3.
    delete it_zcam where end_dt initial.
    endif.
    sort it_zcam by surce accno.
    field routine code:
    read table it_zcam with key source = source_package-source
    accno = source_package-accno
    binary search
    transportin no fields.
    if sy-subrc = 0.
    RESULT = 'Y'.
    else.
    RESULT = 'N'.
    endif.

Maybe you are looking for