Not to copy  Price from PR to PO for text based purchases

Hello Experts,
We have a scenario, in which the PO will be created using a load file (LSMW - BAPI) with reference to a Purchase Requisition. All are text based purchases and no material master exists. I want the price from the load file to be taken as priority but no the requisition price.
I tried even by switching off the 'adopt price' option in the  Functional Authorization for buyers and assigned to my user. Still the price from PR is always taken as priority but not from the load file.
Request for inputs to control this  please
Thank you in advance
Chiru

Hi Chiru,
You tell your abaper to write a logic to overwrite the adopted PR price  with the price of the load file. This will fullfill your requirement.
Chris
Edited by: CHRIS MM on Dec 23, 2010 2:29 PM

Similar Messages

  • Copy data from one SAP system to another based on conversion rules

    Hi All,
    Please provide your input on how can we copy data from one SAP system to another based on conversion rules.
    Conversion rule :
    vkrog in 110  vkorrg in 120
    1234            4567   
    <<text removed>>
    Thanks
    Edited by: Matt on Feb 16, 2009 4:35 PM

    Please read the Rules of Engagement here: Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!!
    Please note that offering points is against the rules.
    matt

  • Not able to install Windows 8.1 Update for x64-based Systems (KB2919355)

    My laptop is dell vostro 1014.I have upgraded my laptop to windows 8.1 pro.I am not able to install Windows 8.1 Update for x64-based Systems (KB2919355)I got the following errors from windows event viewer:
    Installation Failure: Windows failed to install the following update with error 0x800F0922: Security Update for Internet Explorer 11 for Windows 8.1 for x64-based Systems (KB2964444) without KB2919355.
    Installation Failure: Windows failed to install the following update with error 0x800F0922: Windows 8.1 Update for x64-based Systems (KB2919355).
    Anyone knows how to fix this error?
    If I run the Reset Windows Update Components, I get this:

    Hi,
    Considering that the security app or third part service may block the installation, please try the clean boot to install this update manually:
    How to perform a clean boot
    http://support.microsoft.com/kb/929135
    If the issue still persists, please upload the cbs.log under
    %WinDir%\Logs\CBS\CBS.log into Onedrive or similar network drive and share the link here.
    Kate Li
    TechNet Community Support

  • No service, sim not provisioned, copy numbers from old phone to iPhone!!!

    As Apple don't provide any sort of useful instruction manual with the iphone here are the probs and answers I encountered with my iPhone 3GS.
    *copy numbers from old phone to iPhone*
    1st problem is that my old Nokia had far more numbers stored on it than on the Sim card alone, so having received and opened box of iPhone with new sim card I switched off my old Nokia phone, removed old sim card, replaced it with new sim card and copied contents to new card, then ejected new card from old phone and fitted in new iPhone.
    NOTE: You will need to have an iTunes account set-up.
    From the main menu in the iPhone select 'settings' > 'Mail, Contacts, Calendars', then scroll down & click on 'Import SIM contacts'. The numbers should be copied from your sim to your iPhone which stores the numbers on its memory rather than the SIM. - I looked for hours before discovering this!
    If you have more numbers on your old phone, then be careful to select numbers from phone / sim which is in the 'phone book' > 'settings' >'Memory in use' because you can more numbers from phone to sim and similarly protect numbers from deletion by moving them to the phone memory.
    It took me three chip moves from phone memory from Nokia to iPhone before all the numbers were moved.
    Note that text messages are NOT transferred from Nokia to iPhone via sim.
    **No Service* or 'Sim not provisioned'*
    Not able to connect to the rest of the world or SIM not provisioned may be down to you not switching your phone off properly, no thanks to the rubbish instruction manual with the iPhone where they assume you know where everything is!
    Anyone looking for help on this subject, look to the button located on the top of the phone at the right, and hold it down until you see the message 'slide to power off' the slide your fingers of the message from left to right until the phone switches off.
    This advice posted by my own problems with using the iPhone for the first time today.
    Having played around with the settings for a few hours I need to make comment that the iPhone is light years ahead of its competition.

    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • Copy Price from Purchase Order to Invoice

    HI,
    I have a urgent issue. I have created a STO purchase order and i have done delivery. The problem is i want to call the same value in the invoice.
    Please let me know is there any way out.
    Regards,
    AKASH

    Hello saurabh,
    thanks for your reply, as you said, I can create the same PP in SD and determine in IV, but the issue which I am facing is I am capturing mkt mvg price from material master in my PO.  Once the PO is raised, IV can be done after some time, whereing there is a huge chance, that mvg avg price from MM can be changed.  Now if I determine a PP in billing, the price in billing doc and PO will be different.
    So, I have to have capture the value from PO to billing.....
    Any help is much appreciated.
    Thanks in advance
    AKASH

  • Use language from BP as default for texts in activitys

    Hello,
    we are searching for a solution to use the language from a businesspartner as default language for texts in activitys.
    at the moment the system will allways use the sign-on language from the user as default.
    is there any possibility about the access sequences in the text procedures to control which language will be used as default in the activitys?
    or any other ideas how we can manage this?
    thanks a lot and
    kind regards - Helmut

    Hi Matthew
    What I'm doing is: setting the RAW fine tuning camera default ( to my custom settings) , so all new files being imported into Aperture 3 will take my custom settings as they are imported into Aperture 3.
    I did this will Aperture 2 without any trouble . now I have upgraded to Aperture 3 the RAW fine tuning camera default is Apples and I have to change it from Apples to my custom preset.
    It shows I have changed the RAW camera default to my custom settings in the drop down list but when I import files - they take the Apple preset not my custom settings ? ?
    Martin

  • ProcessOrder API not populating the Price from the pricing attribute setup.

    Hi,
    I am having a problem while adding a line on the existing order through the Oe_Order_pub.Process_order API. A line is added but the pricing is not fetched using the pricing attribute.
    I have passed calculate_Price_flag=’Y’ but in vain. I am not passing price list id but instead want to use a pricing attribute that will fetch the price on the item automatically.
    But, it is working when I am calling this procedure from TOAD but when it is called through the Workflow, a line is added but no price is fetched.
    Could anyone help me out on this? Here’s the code:
    p_api_version_number NUMBER := 1.0;
    p_init_msg_list VARCHAR2 (1) := FND_API.G_TRUE;
    p_return_values VARCHAR2 (1) := FND_API.G_TRUE;
    p_action_commit VARCHAR2 (1) := FND_API.G_FALSE;
    x_return_status VARCHAR2 (1);
    x_msg_count NUMBER := 0;
    x_msg_data VARCHAR2 (2000);
    p_header_rec oe_order_pub.header_rec_type:= oe_order_pub.g_miss_header_rec;
    p_old_header_rec oe_order_pub.header_rec_type:= oe_order_pub.g_miss_header_rec;
    p_header_val_rec oe_order_pub.header_val_rec_type:= oe_order_pub.g_miss_header_val_rec;
    p_old_header_val_rec oe_order_pub.header_val_rec_type:= oe_order_pub.g_miss_header_val_rec;
    p_header_adj_tbl oe_order_pub.header_adj_tbl_type:= oe_order_pub.g_miss_header_adj_tbl;
    p_old_header_adj_tbl oe_order_pub.header_adj_tbl_type:= oe_order_pub.g_miss_header_adj_tbl;
    p_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type:= oe_order_pub.g_miss_header_adj_val_tbl;
    p_old_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type:= oe_order_pub.g_miss_header_adj_val_tbl;
    p_header_price_att_tbl oe_order_pub.header_price_att_tbl_type:= oe_order_pub.g_miss_header_price_att_tbl;
    p_old_header_price_att_tbl oe_order_pub.header_price_att_tbl_type:= oe_order_pub.g_miss_header_price_att_tbl;
    p_header_adj_att_tbl oe_order_pub.header_adj_att_tbl_type:= oe_order_pub.g_miss_header_adj_att_tbl;
    p_old_header_adj_att_tbl oe_order_pub.header_adj_att_tbl_type:= oe_order_pub.g_miss_header_adj_att_tbl;
    p_header_adj_assoc_tbl oe_order_pub.header_adj_assoc_tbl_type:= oe_order_pub.g_miss_header_adj_assoc_tbl;
    p_old_header_adj_assoc_tbl oe_order_pub.header_adj_assoc_tbl_type:= oe_order_pub.g_miss_header_adj_assoc_tbl;
    p_header_scredit_tbl oe_order_pub.header_scredit_tbl_type:= oe_order_pub.g_miss_header_scredit_tbl;
    p_old_header_scredit_tbl oe_order_pub.header_scredit_tbl_type:= oe_order_pub.g_miss_header_scredit_tbl;
    p_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type:= oe_order_pub.g_miss_header_scredit_val_tbl;
    p_old_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type:= oe_order_pub.g_miss_header_scredit_val_tbl;
    p_line_tbl oe_order_pub.line_tbl_type:= oe_order_pub.g_miss_line_tbl;
    p_old_line_tbl oe_order_pub.line_tbl_type:= oe_order_pub.g_miss_line_tbl;
    p_line_val_tbl oe_order_pub.line_val_tbl_type:= oe_order_pub.g_miss_line_val_tbl;
    p_old_line_val_tbl oe_order_pub.line_val_tbl_type:= oe_order_pub.g_miss_line_val_tbl;
    p_line_adj_tbl oe_order_pub.line_adj_tbl_type:= oe_order_pub.g_miss_line_adj_tbl;
    p_old_line_adj_tbl oe_order_pub.line_adj_tbl_type:= oe_order_pub.g_miss_line_adj_tbl;
    p_line_adj_val_tbl oe_order_pub.line_adj_val_tbl_type:= oe_order_pub.g_miss_line_adj_val_tbl;
    p_old_line_adj_val_tbl oe_order_pub.line_adj_val_tbl_type:= oe_order_pub.g_miss_line_adj_val_tbl;
    p_line_price_att_tbl oe_order_pub.line_price_att_tbl_type:= oe_order_pub.g_miss_line_price_att_tbl;
    p_old_line_price_att_tbl oe_order_pub.line_price_att_tbl_type:= oe_order_pub.g_miss_line_price_att_tbl;
    p_line_adj_att_tbl oe_order_pub.line_adj_att_tbl_type:= oe_order_pub.g_miss_line_adj_att_tbl;
    p_old_line_adj_att_tbl oe_order_pub.line_adj_att_tbl_type:= oe_order_pub.g_miss_line_adj_att_tbl;
    p_line_adj_assoc_tbl oe_order_pub.line_adj_assoc_tbl_type:= oe_order_pub.g_miss_line_adj_assoc_tbl;
    p_old_line_adj_assoc_tbl oe_order_pub.line_adj_assoc_tbl_type:= oe_order_pub.g_miss_line_adj_assoc_tbl;
    p_line_scredit_tbl oe_order_pub.line_scredit_tbl_type:= oe_order_pub.g_miss_line_scredit_tbl;
    p_old_line_scredit_tbl oe_order_pub.line_scredit_tbl_type:= oe_order_pub.g_miss_line_scredit_tbl;
    p_line_scredit_val_tbl oe_order_pub.line_scredit_val_tbl_type:= oe_order_pub.g_miss_line_scredit_val_tbl;
    p_old_line_scredit_val_tbl oe_order_pub.line_scredit_val_tbl_type:= oe_order_pub.g_miss_line_scredit_val_tbl;
    p_lot_serial_tbl oe_order_pub.lot_serial_tbl_type:= oe_order_pub.g_miss_lot_serial_tbl;
    p_old_lot_serial_tbl oe_order_pub.lot_serial_tbl_type:= oe_order_pub.g_miss_lot_serial_tbl;
    p_lot_serial_val_tbl oe_order_pub.lot_serial_val_tbl_type:= oe_order_pub.g_miss_lot_serial_val_tbl;
    p_old_lot_serial_val_tbl oe_order_pub.lot_serial_val_tbl_type:= oe_order_pub.g_miss_lot_serial_val_tbl;
    p_action_request_tbl oe_order_pub.request_tbl_type := oe_order_pub.g_miss_request_tbl;
    x_header_rec oe_order_pub.header_rec_type;
    x_header_val_rec oe_order_pub.header_val_rec_type;
    x_header_adj_tbl oe_order_pub.header_adj_tbl_type;
    x_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type;
    x_header_price_att_tbl oe_order_pub.header_price_att_tbl_type;
    x_header_adj_att_tbl oe_order_pub.header_adj_att_tbl_type;
    x_header_adj_assoc_tbl oe_order_pub.header_adj_assoc_tbl_type;
    x_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
    x_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
    x_line_tbl oe_order_pub.line_tbl_type;
    x_line_val_tbl oe_order_pub.line_val_tbl_type;
    x_line_adj_tbl oe_order_pub.line_adj_tbl_type;
    x_line_adj_val_tbl oe_order_pub.line_adj_val_tbl_type;
    x_line_price_att_tbl oe_order_pub.line_price_att_tbl_type;
    x_line_adj_att_tbl oe_order_pub.line_adj_att_tbl_type;
    x_line_adj_assoc_tbl oe_order_pub.line_adj_assoc_tbl_type;
    x_line_scredit_tbl oe_order_pub.line_scredit_tbl_type;
    x_line_scredit_val_tbl oe_order_pub.line_scredit_val_tbl_type;
    x_lot_serial_tbl oe_order_pub.lot_serial_tbl_type;
    x_lot_serial_val_tbl oe_order_pub.lot_serial_val_tbl_type;
    x_action_request_tbl oe_order_pub.request_tbl_type;
    i NUMBER := 1;
    x_data VARCHAR2(2000);
    x_index NUMBER;
    x_err_msg VARCHAR2(4000);
    x_user_id NUMBER;
    x_appl_id NUMBER;
    x_resp_id NUMBER;
    X_DEBUG_FILE Varchar2(400);
    BEGIN
    oe_msg_pub.initialize();
    oe_debug_pub.initialize;
    X_DEBUG_FILE := OE_DEBUG_PUB.Set_Debug_Mode('FILE');
    oe_debug_pub.SetDebugLevel(3);
    -- INITIALIZATION REQUIRED FOR R12
    MO_GLOBAL.INIT('ONT');
    MO_GLOBAL.SET_ORG_CONTEXT(p_org_id,'','ONT');
    p_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC;
    p_action_request_tbl(i) := OE_ORDER_PUB.G_MISS_REQUEST_REC;
    p_line_tbl.delete;
    p_action_request_tbl.delete;
    p_line_tbl (i) := OE_ORDER_PUB.G_MISS_LINE_REC;
    p_line_tbl (i).operation := OE_GLOBALS.G_OPR_CREATE;
    p_line_tbl (i).header_id := p_header_id;
    p_line_tbl (i).ordered_quantity := p_qty;
    p_line_tbl (i).line_number := p_line_number;
    p_line_tbl (i).shipment_number := 1;
    p_line_tbl (i).calculate_price_flag := 'Y';--p_calc_price_flag;
    p_line_tbl (i).created_by := p_user_id ;
    p_line_tbl (i).creation_date := SYSDATE ;
    p_line_tbl (i).inventory_item_id := p_item_id;
    p_line_tbl (i).last_update_date := SYSDATE;
    --p_line_tbl (i).last_update_login        := -1;
    p_line_tbl (i).last_updated_by := p_user_id ;
    p_line_tbl (i).line_type_id := p_line_type_id;
    p_line_tbl (i).order_quantity_uom := p_qty_uom;
    p_line_tbl (i).org_id := p_org_id;
    --p_line_tbl (i).price_list_id            := p_price_list_id;
    p_line_tbl (i).ship_from_org_id := p_ship_from_org_id ;
    p_line_tbl (i).ship_to_contact_id := p_ship_to_contact_id;
    p_line_tbl (i).ship_to_org_id := p_ship_to_org_id;
    p_line_tbl (i).sold_from_org_id := p_sold_from_org_id ;
    p_line_tbl (i).sold_to_org_id := p_sold_to_org_id;
    p_line_tbl (i).subinventory := p_subinventory ;
    --p_line_tbl (i).unit_list_price          := p_price;
    --p_line_tbl (i).unit_selling_price       := p_price;
    p_line_tbl (i).booked_flag := 'Y';
    p_line_tbl(i).flow_status_code := 'CLOSED';
    --SAVEPOINT BEFORE_PROC_API;
    OE_ORDER_PUB.PROCESS_ORDER (
    p_api_version_number => p_api_version_number
    ,p_init_msg_list => p_init_msg_list
    ,p_return_values => p_return_values
    ,p_action_commit => p_action_commit
    ,p_header_rec => p_header_rec
    ,p_old_header_rec => p_old_header_rec
    ,p_header_val_rec => p_header_val_rec
    ,p_old_header_val_rec => p_old_header_val_rec
    ,p_header_adj_tbl => p_header_adj_tbl
    ,p_old_header_adj_tbl => p_old_header_adj_tbl
    ,p_header_adj_val_tbl => p_header_adj_val_tbl
    ,p_old_header_adj_val_tbl => p_old_header_adj_val_tbl
    ,p_header_price_att_tbl => p_header_price_att_tbl
    ,p_old_header_price_att_tbl => p_old_header_price_att_tbl
    ,p_header_adj_att_tbl => p_header_adj_att_tbl
    ,p_old_header_adj_att_tbl => p_old_header_adj_att_tbl
    ,p_header_adj_assoc_tbl => p_header_adj_assoc_tbl
    ,p_old_header_adj_assoc_tbl => p_old_header_adj_assoc_tbl
    ,p_header_scredit_tbl => p_header_scredit_tbl
    ,p_old_header_scredit_tbl => p_old_header_scredit_tbl
    ,p_header_scredit_val_tbl => p_header_scredit_val_tbl
    ,p_old_header_scredit_val_tbl => p_old_header_scredit_val_tbl
    ,p_line_tbl => p_line_tbl
    ,p_old_line_tbl => p_old_line_tbl
    ,p_line_val_tbl => p_line_val_tbl
    ,p_old_line_val_tbl => p_old_line_val_tbl
    ,p_line_adj_tbl => p_line_adj_tbl
    ,p_old_line_adj_tbl => p_old_line_adj_tbl
    ,p_line_adj_val_tbl => p_line_adj_val_tbl
    ,p_old_line_adj_val_tbl => p_old_line_adj_val_tbl
    ,p_line_price_att_tbl => p_line_price_att_tbl
    ,p_old_line_price_att_tbl => p_old_line_price_att_tbl
    ,p_line_adj_att_tbl => p_line_adj_att_tbl
    ,p_old_line_adj_att_tbl => p_old_line_adj_att_tbl
    ,p_line_adj_assoc_tbl => p_line_adj_assoc_tbl
    ,p_old_line_adj_assoc_tbl => p_old_line_adj_assoc_tbl
    ,p_line_scredit_tbl => p_line_scredit_tbl
    ,p_old_line_scredit_tbl => p_old_line_scredit_tbl
    ,p_line_scredit_val_tbl => p_line_scredit_val_tbl
    ,p_old_line_scredit_val_tbl => p_old_line_scredit_val_tbl
    ,p_lot_serial_tbl => p_lot_serial_tbl
    ,p_old_lot_serial_tbl => p_old_lot_serial_tbl
    ,p_lot_serial_val_tbl => p_lot_serial_val_tbl
    ,p_old_lot_serial_val_tbl => p_old_lot_serial_val_tbl
    ,p_action_request_tbl => p_action_request_tbl
    ,x_header_rec => x_header_rec
    ,x_header_val_rec => x_header_val_rec
    ,x_header_adj_tbl => x_header_adj_tbl
    ,x_header_adj_val_tbl => x_header_adj_val_tbl
    ,x_header_price_att_tbl => x_header_price_att_tbl
    ,x_header_adj_att_tbl => x_header_adj_att_tbl
    ,x_header_adj_assoc_tbl => x_header_adj_assoc_tbl
    ,x_header_scredit_tbl => x_header_scredit_tbl
    ,x_header_scredit_val_tbl => x_header_scredit_val_tbl
    ,x_line_tbl => x_line_tbl
    ,x_line_val_tbl => x_line_val_tbl
    ,x_line_adj_tbl => x_line_adj_tbl
    ,x_line_adj_val_tbl => x_line_adj_val_tbl
    ,x_line_price_att_tbl => x_line_price_att_tbl
    ,x_line_adj_att_tbl => x_line_adj_att_tbl
    ,x_line_adj_assoc_tbl => x_line_adj_assoc_tbl
    ,x_line_scredit_tbl => x_line_scredit_tbl
    ,x_line_scredit_val_tbl => x_line_scredit_val_tbl
    ,x_lot_serial_tbl => x_lot_serial_tbl
    ,x_lot_serial_val_tbl => x_lot_serial_val_tbl
    ,x_action_request_tbl => x_action_request_tbl
    ,x_return_status => x_return_status
    ,x_msg_count => x_msg_count
    ,x_msg_data => x_msg_data
    p_status := x_return_status;
    IF x_return_status != apps.fnd_api.g_ret_sts_success THEN
    x_err_msg:= 'API Error Occured while creating Recycle Fees line ' ;
    FOR i in 1..x_msg_count
    LOOP
    OE_MSG_PUB.GET(i,'F',x_data,x_index);
    x_err_msg := x_err_msg || x_data ;
    END LOOP;
    p_error := x_err_msg;
    insert into xx_test values('API ERR: '||SYSDATE|| p_error);
    -- ROLLBACK TO SAVEPOINT BEFORE_PROC_API;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    -- ROLLBACK TO SAVEPOINT BEFORE_PROC_API;
    p_error := 'Error Occured in Order Line API: '||SYSDATE||substr(SQLERRM,1,250) ;
    p_status := 'E';
    END call_order_api;
    Thanks,
    Rahul

    Another striking feature here is, the API works absolutely well for the Internal Orders (Book--> Release-->Ship) but price is not pulled for the External Drop Ship Orders.

  • Material not getting copied over from Soource to Destination Document

    Hi
    I have created a contract.& when I tried to create a Debit memo Request with reference to the contract I am getting a message that 'Material in Item 10 does not exist'(Msg No-V1 474) &' Item 10 contains errors & cannot be copied'..Though the material that I am trying to copy exists in the sales area of the Debit Memo Request & also it is not blocked for Sales..Master Record for the material also exists in the system.I am getting this error only for a specific Company code/Sales Area.
    Any help to fix this issue is highly appreciated.
    Thanks & Regards
    Prasad

    Hi,
    Check the contract for the incompletion log, the document may not be completed ,
    also check the copying requirement -001 maintained in VTAA.
    Regards
    Senya

  • I'm trying to buy an album from the iTunes store but is not deducting the price from my redeemed card balance, why?

    I redeemed a card in my account but when trying to shop is not giving me the option to use it. Any suggestions?

    Hello Carla158,
    You dont really have to tell the iTunes Store to use the credit balance. Here is how purchases are charged in iTunes.
    Order of iTunes billing methods
    When making purchases, content credits are used first, followed by Gift Certificate, iTunes Card, or Allowance Account credits; your credit card or PayPal account is then charged for any remaining balance.
    From: iTunes Store: How iTunes Store purchases are billed
              http://support.apple.com/kb/HT5582
    All the best,
    Sterling

  • Is there a conflict in copying files from windows to formatted for mac ED.

    I am going to format a large external drive for mac to house my movie files under advice of several helpful people here. When I format this drive the am I going to have problems copying the files back to it from my windows pc????
    I had already backed my movies and photos' to the drive....but formatting will delete them.
    Any feedback appreciated!

    To begin with, I've arranged to have your post moved from the Solaris 11 forum to the Solaris 9 forum.
    That's the closest arena for questions involving a system running Solaris 8, as you stated in the title of your post.
    I think you have a Filezilla issue, not an OS issue.
    It's been a very long time since I needed to investigate deep into Filezilla's settings but I recall there's some various choices as to 8-dot-3 versus long-file-name compatibilities.
    My various systems with Filezilla installed don't have your issue and they're all installed with what I vaguely remember as its program defaults. When I use the program it is ALWAYS to transfer files back and forth between MSWin and *NIX systems.
    You might think about searching for hints and solutions on Filezilla forums/blogs/wikis instead these forums here.

  • Copy values from stored procedure to a text pad

    Any Suggestions
    We have a table 'A' and wrote a select query to get the values from that table 'A'. I place this select query in Stored procedure and when I run that procedure every month the output should be sent t a text pad. Any suggestions how to write it
    thanks
    Is there any other method if we dont have the privelage to create directory?
    Edited by: user646635 on Oct 2, 2008 7:16 AM

    user646635 wrote:
    want to store the output in a text file?
    we are using oracle 9iHere's a basic example for you...
    AS SYS:
    create or replace directory TEST_DIR as 'c:\test_dir'; -- This creates an oracle directory object.  The actual operating system directory must be created manually
    grant read,write on directory test_dir to my_user;  -- Grant permission to use that directory object to the required user(s)AS my_user:
    declare
      cursor cur_emp is
        select ename, deptno
        from emp;
      v_fh UTL_FILE.FILE_TYPE;  -- This is a file handle
    begin
      v_fh := UTL_FILE.FOPEN('TEST_DIR', 'file.txt', 'w', 32767);  -- Open the file for writing and obtain a handle to it
      FOR i IN cur_emp -- process the query in a loop
      LOOP
        UTL_FILE.FPUT_LINE(v_fh, i.ename||','||to_char(i.deptno,'fm099')); -- write out lines of text to the file
      END LOOP;
      UTL_FILE.FCLOSE(v_fh); -- Close the file (also flushes any unwritten buffered data).
    end;

  • Just updated and now my iTunes will not transfer my music from my PC that I haven't purchase via iTunes

    Just updated my iPad ,now I can't seem to transfer my music from my PC that I didn't buy in iTunes !  Any advice will be greatly appreciated.

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes forums.
    Regards.

  • Video does not syc with audio from a tv show that has been purchased

    I purchased a tv show and cannot get the video to sync with the audio.  Does anyone know what you need to do?

    Does the TV show gives problem in the iPod or iTunes?
    Refer to this Apple Support Article, check if your PC video settings need to be changed.
    http://support.apple.com/kb/TS1386
    Or you can send a feedback
    http://www.apple.com/feedback/itunes.html
    Have a nice day!

  • Movie rentals that I downloaded onto iMac with Lion to do not show up on ATV 2 in menu for computers.  Purchased movies show up just fine.  What to do or look for?

    I have an imac that is running lion and an Apple TV generation 2.  I have rented a movie from itunes and it shows up on my imac in Itunes under a rental icon, and will play fine on my computer.  However, it does not show up as choice to play on my apple tv.  I have homesharing enabled and everything else works fine including purchased movies that are on my imac, but no where does it show rental movies. 
    What do I look for?  What do I do to play the rental movie on my apple tv 2?

    Answer to my own question:
    Wait until the downloaded rental has completed its download to the imac.  This took a long time for me, since it was part of several things that I was downloading at the same time.
    Finally, it showed up on my apple tv.   Interestingly, I was able to watch much of the movie on my iMac before the movie finished its download and was available to the ATV 2.

  • Create fixed assets from within the transaction for creating the purchase order

    Hello All,
    I have gone through the notes on help.sap.com related to automatic creation of asset master record at the time of creating purchase order.  I am not sure how do we achieve this?
    Link to the notes on help.sap.com
    SAP Library - Asset Accounting (FI-AA)
    Any suggesstions from the expert group is appreciated.
    Thank you,
    Vinay

    Hi Vinay
    I know there is a feature whereby you assign asset classes per material group and then you create assets from within the PO. I never used it though
    Let me tell you one thing or rather ask you. Will you as a finance consultant be willing to let a MM guy create the assets??
    Or will a MM guy be willing to create it?? If you allow them, you should be ready for surprises.
    Honestly, this is a feature not worth exploring unless a FI guy is willing to create the PO. I would suggest the creation of asset masters should be with FI only
    Br. Ajay M

Maybe you are looking for

  • No unpaid tax lines exist for the given selection criteria while+J1inchln

    Hi All, While doing J1inchln I am getting following error. No unpaid tax lines exist for the given selection criteria. Message no. 8I702 Diagnosis The corresponding withholding tax line &1& is not present in WITH_ITEM table. System Response For withh

  • PDF file is not Valid

    I work in an Architectural office, and we get consultant drawings in PDF all the time. Several of our engineers will sometimes send pdf files that cannot be opened by Acrobat 6.0, yet I can open them with Acrobat 8.0 Pro.  What would cause this, and

  • Panning slideshow

    Hi All, I am new to Premier Pro and have been asked to put together a slideshow for a friends wedding. Rather than having a slideshow that fades in or out between images my plan is to have the camera pan across different images zooming in and out of

  • "Save As" not working for cursor generated content

    Hi All, Oracle Portal Version : 9.0.4. I have a PL/SQL procedure which generates a HTML page when called with certain parameters. When I am trying to do "Save as", "Web Page Complete" for this page in IE 6, it does not save correctly. The problem is

  • Fatal System Error

    I was downloading a program that wanted to also install a version of MySQL (I believe that this is the problem, although I don't know for sure) - as soon as it installed, this message appeared: "STOP: c000021a {Fatal System Error} The Windows Logon P