Standard bdc or function module

Can any one suggest the BDC or Function module to upload 21 (Family and dependent infotype).
regards,
Lakshmi

Hi
better to  use BDC
Regards
Sri

Similar Messages

  • Standard Remote-Enabled Function Module to display data.

    Good afternoon,
    Is there any Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data?
    First time, I was trying to use FM link to BW Extractor as MDEX_MATERIAL_MD for Material Attributes, but these kind of FM are not Remote-Enabled and not released.
    My second solution is to find a Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data, but I haven't it yet.
    May someone help me in this?
    Thanks in advance for your answers.
    Best regards,
    Paul d'ORIGNY

    Hi,
    Suppose you want to read data from the vbrk table in ECC through a function module, then you can define the function module as "remote-enabled"(attribute tab in se37-processing type). You can try the following code out:
    FUNCTION Z_EM_INVOICE.
    *""Local Interface:*
    *"  IMPORTING
    *"     VALUE(I_FKDAT) TYPE  FKDAT OPTIONAL
    *"  TABLES
    *"      E_VBRK STRUCTURE  VBRK
    *select * from vbrk into table*
    e_vbrk where fkdat = i_fkdat.
    ENDFUNCTION.
    From BI you can call the function odule as follows:Supposing that you are calling the function module in the start routine of a dso:
    data : v_dest_system TYPE char255.
    data: l_vbrk type table of vbrk.
    v_dest_system = 'DRDCLNT010'
    CALL FUNCTION 'Z_EM_INVOICE''
    destination v_dest_system
    EXPORTING
    i_fkdat = <passing variable>
    e_vbrk = l_vbrk.
    Regards,
    Anjana.

  • Standard BAPI or Function Module for FB01posting

    Hi Experts,
    My requirement is as follows.
    Invoice details would be sent across from Middleware to SAP and for which I have developed a Custom Remote Enabled Function Module. The Function Module needs to post the data using FB01 Transaction.
    I had planned for recording a BDC for FB01 and post the data, however, we are on the verge of getting upgraded from 4.7 to ECC 6.0. To avoid problems that we might face for change of screens in ECC 6.0, I would prefer using a BAPI or Function Module for FB01 posting, if available, instead of BDC.
    Data coming from Middleware are as follows.
    HEADER:
    BKPF-BLDAT :  Document Date
    BKPF-BUDAT : Posting Date
    BKPF-XBLNR: Reference (Invoice#)
    BKPF-BLART : Document Type
    BKPF-BUKRS : Company Code
    BKPF-BKTXT : DocHeader Text
    BKPF-WAERS : Currency
    LINE ITEM:
    BSEG-LIFNR : Vendor no
    BSEG-WRBTR - Total amt -Debit/Credit -Vendor
    BSEG-ZUONR : Assignment field
    BSEG-EMPFB : Alternative Payee
    BSEG-UZAWE : Payment Method Supplement
    BSEG-ZTERM : Pmt terms
    BSEG-KOSTL : Costcenter
    BSEG-HKONT : GL AccountNumber
    BSEG-WRBTR : Amount for GL
    BSEG-SGTXT : Line item text
    The Vendor Line Item would be one where as GL line items could me more than one.
    Can any of you suggest me a standard BAPI or Func Mod?
    Points will be awarded for valuable inputs.
    Thanks to all!!!!

    You can use RFBIBL00 program for FB01 postings. Go through the program help on how to use this program.
    This program requires a file to be on application server in a certain format.
    You may also refer the program RFBIBLT0 on how the file format should be.
    Hope this helps.
    Thanks,
    SKJ

  • Standard Macro and Functional Module in HR -Programming.

    Hi friends,
    Could i know the difference between a standard macro and a function module in hr programming.
    how do we have to use that and what are the different std macro's and functional modules used in HR-Programming...
    Thanks in Advance..
    Regards
    Shiva

    You will find the macros in table TRMAC .
    Macros are set of pre defined instructions .
    You can define your own macros in the program using 'definition' command  or use standard macros.
    you will find most of the HR function module starting  with HR*  or RH * .
    You can get Macro  definition  /  its fundamental difference with function module on web .
    Hopw this is helpful

  • Reg Standard programs and function modules

    Hi Could you please tell how to find the list of
    1.standard programs used
    2.standard tcode used
    3.function module used
    is there any table or function module to find the above
    Thanks in advance
    points will be rewarded

    hi,
    TADIR -  Tables
    TSTC  -  transactions
    TFDIR - Function modules.
    If you want to search for any table  ,
    Suppose if you want to search for a table which stores
    Country names then just
    GOTO SE11 and place the cursor on 'Database table'
    press F4,
    Click on 'Information system'
    then one window is displayed there give short description
    and search .
    You will get the tables list there you can fine the table which you want.
    For any other if you want to find out table which stores all the domain names then click F4 on 'DOMAIN' then search.
    to search function modules GOTO  SE37 there press F4 then give short description and search. Ok.
    Regards,
    Rajitha.

  • Standard leave request function module

    standar leave request function module (example import parameters strat date end date and leave type ) if i execute this bapi i want my subordinate name and leave applied is successful)

    I got this from my collegue who is an ABAP consultant. Hope it helps.
    ABSE                                             Object Type "Absence"
    BAPI_ABSENCE_APPROVE           Unlock absence
    BAPI_ABSENCE_CHANGE            Change absence
    BAPI_ABSENCE_CREATE            Create absence
    BAPI_ABSENCE_DELETE            Delete absence
    BAPI_ABSENCE_GETDETAIL         Read absence
    BAPI_ABSENCE_GETDETAILEDLIST   Read instances with data
    BAPI_ABSENCE_GETLIST           Read instances
    BAPI_ABSENCE_REQUEST           Create locked absence
    BAPI_ABSENCE_SIMULATECREATION  Simulation: Create absence

  • Asking for the standard report or function module or class  for determining no of employees under a client

    Hi,
    Advance thanks for ur reply......
    Is there any module function or class or standard report which gives the no of employees under a specific client based on country group and also gives percentage of employees belong to the client?
    Regards,
    selwin.

    Hi,
    According to your requirement, you can prepare report through S_PH0_48000513 - Ad Hoc Query , you can get percentage from IT0007 in Ad Hoc query. first decide how many fields you want and then choose in selection criteria and generate the report.
    Thanks,
    Nirali P.

  • Tcode CM25:BDC or function module to dispatch planned orders

    Hi all,
    Could you please suggest a BAPI/FM for CM25 -dispatching the planned orders.
    While i try BDC, it requires the line selection for dispatch,which does not get captured in recording.
    Can anyone throw light on this or suggest any alternative.
    thanks
    kiran
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Oct 23, 2009 11:28 AM

    reposting it

  • Documentation of standard function modules

    Hi,
               Where can i find the docmentation of  all the SAP standard program and Function modules.
    any links..?
    thanks,
    neha

    Hi,
    Check these links..
    http://www.sapgenie.com/abap/functions.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
    http://www.onestopsap.com/function-module/
    Best Regards,
    Sumana
    Please mark all the helpful answers

  • Problem in the creation of rfc function module

    hi,
                I am creating one rfc function module comparing to standard non-rfc function module. In that one i have one export parameter with the standard strcture type. but this stcture component contains with strcture type. among all these components four fields are common. but when i am trying to activate function module it is giving message you cannot use internal tables, strings,references, or strctures as components. that function module name is BAL_FILTER_CREATE and that export parameter name is that export parameter name is E_S_LOG_FILTER that associated type is BAL_S_LFIL. how can i solve the problem. pls give me solution as soon as possible.

    hi,
    for rfc fm's u should enable the call by value check box which will appear on that of import and export parameters. tick that one for each parameter in rfc and activate.
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • Function module to get PR00 price

    I would like to get PR00 price(not manually changed value, but maintained in VK13, that means not the value in VBAP or KONV, but KONP I think) by inputting sales order number as import number(just like when I click analysis button as item condition view, the
    price will show up by SAP standard program). which function module can be used?
    I find a module RV_KONV_SELECT. There is one import parameter including so many fields. I just entered client and order number(I think it is enought, but i cannot get the result).Please could you give some clue or where i can find the help doc about it and if any other pricing module according to my requirement.
    Many thanks.

    Hi!
    You can try BAPISDORDER_GETDETAILEDLIST and check return condition tables for info you need:
      DATA:
        wa_bapi_view TYPE order_view,
        it_sales_documents TYPE STANDARD TABLE OF sales_key,
        wa_sales_documents LIKE LINE OF it_sales_documents,
        it_order_conditions_out TYPE STANDARD TABLE OF bapisdcond,
        it_order_cond_head TYPE STANDARD TABLE OF bapicondhd,
        it_order_cond_item TYPE STANDARD TABLE OF bapicondit,
        it_order_cond_qty_scale TYPE STANDARD TABLE OF bapicondqs,
        it_order_cond_val_scale TYPE STANDARD TABLE OF bapicondvs.
      wa_bapi_view-sdcond = 'X'.
      wa_bapi_view-sdcond_add = 'X'.
      wa_sales_documents = 'SALES_ORDER_NUMBER'.
      APPEND wa_sales_documents TO it_sales_documents.
      CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
        EXPORTING
          i_bapi_view                   = wa_bapi_view
      I_MEMORY_READ                 =
        TABLES
          sales_documents               = it_sales_documents
      ORDER_HEADERS_OUT             =
      ORDER_ITEMS_OUT               =
      ORDER_SCHEDULES_OUT           =
      ORDER_BUSINESS_OUT            =
      ORDER_PARTNERS_OUT            =
      ORDER_ADDRESS_OUT             =
      ORDER_STATUSHEADERS_OUT       =
      ORDER_STATUSITEMS_OUT         =
         order_conditions_out          = it_order_conditions_out
         order_cond_head               = it_order_cond_head
         order_cond_item               = it_order_cond_item
         order_cond_qty_scale          = it_order_cond_qty_scale
         order_cond_val_scale          = it_order_cond_val_scale
      ORDER_CONTRACTS_OUT           =
      ORDER_TEXTHEADERS_OUT         =
      ORDER_TEXTLINES_OUT           =
      ORDER_FLOWS_OUT               =
      ORDER_CFGS_CUREFS_OUT         =
      ORDER_CFGS_CUCFGS_OUT         =
      ORDER_CFGS_CUINS_OUT          =
      ORDER_CFGS_CUPRTS_OUT         =
      ORDER_CFGS_CUVALS_OUT         =
      ORDER_CFGS_CUBLBS_OUT         =
      ORDER_CFGS_CUVKS_OUT          =
      ORDER_BILLINGPLANS_OUT        =
      ORDER_BILLINGDATES_OUT        =
      ORDER_CREDITCARDS_OUT         =
      EXTENSIONOUT                  =
    Regards,
    Maxim.

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

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

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

  • Standard function module inside a loop.

    Hi Experts,
    I am trying to improve performance program that has a standard abap function module inside a loop. I am some what lost on what to do here. Here below is what the code looks like as of now. I have read that i need to try and not use the function module at all be it is a very complicated function module. Any suggestions will be appreciated.
    DATA: tl_retorno TYPE bapireturn1 OCCURS 0 WITH HEADER LINE. "Retorno
       DATA: wl_bukrs   LIKE acct_det_bf-comp_code,     "Empresa
             wl_process LIKE acct_det_bf-process,       "Chave
             wl_symko   LIKE hrpp_acct_det-symb_acct,   "Conta Simbólica
             wl_momag   LIKE hrpp_acct_det-eg_acct_det, "Agrupamento
             wl_razao   LIKE acct_det_bf-gl_account.    "Conta Razão
    *-->                  <--*
       SORT tg_rubcr BY bukrs lgart.
       LOOP AT tg_rubcr.
         CLEAR: wl_bukrs, wl_process, wl_symko, wl_momag, wl_razao.
         wl_bukrs   = tg_rubcr-bukrs.
         wl_process = tg_rubcr-process.
         wl_symko   = tg_rubcr-symko.
         CLEAR tg_aux.
         IF tg_rubcr-u_momag IS INITIAL. "A rubrica necessita de agrupamento?
           CLEAR wl_momag.
    * Busca Contas Razão sem Agrupamento de Empregados
           CALL FUNCTION 'HRPP_FI_ACCT_DET_HR'
             EXPORTING
               companycode              = wl_bukrs
               process                  = wl_process
               symb_acct                = wl_symko
               eg_acct_det              = wl_momag
               add_modif                = ' '
             IMPORTING
               gl_account_debit         = wl_razao
    *         GL_ACCOUNT_CREDIT        =
    *         POSTING_KEY_DEBIT        =
    *         POSTING_KEY_CREDIT       =
    *         ACCOUNT_TYPE             =
             TABLES
               return_tab               = tl_retorno.
           tg_rubcr-razao = wl_razao.
           tg_aux = tg_rubcr.
           APPEND tg_aux.
         ELSE.  "Não necessita de agrupamento de empregado?
           LOOP AT tg_t52em. "Para todos os agrupamentos
             CLEAR tg_aux.
             CLEAR tl_retorno.
             REFRESH tl_retorno.
             CLEAR wl_momag.
             wl_momag  = tg_t52em-momag.
    * Busca Contas Razão com Agrupamento de Empregados
             CALL FUNCTION 'HRPP_FI_ACCT_DET_HR'
               EXPORTING
                 companycode              = wl_bukrs
                 process                  = wl_process
                 symb_acct                = wl_symko
                 eg_acct_det              = wl_momag
                 add_modif                = ' '
               IMPORTING
                 gl_account_debit         = wl_razao
    *           GL_ACCOUNT_CREDIT        =
    *           POSTING_KEY_DEBIT        =
    *           POSTING_KEY_CREDIT       =
    *           ACCOUNT_TYPE             =
               TABLES
                 return_tab               = tl_retorno.
             tg_rubcr-razao = wl_razao.
             tg_aux = tg_rubcr.
             tg_aux-momag = tg_t52em-momag.
             APPEND tg_aux.
           ENDLOOP.
         ENDIF.
       ENDLOOP.
    * Limpa tabela com rubricas e move todo o conteúdo da auxiliar
       REFRESH tg_rubcr.
       CLEAR tg_rubcr.
       tg_rubcr[] = tg_aux[].
    ENDFORM.                    " busca_conta_razao

    Hi Patrick,
    If you do not want to use the function module then the other option that you can use is do selects from the tables that the FM 'HRPP_FI_ACCT_DET_HR' is using to get the importing "parameter  gl_account_debit         = wl_razao"  outside the loop.
    So steps will be:
    Debug FM 'HRPP_FI_ACCT_DET_HR'  to find out how it getting importing data using exporting parameters.
    Then before the loop is called do a select for all entries on table tg_rubcr. And id muliple tables are used Read statements to populate a final table with gl_account_debit         = wl_razao value.
    Then use the final table to get this value inside the loop.
    Please let me know if you need more details.

Maybe you are looking for

  • Valuation Class not appearing in Material Master (Finished Goods)

    Hi Friends, I am facing problem with Valuation Class not appearing while creation of Material Master especially in Finished Products when i give the Valuation class it showing the message like below *Valuation class IBM2 not allowed for material type

  • Creation of Vendors by batch jobs:  Bypass the 'confirmation' process

    Hello, Need your kind suggestions please. When we create a vendor master data it's a two step process. In the first place we create and save it. In the second step a different user needs to log in and confirm the same before the vendor gets active in

  • Since downgrading to LION iCal frequently crashes on opening

    Since downgrading to LION iCal frequently crashes on opening or very soon afterwards. Sometimes does it 3x in a row then finally opens. Anyone else have this problem? Thanks for your time, Jules Macbook Pro 7i , 10.7.2

  • Know the field names in 1 table

    Hi, i would like to know is there any way that we can know how many column inside the table in the database n what is the column names? for example: table supplier supplierId supplierName address so there are 3 columns and the names are supplierId, s

  • Can't install windows installer 4.5 on my sbs 2008

    Hi  I am trying to install windows installer 4,5 on my sbs 2008. It is a prereqierment for upgrading Exchange 2007 sp1 to sp3. But i am facing with this error : The update does not apply to your system Nima Nima