Urgent help needed in creating customer ship_to and bill_to site id

Hi,
I am using an api to create customer ship_to and bill_to address, in Oracle OM R12 but the api does not return values. I am including the code so any suggestion will be helpful.
declare
l_num_billing_site_use NUMBER;
l_num_cust_site_id NUMBER;
l_rec_cust_site_use apps.Hz_Cust_Account_Site_V2pub.CUST_SITE_USE_REC_TYPE;
l_rec_customer_profile apps.Hz_Customer_Profile_V2pub.CUSTOMER_PROFILE_REC_TYPE;
l_chr_retcode VARCHAR2(20);
l_chr_errbuf VARCHAR2(200);
l_num_count NUMBER;
begin
-- fnd_global.apps_initialize (1885, 21623, 660); -- user id, --resp_id (OM Super User), appl_id
-- mo_global.init ('AR');
-- mo_global.set_policy_context ('S', 511);
l_rec_cust_site_use.site_use_code := 'BILL_TO';
l_rec_cust_site_use.cust_acct_site_id := 24919;
l_rec_cust_site_use.primary_flag := 'N';
l_rec_cust_site_use.created_by_module := 'CONVERSION'; -- Change
BEGIN
apps.Hz_Cust_Account_Site_V2pub.create_cust_site_use( p_init_msg_list => FND_API.G_FALSE
, p_cust_site_use_rec => l_rec_cust_site_use
, p_customer_profile_rec => NULL --l_rec_customer_profile
, p_create_profile => FND_API.G_FALSE
, p_create_profile_amt => FND_API.G_FALSE
, x_site_use_id => l_num_billing_site_use
, x_return_status => l_chr_retcode
, x_msg_count => l_num_count
, x_msg_data => l_chr_errbuf);
EXCEPTION
WHEN OTHERS THEN
FND_FILE.PUT_LINE(FND_FILE.LOG,' Unexpected error creating customer site for Cust Site Id ' || l_num_cust_site_id || ' due to: ' || SQLERRM);
END;
dbms_output.put_line('cust_site_use:'||l_num_billing_site_use);
end;
Thanks,
Srinivas
Edited by: user2138419 on Feb 14, 2010 4:46 PM

It might be a crossdomain.xml problem.
Please make sure that the server hosting the xml allows the domain where the swf is hosted.
You can start with:
<?xml version="1.0" encoding="utf-8" ?>
<cross-domain-policy>
    <allow-access-from domain="*"/>
    <site-control permitted-cross-domain-policies="master-only"/>
</cross-domain-policy>

Similar Messages

  • Urgent help needed!! Layout table and Draw layout cell dissapeared.

    I need some urgent help. I'm using CS3 but for a while my
    Layout Table and Draw Layout Cell icons appear greyed and can't use
    them at all. Is there any kind soul out there who knows how to fix
    this? I'm going nuts trying all the possible options but none seem
    to work.
    Help please!!!!!!

    > How would you about designing a page without using html?
    You don't. But I don't recall suggesting that you not use
    HTML. I just
    suggested that you use best-practice HTML, no? Or maybe you
    meant to ask
    how you would go about building your site without learning
    HTML? In that
    case, I think you are outta luck. Using DW without knowing
    HTML is a very
    punishing experience, I'm afraid.
    > PS: A virtual box of 12 bottles of Moet Chandon is
    already on your way!!
    I'd prefer Cristal, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Untersberg" <[email protected]> wrote in
    message
    news:g4tj9a$m5o$[email protected]..
    > Ahhhhhh!!!!! They came up!!!! They came up again!!
    > I was on standard mode. Now going back to your
    suggestion, which I really
    > appreciate. How would you about designing a page without
    using html? I'm
    > just
    > redesigning my website at the moment and need it to get
    going urgently,
    > hence
    > the reluctance to start learning HTML at the moment.
    I'll do after but I
    > need
    > to get this up and running fairly quickly.
    >
    > Cheers.
    >
    > PS: A virtual box of 12 bottles of Moet Chandon is
    already on your way!!
    >

  • Help Needed in Creating Java Class and Java Stored Procedures

    Hi,
    Can anyone tell how can i create Java Class, Java Source and Java Resource in Oracle Database.
    I have seen the Documents. But i couldn't able to understand it correctly.
    I will be helpful when i get some Examples for creating a Java Class, Java Source and Stored Procedures with Java with details.
    Is that possible to Create a Java class in the oracle Database itself ?.
    Where are the files located for the existing Java Class ?..
    Help Needed Please.
    Thanks,
    Murali.v

    Hi Murali,
    Heres a thread which discussed uploading java source file instead of runnable code on to the database, which might be helpful :
    Configure deployment to a database to upload the java file instead of class
    The files for the java class you created in JDev project is located in the myworks folder in jdev, eg, <jdev_home>\jdev\mywork\Application1\Project1\src\project1
    Hope this helps,
    Sunil..

  • URGENT help needed in creating external xml video plalist. Please help!

    I was given an assignment to  create and external video playlist using an xml file.  I have never used  flash before, know nothing about encoding and all that was given to the  class in terms of instuctions was a short tutorial that has no  resources for troubleshooting.  We were given everything; the external  playlist file equipped with the video skin, the video list, actionscript  that loads the xml and the xml file.  We were told that all we need to  do is change the names of the videos in the xml file to match the names  of our videos.  I did that.  We were also told we needed to "name  target", but we were not informed on how to do this.  I have tried  everything, visited every tutorial and I cannot figure out how to get  this damn thing to work.  I cannot even get flash to load the xml file.  PLEASE HELP.
    Here is the xml file:
    <?xml version = "1.0" encoding = "i-8859-1"?>
    <playlist>
    <ADogWithoutABone
    flvurl="ADogWithoutABone.flv"
    desc="Hyper Wall First Video" />
    <Highway
    flvurl="Highway.flv"
    desc="Hyper Wall Second Video" />
    <PsychoBabble
    flvurl="PsychoBabble.flv"
    desc="Hyper Wall Third Video" />
    <SomethingElse
    flvurl="SomethingElse.flv"
    desc="Hyper Wall Fourth Video" />
    </playlist>
    I tried putting in the entire address of the file location, but it did nothing.
    Here is the actionscript in the flash file:
    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
    xmlLoader.load(new URLRequest("playlistXML.xml"));
    function xmlLoaded(event:Event):void {
    var playlistXML:XML = new XML(event.target.data);
    var item:XML;
    for each(item in playlistXML.videoname) {
    trace("item: "+item.attribute("flvurl").toXMLString());
    myPlayList.addItem({label:item.attribute("desc").toXMLString(), data:item.attribute("flvurl").toXMLString()});
    //Select the first video
    myPlayList.selectedIndex = 0;
    //And automatically play it
    myPlayScreen.play(myPlayList.selectedItem.data);
    //Add a listener to detect when new video is selected and play it
    function listListener(event:Event) {
    myPlayScreen.play(event.target.selectedItem.data);
    myPlayList.addEventListener(Event.CHANGE, listListener);
    I  tried placing the full address of the xml file in, along with the file  address of the videos, but again it did nothing.  Everything is located  in the same file, and the videos in a sub file in that file. I tried  taking out the sub file and putting all the videos in the same file, but  it did nothing.  I am sure it's something very simple, but like I said I  have NO experience with this whatsoever. I am SO lost and DESPERATELY  need help. PLEASE someone SAVE MEEEE!
    Thanks

    It might be a crossdomain.xml problem.
    Please make sure that the server hosting the xml allows the domain where the swf is hosted.
    You can start with:
    <?xml version="1.0" encoding="utf-8" ?>
    <cross-domain-policy>
        <allow-access-from domain="*"/>
        <site-control permitted-cross-domain-policies="master-only"/>
    </cross-domain-policy>

  • Urgent Help need for ABAP Custom Process Types

    Hi Gurus,
    I have created a Custom Process Type for ABAP program which returns status (Success or Failure).
    I followed the below procedure to create a custom ABAP process type.
    In RSPC, I went to Settings -> Maintain process types
    I selected the ABAP process type and then selected the EDIT -> COPY AS and then in the process chain configuration screen, I gave a new name to the process type, changed the POSSIBLE EVENTS settings to "2 process ends "successful" or "failure" and saved the settings to confirm changes.
    Now I can see the new process type for ABAP program which returns the success or failure for the successors.
    Now, my question is, where do i write the logic for ABAP program ? how does the ABAP program returns the success or failure. Do I have to change the code in the method IF_RSPC_EXECUTE~EXECUTE to return success or failure.  Please make me clear where I can write the code? For example in my ABAP program, I am searching a table to find a specific value. If the value is not found, then the ABAP process type should return failure, if found should return success. How can I do this?
    Thanks in advance,
    Regards,
    aarthi
    [email protected]

    Hi,
       We have a similar problem. We have an ABAP program in a process chain that
    uses a custom process type with on success and on failure.
        If  the program is successful there is no problem. it will run the next process step.
        The problem is when the ABAP Program fails and even though the message class is E in our ABAP program it has a confirm popup message with a status change and asks "Save Status and Trigger Events if Appropriate".
         Once you enter Yes to continue it then continues to the next step in the program and is fine.I traced in debug where this status message is appearing. It is in CL_RSPC_LOG. There is a popup_to_confirm_step where it checks the e_status that is value J ( Framework Error upon completion). Then it submits the rspc_process_finish program to complete and call the on error process step.
         Has anyone else experienced this and is there any other documents out there to help me?
    Apologies if this is not very clear.
    Any assistance would be appreciated.
    Thanks
    Monica Mandia

  • Urgent help needed - RE: 10.4.6 and dvd's/cd's files disappearing

    Hi all,
    I've just upgraded to 10.4.6 on my Powerbook 1.5gHz, 2gb Ram laptop (PPC).
    When I insert a dvd or cd I click on a file and then it just disappears, and sometimes you cannot copy to the desktop either.
    Has anyone heard of this before and can recommend a solution asap?
    This never happened on 10.4.3, and I did the 10.4.6 combo update to 10.4.6.
    Please, please, please help me, as I can't open, copy or read my files on my dvd's. :'(
    I don't know what to do!
    Ash

    Hi m8,
    They are checked by default, and I've repaired permissions numerous times and restarted, yet still the same problem.
    I believe this to be a 10.4.6 issues, as everything was fine in 10.4.3.
    I had to upgrade due to some applications requesting the need for 10.4.6.
    I hope someone out there can help me, as I've read numerous threads in the support, trashed plists for the finder and sidebar and such, but nothing works.
    Cheers
    Ash

  • Urgent help needed related to boot camp and Win7 32 bit

    I have installed boot camp and Win7 32 bit on my iMac (2010) but I can't start from my mac os even by holding the option key. Windows doesn't recognize my wireless mouse either, but for now going back to the mac os is the priority. Can anyone help please?

    Welcome to Apple Support Communities
    Hold the Option (Alt) key after hearing the startup chime and until you see all bootable partitions in the screen. Do you see the OS X partition? If so, select it to start up in OS X. If you want to start up in OS X by default, open System Preferences > Startup Disk, and select your OS X partition.
    Respecting to your wireless mouse, you have to install the Windows support software. To download it, you can use Windows or OS X, from this site > http://support.apple.com/kb/DL1630 If you are in Windows, decompress the file and run the installer. If you are in OS X, follow the steps of the website to burn it to a USB drive

  • URGENT HELP NEEDED ... Tomcat Realm and JRE1.4 plug-in problem

    I have tried the Security Realm of Tomcat. Since I do not have
    an LDAP server, I decided to use the Tomcat-users.xml file in
    Tomcat\conf directory.
    I added the following lines of code in the web.xml file.
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Entire Application</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <!-- NOTE: This role is not present in the default users file -->
    <role-name>webviewer</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>Tomcat Manager Application</realm-name>
    </login-config>
    The <role-name> "webviewer" is added into "Tomcat-Users.xml" as the following:
    <tomcat-users>
    <user name="test" password="password" roles="webviewer" />
    </tomcat-users>
    So, now when we type the url: http://localhost:8080/adbpdbre/default.htm, TOMCAT shows a dialog box asking for UserName: and Password:Now, only when we give the username and password, it shows the page. This is exactly what we want.
    But the problem now is, this default.htm page, has 5 links to 5 applets. The first time that I click on one of these links, the JRE plug of 1.4 shows a dialog again asking for the username and password. Till I dont provide the username and password the system doesnt go ahead and applet doesnt load. I do not want the JRE to ask me for the username/passwords again..How to avoid this ?
    Can you give me some more information on this. Ultimately in the production usage, we will be using LDAP and not Tomcat's memory realm.
    URGENT HELP NEEDED ... I need to get back to my client on this.
    Help would be v. much appreciated.

    In the config file, you 're essentially saying that you want Tomcat to prompt for usr/passw on every request (url-pattern = /*) made by a 'webviewer', and that's exactly what Tomcat is doing.
    Consider using specific url-patterns & roles for resources to be protected. If for now, all you need is to protect the first page, use a more specific url-pattern.
    Just an advice : if you'll be using LDAP in production, do not waste time with Tomcat's Security Realm and the BASIC authentication type, since the two have not much in common. Start reading doc on LDAP, and code a prototype, or even better, a vertical slice of the app (i.e a proof of concept).

  • Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Thanks for prompt reply, yes we have tried that but have now closed down the browser we where the photos were.
    We haven't sent up time machine, do you know whether there is any roll-back function on a Mac?
    Thanks

  • IPhone 3G 8GB Crashes when syncing with iTunes. URGENT HELP NEEDED.

    I have latest iTunes and OS on my iPhone 3G...
    Every time i plug my iPhone in it begins to sync and then iTunes will freeze and not respond..
    I have tried re installing iTunes.. I can't reset my iPhone as i can't create a backup..
    URGENT HELP NEEDED PLEASE!

    I don't have an iphone, but if it's anything like my click-wheel ipod, a reset doesn't delete anything.
    It just resets the ipod's operating system, kind of like a PC restart. Did you try this Sleep/Wake button thing mentioned here?
    http://support.apple.com/kb/HT1737
    Maybe it's a podcast of voice memo causing the problem like it did for this person
    http://discussions.apple.com/message.jspa?messageID=10907809#10907809
    That's all I got. You might have better luck on an iPhone forum. Everyone there would probably have one. Like I said, I don't.

  • URGENT HELP NEEDED - iPhone 3Gs no longer detected or charged by MacBook

    My iPhone 3Gs (3.1) has been running fine, until several hours ago today, when I plugged it to my MacBook, the iPhone is no longer detected - it doesn't show up in iTunes, nor it is charged. I tried opening iPhoto, and it wasn't there too. Not with Image Capture too. I tried charging it using the out-of-box wall charger using the same out-of-box USB cable I use for MacBook, and it can be charged without any problem. Then I put it into Recovery mode, and there iTunes can see it. I don't want to restore it before I figure out exactly what went wrong, as I don't want the restore process somehow gets stuck in the middle that the connection is lost again.
    I've tried reinstalled iTunes, including completely removal of Apple Mobile Device Support, as instructed by Apple. But still no luck.
    I've tried switching to another USB port of my MacBook. No luck.
    My iTunes is the latest 9.0.1, and my Mac OSX is 10.6.1. My iPhone is on 3.1, upgraded from 3.0.
    I've read from web that it seems I'm not the only one out there having this problem. But none of them seem having any real working solution.
    Urgent help needed & appreciated. Millions of thanks in advance.
    Gary

    1. I used both cables - theirs & mine ... and on several macs
    2. yes, same cable for wall & mac
    3. as said, i did completely remove & install itunes (incl. apple mobile device support), as instructed on the apple webpage
    anyway, did a restore just now. it seems okay now. but the problem is i have no idea what cause this, and i can't replicate the problem. so i don't know when it will happen again ... maybe a bug with os 3.1 ... others on web said os 3.1 is quite buggy ...

  • Urgent help needed; Database shutdown issues.

    Urgent help needed; Database shutdown issues.
    Hi all,
    I am trying to shutdown my SAP database and am facing the issues below, can someone please suggest how I can go about resolving this issue and restart the database?
    SQL> shutdown immediate
    ORA-24324: service handle not initialized
    ORA-24323: value not allowed
    ORA-01089: immediate shutdown in progress - no operations are permitted
    SQL> shutdown abort
    ORA-01031: insufficient privileges
    Thanks and regards,
    Iqbal

    Hi,
    check SAP Note 700548 - FAQ: Oracle authorizations
    also check Note 834917 - Oracle Database 10g: New database role SAPCONN
    regards,
    kaushal

  • Urgent help needed with un-removable junk mail that froze Mail!!

    Urgent help needed with un-removable junk mail that froze Mail?
    I had 7 junk mails come in this morning, 5 went straight to junk and 2 more I junked.
    When I clicked on the Junk folder to empty it, it froze Mail and I can't click on anything, I had to force quit Mail and re-open it. When it re-opens the Junk folder is selected and it is froze, I can't do anything.
    I repaired permissions, it did nothing.
    I re-booted my computer, on opening Mail the In folder was selected, when I selected Junk, again, it locks up Mail and I can't select them to delete them?
    Anyone know how I can delete these Junk mails from my Junk folder without having to open Mail to do it as it would appear this will be the only solution to the problem.

    Hi Nigel
    If you hold the Shift key when opening the mail app, it will start up without any folders selected & no emails showing. Hopefully this will enable you to start Mail ok.
    Then from the Mail menus - choose Mailbox-Erase Junk Mail . The problem mail should now be in the trash. If there's nothing you want to retain from the Trash, you should now choose Mailbox- Erase Deleted Messages....
    If you need to double-check the Trash for anything you might want to retain, then view the Trash folder first, before using Erase Junk Mail & move anything you wish to keep to another folder.
    The shift key starts Mail in a sort of Safe mode.

  • Need to create Customer to multiple sites record in one run.

    Hi all,
    we have one table called (e.g.) Prospect. To this table we can associate three different sites: one the legal
    site, one admin and one for logistic. All the three sites refer to the main Prospect table via the Prospect_id
    and related info are all saved into the same Site_all table (the site type is not stored directly into the site_all
    table but via a use_site_all table, similarly to what happens with some standard OApps tables).
    We need to create the Prospect and associated three sites via an OA Framework page (actually multiple steps).
    So to visually resume:
    _ Site1 ---- use:legal
    Prospect - Site2 -- use:admin
    - Site3 --- use:logistic
    What's the best approach to achieve the creation of the records in the tables ?
    a) to add three EO for the Site table (with related AO) and one big ProspectAllVO view object containing all the fields
    from the three EO ?
    b) to add just one EO for the site and reference it three times while defiing the ProspectAllVO ?
    c) to specify a View Link (but this should be done three times and I'm not sure how to synchronize and manage
    the transaction for the creation ?
    d) AOB ?
    Thanks in advance. Regards.
    Giuseppe Naldi

    is it really just one IDOC?
    I have never seen that SAP just does a part of one IDOC.
    the structure of DEBMAS ist like this:
    E1KNA1M
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNB1M
    which means for your example it should be like this
    E1KNA1M
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNB1M
    and in this case I am very certain that it would never just process and create the part for one sales area.
    Maybe your customer already exists from ealier tests with just one sales area.
    Display your IDOC in WE02 or WE05 and make sure you have a value in name1 field

  • IPhone 4 reset itself, photos lost -URGENT HELP NEEDED

    Hi there,
    Urgent help needed!!
    Tonight I was taking extremely important photos throughout an event on my iPhone 4, however, my iPhone 4 ran out of battery once I was near a charger I plugged it in and for some reason my iPhone had reset itself. Back up icloud options were from yesterday, but the photos that I was taking at the event are needed urgently. Is there any way possible I can recover the photos that were taken?
    Thanks in advance!!!!

    Slymm71 wrote:
    just had similar problem got email from find my phone saying initiating full phone wipe this cannot be stopped ***? i own the phone from new and registerred in m name but wiped whilst i was using it !!!
    See your other post... 
    https://discussions.apple.com/message/18876037#18876037

Maybe you are looking for

  • I have my own itunes account but on an old computer, can i download and back it up on a new computer

    I have my own itunes account but on an old computer, can i download and back it up on a new computer

  • Scheduled report in BO 5.1

    <p>Hello Gurus,</p><p> </p><p>I am new to Business Objects, just started using it last  month</p><p>I have a particular requirement: i need to run a scheduled report query in business objects, then the output is to be written to a flat file.</p><p> <

  • Filter based group - viewing contents

    Hi, I'm trying to figure out how to see if a filter defined group on a Sun One 5.2 Directory server is getting the objects required. The filter group was defined by someone else. I've got several LDAP search tools available to me, but can't get resul

  • Volume levels burning to CD

    I know this problem has been raised before but I wondered what were the latest thoughts on getting consistent volume levels when burning a mixed source playlist to a CD. Some songs on the CD are a lot quieter than others. In the info box on the indiv

  • Unable to install UPK - get error while loading library

    Hi, I have installed UPK 11.0. I get an error when I start the Developer Client. "Unable to connect to remote server. Verify the webserver and database server are running" I have followed the install steps and have updated the profile, library locati