Rgd Function Module

Hi
We have a function module in which we call a BAPI Function Module and we need to  declare same  parameter while passing values to in and out of function module
I have a case where
Example call function 'bapi_create1'
Table
schlx = bapi...
but in Bapi function module schlx was declared as 'schlex'
thus it makes any difference in  unicode environment and parameters declared need to same?

hi zakir,
         Function module to Explode BOM is
     CS_BOM_EXPL_MAT_V2

Similar Messages

  • RFC Error While Invoking A Remote Function Module.

    I am invoking A remote function module while invoking it get  an exception when i see the error logs
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException:      Screen output without connection to user.                           , error key: RFC_ERROR_SYSTEM_FAILURE at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101) at... [see details]
    can anyone pls tell me what the error is..
    regards
    Nilesh Taunk.

    Hi Nilesh Taunk,
    You can go through the following steps
    -o JCO Exceptions 1. http://help.sap.com/saphelp_nw04s/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
    -o JCO Exceptions 2. http://help.sap.com/saphelp_nw04/helpdata/en/f6/e002416225f023e10000000a155106/frameset.htm
    -o Restart of the J2EE instance and try re-importing the RFC model. Sometimes it helps.
    -o Logon into WebDynpro Content Administrator as a J2EE Admin and check if the JCO Connections and User /pwd of your application is correct. You can <b>ping </b>or <b>test your JCO connections</b>. if something is wrong, enter the values again for JCO n retest them.
    -o Try undeploying or removing the complete application and redeploy it.
    Tu undeploy please go to
    Go to <b>Visual Admin -> Server -> Services -> Deploy ->
    </b>
    Under Runtime Tab
    select the server, open the tree , you would find the webdypro list there.
    Now select an application, first stop it, remove it and redeploy if necessary.
    Let us know if you could solve the problem or not, gud luck!
    Rgds,
    Sreenivas.

  • Function module usage in vendor ageing report for ageing calculation

    hi everybody there
    as i have to calculate the vendor ageing
    which is nothing but
    AGEING = Currentdate - BLINE date
    so for this i have coded as follows and use the function module but couldn't get the result .it is alwayas showing 0 means ageing  is o but it is not like that
    parameter:p_date1 type dats.
    call function 'days_between_two_dates'
    exporting
    i_datum_bis = p_date1
    i_datum_von = itab-zfbdt
    importing
    e_tag = itab-ageing
    exceptions
    days_method_not_defined =1
    others = 2.
    so what is the bug in it.

    hi,
    <b>declare ur internal table field , of type BSIK-ZFBDT or sy-datum
    thats the only thing u want to do.
    the other parameter is sy-datum</b>
    <b>data: field like BSIK-ZFBDT.</b>
    DATA:lv_diff TYPE i.
    CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
    EXPORTING
    <b>i_datum_bis = sy-datum
    i_datum_von =  field</b>
    IMPORTING
    e_tage = <b>lv_diff</b>
    EXCEPTIONS
    days_method_not_defined = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    WRITE:/ <b>lv_diff</b>.
    ENDIF.
    nw it will work.
    rgds'

  • Function Modules Used in BW?  (Two Questions)

    I have two function Modules that were used in SAP R3:
    G_SET_GET_ID_FROM_NAME
    G_SET_GET_ALL_VALUES
    G_SET_TREE_IMPORT
    Question 1) Are there cross referenced FMs in BW that we can use in place of these?
    Question 2) Is here a XREF lift of Cross-Functional Function Modules that can be used - or similar- in BW that were used in SAP/R3?
                   Thank-You.

    hi aravind,
    the main Function modules used in smart forms are
    1. SSF_FUNCTION_MODULE_NAME.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'Z_FL004_BANK_DRAFT'
    IMPORTING
    fm_name = fm_name.
    CALL FUNCTION fm_name
    EXPORTING
    rgds
    anver.
    if helped mark points.

  • Function Module available to get Stock lying against a Sale-Order

    Dear Sir,
    We have function module "KPKA_UTILS_PROJECT_STOCK_CHECK" for getting Stock lying against a WBS (Project Stock) .
    We are looking for a function module to get the Stock lying against a Sale-Order (Sale-Order plus it's Line Item) .
    We request SAP experts to kindly guide us about the availability of such Function Module please .
    We will award full points for the suggested solution pl .
    Rgds
    B Mittal

    Hi
    table MSKA - Sales Order Stock is availble whcih will give the Stock pertainig to a sales Order & line item.
    Hope this helps
    Thanks & Regards
    Kishore

  • Replacement for a Function module

    Hi all,
    There is a function module '<b>HELP_VALUES_GET_NO_DD_NAME'</b> to display possible values for a database field. This FM is getting obsolete in near future.
    Does anyone know any replacement provided by SAP for this FM?

    Hi,
    <b>replaced with the FM F4IF_INT_TABLE_VALUE_REQUEST.</b>
    check this thread
    Re: F4IF_INT_TABLE_VALUE_REQUEST
    sample code.
    tables: mara, makt.
    data: begin of itab occurs 0,
    matnr like mara-matnr,
    end of itab.
    data : begin of btab occurs 0,
    maktx like makt-maktx,
    end of btab.
    data mak like makt-maktx.
    DATA : return like ddshretval occurs 0 with header line.
    data: begin of dynpfields occurs 0.
    include structure dynpread.
    data: end of dynpfields.
    parameters: p_matnr like mara-matnr,
    p_maktx like makt-maktx.
    Initialization.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
    REFRESH ITAB.
    SELECT matnr FROM mara INTO TABLE ITAB.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'MATNR '
    dynprofield = 'P_MATNR '
    dynpprog = sy-REPID
    dynpnr = sy-dynnr
    value_org = 'S'
    TABLES
    value_tab = ITAB
    return_tab = return.
    p_matnr = return-fieldval.
    rgds
    anver
    <i>if hlped pls mark points</i>
    Message was edited by: Anversha s

  • Function Module SWK_LOCAL_INBOX_GET does not exists

    Hi,
    I configured UWL in the Portal.
    When i am trying to acess UWL, throwing an exception.
    it says "Exception type:com.sap.netweaver.bc.uwl.connect.ConnectorException Message:Thu Apr 12 15:58:26 GMT+05:30 2007 :Function Module SWK_LOCAL_INBOX_GET not found"
    Can anyone help me what could be the problem.
    Rgds,
    Kiran Joshua

    Hello Kiran,
    at least the user needs to have the Role SAP_BC_SRV_GBT_USER in backend.
    My only other idea is to check the existance of the plugin (WP-PI) in R/3.
    But, in a similar situation (missing plugin in R/3) i got the ConnectorException "Failed getting the following function metadata from repository: URL_SERVER_TYPE_DATA_GET".
    Perhaps a trace in R/3 could assist you?
    Sorry, no more ideas, regards

  • Function module for display production order details

    Hi All,
           I want to display production order details including operation,sub-operations and components using standard FM.I checked 4 FMs, but some are not displaying my require details. I found PM_ORDER_DATA_READ function module, it is displaying all details.But you can execute the function module 2 times for different orders it is giving ABAP dump 'itab_error'. Please get back to me if any one faced this problem or know solution.I am also checked BAPI_ALM_ORDER_GETDETAIL FM.
    My require fields are
    AUFNR, WERKS, PLNAL, PLNFL, VORNR,UVORN, ARBPL, KTSCH,
    LTXA1,OFFSTB,VGW01 etc.
    I am using SAP 4.7 release. Please send me either standard FM or BAPI to display all details of production order.
    Thanks in Advance
    Shaik Basha

    Hi,
    I had the same problem this morning and I found out a FM you have to run to fix this problem.
    FM: CO_IT_SET_FLG_ITAB_NEW
    Rgds,
    Parise

  • Error while executing Function Module UNIT_CONVERSION_WITH_FACTOR.

    Hi experts:
        I'm trying to use the UNIT_CONVERSION_WITH_FACTOR Function Module on
    BW but an error message appears, I searched for Notes on the SAP
    Marketplace but only found a single note that describes the same
    situation that we're experiencing (SAP Note 1333415), the thing is that
    such a note is applicable for SAP BASIS version 702 but I'm using SAP
    BASIS version 700.
    Steps for Reconstruction    
    - On transaction SE37 call the u201CUNIT_CONVERSION_WITH_FACTORu201D Function
    Module.
    - Click on the u201CTest/Executeu201D button (or press the F8 key).
    - Enter the following values:
       o ADD_CONST = 0
       o DENOMINATOR = 1
       o INPUT = 20
       o NUMERATOR = 1568
    - Click on the u201CExecuteu201D button (or press the F8 key).
    - The Exception u201CTYPE_INVALIDu201D is reached and the following message
    appears: u201CUse a number field for field OUTPUTu201D.
    I also tried to use this Function Module on R/3 and the result was the same.
    Do you have any suggestion to fix this error?
    Thanks in advance for your help,
    Francisco Milán.

    Hi Francisco,
    Check with SAP Note No. 854978.
    Hope this would help you.
    Rgds,
    Mohit

  • How to raise the exception in function module

    Dear abaper's.
                   I am creating a Function module .In that in' EXCEPTION' Tab i am giving
    3 exception .1.NO_DATA_FOUND 2.NO_PRINTER_FOUND 3.SMARTFORM_INTERFACE_NOT_FOUND.
    In my coding if this condtion matches i want to raise this exception.how can i do this in my coding .can any one suggest me..
    advance thanks,
    Warm regards,
    Veera

    Hi,
    if that condition is not satisfied,and u didn't handle that exception while calling function module then in the runtime error u will get the text as the description of the exception in function module definition.
    rgds,
    bharat.

  • Function Module for GL Open Items

    Could any body from forum tell me that "there is any Function Module for General Ledge open Items".
    Rgds,
    Raju

    user exit F1040001 can be found in SMOD...and this is for
    Reserve for bad debt - calculate percentages
    This is only one available for FBL3N.
    Regards,
    Velumani

  • BAPI or Function Module for getting Pending Purchase Orders Information

    Dear Sir,
    We have input information comprising of  :
    List of Item Codes
    Plant
    WBS Element
    For this input data set , We want to know the list of Pending Purchase Orders information . To get the desired information , we are looking for the suitable  BAPI / Function Module which can provide the desired information .
    I understand that there is ME2L tcode availavle which can give the desired information .
    But as we need to use the information in one of our Z program , so we need the  BAPI / Function Module  .
    Kindly help us to know the suitable  BAPI / Function Module  available for getting the desired information .
    With Thanks and Rgds
    Sonia Agarwal

    Hi
    Check if this is helpfull:
    BAPI_PO_GETDETAIL
    BAPI_PO_GETDETAIL1
    regards,

  • SEND_ERROR in the SMARTFORM function module

    Hi All,
    I want to send the PO via e-mai as attached PDF file. It is working fine in DEV. But in PRD i am getting SEND_ERROR in the SMARTFORM function module.
    can any one hep me to fix this????
    CALL FUNCTION fm_name
        EXPORTING
          archive_index      = toa_dara
          archive_parameters = arc_params
          control_parameters = ssfctrlop
          output_options     = ls_composer_param
          user_settings      = 'X'
          nast               = nast
          zxekko             = zxekko
          zxpekko            = zxpekko
        IMPORTING
          job_output_info    = job_output_info
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
    Rgds,
    Rajesh.

    Hi,
    Go to se37,enter ur generated function module name .
    Put a brkpoint at first executable statement of that FM.
    If u run ur program,then it will stop.
    Then put brk point on SSRFT_READ_ERROR(From menu).
    after press f8,u will know what is the reason of ur error.
    and check thjis also
    http://wiki.sdn.sap.com/wiki/display/Snippets/Unique+Driver+Program+for+any+smartform+of+a+transaction
    Try like this.
    Thanks
    Gourav.

  • Problem with Call transaction method in function module

    Dear Frndz,
               I am converting its services into webdynpro.
               I developed a rfc[function module] for travel management [TRIP] . In that rfc i used call transaction method[BDC] to upload the data. The same rfc will be called from the frontend[portal].It is working fine in development for whome se37 execution authorization was assigned. It is not working for other users.  I hope it is something relevant to authorization .If suppose can i create a authorization  object for this rfc and assign it to the profile.
            Normally  users can be given authorization to run the tcode.
    similarly i want to give the authorization to be given users to execuste this funtion module.
    huv can i do it ?? any suggestion.
    Rgds.
    siva

    Use ST01 transaction to start authorization trace, you will then see what authorizations are missing (if your assumption is right of course, i.e. if it's really an authorization problem)

  • Help on Parameters in RFC Function Module

    Hi,
    I am creating a RFC function module. The requirement is:
    In a report program, the user enters ABC and XYZ values on the selection screen. These 2 fields are select options so will have From-Value and To-Value. This report program will pass these values to my RFC FM and depending upon these values I have to read a DB table and pass the data back to the program.
    My doubt is, how should I intake these select options value? i.e should I specify them in import tab or tables tab? What TYPE/LIKE should I use?
    Please help me in this...
    Rgds,
    Nimma.

    Hi Anji,
    What is 'WSELKUNNR'? Is it a user defined type?
    I am doing as below in the IMPORT tab.
    Parameter name/Type Spec/Associated Type
    ABC/LIKE/
    I am not sure what type I have to use here as the incoming values will be of type SELECT-OPTIONS. Is there any standard type to specify here? If not, what should I do?
    Best Regards,
    Nimma.

Maybe you are looking for

  • Photo gallery to wallpaper

    hi to all, is there a way in flash were in i have a photo gallery then when the end user choose a picture he/she can make it as a default wallpaper on his/her desktop? tnx!

  • During Import if one record got failed so all records will not import?

    Hi All, I want to clear on the following situation: I have 10 records in a file and due to 2 records some structural reason import got failed.. So do MDIS will import 8 records and create a file with two records in error folder? or it will not import

  • VGA Monitor Issue

    has anyone had a problem with VGA monitor with late 2011 MacBook Pro running Lion?

  • IWork 09 Dinner Party Template

    Bought iWork 09 yesterday and was building a Dinner party list with the understanding that after filling in my recipes, the template would total all my ingridients in the shopping list. But it doesn't do that. Is that how it is designed or am I missi

  • Transferring Standard and Actual costs to COPA

    Hi, We are using 3 valuations (Legal, Profit Center and Group Valuations). In order to transfer standard and actual costs to COPA for all 3 valuations do we need to create 3 costings (total 6) for transferring standard and and 3 costings keys for tra