Find Triggered report name in the function module.

Hi All,
A function module is being called by many Reports say (100). Now the question is, I need to find out the Triggered report name in the function module where I can do required logic change based on the report. I cannot include an import parameter in the function module to capture the Report name, for this solution I need to change 100 reports. Is there any better way to find the Triggered report name in the Function Module?
thanks in advance.
ravi

Try system parameter SY-CPROG.

Similar Messages

  • Name of the function module to logon to other server

    Dear All
                        i would like to know the name of the functional module through which user can logon to other server ex: from DEV to PRD for debug the programs . i tried through st03N i am able to get only used tcode but not functional module from which they are logon to prd server
    is there any way to get logs for particular user to get log for last 10 days used tcodes all my traces are not active and audit also not active..
    Regards

    Dear
    I need the name of the FM through which we can log on to any other server
    there is S_RFC authorization object now i disabled that but i need the name so i can manually restrict the FM 
    Regards

  • Where I Find the names of the functions modules?

    Hi,
    Someone help me? I need to know what table has the information about the functions modules,  functions group,description, etc.
    Thanks for your help.
    Maria C

    hi
    chk the table tadir.
    and check OBJECT = func ( function modules)
                                    fugt ( fn grp text)
                                    fugr  ( fun gr)
    table TFDIR for FMs.
    regards,
    madhu

  • Common report name for all Function modules??

    Hi.....
        If we check the value of the SY_CPROG in the sourse code of the any function module we can get
    RS_TESTFRAME_CALL as value.
    From SE38, if we excute this report we can get one selection screen-> there we can give the FM name and we can excute it.
    But, What is the purpose of this report...why SAP build this report?
    In which senario we can utilize the SY-CPROG value with FM??
    Thanks,
    Naveen.I

    Hi Soma,
    I posted this question when I am working with remote system(Dot Net), to debugg the function module.
    So you can get same , even for seibel system..
    If you need any other assistance you can reach out here, with you rrequirement.
    I will try to answer it.
    Remeber , I tried with Function group(which we can find at attributes tab of function module), while debugging with External Debugger.
    Thanks,
    Naveen Inuganti.

  • 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

  • Problem in copying the function module.

    Hi All,
    I have to Copy the standard function modules "FI_ITEMS_DISPLAY" and "ITEM_DERIVE_FIELDS".
    The Function group for both of above FM is "FI_ITEMS".
    What i did is I went to SE80 ,I copied down the Function Group 'FI_ITEMS' to 'ZFI_ITEMS'.
    later on i copied the standard function modules 'FI_ITEMS_DISPLAY' and 'ITEM_DERIVE_FIELDS'
    to the 'ZFI_ITEMS_DISPLAY' and 'ZITEM_DERIVE_FIELDS' resp.in the same function group 'ZFI_ITEMS'.
    Then i made some changes to these copied modules (I did change the structure of it_items from RFPOSXEXT to ZRFPOSXEXT in ZFI_ITEM_ITEM_DISPLAY,and same change in ZITEM_DERIVE_FIELDS but for the parameter s_item).
    And finally i activated these FM..and it got activated also.
    But later on when i used these FM in my report...error occured saying that -
      "The name of the function module to be called is "ZITEM_DERIVE_FIELDS".
    but "ZITEM_DERIVE_FIELDS" cannot be found in its function group. "
        hence i thought of activating the function group ZFI_ITEMS,which was inactive before to this...but when i tried activatin this FM it was giving hell lot of errors showing conflict occured at diffrent places,I think just because of the change (structure of IT_ITEM chnged from RFPOSEXT to customised ZZRFPOSXEXT).
    I am helpless in removing all this errors ...
    Can anybody suggest where did i go wrong?
    And what is the right way to copy the function module.?
    If possible reply me ASAP.
    Thanx in advance.

    Hello Sanjay,
    First, delete your new function group and
    Do like this:
    1. copy FI_ITEMS_DISPLAY to zFI_ITEMS_DISPLAY from Se37. here you find a button on the application toolbar to do it. It also asks about the Function group. GIve the FG as
    ZFI_ITEMS.
    Activate all the related objects
    2. same for the other FM. Use the same FG. and activate the related objects.
    Regards,
    Naimesh

  • How to use the function module ....

    hi
    how to use the function module ssf_function_module_name in smartforms

    Hi..
    If you are using this Function module, you can get the generated function module name of smartform dynamically. It is good progrmaming practice to get the fucntion module name dynamically because there might be some problems if you are hard coding in program.
    This will return the name of the function module and then from the exporting parameters you can use the fucntion module name to pass parameters to Smartforms.
    Check this link.I am expalining here how to use this function module.
    https://wiki.sdn.sap.com/wiki/pages/pointstab/viewpageversion.action?pageId=36109&version=2
    Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 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.
    <b>Reward points if useful</b>
    Regards
    Ashu

  • Need the name of the funcion module for master data planning

    Hi all,
    i need to know the name of the function module to call in a planning function in order to do a master data planning.
    thanks a lot!

    Hello Giancarlo,
    You cannot do master data planning in BPS. Master data has to be maintained separately in the BW system.
    Cheers
    Aneesh

  • ST22 , Need to  get the Transaction and Pgm name using a FUNCTION MODULE ?

    Hi All,
    I need to create a Report for monitoring Dumps which is seen in ST22 every day.
    The function module RS_ST22_GET_DUMPS gives the dump information . But i need to fetch the Program name and the transaction where the dump has happened for my report.(Like when we double click the alv output in ST22 and the next list gives us the complete information , Transaction , Main program name ...etc)
    Kindly suggest me and help me on this .
    Regards,
    Richard A

    Hi
    Funcion module RS_ST22_GET_DUMPS will return the program names where the dump has taken place.
    Pass this program name to function module RPY_TRANSACTION_READ to get the trascation code of the program.
    Regards
    Srilaxmi

  • Table to find out the function modules used in a particular program

    Hi,
    Is there any standard table to find out the function modules used in a particular program?
    Such as there is a table D010TAB to find out the tables used in a program .

    Hello
    There is no exist such table.
    But try this snippet:
    REPORT ZSEARCH.
    PARAMETERS: P_NAME LIKE D010SINF-PROG.
    DATA: PROGTXT(72) TYPE C OCCURS 0 WITH HEADER LINE.
    DATA: TMP(72) TYPE C OCCURS 0 WITH HEADER LINE.
    DATA: FUNCT TYPE RS38L_FNAM OCCURS 0 WITH HEADER LINE.
    DATA: INCL TYPE RSEUINC OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'RS_GET_ALL_INCLUDES'
         EXPORTING PROGRAM    = P_NAME
         TABLES    INCLUDETAB = INCL.
    LOOP AT INCL.
      READ REPORT INCL-MASTER INTO TMP.
      APPEND LINES OF TMP TO PROGTXT.
      REFRESH TMP.
    ENDLOOP.
    READ REPORT P_NAME INTO TMP.
    APPEND LINES OF TMP TO PROGTXT.
    LOOP AT PROGTXT.
      IF PROGTXT CS 'CALL FUNCTION'.
        SEARCH PROGTXT FOR ''''.
        IF SY-SUBRC = 0.
          DO.
            SHIFT PROGTXT LEFT BY 1 PLACES.
            IF PROGTXT(1) = ''''.
              SHIFT PROGTXT LEFT BY 1 PLACES.
              DO.
                SHIFT PROGTXT RIGHT BY 1 PLACES.
                IF PROGTXT+71(1) = ''''.
                  SHIFT PROGTXT RIGHT BY 1 PLACES.
                  CONDENSE PROGTXT.
                  FUNCT = PROGTXT. COLLECT FUNCT. EXIT.
                ENDIF.
              ENDDO.
              EXIT.
            ENDIF.
          ENDDO.
        ENDIF.
      ENDIF.
    ENDLOOP.
    SORT FUNCT.
    LOOP AT FUNCT.
      WRITE: FUNCT. NEW-LINE.
    ENDLOOP.

  • Overriding the messages that are triggered in the function module

    Hi all,
    Can anybody knows the way to override the messages that is triggered in the Function module.
    Right now we are using a standard function module "SD_CONDITION_VALIDITY_PERIODS" to get validity period of a pricing condition. What happened is we have a missing pricing condition from the master so its checking the table T681 and giving the error. We want to override this condition. If anybody knows a way how we can implement this please let me know.
    Thanks in advance.
    Ved Nayak.

    Did you try going to the message app and clicking on the person name then go to the top and click the load earlier messages button. 

  • Need name of a function module or BAPI to update the Tax Classification val

    Hi Guru's
    Need name of a function module or BAPI to update the Tax Classification value for Material master.
    Thanks in advance.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

  • Function module to get the name of all the function module used

    I want to populate a internal table with the name of all function module used in the submitted program?? Is there any function module which return the name of all the function module used?

    Hi Priya
    Try this one RPY_FUNCTIONMODULE_READ.
    Ranga

  • Can I add special character "$" in the function module parameter name??

    Hi Friends
    Can I add special character "$" in the function module parameter name??
    awaiting for your reply,
    Regards
    Praveen

    >
    prashanth kishan wrote:
    > Thomas,
    > ... What if Praveen passes the $ parameter in that unknown FM and suddenly theres smoke coming from the rear of the CPU? Who's answerable to that??
    >
    > pk
    Blame Canada!

  • Tell me the function module name

    Hi ,
       By using material in MSEG table I need to get BOM field from MAST table. Then using that BOM I have to retrieve BMENG from STKO table and POSTP (item category) in STOP table and here I need to search table STPO with BOM#; retrieve component quantity from field STPO/MENGE for all materials with Item category N     …
    I can do the above things by using select for all entries…
    But One function module is there to do all these things..
    Can any one tell me the function module name…
    Thanks,
    Navaneeth

    check this  BOM related
    CSAP_BOM_ITEM_MAINTAIN
    CSAP_DOC_BOM_CREATE
    CSAP_DOC_BOM_DELETE
    CSAP_DOC_BOM_ITEM_SELECT
    CSAP_DOC_BOM_MAINTAIN
    CSAP_DOC_BOM_READ
    CSAP_MAT_BOM_ALLOC_CREATE
    CSAP_MAT_BOM_ALLOC_DELETE
    CSAP_MAT_BOM_CLOSE
    CSAP_MAT_BOM_CREATE
    CSAP_MAT_BOM_DELETE
    CSAP_MAT_BOM_ITEM_SELECT
    CSAP_MAT_BOM_MAINTAIN
    CSAP_MAT_BOM_OPEN
    CSAP_MAT_BOM_READ
    CSAP_MAT_BOM_SELECT
    CSAP_ORD_BOM_CREATE
    CSAP_ORD_BOM_DELETE
    CSAP_ORD_BOM_ITEM_SELECT
    CSAP_ORD_BOM_MAINTAIN
    CSAP_STOCK_TYPE_CREATE
    CSAP_STOCK_TYPE_DELETE
    CAVC_I_CHANGE_BOM_ITEM_DATA
    CAVC_I_DELETE_BOM_ITEM
    Check Above function modules which all related to BOM
    And also Check function groups CSAP, CSAI, CSAR, CSBD etc...
    Check out the following:
    http://help.sap.com/saphelp_40b/helpdata/en/92/58b521417011d189ec0000e81ddfac/content.htm
    regards,
    prabhu
    reward if it is useful

Maybe you are looking for