Copying Enchancement spots from standard function module to Z fun module

Hi All,
I copied standard function module SD_BACKORDER_LIST to my Z function module . But i am unable to copy the enchancement spots available in the standard function module . please give me the suggestion to copy this to my Z function module .
Regards
R.Vijayakumar

Hi Martin,
A SAP note will soon be released about this (compatible back to 6.40)
There is a light version available in 7.3 to transfer data between PFCG and ST01.
There is an optional Rolls-Royce version available for Z-codes / functions and the import parameter specific checks. The trick is to keep the original context of the call and maintain the proposals to the RFC enabled entry point, and know whether the tcode triggered it or the external caller.
There is a service delivered which is context sensitive (e.g. the message type of the IDOC determines the application authorizations needed for synchronous processing, so SAP cannot deliver SU24 reliable proposals and the ones they tried for the /SDF/ are very isolated..).
You need a "common functions" role for the basic scenarios like you have for interactive SAPGUI end-users, and then you need a runtime analyzer to perfect SU24 context sensitively. You also need to distinguish between a local BAPI (context is tcode) and remote one (context is RFC protocol, or http protocol... etc)
That comes with the SAP Note...  (it is not released yet. I will update this with the number in the next weeks.)
--> Just a little heads-up and insight that there is some light at the end of the tunnel and you can even order it as a service from SAP to fix your Z-problems for you. The question happened to match that which I know SAP is working on.
Cheers,
Julius
Disclaimer : I have done many such spagetti fixes in the wild and developed the tool and services for customer scenarios together with SAP from my experiences, it is one of my favourite topics --> the Rolls-Royce version with Z-functions, hard-wired external RFC clients and configuration scenario dependent checks includes consulting fees if you want SAP to secure your own scenarios for you. The tools help this, but you cannot fully automate or propose it fro SU24 in "factory settings".

Similar Messages

  • How to capture error message from standard function module

    Dear friends
    when i  execute standard function module in finance , i am getting error message , pls check the below screen shot,
    how to capture the below error message so that i have display in my webdynpro component
    Thanks
    Vijaya

    Hello Vijaya,
    Incase of BAPI's they have a return table parameter T_RETURN. Just read that return table to get the error message.
    Incase of normal function modules, there will be exceptions raised for the message used inside the function module. Just read the sy-subrc after the FM and based on the sy-subrc value find the respective exception raised.
    May be you can try like this, whenever the message is raised it will be stored in the system variable.
    CALL FM.
    check for the system variables.
    sy-msgid = Message ID of the latest message raised.
    sy-msgno = message number of the latest message raised.
    sy-msgty = message type of the latest message raised.
    sy-msgv1 = variable1 of the latest message raised.
    sy-msgv2 = variable2 of the latest message raised.
    sy-msgv3 = variable3 of the latest message raised.
    sy-msgv4 = variable4 of the latest message raised.
    Regards,
    TP

  • How to copy an iviem from standard role to zrole by copy or copy as delta?

    Dear all,
    I am a functional consultant just curious to know.
    I have a basic question when i am creating an zrole for a project, i start with a copying an iview from the standard iview folders. Here when i copy that and then next step i need to paste it. Here i have two possiblities one is normal PASTE and another is PASTE as delta link.
    So just to understand how would both options work, like if i adopt option 1. PASTE what will happen in future scenario and incase option 2. PASTE as delta link what will happen.
    Appreciate your quick response.
    Regs.
    Raj

    Raj,
    if you are copying an object and paste as PASTE option (with out delta link) then you are making a new copy of the source object. i.e two independent objects. Any changes in the source object doesn't impact destination object.
    if you are copying an object and paste as PASTE as DELTA LINK option you are making a new copy of the source object. but the the second object shall have dependencies. ie. If you make any changes in any property (example: Name of the iView) in source shall impact the second object (ie, Name of the iview shall be changed in the second object too). But if there is a change in destination object doesn't impact source object.
    You can have an independent copy (i.e no delta link ) of standard object and work in.
    Ram

  • Catching error message from standard function module to internal table.

    Hi,
    i am calling a FM in my custom prog.
    After execution of the FM some auto generated errors is getting displayed.
    I want to pass this error to an internal table.
    Please tell me how to do this?
        CALL FUNCTION 'FORMAT_CHECK'
          EXPORTING
            i_checkrule   = t005-prbkn
            i_checkfield  = it_ven-bankn
            i_checklength = t005-lnbkn
            i_checkmask   = space
            i_fname       = fname
          EXCEPTIONS
            not_valid     = 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.
    I want to catch this particular error message in the itab.
    Thanks,
    SAM.

    Even we can create an internal table  nad move the messages to it.
    DATA : BEGIN OF L_ERR OCCURS 0,
            SNO LIKE SY-tabix,                                  "serial no
            MSGTY LIKE SY-MSGTY,                         "message type
            MSGNO LIKE SY-MSGNO,                        "message no
            ERR_TEXT LIKE T100-TEXT,                     "message text
           END OF L_ERR. 
       IF SY-SUBRC <> 0.
              L_ERR-SNO      = SY-TABIX.
              L_ERR-MSGTY    = SY-MSGTY.
              L_ERR-MSGNO    = SY-MSGNO.
              L_ERR-ERR_TEXT = TEXT-015.                        "Problem encounterd in uploading data.
              APPEND L_ERR.
              clear L_ERR.
         ENDIF.

  • COPY INFORMATION BUTTON FROM STANDARD TRANSACTION

    Hi!
    I want to copy the selection screen from the standard transaction QA07, and also I want to copy the information button that appers next to the excecution button.
    How can I copy that information button????
    Thanks a lot!!!!

    The report RQAAAS10 has the documentation and because of that documentation, the information button is coming on the QA07.
    To copy this documentation:
    Go to SE63
    R3 Objects > Long Texts
    Select the L5 > RE ( Reports, Function Groups, Logical Databases) node form the popup
    Enter Report RQAAAS10
    Select your languages and press Edit.
    Select the Fullscreen Button.
    Form the Fullscreen.. Text > Download.
    Now, in your program upload this documentation.
    By selecting the Text  > Upload in the documentation section.
    Regards,
    Naimesh Patel

  • Copy adobe form from standard

    hi everybody
    Ive copied the standard adobe form ML_SERVICE_ENTRY TO ZML_SERVICE_ENTRY
    now when i go to tcode SFP and try to modify the form ZML_SERVICE_ENTRY, theres a section of that form which I cant modify at all and I cant even see the properties of the fields
    Can anybody help me?

    Thanks
    Actually, at the very top, theres a section 'Entry Sheet for services performed' - It contains Purchase Order, date, person responsible etc
    Actually, when Im clicking on that section, The Master page object property is appearing but the different fields inside that section cant even be clicked upon - I cant see the properties table for that
    I have to remove one field from that section and I have to add another section on its left, but when im doing a drag and drop of a text field, its not coming on that area
    I hope you can actually see what I mean
    Thanks for your help

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

  • Problem in copying a standard function module!

    Hello there,
                     I need to copy the FM, RS_TABLE_LIST_DISPLAY, to a Y function Module. But I am not able to copy it as a single FM, I have copy all the FMs in that function group i.e. SETB.
                     I, then copied that standard function group SETB. I am getting a strange error message while activating the copied version. The error which I am getting is:
    The parameter "INTTAB" of the global interface has already been defined outside the function.
    INITTAB is some defined internal table.
    Also the include in which this error is getting appeared is LY.....$07 something. I have tried to many times. Not able to resolve the issue.
    Please help!
    Regards,
    Ganesh Khumse

    Hi There,
                  Thanks for your reply. I have not defined anything in the copied function module. I just copied and tried to activate it, error occurred.
    Thanks & Regards,
    Ganesh Khumse

  • Serial number copy functionality when creating return orders from standards

    Hi all,
    Serial number is not copying when i create return order from the standard orders in below scenario.
    I implemented one BADI for copying Serial number to Sales order when doing Post goods receipt.
    So after doing inbound delivery and PGR, serial number is copied to the sales order but when i create return order with reference to the Standard order Serial number is not copying.
    When i go VA02 for standard order and selecting the technical objects then if i create the return order serial number is copying.
    Please help me in the above issue.
    I used the following logic to copy serial number from inbound delivery PGR.
    UPDATING THE SERIAL NUMBER TO THE RESPECTINVE SALES ORDER LINE ITEMS
                CALL FUNCTION 'SERNR_ADD_TO_AU'
                  EXPORTING
                    sernr                 = lwa_sernr-sernr
                    profile               = 'NEOP'
                    material              = lwa_mseg-matnr
                    quantity              = 1
                    document              = lwa_mseg-kdauf
                    item                  = lwa_mseg-kdpos
                    debitor               = lwa_mseg-kunnr
                    vbtyp                 = 'C'
                    sd_auart              = lv_auart
                    sd_postyp             = lv_pstyv
                  EXCEPTIONS
                    konfigurations_error  = 1
                    serialnumber_errors   = 2
                    serialnumber_warnings = 3
                    OTHERS                = 4.
                IF sy-subrc = 0.
                  CALL FUNCTION 'SERIAL_LISTE_POST_AU'.
                IF sy-subrc EQ 0.
                  COMMIT WORK.
                  WAIT UP TO 2 SECONDS.
                ENDIF.
    Edited by: Rajesh Sanapala on Feb 16, 2009 12:48 PM

    hi.
    I have the same problem.
    Can you please share how you solved it?
    thank you
    Bill

  • Any standard function module to read data from a cube

    Hi,
    I want to read data from a cube say XYZ, into an internal table. Is there any standard function module to do this? If so can anyone plz tell me what change should i make in the function module for my requirement.
    Regards
    BW Fresher.

    Hi R,
    Try function module 'RSDRI_INFOPROV_READ'
    ABAP Report RSDRI_INFOPROV_READ_DEMO contains an example of how the function module can be used.
    Udo

  • Standard function modules for selection from vbak/vbup/ekko/ekpo

    hi experts ,
    do you know if there is an existing standard function modules for selection from vbak/vbup/ekko/ekpo.
    please help

    Hi,
    for VBAK
    ADSPCM_READ_VBAK               Read VBAK (with SPEC2KM-data)
    PRS_GET_GLOBAL_VBAK            Get global structure VBAK
    Regards,
    Jyothi CH.
    Edited by: Jyothi Chinnabathuni on Feb 23, 2009 2:46 PM

  • Copy Standard Function modules  to Z Function modules

    Hello,
    I have a requirement like , I need have a typical requirement where i need to copy few function modules in the same function group , in  this regard i copied 4 function module and calling performs with the program name , but i am unable to achive the requirement , Function module is getting Dump,
    Can any one explain the standarded function modules and place it in Z function group. or is it possible to include standard function group in to Z function group ?
    How to get reslove ?  please guide ...
    Thanks In Advance.
    With Best Regards
    Naganjaneyulu.P.V

    Hi Naganjaneyulu,
    If you copy it will be similar to Standard. But you can modify those FMs as you like which will not be possible in standard. Also if you solely copy the FM, If that FM consists or depends on the screens or Includes which are present in the Function Group then there will be syntax errors and shortdumps. The Reason for your short dump might be this.
    If you are still not happy with this approach, Kindly paste the standard FM that you are trying to clone and the short dump that you are encountering.
    Thanks,
    Sai

  • Copy Standard Functional Module

    In standard FM, DETERMINE_TXJCD_EXTERNALLY. City and county are optional. What effort it takes to makes this fields as mandatory.
    Please let me know.
    Can I copy this Standard FM to custom funtional module and just say check the check box in export parameters.
    Please let me know. Thank you.
    Regards
    Madhu

    Hi,
    My suggestion will be
    Write a wrapper function module of DETERMINE_TXJCD_EXTERNALLY with the same fields
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(COUNTRY) LIKE  TTX_TXJCD-COUNTRY
    *"     VALUE(REGION) LIKE  TTX_TXJCD-REGION
    *"     VALUE(CITY) LIKE  TTX_TXJCD-CITY OPTIONAL
    *"     VALUE(COUNTY) LIKE  TTX_TXJCD-COUNTY OPTIONAL
    *"     VALUE(ZIPCODE) LIKE  TTX_TXJCD-ZIPCODE
    *"     VALUE(PROCEDURE) LIKE  TTX_TXJCD-PROCEDURE OPTIONAL
    *"     VALUE(ID_TAX_EXT) LIKE  TTX_TXJCD-ID_TAX_EXT OPTIONAL
    *"     VALUE(NO_DIALOG) LIKE  TTX_TXJCD-ID_TAX_EXT OPTIONAL
    *"  EXPORTING
    *"     VALUE(TXJCD) LIKE  TTX_TXJCD-TXJCD
    *"     VALUE(CITY) LIKE  TTX_TXJCD-CITY
    *"     VALUE(COUNTY) LIKE  TTX_TXJCD-COUNTY
    *"  EXCEPTIONS
    *"      TXJCD_NOT_FOUND
    *"      TXJCD_NOT_UNIQUE_IN_NO_DIALOG
    *"      EXTERNAL_TXJCD_NOT_REQUIRED
    *"      TXJCD_PROCESSING_NOT_REQUIRED
    *"      RFCDEST_NOT_FOUND
    and within that wrapper function module make fields mandatory. This will reduce your effort during patches updattion. otherwise if you are copying the standard function module, then after applying the patches to original function module you need to redo the changes mannually in to your  copied function module

  • Functional module to Copy measurement points from one equipment to another

    HI,
    Please give some body function module to Copy measurement points from one equipment to another which is not assign to functional location.

    To Copy Measuring Points from one equipment to another , Go to transaction IE10 and copy all the relevant data that need to be copied Check the measuring point check box, it would copy the characteristic for measuring point to the newly created equipment and would create a system generated number for the measuring point. Both the measuring points would have the same characteristics and if they are attached to each other in a hierarchy then the measurement document readings could also be transferred from one measuring point to another.. You could use the following Function Module "EQUIPMENT_COPY" to copy the measuring point from one equipment to another if equipment has already been created.
    Regards...
    Edited by: Usman Kahoot on Jun 9, 2010 2:37 PM

  • After copied class from standard class program getting dump.?

    HI
    Expert
    I copied to a zclass from standard class (CL_SPROJECT_SOLAR_BASE_REPORT).. if calling program through zclass program getting dump, if calliing program through above standard class then it works fine...
    error is
    The function module interface allows you to specify only fields of particular type under i_so_report. The field "ME" specified different here......
    Note:- Totaly i copied from standard class and activated it also.. even i did not changed any code inside method .but facing this dump why..
    How to achieve this...pls help me out
    Thanks
    Susanta

    I did wt ever was there given solution but still not resolved pls help me ..thanks
    showing error
    Call Method XXXXX
    DATA: lo_grid TYPE REF TO CL_SPROJECT_SOLAR_BASE_REPORT.
    lo_grid = me.
      CALL FUNCTION 'SPROJECT_EVAL_SET_SELSCREEN'
        EXPORTING
          i_o_data_container     = a_o_data_container
          i_v_reptype            = global_reptype
          i_o_sa_report          = lo_grid
          i_v_category           = category
          i_o_data_cont_lnk_docu = a_o_data_cont_lnk_docu "MP 21.07.05
    syntax error - The type of "ME" cannot be converted to the type of "LO_GRID". ..why..? did i coded incoreclty or tell me where to define that data type...

Maybe you are looking for

  • BCC in Lion iPhoto

    How do I 1 - find a Blind C.Copy feature when sending photos from iPhoto? 2 -how do I see if mail is SENT? Thanks

  • Information broadcasting  Excel workbooks

    Hi All I am trying to set up a scenario, so that I can broadcast 7.0 workbooks. We are on support package 15 on SAP BW. I have installed the precalculation server. However I am facing an issue: When creating a broadcast setting from the workbook, the

  • Photoshop elements 13

    Purchased Adobe Photoshop Elements 13 today downloaded okay with the redemption code. Started to install. but installation failed with the following message. ERROR: This installer does not support installation on a 64-Bit Windows operating system. Pl

  • Upload custom mp3's to iCloud bypassing iTunes Match?

    I want to upload mp3's that I have made to the cloud and not have to sit for 10 minutes (or more) while iTunes Match looks for something it's not going to find.  Is there a way to temporarily disable iTunes Match on my computer  I uploading to the cl

  • How can i do it in PLD

    Hi Dear; i have a system report (by exp: sales analysis by sales employee). there is a sales invoice no column. how can i add a new column from the invoice (by exp: customer ref no) related to the invoice? regards;