OIM11gR2 Setting Multiple Parameters in Timestamp field of DBAT GTC

Hi Experts,
I am using DBAT (database App Tables) for running GTC for trusted Recon. While setting parameters, I want to set 2 values for time stamp parameters.
Please share your ideas if i can do this on a single connector instance only or require to create a new instance all together?
Thanks in Advance.

Did you find solution for this! if so , can you please give us the solution that worked for you.

Similar Messages

  • Updating/setting multiple values in lookup field through powershell

    I'm trying to set multiple values to lookup column. I can get it to set one value but multiple values don't work
    see below
    [Microsoft.SharePoint.SPFieldLookupValueCollection] $itemValues = New-Object Microsoft.SharePoint.SPFieldLookupValueCollection
    [Microsoft.SharePoint.SPFieldLookupValue] $lookupvalue = New-Object Microsoft.SharePoint.SPFieldLookupValue
    $lookupvalue.LookupId = 1
    $lookupvalue.LookupId = 2
    $itemValues.Add($lookupvalue)
    $CMRSItems["Event Type"] = $itemValues
    $CMRSItems.Update()
    I was expecting the LookupID 1 and 2 to update but it doesn't. When i specify LookupId = 1 it works
    What am i doing wrong.
    Thanks in Advance

    Hi Patrick, 
    In your script above you're using the same object to set both ID's on. Setting the ID of $lookupvalue, then adding it to the lookupvaluecollection, before changing the ID value to 2, then adding that to the collection. 
    I wrote an article on setting fields using PowerShell, but it doesn't include multiple lookup values. It does contain multiple choice and taxonomy values though, which is a similar concept. It's here if you want to take a look: http://social.technet.microsoft.com/wiki/contents/articles/20831.sharepoint-a-complete-guide-to-getting-and-setting-fields-using-powershell.aspx
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • Setting multiple parameters in "ON VALUE-REQUEST FOR"

    Hello experts,
    I have a dynpro with two parameters on it, called PA_LABKY and PA_LABTX. The first field PA_LABKY is extended by a value help (see the code below). Normally when a user chooses a value from f4 help the field is filled with the value. That works correct. Now not the first but both fields PA_LABKY and PA_LABTX should be filled when the user chooses a value from f4 help.
    I tried it with following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pa_labky.
    get the values from database
      SELECT * FROM zrec_001t INTO TABLE lt_rec001t.
    set the first output field
      CLEAR ls_dynfieldmap.
      ls_dynfieldmap-fldname = 'LABKY'.
      ls_dynfieldmap-dyfldname = 'PA_LABKY'.
      APPEND ls_dynfieldmap TO lt_dynfieldmap.
    set the second output field
      CLEAR ls_dynfieldmap.
      ls_dynfieldmap-fldname = 'LABTX'.
      ls_dynfieldmap-dyfldname = 'PA_LABTX'.
      APPEND ls_dynfieldmap TO lt_dynfieldmap.
    display the f4 help
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          ddic_structure  = 'ZREC_001T'
          retfield        = 'LABKY'
          value_org       = 'S'
        TABLES
          value_tab       = lt_rec001t
          return_tab      = lt_returntab
          dynpfld_mapping = lt_dynfieldmap
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
    the first row contains the value for PA_LABKY
      READ TABLE lt_returntab INDEX 1 INTO ls_returntab.
    set the value on the dynpro
      pa_labky = ls_returntab-fieldval.
    the second row contains the value for PA_LABTX
      READ TABLE lt_returntab INDEX 2 INTO ls_returntab.
    set the value on the dynpro 
    move ls_returntab-fieldval to pa_labtx. "  <--- NOW THAT DOESN'T WORK
    It's the last row that doesn't work, it nothing happens with this field. How can I fill that field?
    Thanks in advance.
    Daniel

    In order to set the second field you must use the function module DYNP_VALUES_UPDATE.  Replace that last statement with a call to this function module,  you must pass the parameter name and the value.
    Regards,
    RIch Heilman
    Correct function module name
    Message was edited by:
            Rich Heilman

  • How to set multiple parameters in one EXECUTE IMMEDIATE sql

    I want to set both nls_language and nls_date_language, and set them as different languages. fnd_global.set_nls_context() doesn't work. So I think maybe I can use the EXECUTE IMMEDIATE, and add them together into one statement. But I don't know how to make that happen. Can anybody help me? Thanks very much.
    PS: It has to be done in one call.

    928091 wrote:
    Hey, thanks for your answer, I forgot to mention that it has to be in begin-end block, do you know how?EXEC is a SQL Plus API that can be used to run PL/SQL code. What it does is put the PL/SQL code in a BEGIN .. END block and run it.
    So you can also manually put the code in a BEGIN..END block and run like this.
    SQL> begin
      2     execute immediate q'[begin execute immediate 'alter session set nls_date_language = ''AMERICAN'''; execute immediate 'alter session set nls_language = ''AMERICAN'''; end;]';
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> And i dont understand what possible benefit does it makes to do a single execution into a BEGIN..END over multiple execution.
    Why this code is not of your interest, something like this
    begin
         execute immediate 'alter session set nls_date_language = ''AMERICAN''';
         execute immediate 'alter session set nls_language = ''AMERICAN''';
    end;
    /

  • Sort multiple parameters by one field & the rest other field not working!

    I want to sort based on a parameter "Status"; so if the status is Funded, Funded-as Asked, or Funded - New Designation, then I want sort by date funded field. Otherwise, I want to sort Date asked field.
    Here is formula and I receive this error message: This array must be subscripted. For example, Array<i>.
    if ({?Status}) in ["Funded","Funded - As Asked","Funded - New Designation" ] then
    {CnPrProp_1.CnPrProp_1_Date_Funded}
    else
    {CnPrProp_1.CnPrProp_1_Date_Asked}

    FYI - I have tried this trick with multiple if's instead of an Array and it worked.  But I would like to know if it is possible to have single array, rather than multiple if's.
    Formula
    ==============================================
    if ({?Status}) =  "Funded" then
    {CnPrProp_1.CnPrProp_1_Date_Funded}
    else if ({?Status}) =  "Funded - As Asked" then
        {CnPrProp_1.CnPrProp_1_Date_Funded}
    else if ({?Status}) = "Funded - New Designation"  then
        {CnPrProp_1.CnPrProp_1_Date_Funded}
    else
    {CnPrProp_1.CnPrProp_1_Date_Asked}
    ==============================================

  • Set focus on item that selected in multiple-selection list box field in infopath

    Hi
    I have  multiple-selection list box field in infopath that have for example 40 items. (I customize sharepoint list with infopath),then
     publish infopath form in to sharepoint list. users want to add new item,when they selected or checked each item in multiple selection list box, after that automatically control focus on first item, but I want to focus remain on that item
    I was selected. Why this happen?! I also set postback settings to “never” in multiple-selection list box properties. But didn’t work.
    Thanks.

    Hi,
    According to your post, my understanding is that you wanted  to find several columns based on user selection of checkboxes in one of the Multiple-selection List Box.
    I recommend to customize the form to concatenate values from choice field (with multiple values) into single line text box, and then hide the fields based on the text box value.
    We can follow the steps as following:
    Add a text box control(filed 3) on the form to hold the value selection in the multiple selection list box.
    Set the default value for the text box control as
    substring-after(eval(eval(Value, 'concat(., ";")'), ".."), ";")
    (you need to change the ‘Value’ in the formula to your multiple selection list box name: filed1).
    Add the conditional formatting on the flied: flied 3 does not contain value (you need to change the ‘Value’ in the formula to your multiple selection list box value.).
    In addition, you can add Formatting action to hide the text box control.
    Here are the result screenshots for you to take a look at:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Problem with SET GET parameters

    Hi all,
    I am facing a problem using SET and GET parameters.
    There is a Z transaction(Dialog program) where some fields of screen are having parameter ID's. That transaction is designed to diaplay/change status of only one inspection lot at a time.
    Now I need to call that transaction in a loop using BDC. I mean i need to update the status of multiple inspection lots(one after the other). Before calling the transaction I am using
    SET PARAMETER ID 'QLS' FIELD lv_prueflos.
    Unfortunately the transaction is only changing the first inspection lot. When I debugged I found that the screen field is changing in PAI. Even though in PBO it shows the next value, when it goes to PAI it is automatically changing to the first value(inspection lot).
    Example: Inspection Lots : 4100000234
                                               4100000235
                                              4100000236
    Now first time when the call transaction is being made the status of insp lot 4100000234 is changed. For the second time when insp lot 4100000235 is being passed in PBO ican see this. But the moment it enters PAI the screen field changes to 4100000234.
    Could you pls help me in solving this issue.
    Thanks,
    Aravind

    Hi,
    Problem with SET GET parameters
    Regarding on your query. Follow this below link.
    It will help you.
    Re: Problem with Set parameter ID
    Re: Problem in Set parameter ID
    I Hope it will helps to you.
    Regards,
    Sekhar

  • Problem while Binding multiple Parameters to View Object[Solved]

    Hello,
    I am facing problem while binding multiple parameters with different data types in View Object query. For example suppose I have following query in my view object.
    SELECT Header.ADDED_BY
    Header.BATCH_ID,
    FROM BATCH_HEADER Header
    WHERE :1='deptAdmin' and Header.BATCH_ID
    in
    select batch_id from batch_header_dept_mapping where dept_id in(SELECT * FROM TABLE(CAST(:0 AS TABLE_OF_VARCHAR)))
    I am able to pass the Bind variables of Array type for : 0 , using Steve's ArrayOfStringDomain example. (ArrayOfStringDomain) .
    But after passing value to second bind parameter ie.. :1 .
    I am getting the error as follows.
    ## Detail 0 ##
    java.sql.SQLSyntaxErrorException: ORA-00932: inconsistent datatypes: expected - got CHAR.
    I tried to set
    setWhereClauseParam(1,11); // 11 is Number
    setWhereClauseParam(0,arr); // arr is arr = new Array(descriptor,conn,deptid); for in parameter.
    But of no use , Please let me know if any thing missing form me or have any another solutions. Also please provide me any example if have.
    Thank you,
    Sandeep
    Edited by: user11187811 on Oct 23, 2009 7:27 AM
    Edited by: user11187811 on Oct 26, 2009 12:52 AM
    Edited by: user11187811 on Oct 26, 2009 6:51 AM

    hi.
    but when using non-Oracle named parameter binding styles as you've done (ie. , :1), regardless of what number you give each bind variable, they are sequenced 0, 1, 2 etc. As such your bind variable :1 is the 0th parameter, and your bind variable  is the 1st parameter.Your statment is correct.
    :1 i used was actually on 0th position and :0 was on 1 position. Like you said in sequence 0,1,2 etc. Now i get the answer and i corrected My mistake by assigning right values to right binding variable. and problem just solve.
    Thanks Chris.

  • Using SET GET parameters in ITS

    Hi All,
    Is it possible to use set get parameters in ITS. We want to set some parameters in a BADI and read the value in ITS Template .
    Or is there any other method to do this?
    Thanks,
    Anubhav

    Sure. In your abap program use the following code
    *  ITS macros
    INCLUDE avwrtcxm.
    GET PARAMETER ID 'YOUR_PARAMETER' FIELD SAVE_PARAMETER.
    field-set u2018~YOUR_PARAMETERu2019 1 SAVE_PARAMETER.
    field-transport.
    in the template you can now use ~YOUR_PARAMETER.
    regards,
    Klaus
    Edited by: Klaus Layer on Feb 3, 2009 5:05 PM

  • How to Insert more than one record at a time- with fixed set of values in one field

    Can someone guide as to how to insert multiple records at a time using ASP VBScript in Dreamweaver CS4 or ADDT.
    If someone can guide then the exact problem is given below.
    I have a MS access database with one table. The table has three fields. The first field is an autonumber field for ID number.
    The second field contains string values- One out of 7 predefined values. One set of records consists of 7 records containing all the seven types of predefined values in fields no 1.
    The third field is a numeric field and can contain integers.
    I want that the user can enter data for the table using an ASP form in such a way that he enters one set of records at a time in one single screen. This way he will not have to remember that he has /has not entered all the seven set of values for the field no 1.
    I am not creating fields with the 7 types of field1value as their names as it will increase the number of fields drastically.
    Please help for dreamweaver ASP VBScript.

    I have successfully inserted seven records in one form submit operation by looping through the command object execute method.
    However, the data that is being inserted by the command object is repetition of the first record and the command object is not taking any data from the text boxes for the second record onwards. In this I had used the isert record behavious generated by DW CS4 and modified it to suit my requirement. However, the data inserted in the first row is getting repeated in all the seven rows.
    Please help.
    Also advise if there are any free dreamweaver server side validation extensions available.

  • How to use SET & GET Parameters in Module Pool

    Hi Friends,
    Can anyone please tell how to use SET / GET parameters and PARAMETER ID for a text box (Input / Output field ) in module pool? What is the purpose and where do we need to do coding for it?
    Note : I will definitely give the marks for good responses.
    Thanks in advance,
    Pradeep

    Hi Pradeep,
    You can save values in the SAP memory using a parameter ID. These
    are user and terminal-session specific, but available to all internal and
    external sessions.
    SET Parameter copies the corresponding field contents into the SAP
    System memory in the PAI processing block.
    GET Parameter copies the corresponding field contents from the SAP
    memory at the end of the PBO processing block, after data has been
    transferred from the program, if the screen field still has its initial value
    You can link an input/output field to an area of the SAP memory in the
    ABAP Dictionary.
    When you use an input/output field that is defined in the ABAP
    Dictionary, its parameter ID is displayed in the Dictionary attribute
    Parameter ID in the Screen Painter.
    Usage
    SET PARAMETER ID: ’CAR’ FIELD space,
    ’CON’ FIELD space,
    ’DAY’ FIELD space.
    Here is the link that explains the usage of GET/SET in detail
    <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm">http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm</a>
    Regards,
    Sharadha

  • Multiple writers for a field

    I get an error indicating that i have multiple writers for a field table_a.item_key. I have 3 classes that use this field as shown below.
    @Entity @Inheritance(strategy=InheritanceType.SINGLE_TABLE) ...
    @Table(name="table_a")
    @DiscriminatorColumn(name="item_Type")
    abstract class A {
    @Id, @Column(name="item_key")
    public String getItemKey(){
    @Inheritance(discriminatorValue="B")
    class B extends A {
    @OneToOne
    @JoinColumn(name="item_key", updatable=false, insertable=false)
    public C getC(){
    @Entity
    @Table(name="table_c")
    class C {
    @Id, @Column(name="item_key")
    public String getItemKey(){
    Note that when i remove the relationship between B and C everything works fine. It looks like TopLink gets confused when a one-to-one relationship is mapped on a column used for another field.

    In the scenario you mention (the Vendor repository), both the Phone Number and Fax Number fields are links to corresponding Qualified Lookup tables. These are inherently multi-value fields.
    Just for the sake of clarity - with the exception of Measurement type fields, it is only lookup fields that can be set to have multiple values. Refer to the matrix <a href="http://help.sap.com/saphelp_mdm550/helpdata/en/1f/2ddb4203d82b78e10000000a155106/content.htm">here</a>.
    Mark

  • Set default value to a field in MM01

    Hi Friends ,
                Can anyone tell me that how can set a default value to field "Rounding Value" in tab "MRP1" when i go to transaction "MM01" . I tried to search user exit/Badi for the same but i didn't get OR can say not able to find.
    PLEASE HELP ME.
    THANKS IN ADVANCE.
    Kishor

    In config, there is something called a rounding profile which I think will help you achieve what you want. Here is the path to the config task.
    Implementation Guide for R/3 Customizing (IMG)
    -->Logistics - General
       -->Quantity Optimizing and Allowed Logistics Units of Measure
          -->Maintain Rounding Profile
    Here is the documentation related to that task.
    <i>Maintain Rounding Profile
    In this step you define rounding profiles for adjusting units of measure to match delivery or transport units.
    Rounding profiles can be maintained on a general or plant-specific basis. General maintenance is recommended as this requires you to enter less data.
    A distinction is made between static and dynamic rounding profiles.
    A static rounding profile comprises the following:
    Threshold value
    Rounding value
    The threshold value is the value from which the system rounds up to the next delivery quantity.
    The rounding value is the value to which the system rounds up as soon as the threshold value has been reached.
    Several combinations of threshold and rounding values can be defined for rounding profiles.
    No logistics units of measure are taken into account with static rounding profiles. This means that the system rounds up statically to the rounding values entered in the profile and not to "full pallets", for example.
    Dynamic rounding profiles comprise the following:
    Rounding method
    Rounding rule
    Indicator to show that units of measure are to be condisered only if they are allowed for the vendor or recipient.
    The rounding method controls how the system rounds off:
    No rounding
    Rounding to a multiple of the order or sales unit
    Rounding to order or sales unit, and to logistics units
    No rounding
    You have to define an additional rounding rule if you want your profile to round off to whole logistics units. This rounding rule is the key used for grouping logistics units of measure. The group contains all the units to which the system can round off when using the profile.
    You can also have the system include only those logistics units that are allowed for the vendor or recipient. Allowed units of measure are defined in unit of measure groups that can be used at material-vendor level or at material-plant level.
    Example
    a) Static rounding profile
    A material has a base unit of measure of 1 piece. Purchases are made in cases (1 case = 5 pieces) or pallets (1 pallets = 8 cases or 40 pieces).
    You maintain the static rounding profile as follows:
    From To Rounded to
    01 05 05
    06 10 10
    11 15 15
    16 20 20
    21 25 25
    26 30 30
    31 31 35
    32 40 40
    41 45 45
    46 50 50
    66 70 70
    71 71 75
    72 80 80
    81 85 85
    b) Dynamic rounding profile
    To procure materials in lower price bands, you define rounding rules containing all pallets and cases that the relevant vendors can deliver. You enter a percentage for every pallet and case category that indicates the level to which a quantity is to be rounded up to the next unit of measure.
    Rounding rule 01
    Unit of measure Round up as of
    Euro pallet 70% full
    Pallet category 2 80% full
    Case for euro pallet 65% full
    Case category 2 75% full
    You maintain a dynamic rounding profile using the rounding method "round to whole logistics units" and assign the profile rounding rule 01.
    A material has a base unit of measure of 1 piece. Purchases are made in cases (1 case = 5 pieces) or pallets (1 pallet = 8 cases or 40 pieces). The system then rounds an order quantity of 68 pieces (= 40 + 28) to 2 Euro Pallets (= 80 pieces) because the second pallet is already 70% full.</i>
    Hope this helps,
    Srinivas

  • Import Wizard with timestamp fields

    Hi there,
    I'm trying to copy data with time stamp from one server to another, but I'm keep getting the following error.
    Error 0xc0202048: Data Flow Task: Attempting insertion into the row version column "TimeStamp". Cannot insert into a row version column.
    (SQL Server Import and Export Wizard)
    Is there anyway I can deselect the timestamp field when I run the wizard?
    How can I successfully transfer the data?
    Thanks
    regards,
    Mike

    Hi, I'm having the same issue even with the On Error column set to 'ignore" in the Data Type Mapping review screen.
    I've also seen in the Conversion Details the comment about timestamp vs VarChar, but if I uncheck the Convert column I am unable to run the import.
    There must be a way to overcome this?
    Thanks
     Validating (Error)
    Messages
    Error 0xc0202048: Data Flow Task 1: Attempting insertion into the row version column "TimeStamp". Cannot insert into a row version column.
     (SQL Server Import and Export Wizard)
    Error 0xc0202045: Data Flow Task 1: Column metadata validation failed.
     (SQL Server Import and Export Wizard)
    Error 0xc004706b: Data Flow Task 1: "component "Destination - SorContractPrice" (92)" failed validation and returned validation status "VS_ISBROKEN".
     (SQL Server Import and Export Wizard)
    Error 0xc004700c: Data Flow Task 1: One or more component failed validation.
     (SQL Server Import and Export Wizard)
    Error 0xc0024107: Data Flow Task 1: There were errors during task validation.
     (SQL Server Import and Export Wizard)
    [Source Information]
    Source Location : E:\SYSPRO61\Temp\METSUPL.xls
    Source Provider : Microsoft.Jet.OLEDB.4.0
    Table: `METSUPL$`
    Column: TimeStamp
    Column Type: VarChar
    SSIS Type: Unicode string [DT_WSTR]
    Mapping file (to SSIS type): C:\Program Files (x86)\Microsoft SQL Server\100\DTS\MappingFiles\JetToSSIS.xml
    [Destination Information]
    Destination Location : siwerp
    Destination Provider : SQLNCLI10
    Table: [dbo].[SorContractPrice]
    Column: TimeStamp
    Column Type: timestamp
    SSIS Type: byte stream [DT_BYTES]
    Mapping file (to SSIS type): C:\Program Files (x86)\Microsoft SQL Server\100\DTS\MappingFiles\MSSQLToSSIS10.XML
    [Conversion Steps]
    Step 1: DT_WSTR to DT_BYTES
    SSIS conversion file: C:\Program Files (x86)\Microsoft SQL Server\100\DTS\binn\DtwTypeConversion.xml

  • CMP 2 non mandatory timestamp field in Oracle 9 release 2

    Dears,
    My machine holds the following:
    Win XP pro SP 1
    Oracle 9i release 2 DB
    Jbuilder X enterprise Edition with SUN ONE App Server plugin
    SUN ONE Application server platform edition update 2
    They are all in the same machine (so there is no problem as issue 4707531 of using different Oracle drivers)
    I connect using OCI not thin.
    I got the following problem when trying to test my Session EJB that calls CMP.
    SEVERE ( 4716): EJB5071: Some remote or transactional roll back exception occurredcom.sun.jdo.api.persistence.support.JDODataStoreException: Got a JDBC SQLException.
    Please read the remaining error stack for more information.
    NestedException: java.sql.SQLException: Invalid column typeBy tracing the problem I noticed that my code works fine if I set a timestamp field in this table, this timestamp is not mandatory.
    Is it a bug in SUN ONE with Oracle 9i, or anyone have a solution?

    Hi Ash,
    Could you please verify that your .dbschmea file and table creation scripts are in sync. The easiest way to achieve this is to recapture the .dbschema file, repackage and redeploy.
    Thanks,
    Mitesh

Maybe you are looking for

  • "do not have sufficient permissions to sync"

    My son has an iPod touch. My other son had a classic iPod for a while and I tried to point both their iPods at a shared library. I think that failed epically, and may be the cause of our later problems. Starting several months ago, #1 son couldn't sy

  • Dual Boot Network Issue

    Hi there, I just built a new computer and I've been having the following problem. It's the first time that I actually dual boot systems on a desktop and I keep encountering the following problem. When I boot into windows(XP,7 or 8 tried them all) the

  • NACHA File layout configuration

    An ACH NACHA file has the following components.. File Header Record(1) This gain has many fileds like Record type code, priority code, immediate destination etc Batch header Record(5) Record type code, company Identification Entry Detail Record(6) Tr

  • Which  is the right enhancement to trigger a mail automatically in pa40

    hi... i am working with pa40 (personal actions).. so here in 2000 screen ... if i click on save button, one mail should be triggered and sent it  to that corresponding  pernr mail id while i was updating the start date of pernr .. so can any body hel

  • "Automating" applications that really weren't designed to be automated?

    Hello folks. I recently purchased the American Heritage fourth edition dictionary and thesaurus, which comes with a CD-Rom with both products. It's a great dictionary and the one I want to use but it's an older application (I think it's called eRefer