Transaction info in javascript

Hi all,
I would like to get BLS transaction execution details like how much time it has took and transaction final info. into the javascript.Is there any method available for finding it in javascript..............?

Hi Ravi,
            There are two things you can do for this. You can get the time stamp in log. Which is tedious task to get that one. You can not get the transaction execution info from the BLS editor to Xacute query.
            But for your problem i can give one solution.
1. Create two time stamp variables in Java Script.
2.Take the current time into one variable before the template execution.(i.e hopefully at the start of the function)
3. Next take current time at the end of the execution of transaction in second variable.
4. Calculate the difference between the two variables.
I hope this explanation gives you some idea.
Thanks,
Rajesh.
PS : Please awrad points if answer is useful.

Similar Messages

  • Master data infopack assignment to Transactional Info source

    Hi all,
    I have been using Standard content cubes and ODS. What i observed was that, i see the master data infopacks under the transactional info source. Some infosources are feeding the Info objects, whereas some of them are feeding some Masterdata ODS. As i never came across such scenario, i was confused. Did any of you, came across such assignment for the infosources? Any insight on this issue would be helpful.
    Note: All the infosources used are out-of-box.
    Thanks in Advance,
    Mav.

    Hi Maverick,
    Are you referring to flexible update of master data as it's possible from BW 3.x to load master data into an ODS object.
    Check the link below ->
    http://help.sap.com/saphelp_bw31/helpdata/en/98/3a14836fe5e1499a4e17d2d45f4612/content.htm
    Hope it helps,
    Sree

  • FBL1N Transaction, Info req.

    Info about
    Posted: Dec 22, 2005 6:00 PM        Reply      E-mail this post 
    Hi,
    Presetnly I am working with FBL1N Transaction.
    Vendor Line Item Display.
    I would like some one to elaborate on that the usage of this transaction FBL1N.
    Actually when I am passing the Vendor A/c it should be posted to WBS element, but it is getting posted to cost center .
    Can some one help on this issue.
    Thanks in Advance,
    Irfan

    Hi,
    I am entering the vendor code and company code, after
    wards I am selecting Clear Line Item Selection,
    Then I am selecting Normal Line Items, then executing it,
    After the execution I am clicking on Assignment where I particularly clicking on an Assignment and then Display,
    After display I am clicking on Document Overview,
    I am seeing the expenses are getting posted to cost center not to the WBS element.
    Could you please further advice on this.
    When I am passing vendor code it is should be posted to  WBS element,But in some case it is getting posted to Cost Center and some cases it is getting psoted to WBS element.
    Actually as per our requirement it should be posted to
    WBS not to cost center , Could you please advice further on this issue.
    Thanks In Advance,
    Regards,
    Irfan Hussain

  • Are there any payment gateways that will display the BC invoice number in transaction info?

    MI've been told by BC suppor that this functionality is not available for Paypal, and am wondering if any Payment gateways would support this. My client wants to see the invoice number (from BC) in each transaction in Paypal to be able to easily reconcile orders and payments. Other pamynet info shows up, and it would be great if the invoice number would come through as well.
    Any help?

    Just have a follow up question about this. My client's accounting dept is having some issues with how the funds are deposited into the bank account without any identification to describe where it is coming from. When you say that "BC sends an order number to the gateways," do you mean that once someone places an order the order number is passed to the payment gateway with all the rest of the payment info? So that order number could be seen in PayPal, for example, but once the client deposits those funds into their bank account, that information would not necessarily be submitted along with it, correct? Thanks.

  • Transaction calling using JavaScript

    Hello,
    I have a requirement. I am calling an IGrid applet. The grid applet displaying the content in a table.
    The user is selecting the row and the row content should have be been retrieved and send as input parameter for a Transaction . The transaction is an RFC call.
    The one return value (Suppose XYZ)of RFC will replace the selected row one column (cell ) content with XYZ and display in the grid.
    My questions are.
    1. How to call /execute the transaction and get the returned value in Javascript?
    2. How to replace the content of a cell of the selected table?
    Regards.
    Anshul

    Hi Anshul,
    1) You can make use of jQuery.ajax() function to call your transaction from your irpt or html or js. Just pass the following runner URL to the jQuery's ajax function:
    http://<host>:<port>/XMII/Runner?Transaction=<Transaction path>&<InputParamName>=<InputParamValue>&OutputParameter=<OutputParamName>&session=false&content-type=text/xml
    This will return the result of your transaction as xml, Parse through this xml and get your desired value as string.
    2) To replace the cell value, make use of the javascript functions on the grid object as,
    yourAppletName.getGridObject().setCellValue(int Row, int Column, String Value)
    Similarly, to pass your cell value to the transaction as its input parameter while making the ajax call, make use of getCellValue(int Row, int Column)
    Hope this will solve your doubt.
    Regards,
    Rutika Bodas

  • Function module in ST03N for user to transaction info

    Hi, we are running ECC 5.0 and have a requirement to find out which users have executed certain transactions in a period of time (e.g. month, week). ST03N gives these details, however, we need to run this for several transactions and multiple periods. This becomes impractical as the number of transactions is large. Is there a function module that can be used to get the information? Sample screenshot ST03N is attached depicting the navigation path ST03N -> expert mode -> Month -> Transaction profile -> Standard -> Double click the transaction to get the user list (e.g. here is users who have execute VL01N).
    Any information that can be shared would be appreciated.
    Regards
    Nirmal Bhagwani

    Check FM SAPWL_AS_WORKL_GET_STATISTIC , might help. it gives only 7 days data.
    -SS

  • How to record a transaction in OEM

    Hi all,
    few days back we installed a agent control on one windows forms and report server to collect the transaction info of forms and reports of that particular. after succecfully completed our installation. we couldn't able to record the transactions on that server.don't know where is the problem occurs? i installed jinitiator in that system also. if anybody face this problem earlier if so pls let us know?
    o/s--windows2003R2
    forms-oracle 6.0
    oracle-10.2.0.3.0

    Are you asking about recording service tests?
    10.2.0.3 (10gR3) does not support Forms 6. You need to use 10.2.0.4 (10gR4) for that. Forms 6 is rather old. Is this for E-Business Suite 11i?
    <br>
    <br>
    Chung
    <br>
    <br>
    Application Management Blog

  • OT: Need help on menu, please (JavaScript)

    Hi there and thanx for your help so long.
    My question is about this menu:
    http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu
    I must say that I really need this to work.
    My effort is here:
    www.energywa.co.za/layout/
    It works beautifully in IE but not as beautifully in FF and Chrome.
    Problem:
    By just putting in the adress as above, the coloured boxes do not appear at all. They only appear when I click on the Home link at the top of the page or I type www.energywa.co.za/layout/index.php in the address bar.
    It does this on my local machine as well as the server where it is hosted on.
    What bugs me is that it works perfect from the writer's site in all 3 browsers. Unfortunately there is no support forum on the site and I have alrwady mailed the writer but had no luck yet.
    Can someone please help me? I am in the process of learning JavaScript but can only copy & paste at the moment. ;-)
    Thank you so long.
    Deon

    Hi Gary.
    I eventually got it to work. There is still a lot of clutter in the script which I need to sif through, but it works! I am so relieved. I used the files another person modified (from the link I posted) and changed them here and there.
    I also still need to get my menu to the left, but that should be easy.
    You can again have a look at www.energywa.co.za/layout
    It works in IE, FF and Chrome.
    Thanx very much again for all your help. I don't know what exactly fixed it, but it is there somewhere.
    Regards,
    Deon

  • Roll up and Aggreagaes and Compression on transactional Infocubes

    Hi Frineds,
    I want to know about like whether Roll up and Compression is possible or not on Transactional Infocubes?
    Please confirm the correct one.
    I know this is very basic one but i want exact answer.
    Will assign the points.
    Thanks in advance.
    Regards
    SAPSEM

    Hi,
    of course u can build aggregates, can do compression on transactional info cubes because transactional info cube is also a basic cube with planning allowed.
    as we can do loading for transactional cube we can build indices, we can maintain aggregates do compression to improve query performance.
    go into manage of the transactional cube u can find everything same as basic cube.
    same performance tab,same rollup tab, same collapse tab.
    assign points if it helps.
    thanks,
    pavan.

  • Quicken is unable to access financial info

    Just installed a new Airport Extreme and ran into what appears to be a firewall issue. Quicken returns an error "OL-261", which according to the folks at Quicken means that their software was unable to establish a connection to the relevant web site to download the transaction info. They suggest that the firewall needs to specify that Quicken is allowed access.
    I can't find any place on the AE control panel to make this adjustment. Any suggestions would be most welcome!

    Welcome to the discussions!
    There is no firewall on the AirPort Extreme.
    You might want to check the settings on your computer.
    System Preferences > Security > Firewall tab
    Try allowing all incoming connections

  • Mouse events on a pdf page (javascript)

    Hello,
    I would like to know if it is possible to detect mouse position, movement and clicks events/infos from javascript at /app level on a pdf page.
    Thanks in advance

    is it possible that the user moves the mouse over the button area while keeping it pressed and my code gets x,y events of this movement? Can I have this with some other control ? (signature field?)

  • My Lightroom 5 upgrade serial number not showing up on My Products page; chat support useless

    I purchased a Lightroom 5 upgrade license on July 25th.  I didn't receive a confirmation email but my serial number was displayed on the order summary page after purchase.  I tried registering the serial number repeatedly through the My Products page but for some reason the serial number wasn't showing up, even though the registration process reported a successful result.  Furthermore, Adobe products bought from the Adobe store should automatically be registered according to Adobe's web site.  Apparently this must have failed.  I need to reinstall Lightroom 5 but the serial number is still not showing up on the My Products page.  I just spent an extremely frustrating hour with Adobe "Live" chat who did nothing but send me in circles and repeat the same canned responses over and over again.
    I'm currently on hold with "phone support" but I'm not optimistic as I've been on hold for 28 minutes.  The only other support option was a link to this forum, hence this post.  Hopefully someone from Adobe can retrieve my serial number and contact me.  Failing this my only other option will be to contact VISA and open a claim.
    My comical-if-it-weren't-so-sad conversation with Adobe support:
    Hi, there are 36 customer(s) in line ahead of you. We'll be with you as soon as possible. Thank you for your patience.
    Hi, there are 35 customer(s) in line ahead of you. We'll be with you as soon as possible. Thank you for your patience.
    Hi, there are 31 customer(s) in line ahead of you. We'll be with you as soon as possible. Thank you for your patience.
    You are now chatting with Bhagawan.
    Bhagawan: Hello! Welcome to Adobe Customer Service.
    Joel: Hello
    Bhagawan: Hi Joel.
    Joel: I need to reinstall Lightroom 5 but my serial number is not showing up under My Products & Services on the website
    Joel: I bought a Lightroom 5 upgrade back in July
    Bhagawan: I will be glad to check and help you with this issue.
    Joel: For some reason the product registration is not showing up under my account. I have my VISA transaction info if it helps you find my purchase.
    Joel: Thanks
    Bhagawan: I'll be right with you.
    Joel: ok
    Bhagawan: Okay.
    Bhagawan: May I know the email address, please?
    Joel: ******
    Bhagawan: Thank you.
    Bhagawan: Let me check on this.
    Bhagawan: For security reasons, could you verify your complete name and billing address as mentioned on your account please?
    Joel: Sure:
    Joel: Joel ****
    Joel: **********
    Bhagawan: Thank you Joel.
    Bhagawan: Joel, I see that your serial number is registered under your adobe account, please sign out and sign in your adobe account click on My Products and service information to retrieve the serial number.
    Joel: I only see Lightroom 4 ... not Lightroom 5.
    Joel: But I'll try
    Joel: Give me a sec
    Bhagawan: Sure.
    Joel: Nope...still only shows Lightroom 4
    Joel: Products in use Version Platform Registration date Lightroom 4 Mul October 4, 2012 Register new products
    Bhagawan: Okay.
    Joel: Not sure why it isn't showing my upgraded license for Lightroom 5
    Bhagawan: Please give me a minute or two.
    Joel: ok
    Bhagawan: Sure.
    Bhagawan: Thanks for staying online.
    Joel: np
    Bhagawan: Joel, In this case, I'll transfer this chat to our Concern Team to check and help you with the serial number.
    Joel: ok
    Bhagawan: Please stay online.
    Joel: ok
    Please wait while I transfer the chat to the appropriate group.
    You are now chatting with Naveen R.
    Naveen R: Sorry for the wait. Please do stay online.
    Naveen R: Hello! Welcome to Adobe Customer Service.
    Joel: ok
    Joel: Hello
    Naveen R: Hi Joel.
    Naveen R: I understand that you are unable to locate the serial number.
    Joel: I purchased Lightroom 5 on July 25, 2013 as an upgrade for Lightroom 4. I need to reinstall Lightroom 5, but my serial number is not showing up in the products & services page.
    Joel: I looked through my email receipts and couldn't find an order confirmation (or anything from Adobe related to my recent purchase.) After purchasing the upgrade, the serial number was displayed and I thought I had registered it using the Adobe account portal
    Joel: Apparently, this didn't work. I have my VISA transaction information if required.
    Naveen R: Thank you for the information.
    Naveen R: I will be glad to check and help you with that.
    Joel: Thanks
    Joel: As I mentioned to the previous agent, when I got into My Products on the Adobe portal, I can see my Lightroom 4 info, but the Lightroom 5 Upgrade info isn't there.
    Joel: got = go
    Joel: sry
    Naveen R: Thank you for waiting. One moment please.
    Joel: ok
    Naveen R: I'll be right with you.
    Naveen R: Sorry for the wait. Please do stay online.
    Joel: ok
    Naveen R: Thank you for waiting. One moment please.
    Naveen R: Sorry for the wait. Please do stay online.
    Joel: Will it take much longer?
    Naveen R: Let me check on that.
    Joel: Are you alive?
    Naveen R: I'm sorry due to application error I'm unable to check on that.
    Joel: Can I please get a phone number to call? My only other choice would be to open a claim with VISA for fraud since Adobe seems unwilling to help in this matter
    Naveen R: I will provide the steps to locate the serial number on your Adobe account.
    Joel: I already know how to look for a serial number. The problem is that it doesn't show up in the Adobe account portal.
    Naveen R: Please login under a different browser.
    Joel: Already tried. Used IE then Chrome
    Naveen R: Delete the cookies refresh your browser.
    Joel: Same problem
    Joel: Please provide me with a number to call
    Naveen R: *Once you login to the Adobe account, click on "My products" under the "My products and services".
    Naveen R: *There you can locate the serial number which you have registered.
    Joel: I've already done that.
    Joel: It is NOT listed
    Joel: Which I've been saying for the past 40+ minutes
    Naveen R: May I know the email address you logged into Adobe account?
    Joel: ******
    Naveen R: Thank you.
    Joel: ...
    Naveen R: Thank you for waiting. One moment please.
    Naveen R: I see that your serial number is registered under your account.
    Joel: Lightroom 5
    Naveen R: I will provide you the serial number via email after ending this chat.
    Joel: ok but please make sure it isn't Lightroom 4 but my Lightroom 5 serial number
    Naveen R: Yes. Due to some technical error you are unable to locate it.
    Joel: ok please send the serial number
    Naveen R: Sure.
    Naveen R: Is there anything else I can help you with?
    Joel: No
    Naveen R: You are welcome.
    Naveen R: Thank you for contacting Adobe. We are available 7 days a week, 24 hours a day. Goodbye!
    This chat session has ended.
    Thank you for contacting Adobe.

    OK, I was able to recover my previous system's image and thankfully it appears you can get the serial number from Help->System Info.  I attempted to register the serial number again via the My Products page and while it indicated that the registration was successful, we'll see.  At least I should be able to install LR5 on my new machine now.
    Edit:  I also just discovered that the serial number is listed under My Orders, but not under My Products.  Weird.  In my defence , I never thought to check My Order history because I never received a confirmation email and the order wasn't listed after purchase...even as late as mid-August (when I last checked.)  Very strange but it's all good now.
    Edit #2: OK now I just feel silly.  I just received an email from Naveen with an actual support case AND the correct serial number.  So, I stand corrected.  The Live Chat process still felt incredibly long with some seemingly canned/automated responses but, in all fairness, he did get back to me.  Thank goodness I washed both feet today...

  • Problem In Calling API  fa_addition_pub.do_addition

    Hello friends,
    I am workin on the addition Of asset program
    In which i called API fa_addition_pub.do_addition
    but when i am executing it it gives me error
    Error(157,1): PLS-00306: wrong number or types of arguments in call to 'DO_ADDITION'
    Error(196,1): PLS-00201: identifier 'UPDATE_ERROR_MSG' must be declared
    THE CODE WHICH I USED IS GIVEN BELOW
    PLZ HELP ME TO SOLVE THIS PROBLEM.
    CREATE OR REPLACE PROCEDURE APPS.FA_ADDITION_API (p_row_number NUMBER) AS
    l_trans_rec fa_api_types.trans_rec_type;
    l_dist_trans_rec fa_api_types.trans_rec_type;
    l_asset_hdr_rec fa_api_types.asset_hdr_rec_type;
    l_asset_fin_rec_old fa_api_types.asset_fin_rec_type;
    l_asset_fin_rec fa_api_types.asset_fin_rec_type;
    l_asset_fin_rec_new fa_api_types.asset_fin_rec_type;
    l_asset_fin_mrc_tbl_new fa_api_types.asset_fin_tbl_type;
    l_asset_deprn_rec fa_api_types.asset_deprn_rec_type;
    l_asset_deprn_rec_new fa_api_types.asset_deprn_rec_type;
    l_asset_deprn_mrc_tbl fa_api_types.asset_deprn_tbl_type;
    l_asset_desc_rec fa_api_types.asset_desc_rec_type;
    l_asset_type_rec fa_api_types.asset_type_rec_type;
    l_asset_cat_rec fa_api_types.asset_cat_rec_type;
    l_asset_dist_rec fa_api_types.asset_dist_rec_type;
    l_asset_hierarchy_rec fa_api_types.asset_hierarchy_rec_type;
    l_inv_rec fa_api_types.inv_rec_type;
    l_inv_trans_rec fa_api_types.inv_trans_rec_type;
    l_period_rec fa_api_types.period_rec_type;
    l_who_rec fa_api_types.standard_who_rec_type;
    l_inv_tbl fa_api_types.inv_tbl_type;
    l_inv_rate_tbl fa_api_types.inv_rate_tbl_type;
    l_asset_dist_tbl fa_api_types.asset_dist_tbl_type;
    l_tax_book_tbl fa_cache_pkg.fazctbk_tbl_type;
    l_initial_book boolean := TRUE;
    CURSOR xx_addition_cur (p_row_number NUMBER)
    IS
    SELECT *
    FROM xx_reg_book_load_interface
    WHERE ROW_NUMBER = p_row_number;
    -- Get the inventory details for Asset Addition API
    CURSOR xx_dist_info_cur (p_asset_id NUMBER)
    IS
    SELECT fdh.*
    FROM fa_distribution_history fdh
    WHERE fdh.transaction_header_id_in = (SELECT MIN(transaction_header_id)
    FROM fa_transaction_headers fth
    WHERE fth.asset_id = p_asset_id
    AND fth.transaction_type_code in ('TRANSFER IN', 'TRANSFER IN/VOID') );
    -- AND transaction_header_id_in = p_transaction_id
    -- AND NVL (transaction_units, 1) > 0;
    -- Get the inventory details for Asset Adjustment API
    CURSOR xx_inv_rec_type_adj_cur (p_row_number NUMBER)
    IS
    SELECT fai.invoice_transaction_id_in, fai.deleted_flag,
    fai.invoice_number, fai.po_number, fai.unrevalued_cost,
    fai.project_id, fai.task_id, fai.payables_code_combination_id,
    fai.fixed_assets_cost, fai.source_line_id, fai.payables_cost,
    xrbli.transaction_type_code, fai.ap_distribution_line_number,
    fai.description, fai.po_vendor_id,
    fai.payables_units,
    fai.invoice_id,
    fai.invoice_date
    FROM fa_asset_invoices fai, xx_reg_book_load_interface xrbli
    WHERE fai.invoice_transaction_id_in = xrbli.invoice_transaction_id
    AND xrbli.ROW_NUMBER = p_row_number;
    -- Out parameter for Addition API
    l_return_status VARCHAR2 (1);
    -- Out parameter for Addition API
    l_mesg_count NUMBER := 0;
    -- Out parameter for Addition API and used for error tracking
    l_mesg VARCHAR2 (4000);
    -- Index for inventory record table
    l_dist_rec_count NUMBER := 0;
    l_inv_rec_count NUMBER := 0;
    l_stat_class VARCHAR2(50) ;
    BEGIN
    -- Open XX_ADDITION_CUR cursor by passing the period
    FOR p_asset_addition IN xx_addition_cur (p_row_number)
    LOOP
    -- ASSET_FIN_REC_TYPE Asset Structure
    l_asset_fin_rec.date_placed_in_service :=p_asset_addition.date_placed_in_service;
    l_asset_fin_rec.COST := p_asset_addition.COST;
    l_asset_fin_rec.depreciate_flag := 'YES'; -- YES for all the records
    -- Transaction Info
    /* BEGIN
    SELECT segment4
    INTO l_stat_class
    FROM fa_categories_b fcb
    WHERE fcb.category_id = p_asset_addition.asset_category_id ;
    EXCEPTION WHEN OTHERS THEN
    l_stat_class := NULL ;
    END ;
    IF ( NVL(l_stat_class,'*') = 'I' ) THEN
    l_trans_rec.transaction_subtype := 'AMORTIZED' ;
    END IF ;
    l_trans_rec.who_info := l_who_rec;
    -- ASSET_HDR_REC_TYPE Asset Structure (Asset ID should not be there for Addition API)
    l_asset_hdr_rec.book_type_code := p_asset_addition.book_type_code;
    -- ASSET_DESC_REC_TYPE Asset Structure
    l_asset_desc_rec.asset_number := p_asset_addition.asset_number;
    l_asset_desc_rec.description := p_asset_addition.description; ----modify by anand
    l_asset_desc_rec.current_units := p_asset_addition.current_units;
    l_asset_desc_rec.asset_key_ccid := p_asset_addition.asset_key_ccid;
    -- ASSET_TYPE_REC_TYPE Asset Structure
    l_asset_type_rec.asset_type := p_asset_addition.asset_type;
    -- ASSET_CAT_REC_TYPE Asset Structure
    l_asset_cat_rec.category_id := p_asset_addition.asset_category_id;
    -- Initialize the count
    l_inv_rec_count := 0;
    -- INV_REC_TYPE Invoice Structure
    FOR i IN xx_inv_rec_type_adj_cur (p_row_number)
    LOOP
    --IF l_asset_id_count p_asset_adjustment.asset_id THEN
    l_inv_rec_count := l_inv_rec_count + 1;
    l_inv_trans_rec.transaction_type := i.transaction_type_code;
    --l_inv_rec.source_line_id := i.source_line_id;
    l_inv_rec.fixed_assets_cost := i.fixed_assets_cost;
    l_inv_rec.payables_cost := i.payables_cost;
    l_inv_rec.payables_code_combination_id :=i.payables_code_combination_id;
    l_inv_rec.invoice_number := i.invoice_number;
    l_inv_rec.po_number := i.po_number;
    l_inv_rec.unrevalued_cost := i.unrevalued_cost;
    l_inv_rec.project_id := i.project_id;
    l_inv_rec.task_id := i.task_id;
    l_inv_rec.deleted_flag := i.deleted_flag;
    l_inv_rec.description := i.description;
    l_inv_rec.po_vendor_id := i.po_vendor_id;
    l_inv_rec.ap_distribution_line_number :=i.ap_distribution_line_number;
    l_inv_rec.payables_units := i.payables_units;
    l_inv_rec.invoice_id := i.invoice_id;
    l_inv_rec.invoice_date := i.invoice_date;
    l_inv_tbl (l_inv_rec_count) := l_inv_rec;
    --l_asset_id_count := p_asset_adjustment.asset_id;
    --END IF;
    END LOOP;
    -- ASSET_DIST_REC_TYPE and ASSET_DIST_TBL_TYPE Asset Structure
    FOR i IN xx_dist_info_cur (p_asset_addition.asset_id
    -- , p_asset_addition.transaction_header_id
    LOOP
    l_dist_rec_count := l_dist_rec_count + 1;
    -- l_asset_dist_rec.assigned_to := i.assigned_to;
    l_asset_dist_rec.units_assigned := i.units_assigned;
    l_asset_dist_rec.expense_ccid := i.code_combination_id;
    l_asset_dist_rec.location_ccid := i.location_id;
    l_asset_dist_tbl (l_dist_rec_count) := l_asset_dist_rec;
    END LOOP;
    -- Update to 0 for further use
    l_dist_rec_count := 0;
    --fnd_file.put_line(fnd_file.log, 'Calling the Addition API') ;
    -- Call Addition api
    fa_addition_pub.do_addition
    (p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_false,
    p_commit => fnd_api.g_false,
    p_validation_level => fnd_api.g_valid_level_full,
    x_return_status => l_return_status,
    x_msg_count => l_mesg_count,
    x_msg_data => l_mesg,
    p_calling_fn => 'FA_ADDITION_API', ---modify by anand
    px_trans_rec => l_trans_rec,
    px_dist_trans_rec => l_dist_trans_rec,
    px_asset_hdr_rec => l_asset_hdr_rec,
    px_asset_desc_rec => l_asset_desc_rec,
    px_asset_type_rec => l_asset_type_rec,
    px_asset_cat_rec => l_asset_cat_rec,
    px_asset_hierarchy_rec => l_asset_hierarchy_rec,
    px_asset_fin_rec => l_asset_fin_rec,
    px_asset_deprn_rec => l_asset_deprn_rec,
    px_asset_dist_tbl => l_asset_dist_tbl,
    px_inv_tbl => l_inv_tbl,
    px_inv_rate_tbl => l_inv_rate_tbl
    --fnd_file.put_line(fnd_file.log, 'Addition API returned status as : '|| l_return_status) ;
    IF (l_return_status = fnd_api.g_ret_sts_success)
    THEN
    l_mesg_count := fnd_msg_pub.count_msg;
    IF l_mesg_count > 0
    THEN
    l_mesg :=CHR (10)|| SUBSTR (fnd_msg_pub.get (fnd_msg_pub.g_first,fnd_api.g_false),1,512);
    FOR i IN 1 .. (l_mesg_count - 1)
    LOOP
    l_mesg :=l_mesg|| CHR (10)|| SUBSTR (fnd_msg_pub.get (fnd_msg_pub.g_next,fnd_api.g_false),1,512);
    END LOOP;
    fnd_msg_pub.delete_msg ();
    END IF;
    l_mesg := 'FAILED (' || SQLERRM || '): ' || l_mesg;
    -- Procedure to update XX_REG_BOOK_LOAD_INTERFACE table with rejection reason
    update_error_msg ('Addition', l_mesg, p_asset_addition.ROW_NUMBER);
    ELSE
    -- Display the successful record
    fnd_file.put_line (fnd_file.output,p_asset_addition.asset_number|| ' -> '|| p_asset_addition.description|| ' for asset Addition Success.'); --- modify by anand
    END IF;
    -- Delete PLSQL table and record type variables data
    --empty_rec;
    END LOOP;
    END fa_addition_api;
    tahnk you

    You call do_addition with a wrong set of parameters or you use the wrong datatypes from your parameters.
    Check what parameters ( and their datatypes ) that procedure expects.
    Also check if you have the right privileges for using UPDATE_ERROR_MSG and that a synonym exists for it.
    fa_addition_pub.do_addition
    (p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_false,
    p_commit => fnd_api.g_false,
    p_validation_level => fnd_api.g_valid_level_full,
    x_return_status => l_return_status,
    x_msg_count => l_mesg_count,
    x_msg_data => l_mesg,
    p_calling_fn => 'FA_ADDITION_API', ---modify by anand
    px_trans_rec => l_trans_rec,
    px_dist_trans_rec => l_dist_trans_rec,
    px_asset_hdr_rec => l_asset_hdr_rec,
    px_asset_desc_rec => l_asset_desc_rec,
    px_asset_type_rec => l_asset_type_rec,
    px_asset_cat_rec => l_asset_cat_rec,
    px_asset_hierarchy_rec => l_asset_hierarchy_rec,
    px_asset_fin_rec => l_asset_fin_rec,
    px_asset_deprn_rec => l_asset_deprn_rec,
    px_asset_dist_tbl => l_asset_dist_tbl,
    px_inv_tbl => l_inv_tbl,
    px_inv_rate_tbl => l_inv_rate_tbl
    );

  • Fragment works standalone but not when inserted in a form

    I have a search fragment. When I open the fragment and click "Preview" in designer. I click on the "search" button, and it executes a web service that retrieves info from a database and displays it into a table. Everything is working beautifully. The fragment is set to Interactive, and Dynamic XML form.
    I now create a new form and I insert this search fragment into the form. This form is also set to Interactive, and Dynamic XML form. Now, when I click on the "search" button, all of the javascript behind the button executes (i.e. my messageBox debugging messages) but the web service that retrieves the database info doesn't seem to execute.
    What am I missing? I'm perplexed as to why the fragment works stand-alone but doesn't want to work when incorporated into a parent form.
    Any ideas?

    Nope, no errors in the java debugger console.
    The fragment is an xdp (Adobe XML Form) - with form properties "Interactive Form" and "Dynamic XML Form"
    The "parent" form that contains the fragment is an xdp with the exact same form properties as the fragment.
    Here's what's in the debugger console, just general info:
    Acrobat JavaScript Debugger Functions Version 7.0
    Acrobat Database Connectivity Built-in Functions Version 8.0
    Acrobat EScript Built-in Functions Version 8.0
    Acrobat Annotations / Collaboration Built-in Functions Version 8.0
    Acrobat Annotations / Collaboration Built-in Wizard Functions Version 8.0
    Acrobat Multimedia Version 8.0
    Acrobat SOAP 8.0
    Anything else I can check?
    --Elaine

  • SEM-BPS how to load additional data for special users at runtime?

    Let´s assume you have a transactional info cube which contains SD Data from the source system.
    If you want to show additional data, let´s say the attributes of the sold materials which can be read in the table MARA of the source system (provided you use R/3, etc.)
    and you only want to show this data for a small amount of users, which need to see it, then i wonder how to do  this.
    am i right, that i can use the exit functions to init key figures, i.e. i could write some code which connects to the source system over RFC, downloads the data at runtime and presents it at the users excel sheet????
    moreover, is it necessary to extend the existing cube, just to achieve this aim?
    Message was edited by: Gideon Lenz

    Hello Gideon,
    there's no need to program anything. You can display any attribute in planning layouts. In your case you would extract the master data from material from SAP R/3 (MARA) into BW. The setup the layout to show the required attribute(s) in the layout in BPS.
    If the attribute is relevant only for a specific user group, just give them access to this "special" layout (create a planning folder or web interface for this group).
    Regards
    Marc
    SAP NetWeaver RIG

Maybe you are looking for

  • PF Calculation for Employee Joined After 15th of the month.

    Hi All, I have an issue with the PF calculation where the system is calculating the period the person worked in the month not the full period while running his payroll in the next month. Exmp: Basic Salary 10000, PF- 12%=1200 Emp Joined on 18th of ap

  • How to make Robo list style link to Word style?

    I am using RoboHelp 8. When creating printed documentation, I have found that my RoboHelp list styles do not appear in the Print Document Appearance dialog when I am trying to link Robo styles to styles in my Word template, so I am not able to link t

  • Stopped receiving emails in Outlook Express.

    Two days ago I suddenly stopped receiving emails in my Outlook Express. Outlook Express is configured to receive from my old Orange address which has never been a problem. Thinking it might be a problem with my Orange account, I checked with them and

  • After use another itunes account Apps of old itunes account stay untouched[intact]

    If i HAVE ACCOUNT from Another country lets say CountryA, hence my country do not permits register in itunes, and have a credit card of a friendB in CountryA, what supposed to do: use this credit card[of a friendB] in my account or use/login to my fr

  • Connecting xMII with ms sql2005

    Hi All, I want to connect to ms sql2005 from xmii11.5 My xmii is installed in one machine and the sql2005 database is installed in a different machine. Is it mandatory to install sql2005 on the same machine where xmii is installed or we can put it ac