Receiver determination issue with PI Directory API

Hi Guys,
I was trying to use the PI Directory webservice API to automatically build Integration Directory Objects. I found an issue when creating Receiver Determination Object. Here are the details:
My scenario is one to many, one Interface with several receiver Parties/Business Components. so I created a Receiver Determination with one party as the receiver using regular Integration Builder Tool and  I was trying to add more receiver by Directory API for the remaining receivers to the one which I manually. But I did not a way or option to add more to the receivers list, when I tried that it was simply overwriting the existing one when I used the Change Operation but when I try to use create Operation it complains that the Object already exists..
Do you have any idea what is the better way use the API to add more receivers to the list.
Thanks,
Laxman

There is no delta changes allowed through Dir API. We had to read the RD and change with additional receivers.
Thanks,
Laxman

Similar Messages

  • Issue with Active Directory User Target Recon

    Hi ,
    I am facing an issue with Active Directory User Target Recon
    My environment is OIM 11g R2 with BP03 patch applied
    AD Connector is activedirectory-11.1.1.5 with bundle patch 14190610 applied
    In my Target there are around 28000 users out of which 14000 have AD account (includes Provisioned,Revoked,Disabled accounts)
    When i am running Active Directory User Target Recon i am not putting any filter cleared the batch start and batch size parameters and ran the recon job .Job ran successfully but it stopped after processing around 3000 users only.
    Retried the job two three times but every time it is stopping after processing some users but not processing all the users.
    Checked the log file oimdiagnostic logs and Connector server logs cannot see any errors in it.
    Checked the user profile of users processed can see AD account provisioned for users
    My query is why this job is not processing allthe users.Please point if i am missing some thing .
    thanks in advance

    Check the connector server load when you are running the recon. Last time I checked the connector, the way it was written is that it loads all the users from AD into the connector server memory and then sends them to OIM. So if the number was huge, then the connector server errored out and did not send data to OIM. We then did recon based on OUs to load/link all the users into OIM. Check the connector server system logs and check for memory usage etc.
    -Bikash

  • IDoc to IDoc - conditional receiver determination issue

    Hello All,
    We are using XI 3.0 and this is my scenario:
    Sender: IDOC from SAP system
    Receivers: There are 2 receivers (one SAP and one non sap system).
    I want conditional receiver determination based on the idoc field RCVPRN.
    Integration Repository: I imported standard SAP IDOC FIDCC2 into IR and it is in "urn:sap-com:document:sap:idoc:messages" namespace of my SWCV. I am not creating data types, message types or message interfaces as I want to use the IDOC type directly as the interface name in Integration directory.
    Integration directory: When I am creating receiver determination, I am getting a warning 'Message interface does not exist in any software components installed on this business system'. When I got to condition editor and want to choose the idoc field RCVPRN using XPATH, it is not showing the idoc structure.
    In SLD, the correct product is installed on my sender ABAP technical system, and correct SWCV (into which i imported the IDOC) is installed on my business system. I refreshed cache and cleared SLD cache in ID. Still i get the same warning 'Message interface does not exist in any software components installed on this business system'.
    How can i solve this issue? Any help is highly appreciated.
    Thanks,
    Chandra

    Hi Chandra,
    Can you check whether you have assigned or linked the SWCV with the Business system in SLD.
    Just go to SLD and open the SWCV and check if it is linked with the BS od the sender system.
    Since the sender is ABAP, you must have created the TS and BS using rz70, then see that that the SWCV is attached to the BS correctly. Under TS add the Product and then the corresponding SWCV.
    Also check one thing: are u selecting the correct Communication component, under which the Interface is present.
    Lastly if these doesnot work: In Integration Directory, Go to Environment-> Clear SLD Data Cache. Then try once again.
    Cheers,
    Souvik
    Edited by: Souvik Chatterjee on May 16, 2011 3:39 PM

  • Issues with Check In API

    I'm using Adobe Drive 3.0.1.104 on Windows 7.  When I drag and drop multiple assets into the Explorer Window, right-click those assets and choose "Check In..", none of the handlers associated with my custom checkin dialog (i.e., CanEnableCustomCheckInUIHandler, GetCustomCheckInUIContextInfoHandler and GetCustomCheckInUIHandler) are called.  Only the default check in comments dialog appears.  However, if I select a single asset for check in, then my handlers are correctly called.  Is this the expected behavior?  I want the user to be able to determine the type of object and some metadata in my CMS on import, but don't have this capability when multiple assets are selected.
    The second issue I have is that the CanEnableCustomCheckInUIHandler, GetCustomCheckInUIContextInfoHandler do not have any visibility into non-remote assets through the API (i.e., assets with a null Asset ID).  The getAssetIdentities() call only returns information about assets that already have an assetId.  In these two handlers, I would like to make decisions and set context based on the the entire list of files, not just those that already live in the remote CMS.
    The third issue I have is that I would like capture ContextInfo for each asset individually.  For example, if a user checks in an InDesign file and a linked Image at the same time, I would like capture separate context info for each asset that I can store in my CMS.  I might also want to capture global context that applies to all assets (i.e., the comments are a good example of this, but there could be others).
    Based on these three issues, I am limited to allowing only one asset to be checked in at a time.  However, with the current API, I can't even prevent a check in until my CheckInHandler is called, which is the first opportunity for me to throw an Exception to stop the checkin.  In my opinion, this is not a good user experience because the user will be prompted to enter the comments and then get an error, which means they will loose the information they typed in the comments.
    I'm mostly trying to provide feedback to improve the API, but if there is something I'm overlooking here, please let me know.
    Rich

    Hi,
    For the first issue and the second issue, yes, it's a design limitation, we will try to resolve it in the coming dot release, thanks for pointing out them
    For the third issue, I think you can manage the context info for each item by utilizing IGetCustomCheckInUIContextInfoHandler, you can establish a data structure for the requested items, this structure will be passed to the your custom UI module, the UI module understands it and returns the context info to ICheckInHandler in the custom parameters, in a word, you should establish a comunication protocol between IGetCustomCheckInUIContextInfoHandler, the custom Flex UI module and ICheckInHandler about how to pass and manager the context info.
    Regarding how to prevent a check-in, please provide your deep thoughts on it, we can discuss that in detail

  • Issue with JAVA Mail API

    Hi
    We have a requirement to create a custom e mail. For the same I am trying to use Java Mail API.I am facing an issue with the following code:
    session session1 = session.getInstance(properties, null);
    System gives an error Sourced file: inline evaluation of: ``Properties props = new Properties(); session session1 = session.getInstance(prop . . . '' : Typed variable declaration : Class: session not found in namespace
    Is there some specific API i need to import for session class. Kindly suggest.
    Regards
    Shobha

    Hi Shobha,
    I was also facing the same issue from last couple of weeks and just now i have achieved the working functionality.
    Please find below working code and replace values as per your serveru2019s configuration.
    import com.sap.odp.api.util.*;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.io.File;
    import java.net.*;
    // SUBSTITUTE YOUR EMAIL ADDRESSES HERE!!!
    String to =<email address>;
    String from =<email address>;
    // SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!!
    String host = <smtp host name>;
    String user = <smtp user name>;
    // Create properties, get Session
    // Properties props = new Properties();
    Properties props = System.getProperties();
    props.put("mail.transport.protocol", "smtp");
    props.put("mail.smtp.host", host);
    props.put("mail.debug", "false");
    props.put("mail.smtp.auth", "false");
    props.put("mail.user",user);
    props.put("mail.from",from);
    Session d_session = Session.getInstance(props,null);//Authenticator object need to be set
    Message msg = new MimeMessage(d_session);
    msg.setFrom(new InternetAddress(from));
    InternetAddress[] address = {new InternetAddress(to)};
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSubject("Test E-Mail through Java");
    msg.setSentDate(new Date());
    msg.setText("This is a test of sending a " +
    "plain text e-mail through Java.\n" +
    "Here is line 2.");
    Transport.send(msg);
    Deepak!!!

  • Receiver determination issue

    Hi all,
    I have a typical scenario, where the message mapping is such that a particular child node in the target will get mapped (created) only if certain logic gets satisfied. Otherwise the child does not get created.
    Now, my problem is - I want to send this message to receiver only if this child node exists. (There is no point in sending empty message to receiver)
    The condition in receiver determination can use only source message since message mapping is executed after the receiver determination.
    Can anyone pls help ?
    Thanks,
    - Shankar.

    Hi Shankar,
    I'm not sure if you can do that with normal condition in receiver determination
    I think this can be done with a condition, (that is the logic you use to decide wheter to create the node or not), just it depends on how much complex is the condition.
    If the condition is too complex I think you cannot use just the condition editor to define it.
    But consider that in any case enhanced receiver determination can be used even if you have a fixed received.
    You can view it in a different way, you do not have a fixed receiver, your receiver is "A" if condition is true and your receiver is "null" if condition is not true.
    Is'nt this your requirement?
    So I would say assign the receiver in the mapping if the condition is fulfilled, otherwise do not assign a receiver, this will result in a "no receiver found" and you can stop the message processing.
    Regards,
    Sergio

  • Agent determination issue with no error, cant use SWPR?

    Hello gurus.
    We currently have 81 invoices that have workflow status "in process". However, the last line of this status is "agent determination issue". I've assigned the appropriate user in PFOM and i want to restart the workflow item, but i cannot use SWPR.
    Normally it should be in error and you can use SWPR, and that fixes everything- however why is the workflow still "in process" and not in error? and how can i complete the workflow item now that the agent has been assigned? do i just create a new workflow using SWUE and delete the old one? Many thanks.

    Hi,
    OK then try like this , as you said you do not have authorizations to SWI1_RULE right so do teh below steps,
    1. Execute SE37 and execute the fucntion module ALINK_CALL_TRANSACTION.
    2. Now mention the txn name as SWI1_RULE.
    3. Now you should be able to see teh initial screen of the txn.
    4. Now enter teh workitem ID which is in ready state not the top workitem ID, the workitem for which the agent is not assigned. Click F8.
    5. Now choose that workitem ID and click CTRL + SHIFT + F11.
    it should re evalutae the agents, if this is also not determing then make a note of the RULE ID from activity step and open the txn by using the above function module and try to simulate the rule or please let us know what is the rule type.
    Regards
    Pavan

  • DNS Server Having Intermittent Issues with Open Directory

    I work for a school and we're undertaking the large task of moving from Xserves running 10.6.8 to Mac Minis running 10.9. I have a lot of experience with OS X Server (I held ACSA up until they ditched it, and ACTC through the current OS) but I've hit a fairly large snag in configuring our DNS server. We currently run DNS via an AD server that is being retired at the end of the summer, so this is the first time our DNS will be Mac-based. That said, our network is ridiculously simple as we are a very small school. For the most part it's a flat network using the same IP range for our wired and wireless internal clients (we do have a vlan for guests but that's through Aerohive). I configured the DNS by hand, recreating the entries in our AD server (there were only about a dozen) and then adding in things that should have been there in the first place (e.g. printers and some other devices with static IPs that I'd like FQDNs for). Everything seemed to be working fine...until trying to log into Open Directory accounts.
    For some background, the DNS server running 10.9 was the first server we upgraded and it was a completely clean install. We run DHCP on another Mac Server currently running 10.6.8 and it does have the proper OD server listed. All DNS entries for the OD server match our current DNS server. The issue is that it's taking some users 5-6 tries to log in with their network accounts. The errors they receive range from the login window shaking to it stating the user cannot log in at this time. This seems to be worse on client machines running 10.9. but it's appearing on machines running 10.6.8-10.9.3.
    In my troubleshooting, I found that if I log in as a local user to one of those machines and do a dig for the OD server the results vary, this is where it gets weird. For example, if I dig ourodserver.ourdomain.org it will sometimes return host not found or it will sometimes resolve. If I ping the same thing it will sometimes work (even after stating it cannot resolve the host) and it will sometimes fail. If I then try a dig for the .local (e.g. ourodserver.local) it also yields the same varied results. However, on every machine that I've tested if I then open a Finder window and navigate to the server via the "Shared" menu and connect I have no trouble connecting and then magically my digs and pings in terminal work. If I revert DNS back to point to our old Windows server the issue goes away. I have meticulously combed through that server many many times now and am not seeing any missed entries. Any idea what could be causing this?

    You must have a working DNS service, and the server's hostname must match its fully-qualified domain name. To confirm, select the server by name in the sidebar of the Server application window, then select the Overview tab. Click the Edit button on the Host Name line. On the Accessing your Server sheet, Domain Name should be selected. Change the Host Name, if necessary. The server must have at least a three-level name (e.g. "server.yourdomain.com"), and the name must not be in the ".local" top-level domain, which is reserved for Bonjour.
    The primary DNS server used by the server must be 127.0.0.1 (that is, itself) unless you're using another server for internal DNS. The only DNS server set on the clients should be the internal one, which they should get from DHCP if applicable.

  • Party/Receiver determination/agreement with logical system

    Hi all
    I have gone thru various messages in the forum dealing more or less with the issue, but haven't really found an answer to my problem yet.
    XML orders from a Web shop are sent to XI, which I am mapping to an IDoc of type ORDERS.ORDERS05 to be sent to the SAP R/3 backend system. The partner profile in the backend system is defined as a logical system because (a) even though the Web shop is for a closed user group of known customers, I could not possible create a partner profile of type KU for every of them, and (b) I need to do some special stuff for IDocs of this order process which is triggered by a separate process code.
    My plan in XI configuration was to create a new scenario and setting up either two parties or one party and a service without party (with a business service). I have tried both ways, but I am not getting it to work. The main reason for that is because of "Unable to convert sender service xxx to an ALE logical system". The "standard logical system" is used in another scenario already, and because of the special processing in the backend, I would like to keep it separate by a logical system defined for this process only anyway.
    Posts with party definitions and logical system problems exist already, but I haven't really found a applicable answer. Can something be done in the header mapping (which I am not so familiar with yet) to get one or the other way to work, or is there another "good" way completely to handle this?
    I am a little bit lost right now, and would appreciate your feedback. Thanks,
    Daniel

    Hi Michal
    Thanks for your feedback. I have implemented the scenario anew based on your input, and other information that I've found. I've got a working solution after playing around with the settings for a while, and is as following now:
    R/3:
    System id: D01
    Client: 200
    WE20: Partner Type LS
    ...Partner no.: XI_ABC
    ...Parter type: LS
    ...Inbound message type: ORDERS
    SLD - Technical system:
    Technical system type: Third-Party
    Name: XI_ABC on xy01sys01cs
    ...Installed products: SAP R/3 ENTERPRISE, 47X200
    ...Business systems: XI_ABC
    SLD - Business system:
    Business system type: Third-Party
    Name: XI_ABC
    ...Related integration server: XD1
    Integration Directory:
    Scenario: CSC_ABC_ORDER
    ...Party: PP_ABC_SYSTEM
    ......Business service: BS_All_Data
    ......Communication channel: CC_S_File_ABC_Order
    ......Adapter type: File
    ...Party: PP_SAPSYS_ABC
    ......Business system: XI_ABC
    ......Adapter-specific identifiers: Logical system XI_ABC
    ......Communication channel: CC_R_IDoc_To_SAP
    ......Adapter type: IDoc
    ......RFC destination: D01_200
    ......Port: SAPD01
    ......NO Apply Control Record Values from Payload
    ......NO Identifiers
    ...Service without Party:
    ......Business system: XI_ABC
    ......Adapter-specific identifiers: Logical system XI_ABC
    ...Receiver Agreement
    ......Sender party: PP_ABC_SYSTEM
    ......Service: BS_All_Data
    ......Receiver: PP_SAPSYS_ABC
    ......Service: XI_ABC
    ......Interface: ORDERS.ORDERS05
    ......Receiver communication channel: CC_R_IDoc_To_SAP
    ......Sender service constant: XI_ABC
    ......Receiver party constant: <space>
    Once again, thanks for your input.
    Regards,
    Daniel

  • Deployment Issue with MDM Java API exposed as Webservice using EJBS

    Hi Experts,
    I am implementing MDM Java APIS in Stateless session bean.Exposed that bean as Webservice and using that webservice in
    Webdynpro through Adaptive Webservice Model.
    I am facing following issue:
    Webservice works fine after deployment,after some number of execution webservice stops working and gives exception.After
    Redeployment of the Webservice, it starts working again works fine some number of execution.
    I am Using new MDMJava API.
    MDM Server Details: MDM 5.5 SP06
    I am using following code for connetion
    //////////////*************Getting Connection************///////
              ConnectionPool pool = null;
              String sessionId = null;
              try {
                   pool = ConnectionPoolFactory.getInstance("Server Ip");
              } catch (ConnectionException e1) {
                   System.out.println(e1.getMessage());
    //////////////*************Repository Session************///////
    CreateRepositorySessionCommand repSeession =
                   new CreateRepositorySessionCommand(p_pool);
              repSeession.setRepositoryIdentifier(p_repId);
              try {
                   repSeession.execute();
              } catch (CommandException e2) {
                   System.out.println(e2.getMessage().toString());
              String repIID = repSeession.getRepositorySession();
              //     Authenticate Repository
              AuthenticateRepositorySessionCommand autRepSeesion =
                   new AuthenticateRepositorySessionCommand(p_pool);
              try {
                   autRepSeesion.setSession(repSeession.getRepositorySession());
                   autRepSeesion.setUserName(p_user);
                   autRepSeesion.setUserPassword(p_Password);
                   autRepSeesion.execute();
              } catch (CommandException e3) {
                   System.out.println(
                        "RepSession Seesion" + e3.getMessage().toString());
              return autRepSeesion.getSession();
    //////////////*************user Session************///////
    GetRepositoryRegionListCommand regionListCommand =
                   new GetRepositoryRegionListCommand(p_pool);
              regionListCommand.setRepositoryIdentifier(p_repId);
              try {
                   regionListCommand.execute();
              } catch (CommandException e) {
                   System.out.println(e.getMessage().toString());
              RegionProperties[] regions = regionListCommand.getRegions();
              //                                 create a user session
              CreateUserSessionCommand UsersessionCommand =
                   new CreateUserSessionCommand(p_pool);
              UsersessionCommand.setRepositoryIdentifier(p_repId);
              UsersessionCommand.setDataRegion(regions[0]);
              // use the first region
              try {
                   UsersessionCommand.execute();
              } catch (CommandException e) {
                   System.out.println("UserSession" + e.getMessage().toString());
              String UsersessionId2 = UsersessionCommand.getUserSession();
    AuthenticateUserSessionCommand authUserCommand =
                   new AuthenticateUserSessionCommand(p_pool);
              authUserCommand.setSession(UsersessionCommand.getUserSession());
              authUserCommand.setUserName(p_userId);
              authUserCommand.setUserPassword(p_password);
              try {
                   authUserCommand.execute();
              } catch (CommandException e) {
                   System.out.println("User Seesion" + e.getMessage().toString());
              return authUserCommand.getSession();
    //////////////*************Destroy Session************///////
         DestroySessionCommand destroySessionCommand =
                   new DestroySessionCommand(p_pool);
              destroySessionCommand.setSession(p_repsession);
              try {
                   destroySessionCommand.execute();
              } catch (CommandException e) {
                   e.printStackTrace();
              destroySessionCommand.setSession(p_Uesrsession);
                   try {
                        destroySessionCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
    Do we need to relase the connection pool object also?
    Can anyone help me with the code how that can be achived?
    Please Reply if anyone has come accross similar issue or know what can be the solution.
    Thanks in Advance.
    Regards Shruti
    Edited by: Shruti Shah on Dec 18, 2008 12:52 PM

    Hi Nitin,
    Thanks for the prompt Response.
    Even I am guessing that its becose of Connection pool.
    I am destroying session as follows
                   DestroySessionCommand destroySessionCommand =
                   new DestroySessionCommand(p_pool);
              destroySessionCommand.setSession(p_repsession);
              try {
                   destroySessionCommand.execute();
              } catch (CommandException e) {
                   e.printStackTrace();
              destroySessionCommand.setSession(p_Uesrsession);
                   try {
                        destroySessionCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
    But I didnot find any method by which i can close realsse connection from connection pool.
    It would be great if you can help me how close or realese those connection.In MDM Console i am able to see those sessions even after destroying them.
    Regards Shruti.

  • [HELP] No satellite signal being received - No issue with box or satellite?

    Hi there, I have the error of no satellite signal being received however on my first Sky+ HD box I was getting this error so I switched back to our older Sky+ box and this worked fine. However on a new Sky+ HD box it is still giving me this error, despite being on a HD connection,. Any help on this matter would be highly appreciated, I've followed all the steps to try resolve the no satellite issue.  Thanks. 

    It might be local interference.  You'll have to switch off any wireless equipment in the room,  and especially a wireless router,  cordless phone base station and anything else that radiates signals. You should also unbundle ( if applicable ) your dish Input cables from anything else behind the box, in particular power leads. If you're using the white,  pre-moulded cables from the likes of Homebase,  B&Q etc,  it might be an idea to replace them with good quality,  double-screened cabling such as WF100 which you can buy online. Are you able to borrow someone else's HD box to test in your flat,  or are you able to check out your own box on a non-communal setup?

  • Issue with  hz_cust_account_v2pub.update_cust_account API

    Hello,
    I am facing a strange problem. I am updating oracle customers via hz_cust_account_v2pub.update_cust_account API. This is on 11.5.10.2
    The problem is, when I pass NULL values to customer class, customer type and warehouse_id fields, The API does not apply the same in database. For e.g. If warehouse_id is 91 and I need to update that warehouse ID to NULL using this API, it does not work.
    Even after applying a NULL update through API, the value 91 still remains un-updated. Same is the story with Customer Class and Customer Type fields.
    All other updates are just working fine. Even if I pass other values to these fields in question, they work just fine. Only when you are passing NULL this problem arises.
    Any idea why? Please Advise.
    Code begins below
    declare
    d_return_status varchar2(2000);
    d_message varchar2(4000);
    d_source varchar2(40);
    p_cust_account_rec  PD_CUSTWB_CUSTOMER_UPDATE.CUST_INFO_REC_TYPE;
    --p_customer_profile_rec    PD_CUSTWB_CUSTOMER_UPDATE.CUST_INFO_REC_TYPE;
    --p_organization_rec PD_CUSTWB_CUSTOMER_UPDATE.CUST_INFO_REC_TYPE;
    begin
    mo_global.init;
    fnd_global.apps_initialize (user_id           => 11006,
                                   resp_id           => 50261,
                                   resp_appl_id      => 222
    mo_global.set_policy_context ('S', 204);
    p_cust_account_rec.customer_class_code := NULL;  -- This is the problem. Not updating Null
    p_cust_account_rec.customer_type := NULL;    -- This is the problem. Not updating Null
    p_cust_account_rec.ship_sets_include_lines_flag := 'N';
    p_cust_account_rec.warehouse_id := NULL;     -- This is the problem. Not updating Null
    p_cust_account_rec.price_list_id :=1759259;
    p_cust_account_rec.customer_id := 271795;
    p_cust_account_rec.customer_name := 'ABCD Ltd';
    p_cust_account_rec.freight_term := 'COLLECT';
    --p_cust_account_rec.ship_via := 'DTL';
    p_cust_account_rec.party_id := 1863371;
    p_cust_account_rec.gsa_flag := 'Y';
    p_cust_account_rec.category_code := 'HEALTH';
    p_cust_account_rec.customer_profile_id := 1748060;
    p_cust_account_rec.customer_id := 271795;
    p_cust_account_rec.dunning_letter_set_id :=NULL;
    p_cust_account_rec.standard_terms  := 1214;
    p_cust_account_rec.profile_class_id :=  0;
    hz_cust_account_v2pub.update_cust_account (
                p_init_msg_list              => fnd_api.g_true,
                p_cust_account_rec          => p_cust_account_rec,
                p_object_version_number   => p_object_version_number,
                x_return_status              => u_return_status,
                x_msg_count                   => u_msg_count,
                x_msg_data                      => u_msg_data);;
    commit;
    dbms_output.put_line('Error Status-'||d_return_status);
    dbms_output.put_line('Error Message='|| d_message);
    end;Edited by: 952951 on Sep 15, 2012 9:25 AM

    Hello,
    Oracle allows you to default many of the values for their API's. When you do this they will not delete the values but leave them unchanged. Since the API cannot tell if you set the value to be NULL explicitly, it is not clearing the value. When you want to actually clear a value you need to set it to a specific value. The FND_API package spec has these defined. I cannot connect my my EBS instance at the moment, so I cannot remember if it is the G_MISS or G_NULL variables that you want. You will need to double check that.
    p_cust_account_rec.customer_class_code := FND_API.g_null_char;  -- This is the problem. Not updating Null
    p_cust_account_rec.customer_type := FND_API.g_null_char;    -- This is the problem. Not updating Null
    p_cust_account_rec.ship_sets_include_lines_flag := 'N';
    p_cust_account_rec.warehouse_id := FND_API.g_null_num;     -- This is the problem. Not updating NullHTH,
    --Johnnie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Critical issue with Berkeley Java API

    Hi
    While using Java API to access BDB, and when multiple requests are made at the same time, I am getting the following error:
    unable to allocate memory for mutex; resize mutex region
    Exception in thread "main" java.lang.OutOfMemoryError: Cannot allocate
    memory: unable to allocate memory for mutex; resize mutex region
    at com.sleepycat.db.internal.db_javaJNI.DbEnv_open(Native Method)
    at com.sleepycat.db.internal.DbEnv.open(DbEnv.java:317)
    at
    com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:3886)
    at com.sleepycat.db.Environment.<init>(Environment.java:93)
    at com.yht.util.BDBReader.createPrimaryDatabase(BDBReader.java:78)
    at com.yht.util.class5.cdr.CdrReader.<init>(CdrReader.java:78)
    at com.yht.util.class5.cdr.CdrReader.main(CdrReader.java:233)

    Hi,
    Is this issue critical enough not to [run a search on the forum|http://forums.oracle.com/forums/ann.jspa?annID=244] for the "unable to allocate memory for mutex; resize mutex region" error?
    Database in memory causing exception
    Re: Error message "Not Enough Space"
    Problem: unable to allocate memory for mutex; resize mutex region
    unable to allocate memory for mutex; resize mutex region
    The problem is caused by the incorrect configuration of the mutex region size. Increasing the number of mutexes by calling one of the two methods should fix it:
    http://www.oracle.com/technology/documentation/berkeley-db/db/java/com/sleepycat/db/EnvironmentConfig.html#setMutexIncrement%28int%29
    http://www.oracle.com/technology/documentation/berkeley-db/db/java/com/sleepycat/db/EnvironmentConfig.html#setMaxMutexes%28int%29
    Thanks,
    Bogdan Coman

  • JFilechooser Issues with Current Directory

    Hi,
    Actually I am getting strange error while using JFileChooser.
    I am trying to set current directory in applet as:
    private static File visitedDir = null;
    JFileChooser fc = fileAccess.newJFileChooser();
    fc.setDialogType (JFileChooser.OPEN_DIALOG);
    if (visitedDir != null) {
    fc.setCurrentDirectory(visitedDir);
    File file = fc.getSelectedFile();
    visitedDir = file.getParentFile();
    And when i open the Dialog Box and browse any directory and then in that directory in textbox if I type any file name to create the file. and then say open.And again if open the dialog box,as visited directory is static field it remains initialized. and dialog box shows me directory name in drop down.But it doesn't show me the full traverse path of directory.It only shows that directory name in dialog box.So I cant traverse to any other directory.
    Please help.

    It works for me - I'm guessing fileAccess.newFileChooser() already shows the dialog, so you only set the current directory after the user picked a file.
    public class TestFileChooser {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    JFileChooser chooser = new JFileChooser();
                    while(chooser.showOpenDialog(null) ==
                              JFileChooser.APPROVE_OPTION) {
                        File file = chooser.getCurrentDirectory();
                        chooser = new JFileChooser();
                        chooser.setCurrentDirectory(file);
    }

  • Issue with ENEQuery java api and searching terms with accented characters

    Hi,
    we are using ENEQuery to query the mdex engine. When search terms contain accented characters (like á,í etc), even though the terms are decoded (using java.net.URLDecoder), the term gets send to dgraph is encoded. for e.g a search for "sofá", from the dgraph logs "sof%c3%a1" and fetch in 0 results
    ENEQuery query = new ENEQuery();
    final ERecSearchList searches = new ERecSearchList();
    final ERecSearch eRecSearch = new ERecSearch("search interface name", "term");
    searches.add(eRecSearch);
    query.setNavERecSearches(searches);
    Any suggestions?
    Thanks

    Hi,
    Does your indexed data (which you hope to match) contain "sofá" or "sofa" (no diacritic)? If the latter, and in-general, you may benefit from the dgidx flag --diacritic-folding* as described in documentation "Mapping accented characters to unaccented characters".  If you are running the latest version, this is all that should be required to generate a match.
    Best
    Brett

Maybe you are looking for