BAPI or RFC  FOR T-CODE F-32

hi all,
        can any one help please..
       i am searching for a bapi or RFC for t-code f-32..please help me if any one know about this.
regards,
devi....

hi all,
        can any one help please..
       i am searching for a bapi or RFC for t-code f-32..please help me if any one know about this.
regards,
devi....

Similar Messages

  • BAPI: bapi or RFC for t-code f-28

    Hi all,
            can any one tell me bapi or rfc available for t-code f-28
           please help me...
    Regards,
    devika G.

    Hi,
    i dont think there is a BAPI for this Transaction...
    you can do  BDC on F-28
    FORM fill_bdc_data_f-28_9005 USING p_i_mult_doc TYPE c.
    **BDC from screen 9005
    DATA : l_amt_bdc(13), l_amt_bdc_remain(13), l_amt_bdc_mult(13),
    l_amt_bdc_mult_remain(13), l_assignment(14), l_period(2),
    l_amount(13).
    CLEAR t_bdcdata.
    REFRESH t_bdcdata.
    PERFORM bdc_dynpro USING 'SAPMF05A' '0103'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=AB'. "OK CODE - doc overview
    **get user default date format and pass date in that format
    PERFORM convert_date_to_user_format USING bkpf-bldat.
    PERFORM bdc_field USING 'BKPF-BLDAT' w_date. "cheque date
    CLEAR w_date.
    PERFORM bdc_field USING 'BKPF-BLART' i_blart. "doc type
    PERFORM bdc_field USING 'BKPF-BUKRS' i_bukrs. "comp code
    **get user default date format and pass date in that format
    PERFORM convert_date_to_user_format USING bkpf-budat.
    PERFORM bdc_field USING 'BKPF-BUDAT' w_date. "posting date
    CLEAR w_date.
    l_period = sy-datum+4(2).
    PERFORM bdc_field USING 'BKPF-MONAT' l_period. "period
    PERFORM bdc_field USING 'BKPF-WAERS' 'INR'. "currency
    PERFORM bdc_field USING 'BKPF-BKTXT' i_bankl. "doc. hdr. text
    PERFORM bdc_field USING 'BKPF-XBLNR' i_xblnr. "Ref. Document No.
    PERFORM bdc_field USING 'BSEG-ZUONR' i_zuonr. "Assignment(Depot Code)
    PERFORM bdc_field USING 'RF05A-KONTO' i_bank_gl. "Bank GL acc
    PERFORM bdc_field USING 'BSEG-GSBER' i_gsber. "Business Area
    l_amount = bseg-wrbtr.
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amount. "Amount
    PERFORM bdc_field USING 'BSEG-PRCTR' ''. "Profit Center
    **open items data
    PERFORM bdc_field USING 'RF05A-AGKOA' 'D'. "Acc type (D=customers)
    PERFORM bdc_field USING 'RF05A-XNOPS' 'X'. "Std OIs check box
    **end of first screen
    **document overview screen
    PERFORM bdc_dynpro USING 'SAPMF05A' '0700'. "Overview Screen
    PERFORM bdc_field USING 'BDC_CURSOR' 'RF05A-AZEI1(01)'. "cursor
    PERFORM bdc_field USING 'BDC_OKCODE' '/00'. "OK CODE
    PERFORM bdc_field USING 'RF05A-NEWBS' '19'. "posting key
    PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    PERFORM bdc_field USING 'RF05A-NEWUM' 'B'. "Spl GL Indicator
    **for single document selected
    CLEAR l_amt_bdc.
    IF p_i_mult_doc = ''.
    ***new screen - next line item
    PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
    **for single document, use the bouncing amount calculated earlier
    l_amt_bdc = w_amt_ant_bouncing.
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc. "amount
    **due date - same as posting date on screen
    **get user default date format and pass date in that format
    PERFORM convert_date_to_user_format USING bkpf-budat.
    PERFORM bdc_field USING 'BSEG-ZFBDT' w_date. "due date
    CLEAR w_date.
    **assignment
    CLEAR l_assignment.
    CONCATENATE t_seldoc_ant_bouncing-belnr
    t_seldoc_ant_bouncing-gjahr INTO l_assignment.
    PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
    PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.
    **if there is some remaining amount, then go for another line item
    IF w_rem_amt_ant_bouncing > 0.
    PERFORM bdc_field USING 'RF05A-NEWBS' '15'. "posting key
    PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    **new screen
    PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
    PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-ZTERM'. "CURSOR
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE-ENTER
    l_amt_bdc_remain = w_rem_amt_ant_bouncing.
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
    PERFORM bdc_field USING 'BSEG-ZTERM' '0001'.
    **AGAIN
    PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
    PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-WRBTR'. "CURSOR
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE-SAVE
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
    PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term -hardcoded
    PERFORM bdc_field USING 'BSEG-SKFBT' l_amt_bdc_remain.
    ENDIF.
    **multiple documents
    ELSE.
    **initialize remaining amount to amt entered on screen
    l_amt_bdc_mult_remain = bseg-wrbtr.
    LOOP AT t_seldoc_ant_bouncing.
    IF l_amt_bdc_mult_remain > 0.
    IF bseg-wrbtr > t_seldoc_ant_bouncing-rem_amt.
    l_amt_bdc_mult = t_seldoc_ant_bouncing-rem_amt.
    ELSE.
    l_amt_bdc_mult = bseg-wrbtr.
    ENDIF.
    **remaining amt = screen amt - amt calculated above.
    l_amt_bdc_mult_remain = l_amt_bdc_mult_remain - l_amt_bdc_mult.
    PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult. "amount
    PERFORM bdc_field USING 'BSEG-GSBER' i_gsber. "Business Area
    **due date - same as posting date on screen
    **get user default date format and pass date in that format
    PERFORM convert_date_to_user_format USING bkpf-budat.
    PERFORM bdc_field USING 'BSEG-ZFBDT' w_date. "due date
    CLEAR w_date.
    **assignment
    CLEAR l_assignment.
    CONCATENATE t_seldoc_ant_bouncing-belnr
    t_seldoc_ant_bouncing-gjahr INTO l_assignment.
    PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
    **posting key 19 for all but last document
    PERFORM bdc_field USING 'RF05A-NEWBS' '19'. "posting key
    PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    PERFORM bdc_field USING 'RF05A-NEWUM' 'B'. "Spl GL
    ENDIF.
    ENDLOOP.
    ENDIF.
    **post remaining amount
    IF p_i_mult_doc = 'X'.
    **new screen if there is some amount left
    IF l_amt_bdc_mult_remain > 0.
    **posting key 15 with remaining amount
    PERFORM bdc_field USING 'RF05A-NEWBS' '15'. "posting key
    PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    PERFORM bdc_field USING 'RF05A-NEWUM' ''. "Spl GL
    **new screen
    PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult_remain.
    PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term - hardcoded
    ELSE.
    **if no amount is left, no need for a further line item
    PERFORM bdc_field USING 'RF05A-NEWBS' ''. "posting key
    PERFORM bdc_field USING 'RF05A-NEWKO' ''. "customer
    PERFORM bdc_field USING 'RF05A-NEWUM' ''. "Spl GL
    ENDIF.
    ENDIF.
    **clear variables
    CLEAR : l_amount, l_assignment, l_amt_bdc,
    l_amt_bdc_remain,l_amt_bdc_mult, l_amt_bdc_mult_remain.
    ENDFORM. " fill_bdc_data_F-28_9005
    Regards

  • BAPI OR RFC FOR CREATION OF MASTER DATA

    Hi
    I want BAPI or RFC for master data creation,(Vendor,Customer,material,Service master)
    Vendor(MK01)
    Customer(XD01)
    Material(MM01)
    Service Master(AC01)
    Pls Help me on this
    Regards
    Rajan

    Hi ,
    For material
    BAPI_MATERIAL_SAVEDATA
    For service
    BAPI_SERVICE_CREATE

  • Bapi or FM for T.Code CJIC

    Hi ,
    I need a BAPI or FM For T.Code CJIC to upload the data, for this BDC is not working.
    Pls do the need full.
    Regards,
    Kranthi

    Hi Daniel,
    Please try FM CO_IH_ORDER_GENER_2.
    CALL FUNCTION 'CO_IH_ORDER_GENER_2'
      EXPORTING
        AUART       = RIWO00-AUART
        GEWRK       = VIQMEL-ARBPL
        GEWRK_OBJTY = VIQMEL-CROBJTY
        VIQMEL_I    = VIQMEL
      IMPORTING
        AUFNR       = VIQMEL-AUFNR.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • BAPI or RFC for replicate the transaction LX03

    Hi experts,
    anyone know any BAPI or RFC for replicate the transaction LX03?
    Thanks

    There are no alternate transaction for OBY6

  • Bapi or RFC for Scheduled production orders?

    Hi experts,
    I need to extract a list of the Scheduled production orders (for a specific plant)for integration purpose. Does anyone know if there is any BAPI or RFC for this purpose and could anyone tell me which one could be used.
    I noted that a similar topic "Retrieving production orders and material stock out R/3 system" posted Jan 16, 2006 has been discussed but the outcome was only that standard BAPI / RFC should be available for retrieving the production orders but there was no BAPI or RFC mentioned.
    Best regards,
    Niklas

    Hi,
    I found that the following BAPIs can be used with some parameters.
    BAPI_PRODORD_GET_LIST
    BAPI_PRODORD_GET_DETAIL
    Thanks
    Pavan

  • BAPI FUNCTIONAL MODULES FOR T codes FB50,FB60,KB31n,KP46

    Hi friends
    Can u suggest me BAPI function modules for T codes FB50,FB60,KB31n,KP46
    Thanks in advance

    Use BAPI_INCOMINGINVOICE_PARK
    Import parameters HEADERDATA is mandatory in BAPI_INCOMINGINVOICE_PARK .
    Also tables ITEMDATA and RETURN are mandatory.
    Check the following sample code
    LOOP AT i_ekbe INTO wa_ekbe.
    CLEAR: wa_invoice_header,
    i_invoice_item,
    i_return,
    v_inv_doc_no,
    v_fisc_year,
    wa_return.
    REFRESH: i_invoice_item,
    i_return.
    Appending Invoice header Work Area
    wa_invoice_header-invoice_ind = c_x.
    wa_invoice_header-doc_date = sy-datum.
    wa_invoice_header-pstng_date = wa_ekbe-budat.
    wa_invoice_header-comp_code = c_100.
    wa_invoice_header-gross_amount =
    wa_invoice_header-currency = c_usd.
    wa_invoice_header-calc_tax_ind = c_x.
    Appending Invoice item data
    i_invoice_item-invoice_doc_item = '0001'.
    i_invoice_item-po_number = wa_ekbe-ebeln.
    i_invoice_item-po_item = wa_ekbe-ebelp.
    i_invoice_item-tax_code = ' '.
    i_invoice_item-item_amount = '20.00'.
    i_invoice_item-quantity = '10.000'.
    i_invoice_item-ref_doc = '5600000634'.
    i_invoice_item-ref_doc_year = '2006'.
    i_invoice_item-ref_doc_it = '10'.
    i_invoice_item-po_unit = 'EA'.
    i_invoice_item-COND_TYPE = 'VPRS'.
    APPEND i_invoice_item.
    Calling module BAPI_INCOMINGINVOICE_PARK
    CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
    EXPORTING
    headerdata = wa_invoice_header
    ADDRESSDATA =
    IMPORTING
    invoicedocnumber = v_inv_doc_no
    fiscalyear = v_fisc_year
    TABLES
    itemdata = i_invoice_item
    NFMETALLITMS =
    ACCOUNTINGDATA =
    GLACCOUNTDATA = i_gla
    MATERIALDATA = i_mat
    TAXDATA =
    WITHTAXDATA =
    VENDORITEMSPLITDATA =
    return = i_return.
    READ TABLE i_return INTO wa_return
    WITH KEY type = c_e.
    IF sy-subrc EQ 0.
    ENDIF.
    ENDLOOP.
    Reward if useful.

  • BAPI: Any bapi or RFC for f-28

    Hi all,
            can any one tell me bapi or rfc available for t-code f-28
           please help me...
    Regards,
    devika G.

    Hi Ganesa,
    Kindly go through this. I think it will clear you.
    Pattern in which function modules are called
    The function module fi_document_process is called 4 times and finally document_post is called once which updates the tables.
    Step 1. Call FI_DOCUMENT_PROCESS
    Import Parameters
    I_GJAHR LIKE TRWCA- YEAR
    I_PROCESS LIKE TRWPR-PROCESS
    I_EVENT LIKE TRWPR-EVENT
    Tables
    T_BKPF LIKE BKPF
    T_BSEG LIKE BSEG
    T_BSEGZ LIKE BSEGZ
    T_ACCIT_EXT LIKE ACCIT_EXTENSION
    Values to populate import parameters
    i_gjahr = '2007' “Fiscal year from the screen
    i_process = 'BELEG' “Constant, can be hard coded
    i_event = 'CRBSEGZ' “Constant, can be hard coded
    xbkpf-bukrs '1000'. “ Company code from the screen
    xbkpf-belnr '$1'. “ constant , can be hard coded
    xbkpf-gjahr '2007'. “ Fiscal Year , from the screen
    xbkpf-blart 'DZ'. “ Can be obtained from the invoice document
    xbkpf-bldat '20070116'. “ Document Date, from the screen
    xbkpf-budat ’20070118'. “ Posting Date , from the screen
    xbkpf-monat '01'. “ constant , can be hard coded
    xbkpf-wwert '20070118'. “ posting Date
    xbkpf-usnam 'SAPUSER'. “ user name
    xbkpf-tcode 'FBZ1'. “ Constant, can be hard coded
    xbkpf-waers 'EUR'. “ currency, from the screen
    xbkpf-glvor 'RFBU'. “ constant can be hard coded
    xbkpf-awtyp 'BKPF'. “ constant, can be hard coded
    xbkpf-fikrs ’1000'. “ customer account number, from the screen
    xbkpf-hwaer 'EUR'. “ Currency, from the screen
    xbkpf-awsys 'ECCCLNT800'. „can be hard coded
    xbseg Record 1
    xbseg-bukrs '1000'. “ Company code from the screen
    xbseg-belnr '$1' . “ constant , can be hard coded
    xbseg-gjahr '2007'. „ Fiscal Year, from the screen
    xbseg-buzei ’001'. “ constant , can be hard coded
    xbseg-bschl '40'. “ constant , can be hard coded
    xbseg-koart 'S'. “ constant , can be hard coded
    xbseg-shkzg 'S' . “ constant , can be hard coded
    xbseg-dmbtr '10'. „ Amount, from the screen
    xbseg-wrbtr '10'. „ Amount, from the screen
    xbseg-pswbt ’10'. „ Amount, from the screen
    xbseg-pswsl 'EUR'. „ Currency, from the screen
    xbseg-valut ’20070118'. “ Posting date, from the screen
    xbseg-altkt '0000110100'.
    xbseg-vorgn 'RFBU'. “ constant , can be hard coded
    xbseg-fdlev 'B9'. “ constant , can be hard coded
    xbseg-fdwbt '10'. „ Amount, from the screen
    xbseg-fdtag '20070118'. “ Posting date, from the screen
    xbseg-kokrs ’1000'. “ Customer account
    xbseg-xkres 'X'. “ constant , can be hard coded
    xbseg-xopvw 'X'. “ constant , can be hard coded
    xbseg-hkont '0000110009'. “ Bank Account number
    xbseg-xbilk 'X'. “ constant , can be hard coded
    xbseg-fipos '9620'. “ constant , can be hard coded
    xbseg-lokkt '0000110009'. “ Bank Account number
    xbseg Record 2.
    bseg-bukrs '1000'. “ Company code from the screen
    bseg-belnr. '$1' “ constant , can be hard coded
    bseg-gjahr. '2007' “ Fiscal year from the screen
    bseg-augbl. '*' “ constant , can be hard coded
    bseg-buzei'002'. “ constant , can be hard coded
    bseg-bschl. '15' “ constant , can be hard coded
    bseg-koart. 'D' “ constant , can be hard coded
    bseg-shkzg. 'H' “ constant , can be hard coded
    bseg-dmbtr. '10' “Amount, from the screen
    bseg-wrbtr. '10' “Amount, from the screen
    bseg-pswbt. '10' “Amount, from the screen
    bseg-pswsl. 'EUR' “ currency, from the screen
    bseg-altkt. '0000120100'
    bseg-vorgn. 'RFBU' “ constant , can be hard coded
    bseg-kokrs. '1000' “ Customer account number
    bseg-xkres. 'X' “ constant , can be hard coded
    bseg-xopvw. 'X' “ constant , can be hard coded
    bseg-hkont. '0000140000'
    bseg-xbilk. 'X' “ constant , can be hard coded
    bseg-fipos. '9620' “ constant , can be hard coded
    bseg-lokkt. '0000140000'
    bseg-nebtr. '10' “ Amount, from the screen
    bseg-xauto. 'X' “ constant , can be hard coded
    bseg-xzahl. 'X' “ constant , can be hard coded
    bseg-saknr. '0000140000'
    bseg-zfbdt. '20070116'” Invoice document date
    bseg-hwmet. 'A' “ constant , can be hard coded
    bseg-kkber. '1000' “ Customer account number
    bseg-agzei. '1' “ constant , can be hard coded
    Step 2. Call FI_DOCUMENT_PROCESS
    Import Parameters
    I_GJAHR LIKE TRWCA- YEAR
    I_PROCESS LIKE TRWPR-PROCESS
    I_EVENT LIKE TRWPR-EVENT
    Tables
    T_BKPF LIKE BKPF
    T_BSEG LIKE BSEG
    T_BSEGZ LIKE BSEGZ
    T_AUSZ3 LIKE AUSZ_CLR
    T_AUSZ4 LIKE AUSZ_CLR_ASGMT
    T_ACCIT_EXT LIKE ACCIT_EXTENSION
    Values to populate import parameters
    i_gjahr = '2007' “Fiscal year from the screen
    i_process = 'BELEG' “Constant, can be hard coded
    i_event = 'CLOSE' “Constant, can be hard coded
    Table xausz3.
    ausz3-agzei. '1' “Constant, can be hard coded
    ausz3-waers. 'EUR' „ Currency from the screen
    ausz3-bukrs. '1000' „ Company Code
    ausz3-belnr. '1800000076' „ Document number from the screen
    ausz3-gjahr. '2007' „ Fiscal Year
    ausz3-buzei. '001'
    ausz3-shkzg. 'S' “Constant, can be hard coded
    ausz3-dmbtr. '10' “ Amount, from the screen
    ausz3-wrbtr. '10' “ Amount, from the screen
    ausz3-koart. 'D' “Constant, can be hard coded
    Step 3. Call FI_DOCUMENT_PROCESS
    Import Parameters
    I_GJAHR LIKE TRWCA- YEAR
    I_PROCESS LIKE TRWPR-PROCESS
    I_EVENT LIKE TRWPR-EVENT
    Tables
    T_BKPF LIKE BKPF
    T_BSEG LIKE BSEG
    T_BSEGZ LIKE BSEGZ
    T_AUSZ3 LIKE AUSZ_CLR
    T_AUSZ4 LIKE AUSZ_CLR_ASGMT
    T_ACCIT_EXT LIKE ACCIT_EXTENSION
    Values to populate import parameters
    i_gjahr = '2007' “Fiscal year from the screen
    i_process = 'BELEG' “Constant, can be hard coded
    i_event = 'PROJECT' “Constant, can be hard coded
    I_AUGLV = 'EINGZAHL' “Constant, can be hard coded
    Step 4. Call POST_DOCUMENT
    Import Parameters
    I_BKDF LIKE BKDF
    I_UF05A LIKE UF05A
    I_GENER LIKE T020-GENER
    I_AUGLV LIKE T041A-AUGLV
    Tables
    T_AUSZ1 LIKE AUSZ1
    T_AUSZ2 LIKE AUSZ2
    T_AUSZ3 LIKE AUSZ_CLR
    T_AUSZ4 LIKE AUSZ_CLR_ASGMT
    T_BKP1 LIKE BKP1
    T_BKPF LIKE BKPF
    T_BSEC LIKE BSEC
    T_BSED LIKE BSED
    T_BSEG LIKE BSEG
    T_BSET LIKE BSET
    T_BSEU LIKE BSEU
    Values to populate import parameters
    Table xausz1
    xausz1-belnr. '1800000076' „ Document number from the screen
    xausz1-bukrs. '1000' „ Company code from the screen
    xausz1-gjahr. '2007' „ Fiscal year from the screen
    xausz1-buzei. '001' “ Constant , can be hard coded
    Table xausz2
    ausz2-bukrs. '1000' „ Company code from the screen
    ausz2-aktio. 'A' “ Constant , can be hard coded
    ausz2-augbl. '1400000054' „ Posted document number..from the function NUMBER_GET_NEXT(Dynamically generated unique number)
    ausz2-augdt. '20070118' „ Posting Date from the screen
    ausz2-auggj. '2007' „ Fiscal Year from the screen
    Table xbkpf
    First record of the internal table zbkpf has to be modified with the dynamically generated document number.
    Xbkpf-belnr. ‘1400000054’
    Table xbkp1
    xbkp1-currj '2007' “ Fiscal year, from the screen
    Table xbseg
    Following fields in the table xbseg has to be modified before passing to this function module.
    Record 1
    TO wa_bseg1-belnr. '1400000054' “ Dynamically generated number
    TO wa_bseg1-zuonr. '20070116' “ Document Date from the screen
    Record 2
    bseg1-belnr. '1400000054' „ Dynamically generated number
    bseg1-augdt. '20070118' „ Posting date from the screen
    bseg1-augcp. '20070118' „ Posting date from the screen
    bseg1-augbl. '1400000054' „ Dynamically generated number
    bseg1-zuonr. '14000000542007' „ Concatenating dynamically generated number and fiscal year
    bseg1-kunnr. '1000' “ Customer number from the screen
    Table Xbseu
    Record 1
    bseu-waers 'EUR' “ Currency from the screen
    Record 2
    bseu-waers. 'EUR' “ Currency from the screen
    bseu-xzver. 'X' “ Constant Hard coded
    Step 5. Call FI_DOCUMENT_PROCESS
    Import parameters
    I_GJAHR LIKE TRWCA-TOYEAR
    I_PROCESS LIKE TRWPR-PROCESS
    I_EVENT LIKE TRWPR-EVENT
    I_AWTYP LIKE ACCHD-AWTYP
    I_AWREF LIKE ACCHD-AWREF
    I_AWORG LIKE ACCHD-AWORG
    I_AWSYS LIKE ACCHD-AWSYS
    Tables
    T_BKPF LIKE BKPF
    Values to populate import parameters
    i_gjahr = '2007' “ Fiscal Year from the screen
    i_process = 'BELEG' “ Constant
    i_event = 'POST' “ Constant
    i_awtyp = 'BKPF' “ Constant
    i_awref = '1400000054'”Dynamically generated posting doc number
    i_aworg = '10002007' “ Concatenate comp code and Fiscal Year
    i_awsys = 'ECCCLNT800'” Constant.

  • Bapi or Func for T-code LT0G

    Hi, everybody,
    Is there any bapi or function module for t-code: LT0G? 
    or anyone can show me how to do it using BDC?(we must generate a TO for every item, one item one TO)

    hello,
    i tried for u r tcode its working fine...
    report ZTEST_12334
           no standard page heading line-size 255.
    include bdcrecx1.
    parameters: dataset(132) lower case.
       DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
      If it is nessesary to change the data section use the rules:
      1.) Each definition of a field exists of two lines
      2.) The first line shows exactly the comment
          '* data element: ' followed with the data element
          which describes the field.
          If you don't have a data element use the
          comment without a data element name
      3.) The second line shows the fieldname of the
          structure, the fieldname must consist of
          a fieldname and optional the character '_' and
          three numbers and the field length in brackets
      4.) Each field must be type C.
    Generated data section with specific formatting - DO NOT CHANGE  ***
    data: begin of record,
    data element:
            LGNUM_001(003),
    data element:
            LOW_002(010),
    data element:
            HIGH_003(010),
    data element:
            LOW_004(003),
    data element:
            P_VBELN_005(001),
    data element:
            P_TAPOS_006(001),
          end of record.
    End generated data section ***
    start-of-selection.
    perform open_dataset using dataset.
    perform open_group.
    do.
    read dataset dataset into record.
    if sy-subrc <> 0. exit. endif.
    perform bdc_dynpro      using 'RLLT0G00' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'P_TAPOS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ONLI'.
    perform bdc_field       using 'LGNUM'
                                  record-LGNUM_001.
    perform bdc_field       using 'VBELN-LOW'
                                  record-LOW_002.
    perform bdc_field       using 'VBELN-HIGH'
                                  record-HIGH_003.
    perform bdc_field       using 'BWLVS-LOW'
                                  record-LOW_004.
    perform bdc_field       using 'P_VBELN'
                                  record-P_VBELN_005.
    perform bdc_field       using 'P_TAPOS'
                                  record-P_TAPOS_006.
    perform bdc_transaction using 'LT0G'.
    enddo.
    perform close_group.
    thank u,
    santhosh

  • BAPI or RFC for Automatic Forwarding

    Hallo.
    When I create a user, I set the automatic forwarding from the SAP inbox username to mail.
    I make this setting using SO36.
    Is there a Bapi or RFC to make this?
    Thanks for your help.
    Mario
    Any news about my issue?
    Thanks.

    Hi,
    Please check this link.
    [Link|Send notification to Lotus Notes when a WI is created;

  • BAPI or RFC for

    Hi All,
    Is there a standard BAPI or RFC available to get the Posting Change Number (UBNUM) Transfer Requirement Number (TBNUM) for the material document number?
    BAPI_GOODSMVT_GETDETAIL is not providing above details so looking for alternate standard ways.
    I can create simple RFC to select the data from MSEG, but looking for standard BAPI or RFC.
    Thanks
    Nagarajan

    Requires custom development.

  • BAPI or RFC for item level updation in BOM

    Hi ,
    I need to mass update the operation lead time offset in all the items in the BOM.
    First i am downloading the BOM components and its existign operation lead time offset in the form of excel file. Then i am modifying the excel file and the same is uploaded to update the operation lead time offset.
    I need a BAPI or RFC to update the item level details in the BOM. Please help.
    Thanks
    S.Srinivasan

    Hi,
    Please refer the below thread to find BAPI
    How to find related BAPIs
    You can also use tcode BAPI
    Message was edited by:
            Kannan S

  • BAPI or RFC for DP90

    Hi experts,
    I would like to know if there is any standard BAPI or RFC to Execute DP90 transaction in CS.
    This is in order to do the complete service order creation cycle through a small application in Enterprise Portal.
    Can any one please help me out?
    Thanks alot in advance
    Shobin

    You can use DIPCOL_COLLECTIVE_RRB.

  • BAPI Extending Vendor for Company Code

    Gurus,
    Is anybody aware of a BAPI which can be used to extend a vendor for multiple compnay codes .
    regards
    jain

    >
    J@Y wrote:
    > in the fm goto> documentation
    >
    >
    With this method you can create or extend a vendor online.
    I think the issue here is that it is an online BAPI - you have to go through the screens.

  • BAPI or FM for t-code IW34

    Hi all,
    i need create service order for existing service notifications (like transaction IW34).  I have already used bapi BAPI_ALM_ORDER_MAINTAIN to create service order, but i dont know link or connecting the generated order with the notification.
    Please let me know Is there any process to do this ??
    Best Regards,
    Daniel Pinto

    Hi Daniel,
    Please try FM CO_IH_ORDER_GENER_2.
    CALL FUNCTION 'CO_IH_ORDER_GENER_2'
      EXPORTING
        AUART       = RIWO00-AUART
        GEWRK       = VIQMEL-ARBPL
        GEWRK_OBJTY = VIQMEL-CROBJTY
        VIQMEL_I    = VIQMEL
      IMPORTING
        AUFNR       = VIQMEL-AUFNR.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

Maybe you are looking for