Enhance standard function module in ECC 5.0 System

Hi All,
My requirement is to add the custome fields in the standard screen.there is no screen exit for this screen.
The screen is calling by using the standard function module CALL_SCREEN_HU_DISPLAY
Iam working on ECC 5.0 System, Is it possisble to enhance the standard function module and add custome fields.
Please let me know if any suggestions.
Thanks & Regards,
Nagendra

Hi Reddy,
Thanks for the reply..
Can u please give the steps how to create implicit enhancement in function modules.
Thanks & Regards,
Nagendra

Similar Messages

  • Enhancing Standard Function Module.

    We have added some custom fields in table HRP5102 which is getting updated from this function module HRRCF_MDL_REG_NAMED_USR_CREATE.
    I have created the enhancement implementation for this but that is not working .
    if ( lv_is_consistent eq 'X' ).
            move record-lastname to ls_centraldataperson-lastname.
            move record-firstname to ls_centraldataperson-firstname.
            move record-middlename to ls_centraldataperson-middlename.
        Setting the default correspondance language
            move sy-langu to ls_centraldataperson-correspondlanguage.
    I have to add my codes under this IF condition .
    so can any body sugget me how i can do this.

    Hi,
    The only implicit enhancement options for this function module are (as usual) at the very top and the very bottom.
    I don't think you will be able to use these, if your goal is to update custom fields in ls_centraldataperson before the 'register' method is called.
    The 'top' enhancement is too early (because ls_centraldataperson is not yet declared), and the 'bottom' enhancement is too late (because 'register' has already been called).
    So, as far as I can tell, it seems you will need a repair!
    regards
    Paul

  • Implicit enhancement to a standard function module.

    Hi everybody.
    I used an Implicit Enhancement to a Standard function module Customized_Message, at the starting of function module.
    Code:
    ENHANCEMENT 1  ZFK01_ENHANCEMENT4.    "active version
    If sy-tcode = 'FK01' and sy-CPROG = 'SAPMF02K' AND I_MSGNR = '230' AND i_arbgb = 'F2' AND I_DTYPE = 'I'.
      EXIT.
    ENDIF.
    ENDENHANCEMENT.
    The above is working fine, to the condition what i had given above code.
    But my question is, can i use a implicit enchancement to a Standard function module(Customized_message).

    Yes, but you should also be aware that 'F2' is a configurable message class in the IMG.  You should attempt to solve your issue in that manner first.

  • Function module in ECC 6.0

    Hi Experts ,
          I have an issue in using Function module  in ECC 6.0 , while passing data in table parameter is showing an error as ' Table parameter is obselete'. Can u please suggest any other way of passing   table in function module.
    <removed_by_moderator>
    Edited by: Julius Bussche on Oct 20, 2008 10:35 AM

    use table types:
    types: ty_struc type ...,
           ty_tab type standard table of ty_struc.
    data: it_tab type ty_tab.
    call function ...
      changing it_tab
    Don't use TABLES parameters any more, they have implicit header lines, which is a no-no in ABAP Objects context.
    Thomas

  • Data source enhancement thru function module

    Folks,
    I am trying to figure relation between data source enhancement, package, function module etc?
    I see a function module where enhancement is done. when I go and try to see master data exit EXIT_SAPLRSAP_0002 ... I see include but I do not see reference of function module in this include?
    All these codes are so simple... but I am struggling to figure out all these relation RSAP0001, exit_saplrsap* - include inside and function module attached?
    Can somebody give very simple connection for all these components?
    Thanks,
    -SM

    Hi,
    All these codes are so simple... but I am struggling to figure out all these relation RSAP0001, exit_saplrsap - include inside and* function module attached?
    Please note that for enhancing certain standard objects for meet customer needs, SAP provides different customer exits where we can code as per our requirements.
    These customer exits starting with EXIT********* will be grouped by Enhancements e.g. RSAP0001
    Thanks for your response. In RS02 it is clear that we can mention function module name for data source - that is good for generic extraction. But what do we do when we are enhancing SAP extractor?
    When you want to enhance SAP extractors, you go for customer exits.
    EXIT_SAPLRSAP_001              for Transactional datasources
    EXIT_SAPLRSAP_002              for Master datasources
    EXIT_SAPLRSAP_003              for Text datasources
    EXIT_SAPLRSAP_004              for Hierarchy datasources
    in se37 screen in table tab - sometime we see extract structure - that will establish which functional being called for which data source, but in my case - I do not see anything in table tab?
    If your datasource is function module based, then the function module which is mentioned in RSO2 for your datasource would surely have e_t_data in tables tab with its associated type.
    Only if the datasource is standard one and is processed by function module e.g. 2lis_18_i0notif which is processed by MCEX_BW_LO_API function module, these would not have associated type mentioned for them. To get their structure, you can go to RSA5/ RSA6

  • Transaction Code to list all standard function modules available in SAP

    Is there any transaction code to list all standard function modules with their
    grouping.......like in transaction BAPI all bapis are listed w.r.t. their
    functionalities....

    Then Try SE84 -> Program Library -> Function modules. Execute to list all FMs.
    By the way may we ask the purpose for it, as my ECC 6.0 system has exactly 3,78,979 FM's.
    Otherwise if this is an interview question, press the abuse button ( a small yellow traingle at the right of your message subject line ), and in the coming page enter "Interview question" and press Report Abuse.
    Hope i have cleared your query.
    Regards
    Karthik D

  • IF statement in Standard function module PRICING

    Hi,
    In standard function module PRICING
    I found one if statement like this.
    if  xkomv-kntyp na '1$' .
    Plz tell me the meaning of thai '1$' value.
    Regards,
    Upender Verma.

    Hi,
         NA means Contains Not Any ..
         if xkomv-kntyp na '1$'  means .. xkomv-kntyp does not contain '1' or '$'.
         Read help on comparision operator 'NA'
    Regards,
    Srini.

  • Error while creating webservice from function module in ECC

    Hi
    while creating a web service out of a function module in ECC, in the configure service section we get a message saying ' Remember that the service does not have any runtime configuration and therefore cannot be used. Create the Web service configuration in the NetWeaver Admninistrator (transaction WSADMIN2).'
    instead of check box 'release for runtime'.
    Our ECC at release 7 patch level 22.
    Checked in SCICM, SICF teh service and the folder are active.
    Please suggest if we are missing on anything
    Regards
    Kumar

    In new version on ECC, the runtime configurations needs to be performed in transaction SOAMANGER.
    On executing the transaction, it opens a browser. The important configurations to be performed are:
    1. Configure J2EE server and host. You can choose to provide the ECC server and host
    2. Administration of the service in "Single Service Administration". The navigation path may differ depending of the ECC versions. But it is related to administration of the services.
    Once done, check the WSDL generated.
    Use this WSDL in the NWDS.
    Regards,
    Sharath

  • Error in the SAP standard function module 'RSDRI_INFOPROV_READ'.

    Hello Experts,
    We upgraded from 3.5 to 7,0 support pack 17 .
    After upgrade we are getting error
      with return code 11 'Others´'.
    While debugging the standard function module we found that the standard method s_r_infoprov->read is being executed with the return code = 8 (inherited_error).
    Any suggestions?
    Regards,
    Vivek

    Not sure if the parameters provided were correct,you may wish to do a sanity check
    Input Parameters:
    1. I_INFOPROV - This will hold the Name of the Info Cube from where we need the pull the data.
    2. I_T_SFC - This parameter is in the format of Internal Table which holds the Character Info Objects we need to pull from the Source Cube.
    3. I_T_SFK - This parameter is also in the format of Internal Table which holds the Key Figure Info Objects which we need to pull from the Source Cube.
    4. I_T_RANGE - This is also in the format of Internal Table which holds the Selection criteria for which we need to pull from the Source Cube u2013 For example the Company Code u2013 001 and Fiscal Year Period u2013 001/2006.
    5. I_T_REQUID u2013 Selection of cube data based on Request Id.
    6. I_SAVE_IN_TABLE u2013 In case you need to save the data in DB table
    7. I_REFERENCE_DATE u2013 This holds the current date.
    8. I_AUTHORITY_CHECK u2013 This will hold the value u2018Ru2019, which is meant for READ.
    9. I_DEBUG u2013 This is for Debugging mode and holds the default value u2018Yu2019.
    Output Parameters:
    1. E_T_DATA u2013 This Output Parameter is of internal table format, in which we can mention the output fields (For all the fields mentioned in the Input Parameter, this output parameter will hold the values).
    2. E_END_OF_DATA u2013 Once the FM is executed successfully, this output parameter will hold the value u2018Xu2019, means extraction completed successfully.
    Hope it Helps
    Chetan
    @CP..

  • /CAB* function modules in ECC 6.0 DIMP

    Hi all,
           The /CAB 4.6 objects are does not exist in ECC 6.0. I am working on upgradation project. There are many /CAB function modules used in 4.6 version. How can i get the compatable function modules in ecc 6.0. Is there anyway to find the compatable funciton modules in ECC?
    list of missing function modules:
    /CAB/MM_MAT_PRUEFEN
    /CAB/J_4CM_READ_SINGLE
    /CAB/J_3CB_READ_SINGLE
    /CAB/READ_MRP_ALLOCATION
    /CAB/J_5CL_READ_SINGLE
    /CAB/PP_MD_MCHB_J_5CO_FILL
    /CAB/PP_MD_BDBS_ENQUEUE
    /CAB/CHANGE_MRP_STATUS
    /CAB/PP_MD_FAUF_WM_BEARBEITEN
    /CAB/READ_MRP_ALLOCATION
    /CAB/CAFM_J_5CO_AUS_J_5CX
    /CAB/PP_MD_MSKA_J_5CO_FILL_ALL
    /CAB/SYNC_ENTRIES_SELECT
    /CAB/J_5CO_READ_SINGLE
    /CAB/J_5CX_READ_SINGLE
    /CAB/PP_MD_BDBS_ENQUEUE
    /CAB/PP_MD_BDBS_CHECK_RES
    /CAB/CHANGE_MRP_STATUS
    /CAB/MRP_CONTROL_2
    /CAB/J_2CS_READ_SINGLE
    /CAB/MSLB_READ_SINGLE
    /CAB/MSKA_READ_SINGLE
    /CAB/MSKU_READ_SINGLE
    /CAB/MKOL_READ_SINGLE
    /CAB/MCHB_READ_SINGLE
    thanks,
    Prakash.
    Edited by: Prakash Reddy on Apr 28, 2010 10:32 AM

    Hi,
    Theses function modules are Cable specific as i said before. i have solved the issues by using the existing ECC function modules and is working fne.
    Thanks & Regards,
    Prakash .s

  • BDC program or standard function module to change data in PFCG TCode.

    Gurus,
    I have programatically change the validity date of SAP security role (TCode PFCG). Are there any standard function module available for this ? If not then does PFCG supports update vida BDC programming ?
    Regards,
    Rajesh.

    Cross-posting. Thread locked.
    Please read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
    PS: Please clean up / follow up on all your hundreds of unresolved questions.

  • *Can we call a Standard Function Module inside a Zfunction module ?*

    Can anyone please help me know whether we can call a Standard Function Module inside a Zfunction module ?
    I tried the same (No syntax error) BUT when i activate the zFunction Module it throws the error:-
    +'' REPORT/PROGRAM statement missing, or program type is INCLUDE. " +

    Yes, I got the Answer -
    We Can we call a Standard Function Module inside a Zfunction module.
    But we need to make sure that the Function Groups are activated.
    FUNCTION ZFM_TEST_NESTED_FM.
    ""Local Interface:
    *"  EXPORTING
    *"     REFERENCE(EX_CONVERT_UPPER_CASE) TYPE  STRING
    CALL FUNCTION 'TERM_TRANSLATE_TO_UPPER_CASE'
      EXPORTING
      LANGU                     = SY-LANGU
        TEXT                         = 'gaurav'
    IMPORTING
        TEXT_UC                   = EX_CONVERT_UPPER_CASE
    EXCEPTIONS
       NO_LOCALE_AVAILABLE       = 1
       OTHERS                                    = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFUNCTION.

  • Is it necessary to use the standard function modules always?

    Hi All,
       Suppose i can retrieve the BUSINEES PARTNER ID from the table BUT000 with the help of 'BP_GUID' field through a select query statement. 
    Now is it necessary to use a standard function module to retrieve the same data. what about the performance? which is the better solution. to implement our own code or to use the function module available.
    Please someone clarify me about this issue.
    Regards,
    Sharry.

    If you'd ask the question in general it's obvious that there is no good answer as it always would depend on the circumstance. However, as you've posted your question in the performance tuning forum, let's look at your question in this context first. I think it's fairly safe to say, that in almost 100% of the cases a standard function module will not be as fast as any well implemented and custom tailored code. If in doubt, just try reading the code of the function module you want to read; most likely you will find lots of unnecessary fluff in there, often they read data that you don't even need.
    And as far as buffering is concerned, that can also be an issue. E.g. let's say you do a massive read of distinct business partners and you only need the data once for each partner. Obviously buffering is silly in this case and it might even slow down your program, because the implemented buffering is not necessarily well implemented. I've come across a few cases, where the buffer tables where standard tables with no efficient read access (so no sorted table or hash table) and once tons of data were buffered, it actually took a moment to look up if the record already was buffered (just to find it wasn't there yet).
    Now most of the times this slowdown is not an issue as the lookup is still fast compared to the (usually) prevalent database accesses with their slower IO timing. But another factor to consider is memory consumption and why buffer data in memory (and waste it), if you can't use the buffer anyway? So when I do use standard function modules, I usually try to see what they retain in global memory, to better understand if I need to call some initialization/clearing/refresh function...
    Note also that often you need to process lots of data, but don't find a standard function module for "mass access", so you need to read your object one by one. Obviously that's another good candidate for implementing your own queries, where you can process the data in packages.
    So what might be the reason to use a standard function module? Well, often it's required because the logic is so complex that it would take you too much time to implement it (not to mention that we often simply don't know all the logic that's coded in there). Another advantage is that you might get independent of the data model. E.g. for IDoc interfaces SAP switched in some release the tables where the data is stored. So if you had coded your own queries to get IDoc data, they wouldn't have worked after this particular release upgrade. The standard function on the other hand, checks both the old and new tables, so by using it you would have been fine.
    The one major caveat I'd give though is to always check whether the function module is released or at least documented to some degree. I.e. if it's not released, SAP won't support it and does not guarantee that the interface or logic stays the same. In my experience lots of functions I do want to use are not released (or documented), but I will still use them because they seem to be the best alternative in certain scenarios.
    Cheers, harald

  • Alternative Function module in ECC 6.0

    Hi,
    The function module FI_DOCUMENT_ARCH_JUMP_HEAD_SGL  and FI_DOCUMENT_ARCH_READ_DETAILS  is available in 4.6c but is not available in ECC 6.0.
    I have to import a progam from 4.6 to ECC 6.0.with uses this function module .
    Please let me know alternative function module in ECC 6.0
    Thanks
    Deepa

    That's why it's never recommended to use the FMs that have not been released to the customer... You might be able to copy FMs as Z... objects from 4.6 into ECC 6.0. However, it's possible that underlying functionality has changed a lot and it just won't work.
    Instead of asking for a replacement FM you might want to explain what exactly you're trying to achieve, then someone might be able to provide an alternative (not necessarily an FM).

  • WS_FILENAME_GET is obsolete function module in ECC 6.0

    Hi Guys,
    The function module "WS_FILENAME_GET" was obsolete in ECC 6.0, could you please suggest me which is relevant function module in ECC 6.0.
    Thanks,
    Gourisankar.

    Hello,
    Take a look at class CL_GUI_FRONTEND_SERVICES.
    Regards,
    John.

Maybe you are looking for

  • How to change the  UDT's Status other than Open and Close ?

    Hello Friends,                       I have created an table of document type and I want to set the document Status other than open and close for eg.R- Released . Thanks in advance.

  • Open item Settlement for exact match.

    Hi All, We have requirement in our project to clear the exact match first ahead of the oldest due debt. To elaborate on the requirement, please have a look at the following example. 1st Invoice -$100  Due date-1/11/2010 2nd Invoice-$250  Due date-1/1

  • Arial Bol;d font doesnt work in PDF

    Hi Experts, I face a strange problem of Arial Bold Font not working in PDF output. I have the fon filed arialbd present in the /fonts folder. What am I missing? Thanks, Swarna

  • Whole project is corrupted.  Is there a fix?

    I had another thread going about this project that is crashing multiple systems, despite being on two seperate drives. That's two drives containing the project on their own. So, if this huge project of ours is corrupt, how do we find the bad files an

  • Another little anomaly with cross disolve

    I inserted six little clips into the timeline (about 45 seconds total). Individually I dragged and dropped the "Indie Red" effect and waited until the rendering was done. I selected all the clips and did command + t to add a cross dissolve. I waited