Function Module where-used list does not find update rule programs

We have function modules called in update rules. The where-used list in the function builder does not find the update rule programs.
For example, function DATE_GET_WEEK is called in an update rule to InfoCube YCUBE001. The activated program name for this update rule is GP3PWI6PKM5Y3K75A370DIS8I77. When I goto SE37, enter the function DATE_GET_WEEK, click the where-used button, check the programs option and search. The system does not find the program GP3PWI6PKM5Y3K75A370DIS8I77.
Without this search capability it is difficult to do an impact analysis of changing function modules. Does anyone know of a solution?

hi,
i think the reason is the code of update rules' generated program are stored line by line in table(rsaabap), update rules program itself stored in table rsupdrout, link with field codeid, another useful table is rsupdinfo which store infocube, infosource related.  other info may stored in some other rs* and rsa* tables.
try to create following program in your system, and run, type in the function module name, and will display out the update rules program id, with additional useful info : which infoprovider, infosource, and detail info of the routine and infoobject in the update rule that using that function module. you may modify the program to have better display out list.
hope this helps.
REPORT  Z_FM_UPDRUL_WHEREUSED.
data : lv_sfm,
       lv_line type string,
       lv_where type string.
tables : rsaabap,RSUPDROUT,rsupdinfo.
select-options:
s_fm for rsaabap-LINE.
start-of-selection.
  loop at s_fm.
    concatenate s_fm-low ' ' into lv_sfm.
    concatenate '%' s_fm-low into lv_line.
    concatenate lv_line '%' into lv_line.
    write : / 'function module', 'update rule id', 'routine id', 'infoobject', 'infocube', 'infosource'.
    select * from rsaabap
    where line like lv_line and objvers = 'A'.
       select * from rsupdrout
       where codeid = rsaabap-codeid and objvers = 'A'.
         select single * from rsupdinfo
         where updid = rsupdrout-updid and objvers = 'A'.
           write: / lv_sfm, rsupdrout-updid, rsaabap-codeid,
                    rsupdrout-iciobjnm, rsupdinfo-infocube,
                    rsupdinfo-isource.
    endselect.
    endselect.
  endloop.

Similar Messages

  • Function Module "where used list"

    I'm looking for a function module which does the same as the where used list: i want to have all tables conataining a special field e.g. mandt. Is there such a FM available?

    Hi,
    Use FM 'CHVW_EXPLODE_ALL' to get the Batch where used list.
    HTH
    Regards,
    Dhruv Shah

  • ABAP Function Module where-used in BI-Transformations

    Hi,
    we have developed some ABAP-Z-Function-Modules. These are used in several BI-Data-Transformations and work fine and performant.
    The problem we have now is to find out in which transformation a Function-Module is used.
    The where-used-list in SE37 doesn't report any BI-Transformations althought I check all categories.
    Got anyone a solution for our problem?
    Christian

    Hi,
    see this code for function module where used list only for transformation . i used the same code as bhaskar specified..but little modification..here u used "date_get_week" function module..
    TYPE-POOLS slis.
    DATA fcat1 TYPE slis_t_fieldcat_alv.
    DATA: BEGIN OF t_display OCCURS 0,
             targetname LIKE rstran-targetname,
             sourcename LIKE rstran-sourcename,
             tranid LIKE rstran-tranid,
             routine LIKE rstran-startroutine,
             line_no LIKE rsaabap-line_no,
             line LIKE rsaabap-line,
    END OF t_display.
    data : input(75) type c.
    DATA : input_pattern1(75) TYPE c.
    DATA : input_pattern2(75) TYPE c.
    DATA : same_source(30) TYPE c.
    **Internal table declerations**************************************
    TYPES:  BEGIN OF t_trans_lookup_finder,
             targetname TYPE rstran-targetname,
             sourcename TYPE rstran-sourcename,
             tranid TYPE rstran-tranid,
             routine TYPE rstran-startroutine,
             line_no TYPE rsaabap-line_no,
             line TYPE rsaabap-line,
    END OF t_trans_lookup_finder.
    DATA: i_lookup_finder TYPE STANDARD TABLE OF t_trans_lookup_finder,
      wa_lookup_finder TYPE t_trans_lookup_finder,
      i_trans_lookup_finder TYPE STANDARD TABLE OF t_trans_lookup_finder,
      wa_trans_lookup_finder TYPE t_trans_lookup_finder,
      i_trans_final TYPE STANDARD TABLE OF t_trans_lookup_finder,
      wa_trans_final TYPE t_trans_lookup_finder.
    DATA : i(7) TYPE n.
    DATA  old_cube(20) TYPE c VALUE ' '.
    DATA  old_source(20) TYPE c VALUE ' '.
    **Selections for update rules**************************************
    SELECT DISTINCT  targetname    sourcename  tranid        endroutine       line_no       line
           INTO TABLE i_trans_lookup_finder FROM
           rstran AS a  INNER JOIN rsaabap AS b ON aendroutine = bcodeid
                           WHERE
                           aobjvers = 'A' AND bobjvers = 'A'.
      APPEND LINES OF i_trans_lookup_finder TO i_lookup_finder.
    **Selections for Transformations(Expert routine)*******************
    SELECT DISTINCT        targetname       sourcename       tranid       expert       line_no       line
           INTO TABLE i_trans_lookup_finder FROM
           rstran AS a  INNER JOIN rsaabap AS b ON aexpert = bcodeid
                           WHERE
                           aobjvers = 'A' AND bobjvers = 'A'.
      APPEND LINES OF i_trans_lookup_finder TO i_lookup_finder.
    Edited by: Sakthi Jaganathan on May 20, 2009 6:25 PM

  • Where used list is not working for IMG nodes/Document   in solar01

    hi experts
    In template project , we are using same IMG objects in different business processes and subsequent configuration document is attached to each IMG node in configuration tab.  ( like same IMG node  -  define order types used in different business process configuration tab )
    when i use " where used list " from the configuration tab , its not showing the IMG objects  used in different business processes in the same project. whereas its showing the IMG nodes used in the different project.
    I need to find out the same IMG objects/ document  used in the same project using the " Where used list " button.
    Please provide your answers
    Note : we have linked one configuration document to same IMG nodes used in different business. " where used list " also not working for documents as well
    Thanks
    Sol man

    Hello there,
    I just tried some tests and couldn't face any problem with locating other usages for the objects in configuration tab.
    You mentioned a configuration document, so have in mind that the document usage will only be considered if it is a link to the same document and not just a copy.
    e.g:
    Here I created a document in this node:
    Then I added it as a link here:
    and as a copy here:
    When I go back to the original node and use the where-used, it'll only show the original and the link:
    This happens because after copying a document, it is considered as a new one instead of another usage of the original one.
    best regards,
    Fabricius

  • When Firefox is open the zoom function (option/command/space bar) does not work in Adobe programs (InDesign, Photoshop, Illustrator)

    Mac OS X 10.6.7
    CS 5.5
    When Firefox is open the zoom function (option/command/space bar) does not work in Adobe programs (InDesign, Photoshop, Illustrator). This happens only when Firefox is open and when I close it the zoom functions work fine again without having to restart the applications.
    This is intermittent but happens quite frequently each day if Firefox is active.

    MDN doesn't mention -chrome being used for ordinary web pages: https://developer.mozilla.org/docs/Mozilla/Command_Line_Options#Chrome
    When I use
    firefox.exe -chrome about:permissions
    I get a usable window, but zoom doesn't work as you noted.
    How about using an intermediate page and window.open() for the target page? You can (mostly) restrict the chrome of windows opened that way, but it will leave behind the intermediate window...
    https://developer.mozilla.org/docs/Web/API/Window.open

  • Name of the function module-where used

    I want to know the name of function module which gives the where used list for that perticular table. like I want a where used list abt table spfli so which function module gives this information.*where used list for tables

    Hi Abhijeet,
                      Use FM <b>BRF_WHERE_USED</b>
                                  <b>RKD_WHERE_USED_TABLE_IS_BUILD</b>
    There is another way without FM.go tpo se11.enter the table name.click on WHERE-USED_LIST button on application tool bar.
    Reward points if helpful.
    Regards,
    Hemant

  • Bizarre situation with the "Where used list" for a table updated by FB50

    Hello all,
    I use the "where used list" (all check boxes selected) function in SE11 to find out where and how the table FMGLFLEXT (General Ledger Public Sector: Total) is being used and updated. All I get is a reference to a function module, namely   “G_POSTING_FMGLFLEXT”. When I do a "where used list" (once again, all check boxes selected) for the FM, I get the message: Function Module G_POSTING_FMGLFLEXT not found in selected search area Message no. ES120“ despite the fact that all check boxes are selected.
    Yet this table contains data which were put in there via transaction FB50 (G/L Acct Pstg: Single Screen Trans.). So somehow, somewhere this data was created and put into the table.
    I don’t get it! What am I missing?
    Thank you for your help

    There could be several reasons for this, including:
    - The cross reference tables (used by the "where used" functionality) have not been updated in the system you are logged into - check with your Basis team on this as the programs that do this (a) run for hours and (b) take up a fair chunk of database space.
    - The data may be stored via dynamic SQL (e.g. "insert into (g_tab_name)") so the table reference doesn't show up
    - The function module may be called dynamically so the FM where used doesn't reflect this
    You could try, instead, using the ST05 SQL Trace to track what code is updating the table when you run FB50.
    Jonathan

  • Function Module for some sBDOC does not work on

    Hi Experts,
    We have transported on QA landscape sBDOC definition. For sBDOC CNBCCPCUS602,  CNBCCPCUS603,  CNBCCPCUS604 function module seems to be not the right one, so no message of this BDOC are creted when a site extract is done. Error on smohqueue says: "Could not determine function module for processing AC messages".
    Have You encountered a problem like this?
    BR
    Roberto

    Hi All,
    We resolved the problem re-generating CDB pricing condition table using report CND_MAST_GEN_TRANSFER_OBJECTS.
    BR
    Roberto

  • GUI_UPLOAD Function Module in 4.6C does not split into lines

    Dear All,
    I'm about to upload text file into SAP using the FM 'GUI_UPLOAD'.
    Previously I've developed a test program to upload the same file in SAP v4.7
    and it returns correctly into several lines as expected.
    Snippet:
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = l_filename
          filetype                        = 'ASC'
          has_field_separator       = ' '
          header_length               = 0
          read_by_line                  = 'X'
        TABLES
          data_tab                      = gt_tabfile
    As we can see, the 'read_by_line' parameter is already 'X'. gt_tabfile only consist of 1 string column.
    But as I run the same code using the same parameter and file in SAP v4.6C
    it returned only 1 line of very long string instead of the correct lines resulted in 4.7.
    Is there anything to do with codepage (4.6 is English 1100, I forgot the codepage in 4.7 but i believe it's the same due to language selection is EN). Or anything to do with OSS Note?
    Kindly help me to resolve the issue.
    Appreciate it very much

    Thank you for trying to help.
    Please be noted I've done all the possible value on these parameter
    -   filetype 'ASC' OR 'BIN'
    -  has_field_separator ' ' or 'X'
    -  header_length 0 or 1 which is dont make sense since my file dont have header so must be 0
    -  read_by_line ' ' of 'X' doesnt work my expectation.
    Any other good questions please? How 4.6C and 4.7 above make a different result?

  • Exchange Search (using OWA) does not find certain emails although they match the search query

    Hi,
    We have a customer that has a problem with the Exchange Search.
    He has a number of mails with RE: DC250-6 Nordic in the subject.
    If he searches for RE: DC250-6 Nordic (with or without quotes) the result is not showing all the mails with this subject.
    If he then searches for Nordic the result is ok.
    In Outlook (using online mode) when searching for Nordic, you see that Outlook has marked the word
    Nordic in the subject
    so he really has indexed the subject of the missing mail (the one not shown when searching for
    RE: DC250-6 Nordic)
    Any ideas?
    Kind regards,
    Hans Mannaerts
    Met vriendelijke groeten, Salutations/Best regards, Hans Mannaerts

    Hi Hans,
    I suggest double check whether the OWA in the Offline mode.
    We can’t search for or sort items in your mailbox when offline, and the built-in filters won’t work when you’re offline.
    More details in the following article:
    Using Outlook Web App offline
    http://office.microsoft.com/en-us/support/using-outlook-web-app-offline-HA102828007.aspx
    I also suggest re-build the index for testing.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • How to solve problem with where-used list?

    I've the problem that in many places of my FPM (floorplan manager, web dynpro) code the where-used list does not work anymore because the FPM functions force the developer to specify structure of column names by literals. So for example in the UIBB's GET_DEFINITION methods or when using the following piece of code in some PROCESS_EVENT function:
    CASE io_event->mv_event_id.
         WHEN if_fpm_guibb_list=>gc_guibb_list_on_cell_action.
         io_event->mo_event_data->get_value(
              EXPORTING
                   iv_key = if_fpm_guibb_list=>gc_event_par_column_name
              IMPORTING
                   ev_value = lv_col_name
              if ( lv_col_name = 'FOO' ).
              endif.
    endcase.
    Here one must comapare (line 9) the variable lv_col_name with some literal containing the name of an element of a structure. So the where-used list on STRUCT-FOO does not find this source. Is there any way to fix this problem? I thought to use RTTI for it, but could not find any way to do this. Possibly, is there any pragam or pseudo comment to update the where-used list of a specific structure at a given place?

    The point is that when I start using RS_ABAP_SOURCE_SCAN I have to remember to do this I don't like the situation that after changing some name of a structure's element, the source code of the whole application is correct, no error will occur but the behaviour of the application may be totally wrong. Possibility a better solution will be to add some constants containing the structure element names to the model class of the FPM application.

  • Batch where used List

    Hello,
    I had an issue. My batch Where used list does not show any usage details in BMBC. Are any special configurations required to activate the batch the Batch Where used list?
    Any help would be greatly appreciated.
    Sincerely,
    Aji

    Dear First check transaction MB56 also if it too doesn't work then check OMBB settings or  Enterprise Structure--> Logistics
    General--> Batch Management --> Make Settings for Batch Where-used list Transaction.
    Check and Revert.
    Cheers
    KK

  • Iphone and ipad does not find the airprint printer

    After I upgraded my iphone and ipad I lost my airprint function. Ipad and Iphone does not find the airprinter. The printer is a HP Photosmart 5520, and it does work wireless with my Windows PC that is on the same nettwork.

    In our case the Airprint printers could not be found after IOS upgraded to 7.1.2, all was fine before then.  I have scoured the forums and many people have suffered the same problem.  All the solutions given are aimed at a domestic network with just a Wireless router.  They all involve restarting all the devices and rejoining the IOS devices to the wireless network.  Some people have had to do it multiple times before they regained use of the printers.
    In my case none of these work because I am talking about a business network with two wireless access points, several switches and a router.  To prove it is the IPads I have installed Bonjour onto a Windows PC (Bonjour is the technology used by Airprint).  This finds the printers perfectly so it is definitely something that was changed in the version of Bonjour on the IOS 7.1.2 that is causing all the problems.
    I was hoping that Apple would release another upgrade to IOS to fix this problem but it has been several weeks so far and nothing has emerged.
    So something that worked perfectly a few weeks ago is now dead in the water because of an update on the IPads!!!!!!!!

  • Where used list of a function module

    hello ,
    i want to find out where used list of a function modules , but the problem when I try where used button with in a function module Im getting message saying 'Function Is Not An Include'  when it is used in other programs. Function AKB_WHERE_USED_LIST  does not exist.Function FUNC_GET_OBJECT  does not show the names of the programs.Im Stuck..Plz advise.
    Thanks in Advance

    Hello,
    This is working fine.
    i am getting the name of the programs where the Fm is used.
    In 
    OBJ_TYPE                        FUNC
    OBJ_NAME                        FUNC_GET_OBJECT
    Try this.........

  • Documentation for RS_EU_CROSSREF (where-used list function module)

    Hi,
    I'm trying to understand how to use the "RS_EU_CROSSREF" function module.
    It corresponds to the where-used list function you find in so many SAP screens.
    I need to use it in a program, but I can't find any good documentation about it.
    I'd like something that tells me what values I have to fill in parameters.
    For example, how to search form "TEST_FORM" in all programs ? or even in a given program, I didn't get how to restrict the search to a program...
    Thank you for any help,
    Quentin

    Hi Gurpreet Singh,
    table cross does not find any function modules although I know for sure that there are function modules calling the function module.
    Please post an example of how to find function modules calling a function module with RS_EU_CROSSREF.
    /Elvez

Maybe you are looking for

  • How to calculate a boolean based on data from a table fed by a BI Query

    Hi Gurus, I am currently struggling with the following issue: - I have a query in my VC model wich returns 4 ratios - I put the result of the query in a table in the VC model - then, I added a column in the table. this column is a boolean which shoul

  • Adobe Acrobat Text Field Help.

    How do you change the justification of text in a text field box created in Adobe Acrobat 9 Pro The default setting is left centered, I currently want it to be left top justified, how do I achieve this? Thanks in advance. st333vo PS heres a screenshot

  • 500 Server Error Using ADF

    I'm taking over an application from an Employee who left a few months back. I am simply trying to redeploy an app (so I can have a working baseline) and I'm getting the following error. I have emailed the former employee and he states that this had w

  • Misc. Friend Requests

    Occationally I have recieved freind requests on Skype from people I do not know. I wonder how they got my Skype name or were able to reach me. Is there some Skype social page or something like that? I've also recieved those pesky messages from people

  • Asp blob problem?

    Hi All, i upload an image from asp to blob field,but i can't display the image in asp. while i write an image from vb to blob ,i can display the image. i have read the sample code Use interMedia with OO4O and Microsoft IIS to load and retrieve rich c