Create the item entry APi

Dear brothers,

I am creating an API to create entries for the item and when I cal it I found this error
«* ORA-01400: cannot insert NULL into ('HR'.» "" "PAY_ELEMENT_ENTRIES_F '." " EFFECTIVE_END_DATE') *.
* ORA-06512: at the 'APPS '. "PAY_ELEMENT_ENTRY_API", line 898. "

However, the EFFECTIVE_END_DATE is the output parameter and it says that it cannot be null.

any help in this please?

Thanks to you all

Please copy - paste the code that you use.

Look below for the code example-

Declare
--
l_effective_start_date   date     ;
l_effective_end_date     date     ;
l_element_entry_id       number   ;
l_object_version_number  number   ;
l_create_warning         boolean  ;
--
Begin
--
For csr_emp in (select * from vb_temp_es_employee
                where person_id is not null) loop
/* Assignment */
For csr_asg in (Select * from apps.per_all_assignments_f
       where person_id = csr_emp.person_id
       and sysdate between effective_start_date and effective_end_date) loop
--
APPS.pay_element_entry_api.create_element_entry
  (p_validate                    =>    false
  ,p_effective_date              =>    csr_asg.effective_start_date
  ,p_business_group_id           =>    4063
  ,p_assignment_id               =>    csr_asg.assignment_id
  ,p_element_link_id             =>    21534 -- Tax Withholding Rates Override
  ,p_entry_type                  =>    'E'
  ,p_creator_type                =>    'F'
  ,p_input_value_id1             =>    159959
  ,p_input_value_id2             =>    159960
  ,p_input_value_id3             =>    159961
  ,p_entry_value1                =>    'A'
  ,p_entry_value2                =>    '100'
  ,p_entry_value3                =>    '1'
  ,p_effective_start_date             => l_effective_start_date
  ,p_effective_end_date               => l_effective_end_date
  ,p_element_entry_id                 => l_element_entry_id
  ,p_object_version_number            => l_object_version_number
  ,p_create_warning                   => l_create_warning
  );
  --
End loop;
End loop;
End;

Also initialize your session before you run the API-

alter session set nls_language = 'AMERICAN' ;

begin
 apps.fnd_global.apps_initialize(12447,20536,800);  -- user_id, responsibility_id, application_id
 end;

INSERT into fnd_sessions
           (session_id, effective_date)
SELECT userenv('sessionid'), sysdate
   FROM sys.dual;

select * from per_people_v
where rownum < 2;

Tags: Oracle Applications

Similar Questions

  • LabVIEW 2014 app installer doesn't create files % 2Ffiles in the documents and does not create the registry entries at least as administrator

    the LabVIEW 2014 32 bit app installer doesn't create folders/files in personal documents folder and does not create the registry entries in hkey_current_user\software except as an administrator.

    It's a true statement.

    You must change the windows policies, user restrictions (not recommended), normally the register (write) access is limited to normal users.

  • How to create the text entry?

    I created a table of text input fields class (TextBox) custom.  When the user types something into a text box, I want to compare the expected response (responses: Array).  I can't get the keyPressed function to read the input text.  When I trace box [boxnum] .text, it says "undefined".  What I am doing wrong and how I can fix it?


    var box: Array = new Array (6);
    responses of the var: Array = ['-36', '-36', '216', ' / 9 "," / 9 "," 24 "];
    var boxNum:int = 0;

    Sandbox (null);

    function setBox(event:Event):void {}
    box [boxNum] = new TextBox;
    addChild (box [boxNum]);

    box [boxNum] .x = 100; box [boxNum] there = 100 +(30*boxNum);
    Box [boxNum] .addEventListener (KeyboardEvent.KEY_DOWN, keypressed);
    }

    function keyPressed(event:KeyboardEvent):void {}
    Reply.Text = "";
    if(Event.keycode == Keyboard.Enter) {}
    var myText:String = box [boxNum] .text;
    trace (Box [boxNum]. (Text);
    If (myText is {answers [boxNum])}
    Reply.Text = 'It.';
    boxNum ++;
    Sandbox (null);
    } else {}
    Reply.Text = "try again.";
    }
    }
    }

    This is why your code does not work.  your TextBox instances are movieclips and movieclips have no text properties.

    If you assign the textfield object that is a child of TextBox and instance name, you can reference the textfield object using the dot notation:

    var box: Array = new Array (6);

    responses of the var: Array = ['-36', '-36', '216', ' / 9 "," / 9 "," 24 "];

    var boxNum:int = 0;

    Sandbox (null);

    function setBox(event:Event):void {}
    box [boxNum] = new TextBox();
    addChild (box [boxNum]);

    box [boxNum] .x = 100;

    box [boxNum] there = 100 +(30*boxNum);
    Box [boxNum] .addEventListener (KeyboardEvent.KEY_DOWN, keypressed);
    }

    function keyPressed(event:KeyboardEvent):void {}
    Reply.Text = "";
    if(Event.keycode == Keyboard.Enter) {}
    var myText:String = box [boxNum].yourtextfield.text;  where yourtextfield is your textfield instance name class' are
    trace (MyText);
    If (myText is {answers [boxNum])}
    Reply.Text = 'It.';
    boxNum ++;
    Sandbox (null);
    } else {}
    Reply.Text = "try again.";
    }
    }
    }

  • Failed to create the element on the page

    Hi all

    I can't create the item on the page.

    I tried

    for (int32 spreadIndex = 0; spreadIndex < spreadCount; spreadIndex ++)

    {

    UIDRef spreadUIDRef (data, spreadList-> GetNthSpreadUID (spreadIndex));

    Spread InterfacePtr < ISpread > (spreadUIDRef, UseDefaultIID());

    Assert (spread);

    if (! spread) {

    Break;

    }

    Int32 numberOfPages = spread-> GetNumPages();

    SDKLayoutHelper layoutHelper;

    for (int32 nPage = 0; nPage < numberOfPages; nPage ++)

    {

    UIDRef page (database, spread-> GetNthPageUID (nPage);)

    PMRect rect1 (0,0,50,100);

    UIDRef pageItemRef = layoutHelper.CreateRectangleFrame (page, rect1);

    }

    }

    Please help me!

    The page is not the parent of the elements on the page.

    The parent of a page element (kSplineItemBoss) is kSpreadLayerBoss, the parent of a page (kPageBoss) is kSpreadLayerBoss too.

    You can create page on kSpreadLayerBoss items.

  • Hook the user to create the entry for the item

    Hi all
    I'm working on R12
    I have a requirement to create an entry element as and when a record SIT is created with a particular segment of this record with a special code.

    something like segment1 = backward and segment2 = approved

    I need to create an entry for the item when a record SIT is created with segment1 as arrears and approved segment2.

    I'm looking at the approach of user hook... How is it possible?

    Enjoy your entries...

    Thank you
    SRS

    Open the form when the user to enter the SIT.

    In the menu help--> diagnostic-->--> personalize a custom code.

    Enter a description for your extension, and then set level - to play safely so that it fires for the entire organization.

    Enter the trigger event, before INSERTION. Condition: SIT.NAME = "your name to sit here."

    Action tab
    Type: Builtin
    Builtin type: run a procedure
    Argument: name of the PLSQL procedure

    Maybe you can add a message before and after all to all, for debugging.

  • create the document using the CMIS REST API

    Hello! I would like to integrate my java application with Oracle Webcenter via the REST API of CMIS. I can read, delete documents, but have some problem with creating one.

    I get success only when I create document (type = "/ ucmserver / IDC:GlobalProfile") with the name "idcPrimaryFile". In other cases I have the exception:

    oracle.webcenter.content.integration.RepositoryException: November 12, 2015 08:52:06 oracle.webcenter.content.integration.spi.ucm.DocumentManager mapBinaryPropertiesToTransferFile

    GRAVE: Impossible to perform the action on document with binary because the binary name and the name of the node must be the same, but they are not.  The binary name is XXX and the name of the file is idcPrimaryFile

    My properties:

    Properties =]

    (PropertyIds.OBJECT_TYPE_ID): type.

    (PropertyIds.NAME): name,.

    "/ ucmserver / IDC:GlobalProfile.ora:p:dDocType ':"Application. "

    ' / ucmserver / IDC:GlobalProfile.ora:p:dDocTitle ': 'Test ',.

    ' / ucmserver / IDC:GlobalProfile.ora:p:dSecurityGroup ': 'Public ',.

    ]

    I would appreciate help

    Hello! I solved my problem, but with a workaround.

    I will try to explain the problem and how it is possible to create documents via Oracle Webcenter Content Management API REST CMIS:

    For the next POST request:

    POST/rest/api/cmis/children/ucmserver? UID = IDC:Folder / FLD_USERS & versioningState = none HTTP/1.1

    Host: 192.168.32.192:8888

    User-Agent: Mozilla/5.0 (X 11; Linux x86_64; RV:38.0) Gecko/20100101 Firefox/38.0

    Accept-Encoding: gzip, deflate

    Connection: keep-alive

    Accept-Language: en-US, en; q = 0.5

    Content-Type: application/atom + xml; type = entry

    Cache-Control: no cache

    "http://www.w3.org/2005/Atom' xmlns:cmis ="http://docs.oasis-open.org/ns/cmis/core/200908/"xmlns:cmisra ="http://docs.oasis-open.org/ns/cmis/restatom/200908/"xmlns:chemistry ="http://chemistry.apache.org/">."

    urn: uuid:00000000 - 0000-0000-0000-00000000000

    test

    2015 11-13 T 08: 06:27.014Z

    a text

    Public

    test

    Application

    MyTitle

    / ucmserver / IDC:GlobalProfile

    I get the response from the server

    Error 500 - Internal server error

    oracle.webcenter.content.integration.RepositoryException: 18 November 2015 05:24:04 oracle.webcenter.content.integration.spi.ucm.DocumentManager mapBinaryPropertiesToTransferFile

    GRAVE: Impossible to perform the action on document with binary because the binary name and the name of the node must be the same, but they are not.  The binary name is test , and the name of the file is idcPrimaryFile.

    When the test is the document name.

    This request, I checked with an another compatible services of CMIS (IBM FileNet and OpenCMIS InMemory repository). I created the document with name test it.

    Workaround solution:

    POST request:

    POST/rest/api/cmis/children/ucmserver? UID = IDC:Folder / FLD_USERS & versioningState = none HTTP/1.1

    Host: 192.168.32.192:8888

    User-Agent: Mozilla/5.0 (X 11; Linux x86_64; RV:38.0) Gecko/20100101 Firefox/38.0

    Accept-Encoding: gzip, deflate

    Connection: keep-alive

    Accept-Language: en-US, en; q = 0.5

    Host: 192.168.32.192:8888

    Content-Type: application/atomsvc + xml

    Slug: test

    Cache-Control: no cache

    "http://www.w3.org/2005/Atom' xmlns:cmis ="http://docs.oasis-open.org/ns/cmis/core/200908/"xmlns:cmisra ="http://docs.oasis-open.org/ns/cmis/restatom/200908/"xmlns:chemistry ="http://chemistry.apache.org/">."

    urn: uuid:00000000 - 0000-0000-0000-00000000000

    test

    2015 11-13 T 08: 06:27.014Z

    a text

    Public

    test

    Application

    MyTitle

    / ucmserver / IDC:GlobalProfile

    I created the document with the name test in Oracle Webcenter.

    The differences between applications are:

    Content-Type: application/atomsvc + xml

    Slug: test

    So I'm not sure that the Oracle Webcenter Content Management Service STILL provides "correct" implementation of the OASIS CMIS specification, because I found nothing in therehttp://docs.oasis-open.org/cmis/CMIS/v1.0/cmis-spec-v1.0.html on the Slug query parameter and it is not clear to me how the Oracle Webcenter Content Management REST Service works with Content-type application/atom + xml; type = entry (I mean according to CMIS specification().



    It will be very useful for me to get another point of view. Maybe someone could correct me if I'm wrong.

    Thanks in advance.

  • Create the new virtual machine using Java API vCloud

    Hi guys,.

    I am trying to create the new virtual machine in TIME, but I've stuck here. The API I'm using is vcloud-java-sdk - 1.0.jar.

    Could you please show me a code snippet how to do this?

    For now I do it like this:

    RecomposeVAppParamsType recomposeVAppParamsType = new RecomposeVAppParamsType();

    List the items < CompositionItemParamType > = recomposeVAppParamsType.getItem ();
    ReferenceType vappTemplateVMRef = new ReferenceType();

    // ??? seems that new reference to the new virtual machine should be here. But how to create this VM
    CompositionItemParamType compositionItemParamType = new CompositionItemParamType();
    compositionItemParamType.setSource (vappTemplateVMRef);

    Items.Add (compositionItemParamType);
    ReferenceType vAppRef is Vdc.getVdcByReference (vcloudClient, vdcRef) .getVappRefByName ("vApp_Websrv");.

    Vapp.getVappByReference (vcloudClient, vAppRef) .recomposeVapp (recomposeVAppParamsType);

    One day before I played with Web Services SDK, which is much easier to understand. I was able to create the vApp and VMs in vSphere. Is it possible to import machines virtual vSphere to vCloud? Should what API I use for this?

    Thank you

    Hello

    You cannot add a new empty virtual machine in a paralytic.

    Instead, you can add a virtual machine from an existing vapp, vapptemplate.

    To import a vsphere vm to vcloud.

    Import vsphere vm as VAPP in vcloud. VMWVimserver-> importVmAsVApp()

    The importation of vsphere vm, as vAppTemplate, in vcloud. VMWVimserver-> importVmAsVAppTemplate()

    See also the example of ImportVmAsvAppTemplate.java, which is part of the vcloudjavasdk group.

    Kind regards

    Rajesh Kamal.

  • MSConfig does not display the item (by default) startup under HKCU\Software\Microsoft\Windows\CurrentVersion\Run. Bug creates the feat of malware to hide the user startup items, msconfig.

    The following question will fail be displayed in MSConfig

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun]
    @= "c:\\users\\steven\\appdata\\local\\temp\\6csjbd5.exe".

    I came across this, after being attacked by malware. In general, I use MSConfig to disable all startup items when troubleshooting an attack and attempt to regain control of the system. MSConfig lead me to believe I had disabled all startup items, but he fails to show or disable the (default) entry to the registry key above. Indeed, it's an exploitable bug that is currently used by malware developers to hide from end users, armed with MSConfig. As a side note, CCleaner has the same problem. The only solution is to change the value directly using RegEdit (clear).

    Hello

    Method 1:

    You can run Windows Defender in offline mode

    http://Windows.Microsoft.com/en-us/Windows/what-is-Windows-Defender-offline

    Method 2:

    Analysis System File Checker and check:

    How to use the System File Checker tool to resolve missing or damaged on Windows Vista or Windows system files

    I hope this helps!

  • The procedure entry point ucrtbase.terminate could not be found in the api-ms-win-crt-runtime-l1-1-0.dll dynamic link library

    Running Windows 7 Home premium

    Hi I get this error when I try to add or remove windows features. Before I even tried to change anything, I get this error when I try to access point to add or remove windows features. I just reinstall windows then perhaps it's to do with it?

    ERROR

    The procedure entry point ucrtbase.terminate could not be found in the api-ms-win-crt-runtime-l1-1-0.dll dynamic link library

    If anyone knows what this means or what I have to do to get rid of the error, any help would be accepted with gratitude.

    Best regards Steve

    Hi, I have now discovered what the problem was. It wasn't Office exactly. Rather have just reinstalled windows 7, windows update did not work properly. Virtually no updates had been installed. I had to run the "windows update diagnostic" program from Microsoft support. Once that had solved the problem of update on 180 updates have been installed. Once they have been installed the problem with the error has been resolved. I do not know what update fixed but one of them did.

    Best regards Steve

  • How to create IT strategy using the BES administrator API

    Hi all

    Can tell me, how to create IT strategy using the BES administrator API.

    Please provide me with the code example.

    Thanks in advance.

    Kind regards

    Sampath

    Hi Sebastian,.

    The Administration of BlackBerry API does not support the creation of it political. This feature is currently with the development of control and review for a future version of the BlackBerry Web Services for the Administration of the company.

    Kind regards

  • Delay with the SendInput Windows API: entry to the editor, IE or Notepad is delayed

    Hello

    We have developed a virtual keyboard (vk) and use the Windows API to display it. Later, we the vk is used to enter the keys to the internet explore.

    The problem is the keys take duration display sometimes and sometimes, there is a delay and the key appears only once the following keys is pressed. What is causing this behavior? I used to use the native C++ API, and here's the function that calls the SendInput API:

    void CallSendInput (int Vcle, int nKbdState)
    {
    Inpt of ENTRY = {INPUT_KEYBOARD, {0}};

    If (pfKeyPress)
    return;

    If (nKbdState & 0x01) {inpt.ki.wVk = VK_SHIFT; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x02) {inpt.ki.wVk = VK_CONTROL; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x03) {inpt.ki.wVk = VK_CANCEL; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x04) {inpt.ki.wVk = VK_MENU; SendInput (1, & inpt, sizeof (INPUT)) ;}

    inpt.ki.wScan = MapVirtualKey (Vcle, MAPVK_VK_TO_VSC);
    INPT. Ki.time = 0;
    inpt.ki.dwExtraInfo = 0;
    inpt.ki.dwFlags = 0;

    inpt.ki.wVk = Vcle;

    SendInput (1, & inpt, sizeof (INPUT));
    inpt.ki.dwFlags = KEYEVENTF_KEYUP;

    SendInput (1, & inpt, sizeof (INPUT));

    bKEYUPForced = true;
    If (nKbdState & 0x01) {inpt.ki.wVk = VK_SHIFT; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x02) {inpt.ki.wVk = VK_CONTROL; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x03) {inpt.ki.wVk = VK_CANCEL; SendInput (1, & inpt, sizeof (INPUT)) ;}
    If (nKbdState & 0x04) {inpt.ki.wVk = VK_MENU; SendInput (1, & inpt, sizeof (INPUT)) ;}

    }

    I'd appreciate the solution to this.

    Hello

    Your message is beyond the scope of these Microsoft Community forums. It is better suited for the MSDN Developer audience. Please click on the following link and post your question in the appropriate forum.

    MSDN forums: Index

    http://social.msdn.Microsoft.com/forums/en-us/categories

    MSDN forums:

    http://social.msdn.Microsoft.com/forums/en-us/home#category=usingforums&filter=AllTypes&sort=lastpostdesc&content=content

    Concerning

  • API to create the purchase order in the Oracle applications?

    Hi all

    Can you please tell me the API to create the purchase order in the Oracle Applications.

    Hello

    Please read the screenshot. There is no standard API to create a purchase order.  Better go to the open Interface to create the purchase order.

  • Create the ProviderVDC vai vCloud API

    I want user vCloud API to create the ProviderVDC, but there is an error, anyone can help me? Thank you!

    The XML form beolw:

    March 19, 2015 14:27:21 com.vmware.vcloud.sdk.admin.extensions.VcloudAdminExtension createVMWProviderVdc

    INFO: POST URL - https://10.0.70.23/API/admin/extension/providervdcsparams

    March 19, 2015 14:27:21 com.vmware.vcloud.sdk.RestUtil post

    INFO: POST URL - https://10.0.70.23/API/admin/extension/providervdcsparams

    March 19, 2015 14:27:21 com.vmware.vcloud.sdk.RestUtil post

    NEWS: POST Request Body - <? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >

    " < ns9:VMWProviderVdcParams xmlns =" http://www.VMware.com/vCloud/versions "xmlns:ns2 =" http://schemas.dmtf.org/OVF/Envelope/1 "xmlns:ns3 =" http://schemas.dmtf.org/wbem/wscim/1/CIM-Schema/2/CIM_VirtualSystemSettingData "xmlns:ns4 =" http://schemas.dmtf.org/wbem/wscim/1/Common "xmlns:ns5 =" http://schemas.dmtf.org/wbem/wscim/1/CIM-Schema/2/CIM_ResourceAllocationSettingData "xmlns:ns6 =" http://www.VMware.com/vCloud/v1.5 "xmlns:ns7 =" http://www.VMware.com/Schema/OVF "xmlns:ns8 =" http://schemas.dmtf.org/OVF/Environment/1 "xmlns:ns9 =" http://www.VMware.com/vCloud/extension/v1.5 "name ="ProVDC"> " "" "" "" ""

    < ns9:ResourcePoolRefs >

    < ns9:VimObjectRef >

    " < href = ns9:VimServerRef ' https://10.0.70.48 "/>

    Cluster < ns9:MoRef > < / ns9:MoRef >

    < ns9:VimObjectType > RESOURCE_POOL < / ns9:VimObjectType >

    < / ns9:VimObjectRef >

    < / ns9:ResourcePoolRefs >

    " < href = ns9:VimServer ' https://10.0.70.48 "/>

    < ns9:StorageProfile > * (all) < / ns9:StorageProfile >

    < / ns9:VMWProviderVdcParams >

    March 19, 2015 14:27:21 com.vmware.vcloud.sdk.RestUtil post

    INFO: POST Content Type application - application/vnd.vmware.admin.createProviderVdcParams+xml

    March 19, 2015 14:27:21 com.vmware.vcloud.sdk.RestUtil post

    INFO: Status Code - 400

    March 19, 2015 14:27:21 com.vmware.vcloud.sdk.RestUtil post

    INFO: Status - Bad Request

    March 19, 2015 14:27:21 com.vmware.vcloud.sdk.RestUtil post

    INFO: Response - <? XML version = "1.0" encoding = "UTF-8"? >

    " < error xmlns =" " http://www.VMware.com/vCloud/v1.5 "majorErrorCode = "400" message ="the reference https://10.0.70.48 cannot be parsed correctly" minorErrorCode = "INVALID_REFERENCE" stackTrace = "com.vmware.vcloud.api.rest.handlers.exceptions.InvalidReferenceRestApiException: the reference https://10.0.70.48 can not be parsed correctly "

    The VimServerRef should look more like this.

    "href ="https://vcloud.example.com/api/admin/extension/vimServer/{identifier}.

    see create a provider VDC

  • We can create a PRICE BREAK by using the qp_price_list_pub.process_price_list API

    I am able to create price list headers, prrice lines list and price of attributes using qp_price_list_pub.process_price_list. But I am unable to create the price break using this API. Is it possible to create prices break using this API.

    1008612 wrote:
    I am able to create price list headers, prrice lines list and price of attributes using qp_price_list_pub.process_price_list. But I am unable to create the price break using this API. Is it possible to create prices break using this API.

    Please see this

    How to add price breaks to a pricing agreement? [1305360.1 ID]

    ;) AppsMAsti :)
    Sharing is caring

  • Create the user by using the API OIM11g R2 with custom attributes

    Friends,

    I am trying to create a user using API in OIM 11 g 2 with a custom attribute.

    < String, Object > HashMap createUserMap = new HashMap < String, Object > ();
    createUserMap.put (UserManagerConstants.AttributeName.FIRSTNAME.getId (), "Test);
    createUserMap.put (UserManagerConstants.AttributeName.LASTNAME.getId (), "tester);
    createUserMap.put (UserManagerConstants.AttributeName.USER_LOGIN.getId (), "tester1");
    createUserMap.put (UserManagerConstants.AttributeName.USERTYPE.getId (), "End user");
    createUserMap.put (UserManagerConstants.AttributeName.EMPTYPE.getId (), "EMP");
    createUserMap.put (UserManagerConstants.AttributeName.PASSWORD.getId (), "Welcome1);
    createUserMap.put (UserManagerConstants.AttributeName.EMAIL.getId (), "[email protected]");
    createUserMap.put ("act_key", new Long("1"));
    createUserMap.put ("USR_UDF_DEPTNO", "10");

    Try
    {
    UserManager userService = oimClient.getService (UserManager.class);

    User user = new User (userLogin, createUserMap);
    Result = userService.create (user) UserManagerResult;
    System.out.println ("State of creation: '" + result.getStatus ());
    }
    catch (System.Exception e)
    {
    e.printStackTrace ();
    }

    But it fails with the error below.
    Create a user application cannot set or change the USR_UDF_DEPTNO attribute, since it is not defined in the corresponding dataset. : create user: USR_UDF_DEPTNO. *

    But this attribute exists in the IOM and I was able to create the user using the user interface with this custom attribute.

    Please let me know what I am doing wrong.

    You must pass a long time don't value not int. It should be that way.

    Long deptno = 1234;
    createUserMap.put ("deptno", deptno);

Maybe you are looking for