Custom Macro into standard Web ADI Integrator

Hi All,
I have done the below customization for "Journal Upload" integrator.
I have added a new option "Attachments" to the Oracle Tab using the below custom macro code.
And it is opening a custom OA Framework page(It will ask for a login) and I can add attachments.
I would like to know is there any way I can add this into the original template so that a new user login and download the template, he will get the template with the custom macro code.
<><> Code Added <><>
<
Dim objMenu_231_ATTACHMENTS As Object
strMenuTitle = "&Attachments"
Set objMenu_231_ATTACHMENTS = objMenu_231_ORACLE.Controls.add
objMenu_231_ATTACHMENTS.OnAction = "'" & Application.ActiveSheet.CodeName & ".BneAttachments" & "'"
objMenu_231_ATTACHMENTS.BeginGroup = True
objMenu_231_ATTACHMENTS.caption = strMenuTitle
>
Public Sub BneAttachments()
Const ATTACHMENT_SERVICE =SERVLET_PATH & "/OA.jsp?OAFunc=OAHOMEPAGE&navRespAppId=20003&navRespId=51045&JournalName="
Dim sJournalNameVal As String
sJournalNameVal = ATTACHMENT_SERVICE & ColumnValue(Me, "GL_INTERFACE_REFERENCE4")
ActiveWorkbook.FollowHyperlink Address:=sJournalNameVal
End Sub
<
With regards,
Kali.
OSSi.

Yes, even I have done few customization in the JE template. The macro which I created works after downloading template.
What I want to do is to customize the code with in oracle application or with in JE template, so that whenever anyone downloading journal from apps, the customize template as per my requirement will show up. I do not have to save it and tun my macro on top it. This way 2 steps can be reduced in to 1 and this will be more reliable and user friendly.
Please let us know if this is possible.

Similar Messages

  • Help needed with Custom Web ADI Integrator for Mail Merge

    Hello,
    I've created a custom web adi integrator to generate letters to advise of end of probationary periods.
    The problem is that at the end of the process when the letter is opened in Word 2007, it only displays one record, and does not allow me to "preview results" and cycle through the records (this part is greyed out). It appears that the letter is not merged with the data spreadsheet although it does display one record from it.
    Our EBS version is 12.1.3 and we are using Office 2007.
    These are the steps I have followed so far (in brief):
    - Create a view to provide data (names, addresses etc).
    - Set up a new custom function (similar to seeded function HR Integrator Setup).
    - Add the custom function and other functions to Desktop Integration responsibility.
    - Add the relevant functions to end user's responsibility menu.
    - Add new category "other" to HR_ADI_DOCUMENT_TYPE lookup.
    - Create Download Excel Integrator by choosing Desktop Integration -> HR Integrator Setup. Enter "PER" for application and my view for the View Name. Upload.
    - Create another Excel document by choosing Desktop Integration -> HR Maintain Form Function Associations, and choose the integrator created above. Enter my custom function name in the generated spreadsheet and upload.
    - Define a layout for the new integrator.
    - Run the integrator under the end user responsibility and save the resulting spreadsheet, which is full of data as expected.
    - Create the letter in Word, using the saved spreadsheet as the data source for the merge. At this point the merge is successful.
    - Go to Desktop Integration -> Document Management and upload the Word mail merge document. Associate it with the custom document type created earlier.
    - Link this document to my integrator.
    - Go in as end user responsibility and run the integrator.
    At this point after enabling macros it loads 2 spreadsheets (one full of data) and the Word document, but the Word document only displays one record (approx the 10th in the list - there are about 100 in total). All of the relevant merge-related menu items on the "Mailings" tab are greyed out.
    Can anyone offer any pointers please?
    I did wonder whether it mattered if I changed the names of documents, e.g when I download and save the resulting spreadsheet full of data which I then use to merge to in the Word Doc, is it OK to call the spreadsheet anything or should it be left as the default name?
    Many thanks,
    Hazel

    Hi Nandhakumar.P,
    thanks for your response. Please find the answers below:
    - Set up a new custom function (similar to seeded function HR Integrator Setup).
    System Administrator -> Application -> Function. Query back the seeded User Function Name = "HR Integrator Setup", make a note of the details, then add a custom function entitled "NTC_HR_LETTERS" with the same details.
    - Add the custom function and other functions to Desktop Integration responsibility.
    System Administrator -> Application -> Menu. Query back User Menu Name = "Desktop Integration Menu" and add the following functions:
    WITHOUT PROMPT
    a. HR Integrator Setup
    b. HR Maintain Integrator Form Functions
    c. HR Disable Integrator
    d. HR ADI Document Overwrite Page
    e. HR ADI Document Upload Page
    f. The custom function created in previous step ("NTC_HR_LETTERS")
    WITH PROMPT
    g. HR ADI Document Management Page
    - Add the relevant functions to end user's responsibility menu.
    System Administrator -> Application -> Menu. Query back menu attached to custom responsibility of end user that will perform the action once set up.
    Add the following:
    a. The custom function "NTC_HR_LETTERS" as created previously (without prompt)
    b. Desktop Integration - Create Document (With Prompt. This function will be used to generate letters)
    - Add new category "other" to HR_ADI_DOCUMENT_TYPE lookup.
    SA_Application Developer -> Application -> Lookups -> Common. Query back Type = HR_ADI_DOCUMENT_TYPE and add a new entry entitled "Other". This document type is later assigned to the Word document I upload and link to the integrator.
    I hopoe that answers your questions.
    Regards,
    Hazel

  • Custom web adi integrator

    I am developing a custom web adi integrator for uploading Bill of materials details from excel to oracle apps. I have created a custom integrator. I am able to see it while defining layout. I have defined layout,too. But after that when i am going to create a document, I am unable to see it in the select integrator drop-down list. Can anyone help me in this?
    Can anyone send me a document for creating custom integrator?

    You haven't included what version of Web ADI. But I'm going to guess that from your problem you are on Release 12.
    Web ADI included additional security options in the later versions of 11.5.10 and Release 12. You have run into one of these. All Integrators are now required to be secured by a form function. When the Create Document Page Flow runs in Release 12. All integrators are cross-checked against the assigned form functions in the current menu assigned to the responsibility. Only the integrators that have a match are shown in the list (11.5.10 the full list was shown, the check was then performed when attempting to navigate to the next page).
    BEGIN
    BNE_SECURITY_UTILS_PKG.ADD_OBJECT_RULES
    (Product Application Id,
    'Integrator Code',
    'INTEGRATOR',
    'Security Code',
    'FUNCTION',
    'List of Form Function Code Names',
    User Id
    END;
    COMMIT
    Subsituting
    Product Application Id - The Custom Application ID you are using for your dev,
    Integrator Code - Integrator Code for the integrator you are securing
    Security Code - for your use, just use the same value as Integrator Code
    List of Form Function Code Names - 'BNE_ADI_CREATE_DOCUMENT,BNE_CREATE_DOCUMENT'
    User Id - the Applications User Id you are using for development.
    You will need to bounce Apache or use Bne Admin Servlet to clear the Web ADI caches before this will be uptaken.
    Also - The Define Layout and Define Mapping flows don't perform the same check if you have the System Adminstrator privilleges. Which would be why you can see your custom integrator in those flows.

  • How do we define a Web ADI integrator and Associate it with a window?

    Hi,
    I'm on Oracle HRMS 12.1.3. I would want to export data into Excel from a form window (Navigation Path is: Leave Management > List Employees By Absence Type > Query).
    When I try to export data, it says: APP-PER-289792: Before you can run a mail merge or data extraction from this window, your system administrator must define a Web ADI Integrator and associate with the window ...
    I've tried looking around for articles on how to create Web ADI integrator s, but couldn't find one that explains how to associate the integrator with a given window. Any advise will be highly appreciated.
    Dula

    Hi Rajen and all,
    The sample tutorial you and Aj gave me seem for older version like 11i or 12.0. Can i still apply or follow it for 12.2?
    You also mentioned:
    My approach when I started was more like the "baby step" method ... started with something simple with these 2 responsibilities and a simple integrator and then continued by adding new features (like LOV, PopLists, Contents, playing with layouts, using FNDLOAD, etc....). It's  an interesting experience.
    Do you have the docs you follow to do the above process? What 2 responsibilities are you referring to? It is "Desktop Integration" & "Desktop Integration Manager"?
    I thought "Desktop Integration Manager" is the super-user and has all the "powers" needed for adi?
    What powers does "Desktop Integration Manager" have,  that "Desktop Integration" does not have? and vice-versa.
    Thanks a lot,

  • WEB ADI INTEGRATOR FOR Bill of Material

    I am developing a WEB ADI integrator for Bill of material upload. The integrator will populate the data in a temporary table, validate it & write the error messages back to the table . On succesful validation the data will be sent to interface tables & then to base table.
    The integrator uses a procedure & sends data to the procedure. Procedure then loads data in temporary table & does the rest of work.
    To do this i need to know the following thinngs:
    1. How i can track the line no of Excel?
    2. How do I know that all data are loaded in temporaray table because the validation & rest of work will be done once all the rows of excel are transfered to temporaray table. i.e. How do i determine the End of File in Excel?
    3. How do i write error messages from the table to the excel in web adi?
    Any help will be appreciated. Please send me the sample scripts & web adi developer guide at [email protected],[email protected]

    If you check the XML that Web ADI generates to upload a document you will note that each row gets a row number. It would be a matter of being able to keep track of that number in your table so that when you are reporting the error back you can include that number in the message so the code in the Excel spreadsheet can assign it to the correct row.
    I would suggest trying to use even some of the basic validation mechanisms provided within Web ADI, as these will automatically return the error messages for bad data to the correct row in the spreadsheet.
    Web ADI will take the uploaded data, perform any validation check defined within meta-data then push the data to your Interface table. There are plenty of examples in th shipped code of product teams then using the Import phase of the upload to perform additional checks and then push the data further. But if you can utilize the existing Web ADI functionality. The data never ends up in the table in the first place to require any clean up on your part.

  • Integration of webdynpro abap custom iview into standard ESS/MSS portal

    Hello all,
    Could anybody please throw light on how to integrate custom iview which is developed in Webdynpro ABAP into standard tab in MSS (Webdynpro java)
    For example.I want to add few custom fields(which are mapped to infotype 0041) into general information link of MSS.these fields will be created in webdynpro abap.
    or.
    I want to create a new link under general information which pops up as a custom iview (which is create in webdynpro abap) .
    please let me know how can i meet the above requirements.
    Thanks in advance.

    I am not really sure about your requirement. With my limited understanding of that , i think that you have few possibilities.
    1. You can let the ess/mss application communicate with WDA application via a Poral event.
    2. You can enhance the ESS WDJ component and use RFC destination to get the data from info type and build your own view in WDJ.

  • Web ADI Integrator Projects - Transaction Import

    Can anyone tell me if it is possible to create a mapping for Projects - Transaction Import in Web ADI ?
    Currently I'm getting the following error when creating a mapping for the Projects - Transaction Import Integrator :
    ERROR
    Mappings are not required for this Integrator because the ability to download information has not been enabled.
    Any feedback on this topic would be very helpfull.

    Hi..
    I got the answer....there is a field to add pre/post processing extension where we can write package.procedure which will get fired during the transaction import automatically.
    Regards,
    Sanket

  • ECCS : custom characteristics into standard report selection screen

    Hello guys,
    I have added a custom characteristic which is also a subasignment to the EC-CS module.
    This field now appears into the standard report selection screen as expected.
    I want to define this field as a mandatory selection field, do you know if this is possible? (exemple of standard report CX34A)
    Thank you in advance for your help
    best regards
    Pascal.

    Hi Thereza,
    This field is already flaged
    I have found the following solution : create a variant and assign it to the standard transcation with transaction SE93..
    Best regards

  • Uploading rows more than 10 in Custom Web ADI

    Hi All,
    We are using Apps R12.1.3.
    I created one new Custom Web ADI Integrator and uploading rows into custom table.
    It is uploading only 10 rows, and message after uploading showing as 'Uploaded 10 rows successfully', even if the rows are more than 10 rows.
    Kindly let me know how to upload rows more than 10..
    I did search and found to give profile option BNE Upload Batch Size to 10000, still no use.
    Kindly suggest.
    Regards,
    Afzal.

    Found the solution
    1. Desktop Integrator Resp> Define Layout. (if already created, then select your layout and press update button else Create new by selecting your integrator)
    2. Click Next, Next,
    Field:
    'Data Entry Rows' = 10  ---change here.
    Thanks...
    Regards,
    Afzal.

  • Useful Web ADI custom integrators docs

    I have recently started to look at creating Custom Integrators and thought it might help others if I listed the Oracle Docs I have found since they don't go out of their way to explain how to create custom integrators
    WebADI Implementation and Administration Guide
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115bneig.pdf
    Document explaining how to create custom integrators - Note 360105.1 (this also lists a number of downloadable viewlets showing how to do a number of standard web adi tasks such as layouts, form function registration
    The following Viewlets are available for download from Metalink to help with the HR Integrator setup.
    Patch 3196431 - Disabling integrators
    Patch 4125542 - Creating standalone integrators
    Patch 3196360 - Mail merge example
    Patch 3196357 - Upgrading ADE to Web ADI
    Patch 3196355 - Download example
    Patch 4125537 - Creating integrators
    Patch 4112747 - Associating Form Functions with integrators
    Change column names or enter details for LOVs - Note 389624.1 (might need Note 394680.1 if get "Connection to server unavailable error"
    Oracle HRMS ADI FAQ - Note:240142.1

    Thanks for sharing the Info.
    -Satya

  • Error when using LOV wildcard(%) in custom web ADI

    Hello,
    I'm getting the following error on a custom Web ADI integrator.
    There are a number of LOVs on the form, and they're all working fine except one.
    The LOV is populated correctly, however, once the wildcard (%) search is used, the following error is shown:
    The following error has occurred
    Exception Name: oracle.apps.bne.exception.BneSQLException -
    Error occurred when setting bind value G% on SQL Statement at index 3.
    Cause: A low level API call failed.
    Action: Please note this error to your support
    representative.
    Statement: SELECT DISTINCT alias_value_name P_ALLOWANCE_NAME,
    alias_value_id, pel.element_type_id P_ELEMENT_TYPE_ID FROM apps.HXC_ALIAS_VALUES
    hav , apps.PAY_ELEMENT_LINKS_f pel , apps.per_all_assignments_f paaf ,
    apps.per_all_people_f ppf WHERE pel.ELEMENT_TYPE_ID = hav.attribute1 AND SYSDATE
    BETWEEN paaf.EFFECTIVE_START_DATE AND paaf.EFFECTIVE_END_DATE AND paaf.person_id
    = ppf.person_id AND ppf.employee_number = :1 AND ( (paaf.business_group_id =
    pel.business_group_id AND paaf.business_group_id =
    fnd_profile.value('PER_BUSINESS_GROUP_ID') AND LINK_TO_ALL_PAYROLLS_FLAG = 'Y')
    OR (pel.payroll_id = paaf.payroll_id ) ) AND hav.ENABLED_FLAG = 'Y' AND
    hav.ATTRIBUTE3 = 'PJ' AND HAV.ATTRIBUTE4 =
    DECODE(:2,'Quantity','Q','Amount','A','@') AND TRUNC(SYSDATE) BETWEEN
    HAV.DATE_FROM AND NVL(HAV.DATE_TO,HR_GENERAL.END_OF_TIME) AND TRUNC(SYSDATE)
    BETWEEN pel.effective_start_date AND
    NVL(pel.effective_end_date,HR_GENERAL.END_OF_TIME)
    Bind values used in SQL statement: G%
    Log File Bookmark: 964273
    Please help.
    Thanks,
    Mina

    Hi,
    maybe this is the problem. The type is byte and not binary.
    But I have the same problem as mentioned in the other thread: I can't change the type.
    The type in the WSDL of my web service is "base64binary". Is there maybe a possibility to import a jar-file for this type?
    Christian

  • How to load a Query in the  bne_stored_sql in WEB ADI table.

    Hi folks ,
    I have a unique requirement as follow.
    I have created an VIEW , which is given in the Download WEB ADI integrator defintion.
    I am trying to query this view based in few search conditions thoughr a CO code. I am not used any time loading the Query in the bne_stored_sql table to achieve such funcaitonality.
    Please folks any inputs on this would be greatly appricaited.
    Thanks and Regards
    Raghu

    Hi,
    I am creating the layout for a sales order which will be send to a customer.
    In that order the customer can see the payment conditions.
    It should look like this:
    net price: 1000,00 EUR
    19,00% taxes: 190,00 EUR
    gross price: 1190,00 EUR                          
    payment conditions:
    payable within 30 days net: 1190,00 EUR
    payable within 14 days with discount of 2 %: 1166,20 EUR
    to get the bold marked digits I need to have access on the following tables:
    OCTG and CDC1
    In the OCTG table I get the days (in this example 30)
    In the CDC1 table I get the days of cash discount and the percentage (in this example 14 and 2)
    but in the sales order layout in PLD only the OCTG table is shown when I create a database field and the CDC1 table isn't.
    So what can I do to get this?

  • Load testing of Web ADI in EBS R12

    Hi,
    I am currently testing Oracle E-Business Suite R12. Has anyone load tested the Web ADI integrator for Oracle EBS R12? What tool did you use?
    Did you use QTP or Oracle ATS functional testing? I was not able to do a POC using LoadRunner or OATS load test tool.
    Basically Web ADI is an integration that allows data to be uploaded/downloaded between Oracle EBS R12 and local excel.
    Any help is appreciated.
    Regards
    CP
    Edited by: oracletest on 14-May-2012 07:17

    Hi,
    I have found that OATS does not work easily with Web ADI in my case.
    Regards
    CP

  • Configuring Web ADI

    Hi All
    When I try to export the data from the People> Enter and Maintain using the Export Data icon, I am getting the following error mssg:
    "Function not available to this responsibility. Change responsibilites or contact system administrator.
    And also when I try to export data from some other windows, its is showing the following error:
    "APP_PER_289792: Before you can run a mail merge or data extract from this window, your system administrator must define a Web ADI integrator and associate it with the window. There are currently no integrators associated with this window."
    How to configure and use the Web ADI's in HRMS?
    Regards
    M.A.Rahman

    One of the known issues when applying Patch 3218526 - BNE.D is:
    Error: You do not have permission to access this functionality.
    This error will be shown after applying BNE.D and not completing the Post-install steps noted in Note: 287080.1 - About Web Applications Desktop Integrator Mini-pack 11i.BNE.D. If this error is received after completing the Post-install steps, it may be caused by bug 3951092. A workaround is for users to remove all items in their Self Service Favorites menu.
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=287080.1
    Enable tracing for WebADI would be helpful as well. For more details about tracing WebADI please check Note: 294739.1 - How to enable tracing for WEBADI
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=294739.1

  • Web adi modify layout

    Hi,
    we are working in Oracle applications 11i.
    In oracle web adi , integrator: General Ledger-Journals -> Layout New Foreign Actuals - Single -> context field set of book value is set to primary set of book. How can we give the user option to select foreign set of book?
    Thanks & Regards,
    Abeer

    hi,
    the issue is resolved. in order for the layout to point to another set of book i did the following:
    duplicated the oracle web adi responsibility and named it MRC oracle web adi.
    updated profile GL:set of books of the new responsibility to the desired one.
    that's all.

Maybe you are looking for

  • JRE or SDK install problem - installing in non-std dir

    I'm encountering a problem trying to install either the JRE or SDK into a non-standard directory (one that's not the default of c:\j2sdk1.4.2_01 or what have you). This is occuring with both 1.4.2_01 and 1.4.2_02. In this case, I'm trying to install

  • Get my IP delisted

    I've tried repeatedly to get my IP delisted. We got a new block of IP's from our ISP, and I have checked that we are not on any other blacklist.  Emails send everywhere else on the internet apart from 365 users. Emailing one of my customers is on 365

  • Clearing a form

    I've created a main form that the user selects certain criteria on...this form opens one of many second forms (depending on the choices made by the user on the first form. My problem is that after the user pushes the "print labels" button, I want the

  • Defining keys on user defined tables

    Regarding tables of type 'lines' (in document or master data). I want to define a unique key for the DocEntry fields and some other user-field (so I could restrict the user to add only 1 type of line for each master record), but the problem is that k

  • UDA Based member selection - problem with LINK command

    Hi, I have written a script to retrieve the data from Essbase based on a particular value. But, when i want to specify a particular member and use the LINK command, am not succeeding. e.g. I am able to get the data when i write <LINK( <UDA(product, "