Function Module, Group and Method

Hello All,
I have a problem which I do not know why it's happening. I have an Interface method which calls a Function Module. This interface method does not have any syntax errors.
In the Function Module itself there is field which is definied in the FUNCTION TOP INCLUDE. So It should be visible during the call of the FM. But when executing the method it dumps on the field that is in the FUNCTION TOP INCLUDE. Can someone explain why it's happening?
Best regards,
Guido Koopmann

Guys,
Everything was active, the strange thing is that when I cal the FM in an normale executable program, everything is ok.
I do not get this.
Hope someone can help me out.
Best regards,
Guido Koopmann

Similar Messages

  • Grand Totals functionality under Group and Sort

    Hello community,
    Does anyone know if there is a solution for rolling up text fields in the summary line item (under the Show Grand Totals functionality under Group and Sort)? I can only find that date fields and formula fields summarize. I would like to be able to summarize all the data in one line items so I wont have a really long schedule and I can present to my end users accordingly.
    Thanks,
    P6GURUYOU

    Hope I understand,  if you have the groups setup, you should be able to (CRXI instructions) right click on the item in the Details line, insert a summary, you can select sum, add the sum to the group.  For the locations, insert a summary count, and add that to the groups.
    What I do sometimes, is select the option to add summary to all groups, Perhaps change the font to red, I can see the totals
    I want, and just suppress the other groups.  Just a quick and dirty way to do the totals.

  • Function modules Exit and Init

    Hi Friends,
    What is the purpose of function modules init and exit in the "Exit" functions.
    why two function modules are using in the Exit functions?
    Please give me relevant secanarios?
    will assign the points.
    Thanks
    BPS

    <b>FM Initialization</b>:
    A function module to initialize the planning function. This function module is optional. It is only required if new transaction data records are to be generated in the planning function that are different, in terms of the combinations of values, to characteristics in the previous transaction data that are not to be changed. The keys for these new transaction data records are delivered by the function module in the table ETO_CHAS. The keys are supplemented by the keys of the transaction data that already exist. The data objects for which the planning function is called up are formed from these keys. They also influence how often and with which combinations of transaction data the second function module is called up.
    <b>Function Module:</b>
    A function module that is called up several times and that changes transaction data records. This function module receives a package of transaction data records in each case. These differ only in their characteristics to be changed. They have the same values as far as all other characteristics are concerned. The transaction data is in table XTH_DATA. Only the existing records are transferred. If key combinations were returned by the initialization function module, and no transaction data exists for these, then table XTH_DATA is empty. The key combination is in the table ITO_CHASEL.
    Its not necessary to write a init FM unless you need to generate new records by the exit function.
    regards,
    sanjay.

  • Function modules INIT and EXEC

    Hi ,
    Can anybody provide me the purpose of two function modules INIT and EXEC?
    How it works?
    Thanks
    sg

    thanks for ur reply Ravi.
    but what is the using two function modules.
    Please provide me some inputs on FM like UPR_COST_PLAN_EXEC and UPR_COST_PLAN_INIT.
    whey we use two FM's in the cost cneter retraction.
    thanks
    sg

  • Function module upload and download

    Hello All,
    while using Upload and download function modules, how to avoid popup for providing file path, as am already passing it from reading from the selections screen. while running again i dont want to get the popup asking file path.
    thx in advance,
    sippy.

    Hi,
    You can try with
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
        EXPORTING
          FILENAME        = I_DIR
          READ_BY_LINE    = 'X'     " FILETYPE = 'ASC'
        CHANGING
          DATA_TAB        = IT_TEXTO
        EXCEPTIONS
          FILE_OPEN_ERROR = 1
          FILE_READ_ERROR = 2
          BAD_DATA_FORMAT = 8
          OTHERS          = 19.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
      EXPORTING
       BIN_FILESIZE              =
        FILENAME                  = I_DIR2
       FILETYPE                  = 'ASC'
       APPEND                    = SPACE
       WRITE_FIELD_SEPARATOR     = SPACE
       HEADER                    = '00'
       TRUNC_TRAILING_BLANKS     = SPACE
      CHANGING
        DATA_TAB                  = IT_TEXTO.
    Best Regards
    Ana

  • A function module or class/method to look up repository objects?

    Hi,
    Does anyone know of a class/method or a function module that returns back objects of a namespace in the integration repository.
    For example, I would like to be able to retrieve all the message interfaces of a particular namespace.
    Thanks in advance,
    Duke

    Hi Duke,
    I am not sure about the function module. But you can look up all the objects with their IDs using transaction sxi_cache.
    Regards,
    Ramesh P

  • BAPI function module name and mandatory fields

    Give the name of BAPI function module for pricing change into the transaction VA05 ?
    What are the mandatory fields ?
    Please give a exemple code to do this.

    Hi,
    VA05 is for list of sales order. But if you want to change pricing of material stocks go for follwoing fn module.
    BAPI_SALESORDSTCK_PRICE_CHANGE
    If you want other BAPI for sales related, just go to SE37, give BAPISALE and press F4, you will get all the BAPI fn modules.
    Rewards points if helpful.
    Regards,
    CS.

  • New function Planning Group and Affiliate in Business partner/Account tab

    Hi all!
    I'm using SAP 8.8 PL10 , Localization Australia. I have new function in Business partner/Account tab is Planning Group and Affiliate.
    Can you explain ? i don't see any help file about this.

    Hi,
    You may check this: What is the use of AFFILIATE check box in Business partner?
    Thanks,
    Gordon

  • Abap function module http_post and umlaut characters

    I am using abap function module HTTP_POST to frame xml and send the data to our middleware system 'CASTIRON'.
    Everything works fine but when there are any umlaut characters in xml, the function HTTP_POPST is unable to transmit the data and is creating SM21 updation failures. We are on ECC 6.0 unicode system.
    Any help is vey much appreciated.

    Are you using a CDATA tag to encapsulate your data. Try doing it.

  • Function module L_TO_CREATE_MULTIPLE and commit

    Hi,
    Does anyone knows if in one report I call function module L_TO_CREATE_MULTIPLE with parameter I_COMMIT_WORK = SPACE and if in the main report after the call of the function module i do a commit command that allows that the transfer order is created ? And are the tables received if the call of L_TO_CREATE_MULTIPLE correct with the information of the created transfer order ?
    Or in other way if I really want to create the transfer order, I must pass the parameter I_COMMIT_WORK = 'X' ?
    Thanks in advance,
    Paulo Sousa

    Hi Paulo,
    The main Idea here is COMMIT should get called once the callto Function module L_TO_CREATE_MULTIPLE is executed so it really doesn't makes different if you call L_TO_CREATE_MULTIPLE with I_COMMIT = 'X'
    or you call L_TO_CREATE_MULTIPLE with I_COMMIT = SPACE and later to this call to Function module do COMMIT WORK, both are effectively same.
    One thing that needs to be taken care is if you are calling L_TO_CREATE_MULTIPLE in LOOP you have to do COMMIT after each call.
    Hope this helps!
    Regards
    Shital

  • How to find function module's and tables used for the particulat screen or TCODE?

    Hello Nation,
    I would like to know how to find the  function modules and tables used for the particular screen or TCODE or program.
    Example : I would like know the function module used in the program RDBGFT?
                     How can i find that?
    Thanks in advance ,Awaiting your reply.

    Make use of Find function  with the keyword "CALL FUNCTION".
    Make use of the same find function with the keyword "Select" to know the database tables used.
    Regards,
    Philip.

  • Require functional module - catalogs and codes

    Hi all,
    I am looking for a functional module for Catalogs And Codes. as i want to change the non sap data to sap form. for that i need to do custom code as LSMW is not working for me.
    So please help me out in having functional module or BAPI for the same.

    BADI
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    The specified item was not found.
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    http://www.allsaplinks.com/badi.html
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3430https [original link is broken] [original link is broken] [original link is broken]:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    FUNCTION MODULES
    http://www.erpgenie.com/abap/functions.htm
    http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
    http://www.erpgenie.com/abap/index.htm
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    Rewards if useful.........
    Minal
    Message was edited by:
            Minal Nampalliwar

  • How to Create a Function module z_create and to track the error records?

    I want to create a function module z_create which will insert the data from the internal tables gt_model_master and gt_model  into the corresponding database custom tables y_model_master.
    Secondly if any error is encountered during the above updation, then how to track those error records ?

    HI,
    check the sy-subrc ,if it is zero the insertion is success,otherwise use 
    message class.
    if sy-subrc ne 0.
    message e052(zmessage).
    endif.
    Edited by: rakesh dhudipala on Feb 12, 2008 2:33 PM
    Edited by: rakesh dhudipala on Feb 12, 2008 2:33 PM

  • Call of a function module from a method / catch of exceptions

    Hello,
    how do you catch the error of a function module that is called within the start routine of a data transfer process? The process terminates in case of an exceptions
    E.G.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
    EXPORTING
       client                  = sy-mandt
       date                    = SOURCE_FIELDS-xxx
       foreign_amount          = SOURCE_FIELDS-xxx
       foreign_currency        = SOURCE_FIELDS-xxx
       local_currency          = SOURCE_FIELDS-xxx
    IMPORTING
       local_amount            = RESULT
    EXCEPTIONS
      NO_RATE_FOUND           = 1
      OVERFLOW                = 2
      NO_FACTORS_FOUND        = 3
      NO_SPREAD_FOUND         = 4
      DERIVED_2_TIMES         = 5
      OTHERS                  = 6.

    uncomment the exceptions section of your call. ie
    EXCEPTIONS
    NO_RATE_FOUND = 1
    OVERFLOW = 2
    NO_FACTORS_FOUND = 3
    NO_SPREAD_FOUND = 4
    DERIVED_2_TIMES = 5
    OTHERS = 6.
    Afterwards check sy-subrc value to see if exception has occured. If it is zero, call was successful otherwise it will have a value corresponding to the exception occured (as specified in the code above)

  • Function module RFC_READ_RABLE and currency fields

    I am using RFC_READ_TABLE to access table BSEG on a remote system.  My problem is retrieving field PSWBT which is a currency field.  The value is returned as 20202020203.43 and overwrites part of the next field too.  The value should be 4,083.33
    Does anyone have any experence with currency fields in this situation and can offer any advice?
    Thanks & regards.

    Hi everyone,
    Thank you for your help.  I have now resolved the issue.
    Yes I was using table FIELDS.  Wim was correct that I also needed to use field PSWSL but this alone did not solve the problem.  I had to define the currency field PSWBT as char 13.  When the field was retrieved using RFC_READ_TABLE, I condensed the field and then moved it back to a currency field.  As follows:
    TYPES  : BEGIN OF ty_accdoc,
              pswbt(13),
              pswsl           type pswsl,
            END OF ty_accdoc.
    DATA   : wa_accdoc         TYPE ty_accdoc,
             i_accdoc         TYPE TABLE OF ty_accdoc.
    DATA   : wa-pswbt          TYPE pswbt.
    wa_fields-fieldname = 'PSWBT'. APPEND wa_fields TO i_fields.
    wa_fields-fieldname = 'PSWSL'. APPEND wa_fields TO i_fields.
    u2026u2026u2026 Call function u2018RFC_READ_TABLEu2019u2026u2026u2026u2026
    CONDENSE wa_accdoc-pswbt NO-GAPS.
    wa-pswbt = wa_accdoc2-pswbt.
    Kind regards,
    Alison

Maybe you are looking for

  • Windows Update files: Security permissions has "unknown user"

    Ok, this is weird. I have 30 files added in a November Windows update with a compile date or add-to date of 11/21/14. If I look at one of the files. MsSpellCheckingFacility.exe.  I can see it is a legit file. https://www.virustotal.com/en/file/e9dcf9

  • Help in installing Oracle Xe in suse 10.2

    I have successfully installed Oracle XE in suse linux 10.2.(my laptop) The place I had installed had a Lan network available. Now I usually work in a location where there is no network. after I get the message that oracle XE is succesfully installed,

  • JDBC drivers not found---Pls help

    Hi All, Pls help me out to solve this issue I have XI 3.0 and R3 4.7 EE seperately . (Both are for education purpose) While doing  JDBC scenario, I got error <b>"JDBC drivers not found"</b> in Adapter Framework. When contacted I was told to install J

  • Kodak Playsport and iMac compatibility

    I just purchased the Kodak Playsport. Great camera, but im having trouble importing files into my iMac G5. the camera records .MOV files in 1080p 30fps, or 720 at 60fps, or 720 at 30fps, or some other resolution that is even lower WVGA? I have iLife

  • Plant wise GR/IR Balance

    Hi This is lingaraj ,I have taken the T-code MB5S for displaying GR/IR balance.But in that t-code no option for plant selection. and also we dont have two purchase organisation for both plant. we have only one Purchase organisation for both the plant