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.

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 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

  • SSRS Recursive Hierarchy for Bill of Material

    OK, here we go. I have been absolutely unable to find an answer anywhere after extensive searching so I will ask this here.
    First of all, I am trying to create an SSRS report for a Bill of Materials (product structure) with parent child recursive grouping to enable drill down to multiple levels. For the most part, I have achieved the goal of doing this with a proper CTE stored
    procedure and including a parent recursive reference to the Child group. Here is my result set of the CTE and the grouping settings:
    This produces a very pretty report that allows for drill down to levels with indents and levels and everything! Just one problem..... By grouping on the Component to get the recursive technology to work, the result set of my CTE which has 37 rows gets truncated
    down to 32 due to multiple rows getting merged because part numbers can be the same while used on more than one part. In this case, see rows 30 and 34. The child (component) is PLA331. Because they are the same part number but used with different parents,
    one of them gets eliminated and the result of my report looks like this:
    PLA331 should be listed under SA-0482 but it is not due to the grouping of the part PLA331. How do I get all of the results to display even if I am grouping on the component? I have tried removing 'Hide Duplicates' and it does nothing.
    BOMs are a very important part of a business so I am actually quite shocked that I am the only one having this structure issue. Perhaps everybody else doesn't have the same part listed on multiple levels of a BOM? Or a lot of people THINK they have the correct
    BOM structure but are unaware of this little problem?
    Thanks,
    Sayslah

    Hi Sayslah,
    Based on your description, I create a similar report in my test environment. However, I cannot reproduce the same issue as your post.
    Please refer to the steps below to check if there is something different. I create a dataset with three fields: Component, Parent, Qty.
    1. Add a table in the report body.
    2. In the Row Group dialog box, add Parent Group: [Component].
    3. Setting Component Group with Recursive parent: Component.
    4. Add Qty field in the table.
    You can refer to the screenshot below:
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • PP-MM-FI integration for Non-Stock material consumption

    The client is expecting a simple solution for a Std SAP process which is LIKE subcontracting....but actually not.
    The requirement is to set up a process of external operations using a NonStock (NLAG) material ( which will have no physical stock updation when GR is done). This material is a part of BOM with item category N. The material will have S price control. ( Must from business requirements). PR gets created from process order --> converted to PO --> then 101 and simultaneous automatic consumption gets debited to order. (with a price = PO price). PO has a account assignment F and item category blank Standard).
    Question - This behaviour is not desired. The "Std cost" should be used in posting a consumption posting..& the rest ( PO price less Std price) should be shown as purchase price variance in a different acount. How to customise this break up ? Is there way in MM pricing conditions or something else ?.
    Pl note that there is no stock entry...only consumption will be debited with GR offset at PO price. Also at invoice verification, the price if different should be posted to price difference account ( which is not assigned to process order...it is directly going to COPA).
    Might be a very simple SAP solutions / answers from MM /PP......so that we avoid the ABAP development for reposting..
    Could somebody help pls ?
    Regards
    Ram

    Hi,
    Since Material is Non-Stock Material so it is must to maintain the Account Assignment Category in PR or PO for this Material. And once you maintain the Account Assignment Category in PO and do GR w.r.t. this PO then it will not consider the Material Master Price (Standard Price) since there is not any Stock Account Entry during GR, it will hit the Expense Account. And Price Difference Account will get debited only if Stock Account will come in picture.
    So following Accounting Entry will get generated;
    During GR (MIGO);
    Expense Account - Dr
    GR/IR Clearing A/c - Cr
    During LIV (MIRO);
    Vendor Account - Cr
    GR/IR Clearing A/c - Dr

  • 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.

  • 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

  • Web ADI Report set, excel is not showing the data for any of the three repo

    We are currently working on 11.5.10.2 and moving from Desktop ADI to Web ADI. At the time of publishing report in Web ADI the excel is empty.
    AFter successfully running the WEB Adi reportset for Consolidate Balncesheet ( for a period ex: APR-2012), there were 3 reports that were publlished as a set. Then I went to Repository Management and went to the folder and subfolder where I saved all the above 3 reports. When I click on view on one of the reports, the excel spreadsheet opens and try to load something for a while but finally ends up loading nothing.
    I am unable to figure out what went wrong. Do you have any idea.
    If someone can help me, I really appreciate.
    Thanks
    Uday

    Hi ,
    In u r query what I observed was unit cost*gross profit is Amount Sold. Can u make this calculation with Physical calculation rather than and logical calculation.
    See if u have kept logical joins for both the tables with the fact and set the content level at detail level in the content level of fact.
    Then it will work
    Thanks
    S

  • Oracle web ADI ; for Creation / Updating of items in INV (R12)

    Hi,
    Has any one used Oracle web ADI technology for updating and creation of items in INV.
    Here, we have to use Web ADI for creating items in INV.
    Item Information is coming from a Template.
    Any suggestions.?
    Thanks
    Pravin

    Hi every one,
    Really this is required for me, now we are also planing to create items through WEB ADI.
    Can any one give us some input or info the same.
    Thanks
    Siva

  • 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?

  • How to create a Web ADI template and save it in our apps?

    Hi all,
    I want to create a user enrollment template it Web ADI so that I can send the form to the client and they will just fillup the spreadsheet with all the users they want to add to the system then load it using Web Adi.
    For example this form is:
    I want to create a Web ADI template for the forms above, which is saved in the apps database. Just like the template sample below:
     1. Add Oracle WEB ADI you your responsibility. Explore how to create document etc
    2.  Using Oracle General Ledger, go to Enter Journal and click on Launch Journal Wizard..from there you can create document similar to attached
    Please help how to create templates like this.
    Thanks a lot,
    mk

    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,

  • 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

  • Web ADI of Financial Modules

    Hi guys ,
    m new to Web ADI.can you told me how many modules of Financial have Web ADI and for what function this ADI is available.
    Regards,
    SK
    Edited by: shakeel khan on Oct 6, 2010 12:53 AM

    Hi,
    Please refer to the following documents/links.
    Note: 452452.1 - R12:Installing, Configuring and Troubleshooting Web ADI (Web Applications Desktop Integrator)
    Note: 736621.1 - List Of All Webadi Integrator Patches For R12 EBusiness Modules
    Note: 455618.1 - Where To Find R12 WebADI Documentation
    Web ADI
    Web ADI
    Thanks,
    Hussein

Maybe you are looking for

  • EXTENDED NOTIFICATION AND EMAIL TEXT/subject line

    Hi, kindly guide where the extended notification email text and subject of email is maintained? Thanks.

  • Need quick help please!! Fast!

    Here is my code... I know it's long, but it's simple. The only part I'm having trouble with is the very end. You don't really have to know what point of this to help me figure out the problem. Near the very bottom, you'll see the line "double refund

  • Indesign CS4 Very Slow - can move objects easily anymore!

    We are running CS4 - Even the most simple files are difficult open.  When opened, it is hard to move objects or type any characters. All we get is the Apple pinwheel.  We are running OS x 10.5 with 4 GB of memory.  We dont know what to do-please advi

  • Adobe 8.1.2 print size larger than adobe 7.0.5

    I have started rolling out Adobe 8.1.2 to replace 7.0.5 and noticed a significant change in the size of the files spooled to the printer .... Printing a pdf for example in adobe 7.0.5 to a file results in 350k but in Adobe 8.1.2 this results in a 1.5

  • LR and Organizer playing nicely together?

    Hi all, I am an advanced LR user.  I just started working with Premier Elements and do use Photoshop Elements (on the very few occasions that LR won't do the trick).  The Elements series uses Adobe Organizer to locate images and video clips, so I fig