Custom Integrator Help

I have created a custom integrator using Desktop Integration Framework to load some data into a custom interface table that will be picked up and processed to base tables using an importer (plsql wrapper).
I have this all working, however I would like to be able to report errors back better. What I would like is a batch_id for the full spreadsheet, which I have managed easily using a sequence on the interface attribute called batch_id, this means all records will have that batch_id against them for this run of the interface. Next I need a unique id on each row passed in (record_id). To do this I was hoping to use a pre-import rule on the importer, i.e. pass in the batch_id from the interface_attribute to a plsql procedure that updates all records in the interface table just loaded that have the passed in batch_id with the record_id. The other method I thought was to use a pre-import rule of type SEQUENCE.
None of these I can get to work for the following reasons.
1. For a sequence pre-import rule, I cannot see how this gets associated with an interface attribute?
2. For the PLSQL procedure pre-import rule, I am unable to pass in the value of BATCH_ID which is already stored in an interface_attribute?
Any help on these, or another suggested method of doing this would be greatly appreciated.
Many thanks
Rob

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

Similar Messages

  • How to Create a Custom Integrator in R12 based on a Query set

    Hi Everyone,
    I am very much new to web adi. I got an unique requirement which I am finding it difficult. I did searched through the entire documentation/blogs/forums and I didnt find any suitable answer. Please let me know if anybody can throw some pointers here.
    My Requirement is as follows
    1) Using WEB ADI I need to update the data to collections responsibility ( I need to update unpaid reason code column and notes column for transactions)
    2) So to start up with I need to design my excel template first with a query region to download the data. This query region may have 5-6 parameters like transaction number, customer name, customer number. When I click the submit button in query region, The data should be retrieved from database and should display in the same excel sheet.
    3) Now for the data fetched from database, I need to update some of the columns and then again upload it back to EBS. I need to enable some of the columns to be LOV's.
    Now My Questions are
    1) Is this building a parameter based query then downloading to excel and then after modifying uploading back to EBS. Is this possible with WEB ADI. If this is doable then please let me know.
    2) Unfortunately there are no interface tables or public API's available for collections responsibility then how one can update the data
    Also
    I was trying to create a custom integrator a basic one to insert the data to a custom table. I had used HR Integrator set up for creating custom integrator.Enabled all the profile options functions and menus. But now I am stuck at a point I am unable to create a layout whenever I choose my custom integrator and then tries to create a layout I get the following error:
    No columns have been defined in the column list.
    Once this can be resovled then I can fo for column mapping and then test a custom load. Can anybody please let me know what am I missing here after following each procedures.
    Your inputs are appreciated. I am in great need of your suggestions pretty urgently
    Thanks and Regards
    Keshava

    Hi,
    The answer to your query is 'Yes'. You need to design a 'UPDATE' metadata type custom integrator. The custom integrator shall use a parameter based view to first download data and then use a PL/SQL wrapper/API to re-upload it back. The brief steps are listed below:
    1. Create a 'UPDATE' metadata type custom integrator. Give a parameter list name, std/custom view for data download and a PL/SQL wrapper.
    2. Create a form function and associate the form function with the custom integrator created.
    3. Add the form function to the std WebADI menu for access.
    4. Define a layout for the custom integrator defined.
    4. To create a parameter use the standard integrator 'HR Standalone Query'. As a part of this integrator you can define the SQL WHERE clause (parameter based) that you will like to use with the custom/std view defined in the custom integrator definition.
    Note: You can use a max of 5 parameters only. For each parameter, one needs to define the datatype and also the HR standalone query has a size limitation of 2000 chars in 11i10. You increase this length you may apply patch - 3494588 to get 4000 chars.
    Hope this information helps.
    Thanks,
    Nitin jain

  • Identify record number being processed in Custom Integrator?

    Hi gurus,
    We have developed a custom integrator using a PL/SQL packaged procedure as the interface. Inside this package we insert into a custom table.
    We are on Oracle Financials 11.5.10.2.
    The custom table is located in a custom schema called CGL.
    Our requirement is to perform some validation in the database package when the Web ADI infrastructure is processing the first row in the excel spreadsheet that the user is using to upload data.
    We have a header row with the following columns.
    Source System
    Feeder System
    Version Number
    When the user chooses Oracle => Upload option from the Excel menu, we have to validate that the Version Number is valid i.e. we have to validate that the previous version of the file for the Source System and Feeder System combination has been successfully processed by the subsequent programs before the user is allowed to upload the next version of the file for this combination.
    Our requirement is to perform the validation when row number 1 is being processed. However, I have not been able to find any documentation that allows us to identify the record number in PL/SQL.
    Alternately, is there an environment variable or some other way to populate row numbers in excel spreadsheets being downloaded using the template so it can be passed to the package and used to identify the row being processed.
    Any help in this regard will be greatly appreciated.
    Venkat

    Hi Venkat,
    Would you give a try with the following option:
    Define a column in your layout, and set the default type to formula and enter an excel formula like
    =IF(ISBLANK(C7);"";ROW()-ROW($B$6))
    This function should put a number into the column and it should start with one, followed by 2,3 etc. The 7,C,B,6 needs to be set according your layout. I hope you can manage this.
    Assuming your sheet has 100 lines, you shall have then a 1-100 in this column. I would secure this column, read only flag in the layout.
    Any further explanation needed? Just replay here.
    br, Volker

  • Custom Integration between CLM and SRM

    Hi
    Can any body help me how to do custom integration between CLM 2.0 and SRM for contracts using PI. On SRM side we have customised API. More specifically I need what is to be done in PI for custom integration between CLM and SRM.
    Thanks in Advance
    M G REDDY

    Hi There,
    Has anybody managed to custom integrate CLM & SRM?
    If so please kindly share how this was achieved.
    Thanks,
    Sheena

  • ADI and Custom Integrator

    All,
    Need some help. I have a custom table and I want to load some custom data. Would like to load using ADI. I can see hints about Custom Integrator that suggests that may be possible, but can find no documentation.
    Is this possible?
    Is there any documentation?
    Thanks
    Iain

    Hi Iain,
    Did you get a documentation you were looking for ? Can share it with the forum ?
    Thanks.

  • Custom Integrator Takes Long time to Come in Integrator List

    Hello Friends
    I am facing a serious problem, when I create a Custom Integrator in Desktop Integrator module. It takes long time to populate in Integrator List. Almost 24 Hours. But it’s time consuming. Please help me if anybody knows the solution so that I can get it after creation integrator.
    Thanks
    Makshud

    Do you have the statistics collected up to date?
    Can you find any error/warning messages in the BNE log file?
    Thanks,
    Hussein

  • ATP Customizing Integration Model

    Experts,
    I would like to use the ATP customizing integration model to do a one time transfer of ATP customizing from our ECC system to SCM.  The model is found in CFM1.  When I create the model and send it so SCM, I do not know what configuration transactions on the SCM side get updated.  Can someone please give me a list of the config tran codes?
    Thanks for the help.
    Matthew Bruckner

    Hi,
    Before transfering ATP customization make sure that you have made below setting
    SPRO-Advance planning and optimization-GATP-general settingsMaintain global setting for availability check---
    set improt customizing as allowed
    post transfer you can check following things APO-:
    SPRO-Advance planning and optimization-GATP-general settingsMaintain buisness event(same as checking rule)
    SPRO-Advance planning and optimization-GATP-general settings-maintain checking mode(requirement class)
    SPRO-Advance planning and optimization-GATPproduct availability checkmaintain ATP Group(checking Group)
    SPRO-Advance planning and optimization-GATPproduct availability check-Maintain checking control(Scope of check)
    Post transfer again set import customizing to not allowed to prevent changes done in APO getting overwritten
    Regards,
    Santosh

  • Web ADI-Custom Integrator- LOV value selected is not populating in the cell

    Hi,
    I have a custom integrator, created a layout and mapping
    and I have update the BNE_INTERFACE_COLS_B table for the column that I want as an LOV.
    LOV_TYPE = STANDARD
    val_obj_name = 'FA_BOOK_CONTROLS_SEC'
    val_addl_w_c= 'NVL(DATE_INEFFECTIVE,SYSDATE) >= SYSDATE AND BOOK_CLASS IN (''CORPORATE'',''TAX'')',field_size = 15
    val_component_code = 'FA_BOOK_TYPE_CODE'
    val_component_app_id = 140
    val_type = TABLE
    val_id_cil= BOOK_TYPE_CODE
    val_mean_col=BOOK_TYPE_CODE
    val_desc_col=BOOK_TYPE_CODE
    The LOV is showing up fine, but when I select the value the , selected value is not getting populated in the excel cell.
    Can you please help me resolve this? This is urgent.
    Thanks,
    AJ

    Hi Ashish,
    Can you please give more details?
    On my end I have the same issue but one of my LOVs is not populating the cell while the other does. But I never performed any of the action you mentionned.
    So I would like to try your solution for the remaining LOV that does not populate my Excel cell. What is the purpose of "Then create a web adi function and attach to web adi menu.Call form function association integrator and attach the form function to your integrator.( Interface_cols)"? and what kind of "function" should we create?
    Thanks and regards,
    Gaël
    Edited by: Gaël on 21 sept. 2012 08:16

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • Custom Search help in Record Working Time

    Hi,
    We have a requirement to add a custom field on RECORD Working Time ( ESS). This field has been added and custom search help is assigned to the data element of the field. The values in the F4 help should vary based on employees department.
    The related code for this requirement is written in the serach help exit. The F4 help is working as expected from backend ( ECC) but not in Portal (ESS).
    I have added the custom field in TCATS_SHLP_ITS. After maintaining this table all the values in F4 help are displaying , whereas it should only display the values under employees department in Record Working time.
    I understand the class cl_xss_cat_value_help_general is responsible for the search help in ESS is there any user exit or enhancement available for this class in order to control the serach values on ESS.
    Thanks in advance.
    regards,
    Pradeep

    note that search help of CAT2 and record working time are different!
    these are teh steps
    please modify the following in the table TCATS_SHLP_ITS as follows:
              1. Execute the T-Code SM31
              2. Enter the table name TCATS_SHLP_ITS.
    or check the class
    CL_XSS_CAT_VALUE_HELP_GENERAL
    or check
    CL_XSS_CAT_VALUE_HELP*
    take an example from Sap note 914125

  • How to get the custom integrator in Manage Document Links

    Hi All,
    My requirement is "Creating Word Documents Using Web ADI", I am following the document
    Oracle® Human Resources Management Systems
    Configuring, Reporting, and System Administration Guide
    Release 12.1
    Part No. E13509-02
    From page no. 194.In that section, No.8. Use the Manage Layout Document Links page to create a link between the
    integrator and layout and the Word template.
    See: Creating Links between Template Letters and Layouts, page 2-33
    2-33>>
    Select Manage Document Links from the Web ADI menu.
    But when I click on the "Manage Document Links", I couldn't see my custom integrator to associate my word document with my integrator.
    I could see only the standard integrators.
    How to get my custom integrator in "Manage Document Links". I could see my custom integrator in define layout but not in this page.
    Thanks.
    With Regards,
    Kali.

    Hussein,
    Thanks for your reply.
    I followed the
    Note 360105.1 -Understanding and Using Web ADI in Oracle HRMS, and the section "Letters",
    I could follow all the steps, except the following,
    The reason is, when I click on Manage Documents Links, I am not getting my newly created integrator.
    If I link a standard integrator "HR People Details" to my document, that is opening properly.
    But I am not able to link my document with my integrator(which is based on my view).
    c.  Now link the template letter to the Letter Integrator and Layout.
    If not already done so, Add the function WebADI Manage Document Links to your Web ADI menu, and give it a prompt of Link Document.
    Select Link Document option , and Web ADI Mail Merge page displays. Choose your Letter Integrator. Link it to the Layout, and a list of template documents uploaded to the database is displayed. Select the template letter to be linked with the layout.
    Thanks.
    With Regards,
    Kali.

  • Runtime error while trying to execute custom F4 help in OOP ALV grid.

    Dear All,
    I am trying to add custom search help for one of my column in ALV grid. I'm using OOP ALV, when i click for search help for that column, the system shows runtime error like below.
    I am new to OOP concept and tried to follow program BCALV_EDIT_03. But not getting this error occur. Please help me.
    With regards.

    Hi,
    In order to be able to provide a search help for a field in an ALV you must do the following things.
    1) The field where F4 help need to be attached needs to be made editable.
    2) Create an event handler class to handle the ONF4 event. You can refer the following code:
        CLASS lcl_alv1_handler DEFINITION.
        PUBLIC SECTION.
           "Tohandle F4 helps
           METHODS handle_f4 FOR EVENT onf4 OF cl_gui_alv_grid
                   IMPORTING e_fieldname e_fieldvalue es_row_no er_event_data
                             et_bad_cells e_display.
        ENDCLASS.
       CLASS lcl_alv1_handler IMPLEMENTATION.
          METHOD handle_f4.
    CASE e_fieldname.
         WHEN 'LIFNR'.               "Set F4 for courier vendor
             SELECT lifnr name1 FROM lfa1 INTO TABLE lt_lifnr.
           IF lt_lifnr IS NOT INITIAL.
             CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
               EXPORTING
                 retfield           = 'LIFNR'
                 window_title   = 'Vendors'
                 value_org       = 'S'
               TABLES
                 value_tab       = lt_lifnr
                 return_tab      = lt_return
               EXCEPTIONS
                 parameter_error = 1
                 no_values_found = 2
                 OTHERS          = 3.
             IF sy-subrc = 0.
               READ TABLE gt_final INTO wa_final_t INDEX es_row_no-row_id.
               IF sy-subrc = 0.
                 READ TABLE lt_return INTO wa_return INDEX 1.
                 IF sy-subrc = 0.
                   CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                     EXPORTING
                       input  = wa_return-fieldval
                     IMPORTING
                       output = lv_lifnr.
                   wa_final_t-lifnr  = lv_lifnr.
                   MODIFY gt_final FROM wa_final_t INDEX es_row_no-row_id.
                 ENDIF.
               ENDIF.
             ENDIF.
           ENDIF.
          ENDCASE.
             CALL METHOD o_alv->refresh_table_display.
          ENDMETHOD.
       ENDCLASS.
        In the above method, GT_FINAL-LIFNR is being overwritten by the LIFNR you had selected       from F4 help. So we will call the refresh_table_display after it to see the result in the ALV.
    3) After creating the ALV object, add the fields to which the F4 has to be added. For this you
        need to declare an internal table based on  lvc_t_f4. Use the following code. Here O_ALV is    my ALV object.:
       CREATE OBJECT o_container
           EXPORTING
             container_name              = 'CUSTCON'
           EXCEPTIONS
             cntl_error                  = 1
             cntl_system_error           = 2
             create_error                = 3
             lifetime_error              = 4
             lifetime_dynpro_dynpro_link = 5
             OTHERS                      = 6.
         IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
         CREATE OBJECT o_alv
           EXPORTING
             i_parent          = o_container
           EXCEPTIONS
             error_cntl_create = 1
             error_cntl_init   = 2
             error_cntl_link   = 3
             error_dp_create   = 4
             OTHERS            = 5.
         IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
       CLEAR : gt_f4, wa_f4.
       wa_f4-fieldname   = 'LIFNR'.
       wa_f4-register    = 'X'.
       wa_f4-getbefore   = space.
       wa_f4-chngeafter  = space.
       APPEND wa_f4 TO gt_f4.
       Here I am assigning F4 to LIFNR field in the final internal table that is displayed using ALV.
       After this register this field for F4.
        CALL METHOD o_alv->register_f4_for_fields
           EXPORTING
              it_f4 = gt_f4.
       CREATE OBJECT o_alv_handler.
       SET HANDLER : o_alv_handler->handle_f4 FOR o_alv1.
       The object o_alv_handler is created based on the event handler class.
    I hope that this will solve your issue. Revert if this is solved.
    Rgards,
    Abijith

  • Custom search help with F4IF_INT_TABLE_VALUE_REQUEST to retrieve 2 columns

    Hi all,
    i have a problem to retrieve selected value from a custom search help. I need to retrieve 2 columns from the selected line. eg. there are A,B,C,D column in the search help. I need to get the B and D. can anyone help? Thanks

    For achieving this follow the following 4 steps:
    1. While calling F4IF_INT_TABLE_VALUE_REQUEST pass the importing paramter return_tab  to make the data selected by the user IN SELECTION screen. Remember that without this the user entry is avaliable only at START OF SELECTION.
    2. Use this value to READ TABLE your internal table to get the  value of other column.
    3. Load an internal table with values you want to assign to selection screen fields.
    4. Assign  values to the field in selection field using Fn Module: 'DYNP_VALUES_UPDATE'.
    Example:
    DATA: ......,
        lit_fields     type table of dynpread,
        ls_fields      type dynpread,
        lit_ret_tab    type table of ddshretval,
        ls_ret_tab     type ddshretval.
    . call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
          retfield        = 'VARI'
          dynpprog        = sy-cprog
          dynpnr          = sy-dynnr
          dynprofield     = 'P_VARI'
          value_org       = 'S'
        tables
          value_tab       = lit_abc
          return_tab      = lit_ret_tab
        exceptions
          parameter_error = 1
          no_values_found = 2
          others          = 3.
    check sy-subrc eq 0.
    *-----get the entered value of field vari
    read table lit_ret_tab into ls_ret_tab index 1.
      lv_vari = ls_ret_tab-fieldval.
    check sy-subrc eq 0.
    *-----get value of the other column vari_d
    read table lit_abc into ls_abc with key vari = lv_vari.
      lv_vari_d = ls_abc-vari_d.
    *----- Append to an internal table with values you want to assin to selection screen fields.
    ls_fields-fieldname = 'P_VARI'.
      ls_fields-fieldvalue = lv_vari.
      append ls_fields to lit_fields.
      ls_fields-fieldname = 'P_VARI_D'.
      ls_fields-fieldvalue = lv_vari-d.
      append ls_fields to lit_fields.
    *---- Assign  values to the field in selection field
    call function 'DYNP_VALUES_UPDATE'
        exporting
          dyname               = sy-cprog
          dynumb               = sy-dynnr
        tables
          dynpfields           = lit_fields
        exceptions
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          undefind_error       = 7
          others               = 8.

  • Custom search help in sap field in standard transactions.

    I have a requirement that I have to add a custom search help in XREF2 of bseg table either in fb02-f-43.
    For FB02.
    Display document.
    Select a Line Item.
    Go to Additional Data tab in menubar,a pop-up will come, where we will get the Reference1 fields .
    My requiremnt is to add a custom input help having 3 constant values.
    For F-43.
    Give account , date etc in first screen.
    Go to next screen give the amount.
    Go to more data will get the fields in left side-no pop-up will come.
    Help needed

    hi, Jkuma,
    we met the similar situation with you while developing a anpplication form for HR.
    our conclustions are:
    1. it's not feasible to put all the data into the form, it will make the form too big and slow, so it must be a online interactive form
    2. you may put a search field to let the user to input some kind of criteria and do the search on the r3 side and return the hit list on the form , but it's not so easy to develop a table control on the form using javascript to get the selected one.
    3. so we built a 'selection screen' , using webdynpro for abap,
    it will show up before the form, while can use ddic search help, to make the selection, then put all the selected entries into the adobe form for further processiong.
    how this is helpful hint for you.
    br.
    jun

  • Custom search help in WD for ABAP

    Hi
    I have a Text field which does not have any input help. Now I have a custom Search help object in my R/3 store. How do i use this search help object for displaying the values for this Text field. I believe there is some standard  method  available for this. Kindly help me out.
    Regards,
    <i><b>Seema</b></i>

    Context->Dictionary Search Help.

Maybe you are looking for