FM \ BAPI for complaint status.

Hi Frinds,
Kindly suggest me FM \ BAPI to update the complaint status..
Regards,
Narendra Goyal

Dear Narendra,
You can use FMs CRM_STATUS_MAINTAIN_OW and BAPI_TRANSACTION_COMMIT in order to update the status. Below is the sample code:
wa_status-ref_guid = v_guid.
wa_status-ref_kind = 'A'.
wa_status-status = 'XXXXX'.            "Status to be Set
wa_status-user_stat_proc = 'Z****'.  " Status Profile
wa_status-activate = 'X'.
INSERT wa_status INTO TABLE t_status.
wa_input_field-ref_guid = lv_guid.      " GUID of the Complaint for which status has to be set
wa_input_field-ref_kind  = 'A'.
wa_input_field-objectname  = 'STATUS'.
wa_input_field_names-fieldname = 'ACTIVATE'.
INSERT wa_input_field_names INTO TABLE wa_input_field-field_names.
INSERT wa_input_field_names INTO TABLE t_input_field_names_tab.
INSERT wa_input_field  INTO TABLE  t_input_field.
CALL FUNCTION 'CRM_STATUS_MAINTAIN_OW'
EXPORTING
   it_status_com              = t_status
   iv_check_only              = true
  CHANGING
    ct_input_field_names       = t_input_field_names_tab
EXCEPTIONS
   not_allowed                = 1
   error_occurred             = 2
   warning_occurred           = 3
   OTHERS                     = 4 .
IF sy-subrc <> 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.

Similar Messages

  • Bapi for Delivery Status

    Hi Experts!
    Can anyone tell me the BAPI to Display the Delivery Status
    for a particuler sales order no or document no.
    Thank U...

    hi,
    BAPI_DELIVERYFREE_PROXY_CREATE Proxy BAPI für Upload einer kostenlosen Nachlieferug SFA-Kontext: Anle
                                                                                    LE_SHP_DB_DELIVERY_BUFFER      Object Buffer Delivery w/Database Access                             
    BAPI_DELIVERY_GETLIST          BAPI for Reading Delivery Data                                                                               
    OIU_DELIVERY_NETWORK           Object Buffer Delivery w/Database Access                             
    BAPI_DELIVERY_NETWORK_CHANGE   Delivery Network BAPI for Changes                                    
    BAPI_DELIVERY_NETWORK_CREATE   BAPI for creating a delivery network                                 
    BAPI_DELIVERY_NETWORK_READ     Display delivery network details                                                                               
    BAPI_INB_DELIVERY_CHANGE                                                                            
    BAPI_INB_DELIVERY_CONFIRM_DEC  BAPI for Inbound Delivery Verification from a Decentralized System   
    BAPI_INB_DELIVERY_SAVEREPLICA  BAPI Function Module for Replication of Inbound Deliveries           
    BAPI_OUTB_DELIVERY_CHANGE                                                                           
    BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System  
    BAPI_OUTB_DELIVERY_CREATENOREF Generates Delivery Without Reference                                 
    BAPI_OUTB_DELIVERY_CREATE_SLS  Generates Delivery for Customer Order                                
    BAPI_OUTB_DELIVERY_CREATE_STO  Generates Delivery for Stock Transport Order                         
    BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries          
    BAPI_OUTB_DELIVERY_SPLIT_DEC   BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
    and for "Shipment
    BAPI_SHIPMENT_CHANGE           Change Shipment                                                      
    BAPI_SHIPMENT_COST_ESTIMATE    Calculate Shipment Costs of Different Forwarding Agents for Shipment 
    BAPI_SHIPMENT_CREATE           Create Shipment

  • Unable to run bapis for project status update and date update together

    Hi Experts,
    I have a requirement to update the dates and status of a project WBS at level 4. I am trying to do update the CJ02 Transaction using standard BAPI available. I need to do both Date update and status update in the same LOOP PASS   i am using the below mention bapi. when i am doing so i am getting an error Project 'A._____' has been currently processed by ID i.e. my id.
    I have tried putting  a wait for 2 seconds in the code but its still not working. please find the order below in which i am calling the bapi.
    Loop at itab.
    if  date_changed = 'X'.
          CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
          READ TABLE it_error WITH KEY message_type = c_e.
          IF sy-subrc <> 0.
    Commit
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
       endif.
    endif.
    if Status_change = 'X'.
          CALL FUNCTION 'BAPI_PS_INITIALIZATION' .
          CALL FUNCTION 'BAPI_BUS2054_SET_STATUS'
          READ TABLE t_result WITH KEY message_type = c_e.
          IF sy-subrc NE 0.
            CALL FUNCTION 'BAPI_PS_PRECOMMIT'
                 TABLES
                      et_return = t_ret.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
         ENDIF.
    endif.
        WAIT UP TO 4 SECONDS.
    endloop.

    Try to use
    SET UPDATE TASK LOCAL.
    before each BAPI call.
    Did you try to debug through your code, leaving sufficient time between BAPI calls? If it does work like that, then the above statement might help.

  • BAPI   for  Changing  Status of  Internal Order Tcode : KO02

    Hello Everybody ,
    I want to change   System status  of  Internal Order   Tcode  :  KO02 .
    I.e  if  status  are  REL  (  Released  )     then  I  want to make it as  CLSD ( Closed )    and  Vice  Versa .
    In     AUFK   ,
    AUFK-PHAS2    =    REL  (RELEASED )
    AUFK-PHAS3   =    CLSD  ( Closed )  
    this field we need  to set    as    'X'   as per our requriment .
    I used    FM    "  ALE_INTERNALORDER_DB_CHANGE  "  to   changing this  field  .
    but after excution  this   FM   ,  value of this field  is changed  but  when i see the  same order in  KO03    this is not  reflecting   but value  in AUFK  is changed   .  
    this  should not be happend  if the value is chage in Table AUFK  then   must be reflect  in  KO03  .
    I also used    BAPI_INTERNALORDER_SAVEREPLICA    for  Change Internal Order  but it's  no use  ....
    Please  suggest me  any  BAPI  as per  requriment   .
    ASAP
    Regards,
    Sandeep

    Hi  ,
    You are right   .... I   want to chage the status of internal  order  if  CLSD  then  it should  be  REL    and   vice-versa   .
    and things   I am  talkinG about is   that  'X  is maintained  in  table  AUFK-PHAS1  =  'X      for  REL   and  AUFK-PHAS3 =  'X' for  CLSD   .
    So my point is that  is there any  BAPI   of  FM    available    for changing  the  status   of  Internal Order  .
    from CLSD   to  REL  and from REL  to  CLSD   ?
    i used    this   FM   :    ALE_INTERNALORDER_DB_CHANGE  and 
    BAPI                    :    BAPI_INTERNALORDER_SAVEREPLICA                        But not getting output   .
    Regards,
    Sandeep

  • BAPI for changing activity status in CIC0

    Hi
    We are developing a custom application on Netweaver platform which interacts with CRM system.
    As one of the requirements we need to <b>change the activity status from open to closed</b> in the transaction <b>"CIC0"</b>. 
    I am looking for some BAPI which can do this task for me. Can anyone help me on this issue?
    Thanks
    Yashodhan

    Hi Amit,
    Thanks for the reply. I was trying to change the status flag from open to close using the said function module.I had gone through the documentation of this module and trying to use this with parameter "Status". The approach I am following is as follows:
    1. Assiging the sequence as
              a. BAPI_ACTIVITYCRM_CHANGEMULTI
              b. BAPI_ACTIVITYCRM_SAVE
              c. BAPI_TRANSACTION_COMMIT
    As an input to Parameter in case of BAPI_ACTIVITYCRM_CHANGEMULTI  I am sending following:
    REF_GUID-> GUID of the transaction Activity.
    STATUS-> Status Key like E0003 for closed status
    USER_STAT_PROC-> Status Profile for my Business Transaction type ( Which is defined in transaction "BS02")
    As an input to "Obejcts_To_Save" in BAPI_ACTIVITYCRM_SAVE I am again sending the GUID of transaction activity.
    Now when I am executing all the above in sequence I am gettin error by BAPI_ACTIVITYCRM_SAVE  saying "Doucment could not be saved"
    I am not able to figure out what is the problem?
    Please help!!
    Thanks
    Yashodhan

  • Bapi for Project User Status Profile

    Hi,
    Is there any bapi that contains the field "Status Profile (STSMA) of the Project? I only can find the WBS status...
    Thanks in advance.
    LM

    Hi,
    Thanks for your reply.
    But this function is to get the status... The problem is when creating a project by BAPI, the "user status profile" field (STSMA) is not available to fill. In this case, it happens if we have 2 schemes for projects, the bapi only puts the first that appears and I want the 2nd one to be fullfilled.
    How can we create a projet by bapi and have this field?
    Thanks in advance,
    LM

  • BAPI for Scheduling a background job

    Hi all,
    is there any bapi for scheduling a background job?
    i mean can we do background job using bapi
    If not how can we create a bapi for scheduling a background job.
    Thanks & Regards,
    Azhar

    Hi,
    Use following BAPIs for scheduling a job in background
    BAPI_XBP_JOB_OPEN - This BAPI solves the first step in scheduling a job in the R/3 background processing system. You can create the job with this method.
    Using additional BAPI calls BAPI_XBP_JOB_ADD_ABAP_STEP and BAPI_XBP_JOB_ADD_EXT_STEP, you can add job steps to the job.
    With the BAPI call BAPI_XBP_JOB_CLOSE, you can finish defining the job and transfer it to the background processing system with the status Scheduled without start date.
    You have execute the job with the BAPI calls BAPI_XBP_JOB_START_IMMEDIATELY or BAPI_XBP_JOB_START_ASAP.
    I hope it would help you.
    Regards,
    Venkatram

  • Customer Master BAPI for PI interface

    Hai Frds,
    We are using the PI interface for taking Customer data from Legacy and creating in ECC.  For this we are using BAPIs. We have some BAPIs for customer creation but all are for online creation only. Is there any BAPI for creating the customer through Interface.
    I found one BAPI : /SAPNEA/SMAPI_CUSTOMER_CREATE.
    But its creating the customer with reference customer only. Also there is no Reconciliation Account field which is mandatory for our req.

    we have to send status(both immediate and batch) back to Legacy for each document posted in ECC. If i will use IDOC i have to use one INBOUND IDOC for getting data in to SAP and one OUTBOUND IDOC for sending status(which i have catch from some Ztable)  to legacy . All this is Lengthy process to do. So, we planned to go for BAPIs which will catch status immediately.
    So, Looking for BAPI for customer master.

  • Bapi for the transaction FBRA, FB08, FB01 anf FD02

    hi,
    can any one please help me with BAPI for the following transaction?
    FBRA - reset cleared items
    FB08 - reversal of the documents
    FB01 - post documents
    FD02 - change customer.
    regards kriti

    Hi
    Copy the below  program in se38 and execute the program and along with the transaction code you need to specify the program name to obtain the program name all you have to do is execute the t-code and go to system--> status and copy the program name from the screen and paste it in the above program.
    tables : tstc,
             tadir,
             modsapt,
             modact,
             trdir,
             tfdir,
             enlfdir,
             sxs_attrt ,
             tstct.
    data :
       jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode,
    p_pgmna like tstc-pgmna .
    data wa_tadir type tadir.
    start-of-selection.
      if not p_tcode is initial.
        select single * from tstc where tcode eq p_tcode.
      elseif not p_pgmna is initial.
        tstc-pgmna = p_pgmna.
      endif.
      if sy-subrc eq 0.
        select single * from tadir
        where pgmid = 'R3TR'
        and object = 'PROG'
        and obj_name = tstc-pgmna.
        move : tadir-devclass to v_devclass.
        if sy-subrc ne 0.
          select single * from trdir
          where name = tstc-pgmna.
          if trdir-subc eq 'F'.
            select single * from tfdir
            where pname = tstc-pgmna.
            select single * from enlfdir
            where funcname = tfdir-funcname.
            select single * from tadir
            where pgmid = 'R3TR'
            and object = 'FUGR'
            and obj_name eq enlfdir-area.
            move : tadir-devclass to v_devclass.
          endif.
        endif.
        select * from tadir into table jtab
        where pgmid = 'R3TR'
        and object in ('SMOD', 'SXSD')
        and devclass = v_devclass.
        select single * from tstct
        where sprsl eq sy-langu
        and tcode eq p_tcode.
        format color col_positive intensified off.
        write:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        skip.
        if not jtab[] is initial.
          write:/(105) sy-uline.
          format color col_heading intensified on.
          * sorting the internal table
       sort jtab by object.
          data : wf_txt(60) type c,
          wf_smod type i ,
          wf_badi type i ,
          wf_object2(30) type c.
          clear : wf_smod, wf_badi , wf_object2.
          * get the total smod.
          loop at jtab into wa_tadir.
            at first.
              format color col_heading intensified on.
              write:/1 sy-vline,
              2 'Enhancement/ Business Add-in',
              41 sy-vline ,
              42 'Description',
              105 sy-vline.
              write:/(105) sy-uline.
            endat.
            clear wf_txt.
            at new object.
              if wa_tadir-object = 'SMOD'.
                wf_object2 = 'Enhancement' .
              elseif wa_tadir-object = 'SXSD'.
                wf_object2 = ' Business Add-in'.
              endif.
              format color col_group intensified on.
              write:/1 sy-vline,
              2 wf_object2,
              105 sy-vline.
            endat.
            case wa_tadir-object.
              when 'SMOD'.
                wf_smod = wf_smod + 1.
                select single modtext into wf_txt
                from modsapt
                where sprsl = sy-langu
                and name = wa_tadir-obj_name.
                format color col_normal intensified off.
              when 'SXSD'.
                * for badis
             wf_badi = wf_badi + 1 .
                select single text into wf_txt
                from sxs_attrt
                where sprsl = sy-langu
                and exit_name = wa_tadir-obj_name.
                format color col_normal intensified on.
            endcase.
            write:/1 sy-vline,
            2 wa_tadir-obj_name hotspot on,
            41 sy-vline ,
            42 wf_txt,
            105 sy-vline.
            at end of object.
              write : /(105) sy-uline.
            endat.
          endloop.
          write:/(105) sy-uline.
          skip.
          format color col_total intensified on.
          write:/ 'No.of Exits:' , wf_smod.
          write:/ 'No.of BADis:' , wf_badi.
        else.
          format color col_negative intensified on.
          write:/(105) 'No userexits or BADis exist'.
        endif.
      else.
        format color col_negative intensified on.
        write:/(105) 'Transaction does not exist'.
      endif.
    at line-selection.
      data : wf_object type tadir-object.
      clear wf_object.
      get cursor field field1.
      check field1(8) eq 'WA_TADIR'.
      read table jtab with key obj_name = sy-lisel+1(20).
      move jtab-object to wf_object.
      case wf_object.
        when 'SMOD'.
          set parameter id 'MON' field sy-lisel+1(10).
          call transaction 'SMOD' and skip first screen.
        when 'SXSD'.
          set parameter id 'EXN' field sy-lisel+1(20).
          call transaction 'SE18' and skip first screen.
      endcase.
    Regards
    Pavan

  • Suggest BAPI for change notification IW52

    Hi,
    Kindly suggest BAPI for change notification IW52.
    Regards,
    Tanaya

    How to find function module or Bapi for particular transaction in sap?
    If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use. 
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    1. Find out the package of the transaction. 
    Start Va01 go to system --> status. 
    Double click on transaction 
    Package is VA 
    Open this package in SE80 
    Open business engineering-->Business object types 
    Find the BO which sounds the most appropriate 
    I would suggest BUS2032 Sales Order 
    Double click. 
    Open methods. 
    Find the released method with from data or something similar in the name 
    , Createfromdat2 
    Position the cursor in it and click the program button 
    Scroll down to find the bapi used in this method 
    With this way you can also find out programs and FM's 
    2. Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order 
    createfromdat2 
    Answer: This is  the BAPI for your mentioned   transaction code BAPI_GOODSMVT_CREATE.
    thanks,
    Sankar M

  • IDOC/BAPI for production order confirmations

    Does anyone know IDOC or a BAPI for confirming a production order? CO11 is the normal transaction for confirmation.
    I found one BAPI: BAPI_PRODORDCONF_CREATE_HDR
    Is this the right one?
    -Thanks
    Bhaven

    Hi Bhavan,
    status can be find using function module <b>STATUS_TEXT_EDIT</b>.
    Sample code:
    CALL FUNCTION 'STATUS_TEXT_EDIT'
          EXPORTING
            client           = sy-mandt
            objnr            = >object number of order<
            only_active      = 'X'
            spras            = 'E'
          IMPORTING
            line             = hold_status
          EXCEPTIONS
            object_not_found = 1
            OTHERS           = 2.
    *Exception in case status is not found
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    *Check Status of the Order
        IF hold_status CS 'CNF'.
        confined production orders.
        ENDIF.
    Best regards
    Suresh Babu Karanam

  • BAPI for Transaction VA01?

    How to Develope an interface program to upload the sales order data from legacy system to SAP using BAPI for Transaction VA01.Explain me clearly?

    VA01:
    BAPI_SALESORDER_CREATEFROMDAT1
    BAPI_SALESORDER_CREATEFROMDAT2
    steps for bapi creation
    STEP 1 - Define a structures for the BAPI
    In this step a structures for the parameters and tables of the function module used for the BAPI are defined.
    Use Data type -> Structure
    Define the following structures:
    ZBAPI_ORDER_STATUS_IMPORT which contains the following fields:
    ORDERID Order number (Keyfield)
    SPRAS Language
    ExcludeInactive - Checkbox - Exclude inactive status
    ZBAPISTAT:
    STEP 2 - Write Function Module
    Important notes:
    Each BAPI must have its own function group.
    Under the attributes tab remember to select Processing Type Remote Enabled module, otherwise the function module cannot be invoked via RFC and used as a BAPI
    Import/Export parameters can only be BY VALUE for an RFC enabled function module
    We are only creating one BAPI in this example, but you can create related BAPIs in the same function pool, so they will be able to share global data.
    Code
    Notes:
    The subroutine SET_RETURN_MESSAGE is a standard routine used for BAPIs that use the BAPIRETURN structure
    In form Z_BAPI_GET_ORDER_SYSTEM_STATUS there is a test IF 1 = 2. If the test is true a message is displayed. The condition will obviously never be true, and we will never want to display a message in a BAPI. The reason why it is included is, that it create a reference for the message, so that the WHERE USED functionality can be used for the message. This is the SAP standard way to handle it, copied from the Company Code GetList BAPI.
    INCLUDE LZBAPISTATUSUXX
      THIS FILE IS GENERATED BY THE FUNCTION LIBRARY.             *
      NEVER CHANGE IT MANUALLY, PLEASE!                           *
    INCLUDE LZBAPISTATUSU02.
                        "Z_BAPI_GET_ORDER_SYSTEM_STATUS
    INCLUDE LZBAPISTATUSTOP - Global data
    FUNCTION-POOL ZBAPISTATUS.                  "MESSAGE-ID Z3
    Types:
      begin of Type_tj02t,
        istat  like tj02t-istat,
        txt04  like tj02t-txt04,
        txt30  like tj02t-txt30,
      end of type_tj02t.
    DATA:
    Declarations for TABLE parameter
      T_BAPISTAT like ZBAPISTAT occurs 0,
      G_BAPISTAT like ZBAPISTAT,
    Table for object texts
      t_tj02t    type type_tj02t occurs 0,
      g_tj02t    type type_tj02t.
    Structure for return messages
    DATA:
      BEGIN OF MESSAGE,
        MSGTY LIKE SY-MSGTY,
        MSGID LIKE SY-MSGID,
        MSGNO LIKE SY-MSGNO,
        MSGV1 LIKE SY-MSGV1,
        MSGV2 LIKE SY-MSGV2,
        MSGV3 LIKE SY-MSGV3,
        MSGV4 LIKE SY-MSGV4,
      END OF MESSAGE.
    INCLUDE LZBAPISTATUSF01 - Subroutines
    ***INCLUDE LZBAPISTATUSF01 .
    *&      Form  SET_RETURN_MESSAGE
    This routine is used for setting the BAPI return message.
    The routine is a standard routine for BAPIs that handles the message
    structure for the BAPIRETURN structure. It has been copied from the
    BAPI Company Code Getlist
         -->P_MESSAGE  text
         <--P_RETURN  text
    form SET_RETURN_MESSAGE USING    VALUE(P_MESSAGE)   LIKE MESSAGE
                            CHANGING P_RETURN  LIKE BAPIRETURN.
      CHECK NOT MESSAGE IS INITIAL.
      CALL FUNCTION 'BALW_BAPIRETURN_GET'
           EXPORTING
                TYPE       = P_MESSAGE-MSGTY
                CL         = P_MESSAGE-MSGID
                NUMBER     = P_MESSAGE-MSGNO
                PAR1       = P_MESSAGE-MSGV1
                PAR2       = P_MESSAGE-MSGV2
                PAR3       = P_MESSAGE-MSGV3
                PAR4       = P_MESSAGE-MSGV4
             LOG_NO     = ' '
             LOG_MSG_NO = ' '
           IMPORTING
                BAPIRETURN = P_RETURN
           EXCEPTIONS
                OTHERS     = 1.
    endform.                    " SET_RETURN_MESSAGE
    FUNCTION Z_BAPI_GET_ORDER_STATUS
    FUNCTION z_bapi_get_order_system_status.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(I_AUFNR) TYPE  AUFNR
    *"     VALUE(I_SPRAS) TYPE  SPRAS DEFAULT SY-LANGU
    *"     VALUE(I_EXCLUDEINACTIVE) TYPE  CHAR1 OPTIONAL
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRETURN
    *"  TABLES
    *"      T_BAPISTAT STRUCTURE  ZBAPISTAT
    DATA:
       l_aufnr LIKE afko-aufnr,
       l_objnr LIKE jest-objnr.
    Check if order exists
    SELECT SINGLE aufnr
        FROM afko
        INTO  l_aufnr
        WHERE aufnr = BAPI_ORDER_STATUS_IMPORT-orderid.
      IF sy-subrc NE 0.
        CLEAR message.
        message-msgty = 'E'.
        message-msgid = 'Z3'.
        message-msgno = '000'.
        message-msgv1 = BAPI_ORDER_STATUS_IMPORT-orderid.
        PERFORM set_return_message USING    message
                                   CHANGING return.
        IF 1 = 2.
        The only reason to include this statement, that will obviously
        never execute, is that it will create a referecence so that you
        can find out where a particular message is being used. This
        functionality is used by the BAPIs programmed by SAP
          MESSAGE e000(z3).
        ENDIF.
      ENDIF.
      CHECK return IS INITIAL.
    Read order status
    CONCATENATE 'OR' BAPI_ORDER_STATUS_IMPORT-orderid INTO l_objnr.
      IF BAPI_ORDER_STATUS_IMPORT-i_excludeinactive = 'X'.
        SELECT objnr stat inact
          FROM  jest
          INTO  TABLE t_bapistat
          WHERE objnr = l_objnr AND
                inact  'X'.
      ELSE.
        SELECT objnr stat inact
          FROM  jest
          INTO  TABLE t_bapistat
          WHERE objnr = l_objnr.
      ENDIF.
      IF sy-subrc  0.
      No object status found
        CLEAR message.
        message-msgty = 'E'.
        message-msgid = 'Z3'.
        message-msgno = '001'.
        message-msgv1 = BAPI_ORDER_STATUS_IMPORT-orderid.
        PERFORM set_return_message USING    message
                                   CHANGING return.
        IF 1 = 2.
          MESSAGE e001(z3).
        ENDIF.
      ENDIF.
      CHECK return IS INITIAL.
    Read order status texts
      SELECT istat txt04 txt30
        FROM tj02t
        INTO TABLE t_tj02t
        FOR ALL ENTRIES IN t_bapistat
        WHERE istat = t_bapistat-stat AND
              spras = BAPI_ORDER_STATUS_IMPORT-i_spras.
      SORT t_tj02t BY istat.
      LOOP AT t_bapistat INTO g_bapistat.
        READ TABLE t_tj02t
          WITH KEY istat = g_bapistat-stat BINARY SEARCH
         INTO g_tj02t.
        IF sy-subrc = 0.
          MOVE:
            g_tj02t-txt04 TO g_bapistat-txt04,
            g_tj02t-txt30 TO g_bapistat-txt30.
          MODIFY t_bapistat FROM g_bapistat TRANSPORTING txt04 txt30.
        ENDIF.
    ENDLOOP.
    ENDFUNCTION.
    OBJNR like JEST-OBJNR
    STAT like JEST-STAT
    INACT like JEST-INACT
    TXT04 like TJ02T-TXT04
    TXT30 likeTJ02T-TXT30
    Important note:
    You will have to define a structure for every parameter in the BAPI. You cannot use the same structures used in existing applications because BAPI structures are frozen when BAPIs are released and then there are restrictions on changing them.
    STEP 3 - Create the API Method Using the BAPI WIZARD
    The BAPI wizard is used toTo expose the remote function module as a BAPI. The wizard will generate some additional code, so the function module is a valid method of the BOR. This allows the BAPi to be called as a workflow method in addition to be called by an outside program.
    Note: Each function module corresponds to a method in the BOR
    Go to the Business Object Builder SWO1.
    You can either create the new Object type as a subtype of an existing business object or create a new business object from scratch. In this example it would be obvious to create the Object type as a subtype of BUS2005 Production order. However, to illustrate how to create a new Object type from scratch, we will do this.
    In the Object/Interface type field write the name of the new Business Object: ZORDERSTAT. Press enter and fill in the additional fields necessary to create the object type.
    Supertype: Not relevant because we are creating our object from scratch
    Program. This is the name of the program where the wizard generates code for the Object type, NOT the function module we created earlier. The program name must not be the name of an existing program.
    Press enter and create the new business object. Note that when you create the business object a standard interface, an attribute ObjectType and the methods ExistenceCheck and Display are automatically generated. These cannot be changed !
    The next step is to add the Z_BAPI_GET_ORDER_STATUS method to the business object. Select Utilities -> API methods -> Add method and write the name of the function module in the dialog box. Next the dialog ox show below will be shown. This is the start screen of the BAPI wizard. Proceed with wizard by pressing the button.
    After you have finished the wizard, you will notice that the ZGetOrderStatus has been added to the business object:
    You can double-click on the method to see its properties. To use the business object you must change the Object type status to Implemented. Use menu Edit->Change releases status->Object type->To implemented. No you can test the object (Press F8).
    Note that the BAPI wizard has added a wrapper class for the function module so it can be sued as method in the business object. Choose menu Goto->Program to display the program:
              Implementation of object type ZORDERSTAT           *****
    INCLUDE <OBJECT>.
    BEGIN_DATA OBJECT. " Do not change.. DATA is generated
    only private members may be inserted into structure private
    DATA:
    " begin of private,
    "   to declare private attributes remove comments and
    "   insert private attributes here ...
    " end of private,
          KEY LIKE SWOTOBJID-OBJKEY.
    END_DATA OBJECT. " Do not change.. DATA is generated
    BEGIN_METHOD ZGETORDERSTATUS CHANGING CONTAINER.
    DATA:
          BAPIORDERSTATUSIMPORT LIKE ZBAPI_ORDER_STATUS_IMPORT,
          RETURN LIKE BAPIRETURN,
          TBAPISTAT LIKE ZBAPISTAT OCCURS 0.
      SWC_GET_ELEMENT CONTAINER 'BapiOrderStatusImport'
           BAPIORDERSTATUSIMPORT.
      SWC_GET_TABLE CONTAINER 'TBapistat' TBAPISTAT.
      CALL FUNCTION 'Z_BAPI_GET_ORDER_STATUS'
        EXPORTING
          BAPI_ORDER_STATUS_IMPORT = BAPIORDERSTATUSIMPORT
        IMPORTING
          RETURN = RETURN
        TABLES
          T_BAPISTAT = TBAPISTAT
        EXCEPTIONS
          OTHERS = 01.
      CASE SY-SUBRC.
        WHEN 0.            " OK
        WHEN OTHERS.       " to be implemented
      ENDCASE.
      SWC_SET_ELEMENT CONTAINER 'Return' RETURN.
      SWC_SET_TABLE CONTAINER 'TBapistat' TBAPISTAT.
    END_METHOD.
    STEP 4 - Final stepsWhen the Business object has been checked and the documentation created, the following steps must be carried out:
    Release the BAPI function module (in the Function Builder).
    Release the business object type (in the BOR ObjectType -> Change release status to -> Implemented ).
    Release the BAPI as a method in the BOR (Release the methods you has created - Set the cursor on the method then
    Edit -> Change release status -> Object type component -> To released )
    For potential write BAPIs: Release the IDoc and its segments
    You can now display the BAPI in the BAPI Explorer:
    for detailed expalnation
    http://www.erpgenie.com/abap/bapi/example.htm
    do reward if helpful

  • I need a bapi  for workdownstructure elements

    i need a bapi  for workdownstructure elements 
    •     WBS number
    •     WBS descriptions
    •     WBS start date
    •     WBS end date
    •     Status
    thanks and regards,
    jameer.p
    Edited by: Jameer P on Jan 30, 2008 12:59 PM

    Hai.
    It may help you.
    can use WS_DOWNLOAD like this:
    L_T_HEADERS TYPE TABLE OF TEXT40.
    IF SP_LOCAL = 'X'.
    Headings: TEXT-U01 ... TEXT-U28
        DO 28 TIMES.
          CLEAR: L_F_INDEX,L_F_NAME,L_F_HEADERS.
          L_F_INDEX = SY-INDEX.
          CONCATENATE 'TEXT-U' L_F_INDEX INTO L_F_NAME.
          ASSIGN (L_F_NAME) TO <FS_HEADER>.
          L_F_HEADERS = <FS_HEADER>.
          APPEND L_F_HEADERS TO L_T_HEADERS.
        ENDDO.
        CALL FUNCTION 'WS_DOWNLOAD'
             EXPORTING
                  FILENAME                = SP_FILE
                  FILETYPE                = 'DAT'
             TABLES
                  DATA_TAB                = L_T_OUT
                  FIELDNAMES              = L_T_HEADERS
             EXCEPTIONS
                  FILE_OPEN_ERROR         = 1
                  FILE_WRITE_ERROR        = 2
                  INVALID_FILESIZE        = 3
                  INVALID_TYPE            = 4
                  NO_BATCH                = 5
                  UNKNOWN_ERROR           = 6
                  INVALID_TABLE_WIDTH     = 7
                  GUI_REFUSE_FILETRANSFER = 8
                  CUSTOMER_ERROR          = 9
                  OTHERS                  = 10.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE 'I' NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          LEAVE PROGRAM.
        ELSE.
          DESCRIBE TABLE L_T_OUT LINES L_F_COUNT.
          MESSAGE I145 WITH L_F_COUNT SP_FILE.
        ENDIF.
    Regards.
    Sowjanya.b.

  • BAPI for Infotype

    Hello Experts,
       I am in need for standard BAPIs for the following info types. If it is not available please help me with some way.
    <b>Infotypes:
    &#61656;     0002 (Personal Data)
    &#61656;     0006 (Addresses)
    &#61656;     0009 (Bank details)
    &#61656;     0021 (Family member/dependents)
    &#61656;     0023 (Other/Previous employers)
    &#61656;     0028 (Internal medical service) subtype 0008 (Blood group)
    &#61656;     0185 (Personal IDs)
    &#61656;     0591 (Nominations)
    &#61656;     0000 (Actions)
    &#61656;     0001 (Organizational Assignment)
    &#61656;     0007 (Planned working time)
    &#61656;     0016 (Contract Elements)
    &#61656;     0017 (Travel Privileges)
    &#61656;     2006 (Absence Quotas)</b>
    Thanks & Regards
    Nigesh

    Hi,
    list of BAPI Funtions
    0035 BAPI for Grant Master Data
    BAPI_0035_CHANGE Change grant master data
    BAPI_0035_CREATE Create GM grant master data
    BAPI_0035_GET_DETAIL Get detail of grant master data
    0036 BAPI for BudgetEntryDocGM
    BAPI_0036_CREATE Create GM Budgeting Entry Document
    BAPI_0036_GET_DETAIL Get the detail of a GM budget entry document
    BAPI_0036_GET_LIST Get list of GM budgeting entry docs.
    BAPI_0036_REVERSE Reverse GM Budgteing Entry document
    0038 BAPIs for Funded Program
    BAPI_0038_CHANGE Change a Funded Program
    BAPI_0038_CREATE Create Funded Program
    BAPI_0038_DELETE Delete a Funded Program
    BAPI_0038_GETDETAIL Get details to a Funded Program
    BAPI_0038_GETLIST Get list of Funded Programs
    0050 BAPI for BudgetEntryDocFM
    BAPI_0050_CREATE Create FM Budgeting Entry document
    BAPI_0050_GET_DETAIL Get FM budgeting entry document
    BAPI_0050_GET_LIST Get list of budgeting entry documents
    BAPI_0050_REVERSE Reverse FM Budgeting Entry document
    0051 BAPI for BudgetFM (mass data)
    BAPI_0051_GET_TOTALS Get FM budget totals
    BAPI_0051_UPDATE FM Budgeting - Update totals
    1031 Business Object BUS1031 (Activity Type)
    BAPI_ACTIVITYTYPE_GETDETAIL Detail Information for Activity Type on Key Date
    BAPI_ACTIVITYTYPE_GETLIST List of Activity Types Using Selection Criteria
    BAPI_ACTIVITYTYPE_GETPRICES Output Activity Prices for Activity Types on Key Date
    BAPI_ACTTYPE_CHANGEMULTIPLE Change One or More Activity Types
    BAPI_ACTTYPE_CREATEMULTIPLE Create One or More Activity Types
    2145 Business Objects Complaints AB (BAPI)
    BAPI_ABCLAIM_CREATE AB-CWB: Create BAPI Complaint
    4499 Business Object: Bank Statement
    BAPI_ACCSTMT_CREATEFROMBALANCE Store account balance/check debit information
    BAPI_ACCSTMT_CREATEFROMLOCKBOX Create lockbox data
    BAPI_ACCSTMT_CREATEFROMPREVDAY Create Bank Statement/Day-End Statement
    BAPI_ACCSTMT_CREATEFROMSAMEDAY Create Bank Statement/Today's Data
    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
    ACC4 FI/CO: BAPIs for UPDATE
    BAPI_ACC_BILLING_CHECK Accounting: Check Billing Doc. (OAG: LOAD RECEIVABLE)
    BAPI_ACC_BILLING_POST Accounting: Post invoice (OAG: LOAD RECEIVABLE)
    BAPI_ACC_DOCUMENTS_RECORD Follow-On Document Numbers in Accounting for Multiple Source Documents
    BAPI_ACC_EMPLOYEE_EXP_CHECK Accounting: Check G/L acct assignment for HR posting (OAG:POST JOURNAL
    BAPI_ACC_EMPLOYEE_EXP_POST Accounting: Post G/L account assignment for HR posting (OAG:POST JOURN
    BAPI_ACC_EMPLOYEE_PAY_CHECK Accounting: Check Vendor Acct Assignment for HR Posting (OAG:LOAD PAYA
    BAPI_ACC_EMPLOYEE_PAY_POST Accounting: Post Vendor Acct Assignment for HR Posting (OAG: LOAD PAYA
    BAPI_ACC_EMPLOYEE_REC_CHECK Accounting: Check Cust. Acct Assignmt for HR Posting (OAG:LOAD RECEIVA
    BAPI_ACC_EMPLOYEE_REC_POST FI/CO: Post Customer Acct Assignment for HR Posting (OAG: LOAD RECEIVA
    BAPI_ACC_GL_POSTING_CHECK Accounting: General G/L Account Posting
    BAPI_ACC_GL_POSTING_POST Accounting: General G/L Account Posting
    BAPI_ACC_GOODS_MOVEMENT_CHECK Accounting: Check Goods Movement (OAG: POST JOURNAL)
    BAPI_ACC_GOODS_MOVEMENT_POST Accounting: Post Goods Movement (OAG: POST JOURNAL)
    BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_INVOICE_RECEIPT_POST Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_PURCHASE_ORDER_CHECK Accounting: Check Purchase Order
    BAPI_ACC_PURCHASE_ORDER_POST Accounting: Post Purchase Order
    BAPI_ACC_PURCHASE_REQUI_CHECK Accounting: Check Purchase Requisition
    BAPI_ACC_PURCHASE_REQUI_POST Accounting: Post Purchase Requisition
    BAPI_ACC_SALES_ORDER_CHECK Accounting: Check Sales Order
    BAPI_ACC_SALES_ORDER_POST Accounting: Post Sales Order
    BAPI_ACC_SALES_QUOTA_CHECK Accounting: Check Customer Quotation
    BAPI_ACC_SALES_QUOTA_POST Accounting: Post Customer Quotation
    BAPI_ACC_TRAVEL_CHECK Accounting: Check Trip
    BAPI_ACC_TRAVEL_POST Accounting: Post Trip
    ACC5 FI/CO: BAPIs Asset Postings
    BAPI_ACC_ASSET_ACQ_SETT_CHECK ACC: Asset Acquisition - Synchronous Determination of Capitalization V
    BAPI_ACC_ASSET_ACQ_SETT_POST ACC: Asset Acquisition-Asynchronous Determination of Capitalization Va
    BAPI_ACC_***_ACQUISITION_CHECK BAPI: Check Asset Acquisition
    BAPI_ACC_***_INTRA_TRANS_CHECK Accounting: Post Asset Transfer
    BAPI_ACC_***_POSTCAP_CHECK BAPI: Check Subsequent Capitalization
    BAPI_ACC_***_RETIREMENT_CHECK BAPI: Check Asset Retirement
    BAPI_ACC_***_TRANSFER_CHECK Accounting: Post Asset Transfer
    BAPI_ACC_***_TRANSFER_POST Accounting: Post Asset Transfer
    BAPI_ACC_***_TRANS_ACQ_CHECK Accounting: Check acquisition from transfer
    BAPI_ACC_***_TRANS_ACQ_POST Accounting: Post acquisition from transfer
    BAPI_ACC_***_TRANS_RET_CHECK Accounting: Post Asset Transfer
    BAPI_ACC_AUC_ACQUISITION_CHECK Accounting: Asset Acquisition from Settlement
    BAPI_ACC_AUC_ACQUISITION_POST Accounting: Asset Acquisition from Settlement
    ACC6 Accounting: BAPIs for UPDATE II
    BAPI_ACC_BILLING_REV_CHECK Accounting: Check Billing Document Reversal (OAG: LOAD RECEIVABLE)
    BAPI_ACC_BILLING_REV_POST Accounting: Post Billing Doc.Reversal (OAG: LOAD RECEIVABLE)
    BAPI_ACC_GL_POSTING_REV_CHECK Accounting: Check Reversal of General G/L Account Posting
    BAPI_ACC_GL_POSTING_REV_POST Accounting: Post General G/L Posting Reversal
    BAPI_ACC_GOODS_MOV_REV_CHECK Accounting: Check Goods Movement Reversal (OAG: POST JOURNAL)
    BAPI_ACC_GOODS_MOV_REV_POST Accounting: Post Goods Movement Reversal (OAG: POST JOURNAL)
    BAPI_ACC_INVOICE_REV_CHECK Accounting: Check Reversal of Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_INVOICE_REV_POST Accounting: Post Invoice Receipt Reversal (OAG: LOAD PAYABLE)
    BAPI_ACC_PYMNTBLK_UPDATE_CHECK Accounting: Check Changes to Payment Block for Open Items
    BAPI_ACC_PYMNTBLK_UPDATE_POST Accounting: Post Changes to Payment Block for Open Items
    ACC9 Accounting: BAPIs
    BAPI_ACC_DOCUMENT_CHECK Accounting: Check
    BAPI_ACC_DOCUMENT_POST Accounting: Posting
    BAPI_ACC_DOCUMENT_REV_CHECK Accounting: Check Reversal
    BAPI_ACC_DOCUMENT_REV_POST Accounting: Post Reversal
    AEMM Additionals in integrated mat. maint.
    BAPI_ADDITIONAL_MAINTAINDATA Create and Change Additionals Assignments (Retail)
    BEACTIVITY Process modeling activity
    BAPI_ACTIVITY_COMPARE Test Module for Modeling
    BAPI_ACTIVITY_GETALLCOUPLING Determination of Coupling Events for Several Activities
    BAPI_ACTIVITY_GETCOUPLING Get activity coupling events
    BAPI_ACTIVITY_GETDETAIL Read diagram
    BAPI_ACTIVITY_GETPOTCOUPLING Get potential coupling events between two activities
    BAPI_ACTIVITY_GET_PARENTS Delivers Higher-Level Activities
    BAPI_ACTIVTY_GETDIAGRAMIDS Read diagram
    CRM_CO_SLS CO Interface CRM Sales
    BAPI_ACCOUNTING_PROXY_UPLOAD Account Assignment Objects for CRM Transactions
    FAGL_SKF_BAPI
    BAPI_ACC_POST_STAT_KEYFIGURE
    FKN5 BAPI Account Balances
    BAPI_ACCOUNT_GETBALANCES Retrieves Balances for a Contract Acct
    IPPEBAPI_ACT
    BAPI_1179_EXISTENCECHECK
    BAPI_1179_REPLICATE
    BAPI_1179_SAVEREPLICA
    IPPEBAPI_BAL
    BAPI_1183_EXISTENCECHECK
    BAPI_1183_REPLICATE
    BAPI_1183_SAVEREPLICA
    IPPEBAPI_CMP iPPE: Component BAPIs
    BAPI_1176001_EXISTENCECHECK Check Existence of Product Structure Variant
    BAPI_1176_EXISTENCECHECK Check Existence of a Product Structure Node
    BAPI_1176_REPLICATE Replicate Product Structure Nodes
    BAPI_1176_SAVEREPLICA Maintain or Create Product Structure
    IPPEBAPI_FLO
    BAPI_1182_EXISTENCECHECK
    BAPI_1182_REPLICATE
    BAPI_1182_SAVEREPLICA
    IPPEBAPI_GEN iPPE: BAPIs for Generic Engineering Node
    BAPI_1197_EXISTENCECHECK Check Existence of Generic Engineering Node
    BAPI_1197_REPLICATE Replicate the Generic Engineering Node
    BAPI_1197_SAVEREPLICA Create and Change Generic Engineering Node
    IPPEBAPI_MPO
    BAPI_1220_REPLICATE
    BAPI_1220_SAVEREPLICA
    IPPEBAPI_PRM
    BAPI_1196_EXISTENCECHECK
    BAPI_1196_REPLICATE
    BAPI_1196_SAVEREPLICA
    IPPEBAPI_RES
    BAPI_1193_EXISTENCECHECK
    BAPI_1193_REPLICATE
    BAPI_1193_SAVEREPLICA
    K23G Service Function Modules
    BAPI_ACC_CO_DOCUMENT_FIND Read CO Document for Manual Actual Postings
    K40C CO Actual Postings, Manual
    BAPI_ACC_ACTIVITY_ALLOC_CHECK Accounting: Check Activity Allocation
    BAPI_ACC_ACTIVITY_ALLOC_POST Accounting: Post Activity Allocation
    BAPI_ACC_ACT_POSTINGS_REVERSE Accounting: Reverse CO Documents - Manual Actual Postings
    BAPI_ACC_MANUAL_ALLOC_CHECK Accounting: Check Manual Cost Allocation
    BAPI_ACC_MANUAL_ALLOC_POST Accounting: Post Manual Cost Allocation
    BAPI_ACC_PRIMARY_COSTS_CHECK Accounting: Check Primary Costs
    BAPI_ACC_PRIMARY_COSTS_POST Accounting: Post Primary Costs
    BAPI_ACC_REVENUES_CHECK Accounting: Check Revenues
    BAPI_ACC_REVENUES_POST Accounting: Post Revenues
    BAPI_ACC_SENDER_ACTIVITY_CHECK Accounting: Check Sender Activities
    BAPI_ACC_SENDER_ACTIVITY_POST Accounting: Post Sender Activities
    BAPI_ACC_STAT_KEY_FIG_CHECK Accounting: Check Statistical Key Figures
    BAPI_ACC_STAT_KEY_FIG_POST Accounting: Post Statistical Key Figures
    KACG Coding Block: FI/LO Part of KACB
    BAPI_ACCSERV_CHECKACCASSIGNMT BAPI: Object BUS6001 AccountingServices, Method CheckAccountAssignment
    KGR2 External Access to CO Hierarchies
    BAPI_ACTIVITYTYPEGRP_ADDNODE Object BUS1115 (Activity Type Group) - Method AddNode
    BAPI_ACTIVITYTYPEGRP_CREATE Object BUS1115 (Activity Type Group) - Method Create
    BAPI_ACTIVITYTYPEGRP_GETDETAIL Object BUS1115 (Activity Type Group) - Method GetDetail
    BAPI_ACTIVITYTYPEGRP_GETLIST Object BUS1115 (Activity Type Group) - Method GetList
    KPLB BAPIs: Plan data interface
    BAPI_ACT_INPUT_CHECK_AND_POST Activity Type Planning/Price Planning: Formal Parameter Check
    BAPI_ACT_INPUT_READ Activity Type Planning/Price Planning: Formal Parameter Check
    BAPI_ACT_PRICE_CHECK_AND_POST Activity Type Planning/Price Planning: Formal Parameter Check
    BAPI_ACT_PRICE_READ Activity Type Planning/Price Planning: Formal Parameter Check
    OPERS_CA Business Object: Other Personal Data
    BAPI_ADDITIONALDATA_GETDETAIL Read additional personal data
    BAPI_ADDPERSDATA_CHANGE Change additional personal data
    BAPI_ADDPERSDATA_CREATE Create additional personal data
    BAPI_ADDPERSDATA_DELETE Delete additional personal data
    BAPI_ADDPERSDATA_DELIMIT Delimit additional personal data validity period
    BAPI_ADDPERSDATA_GETDETAILEDLI Read instances with data
    BAPI_ADDPERSDATA_GETLIST Read instances
    PADR_AU Business Object AddressEmp (AU)
    BAPI_ADDREMPAU_CHANGE ESS Address Change - Australia
    BAPI_ADDREMPAU_CREATE ESS Address Create - Australia
    BAPI_ADDREMPAU_CREATESUCCESSOR ESS Address Create Successor - Australia
    BAPI_ADDREMPAU_GETDETAIL ESS Address Get Detail - Australia
    BAPI_ADDREMPAU_GETDETAILEDLIST Read instances with data
    BAPI_ADDREMPAU_REQUEST ESS Address Request - Australia
    BAPI_ADDREMPAU_SIMULATECREATN ESS Address Simulate Creation - Australia
    PADR_CH Business Object: AddressEmp
    BAPI_ADDREMPCH_CREATESUCCESSOR Create Subsequent Employee Address Record
    BAPI_ADDREMPCH_GETDETAILEDLIST Read Instances with Data
    PADR_DE Business Object AddressEmp (DE)
    BAPI_ADDREMPDE_CREATESUCCESSOR Create Next Employee Address Record
    BAPI_ADDREMPDE_GETDETAILEDLIST Read Instances with Data
    PADR_DK Business Object AddressEmp - DK
    BAPI_ADDREMPDK_CREATESUCCESSOR Create Subs.Employee Address Record
    BAPI_ADDREMPDK_GETDETAILEDLIST Read Instances with Data
    PADR_ES Business Object AddrEmpE
    BAPI_ADDREMPES_CREATESUCCESSOR Personnel number next record create
    BAPI_ADDREMPES_GETDETAILEDLIST Read instances with data
    PADR_FR Business Object AddrEmpFR
    BAPI_ADDREMPFR_CREATESUCCESSOR Franch Employee Address: Create Next Record
    BAPI_ADDREMPFR_GETDETAILEDLIST Read Data Records in Period (French Employee Addresses)
    PADR_HK Business object: AddressEmp (HK)
    BAPI_ADDREMPHK_CHANGE Change Employee Address (Hong Kong)
    BAPI_ADDREMPHK_CREATE Create Employee Address (Hong Kong)
    BAPI_ADDREMPHK_CREATESUCCESSOR Create subs.employee address record (Hong Kong)
    BAPI_ADDREMPHK_GETDETAIL Read employee address (Hong Kong)
    BAPI_ADDREMPHK_GETDETAILEDLIST Read instances with data (Hong Kong)
    BAPI_ADDREMPHK_REQUEST Create locked employee address record (Hong Kong)
    BAPI_ADDREMPHK_SIMULATECREATE Simulation: Create Employee Address (Hong Kong)
    PADR_ID Business Object AddressEmp (ID)
    BAPI_ADDREMPID_CHANGE ESS Address Change - Indonesia
    BAPI_ADDREMPID_CREATE ESS Address Create - Indonesia
    BAPI_ADDREMPID_CREATESUCCESSOR ESS Address Create Successor - Indonesia
    BAPI_ADDREMPID_GETDETAIL ESS Address Get Detail - Indonesia
    BAPI_ADDREMPID_GETDETAILEDLIST Read instances with data - Indonesia
    BAPI_ADDREMPID_REQUEST Create locked employee address record - Indonesia
    BAPI_ADDREMPID_SIMULATECREATIO ESS Address Simulate Creation - Indonesia
    PADR_IE Business Object AddressEmp - Ireland
    BAPI_ADDREMPIE_CREATESUCCESSOR Create subs.employee address record
    BAPI_ADDREMPIE_GETDETAILEDLIST Read instances with data
    PADR_IT HR Employee Self-Service: Address Italy
    BAPI_ADDREMPIT_CREATESUCCESSOR Create personnel number next record
    BAPI_ADDREMPIT_GETDETAILEDLIST <Currently not used>
    PADR_MY Business Object AddressEmp (MY)
    BAPI_ADDREMPMY_CHANGE ESS Address Change - Malaysia
    BAPI_ADDREMPMY_CREATE ESS Address Create - Malaysia
    BAPI_ADDREMPMY_CREATESUCCESSOR ESS Address Create Successor - Malaysia
    BAPI_ADDREMPMY_GETDETAIL ESS Address Get Detail - Malaysia
    RCP990
    BAPI_1194_REPLICATE_GR
    BAPI_1194_SAVEREP_MULTIPLE_GR
    RCP993
    BAPI_1198_REPLICATE_SR
    BAPI_1198_SAVEREP_MULTIPLE_SR
    RWCL Interface to Accounting
    BAPI_ACC_DOCUMENT_DISPLAY Accounting: Display Method for Follow-On Document Display
    BAPI_ACC_DOCUMENT_RECORD Accounting: Follow-on document numbers for source document
    SZAM BAPIs f. BOR obj. BUS4003 (AddrContPart)
    BAPI_ADDRCONTPART_SAVEREPLICA BAPI for inbound distribution of contact person addresses
    Reward points if found helpful…..
    Cheers,
    Chandra Sekhar.

  • BAPI for FRFT_B Transaction

    Hi there,
    I would like to know the BAPIs that can be used for the transactions FRFT_B ("Fast Entry with Repetitive Codes - Bank to Bank Transfer").
    Does anybody know a BAPI for this transaction?
    Thank you,
    Janete

    hi,
    To know the BAPI's for a particular transaction generally we follow the following steps.
    1. Find out the package of the transaction.
    Start FRFT_B  go to system --> status.
    Double click on transaction
    Note Package name for that particular transaction.
    Open this package in SE80
    Open business engineering-->Business object types
    Find the BO which sounds the most appropriate
    But there are no Business Objects for FRFT_B transaction.
    There is another method to find BAPIs
    Start FRFT_B go to system-->status
    Double click transaction FRFT_B
    Double click on package
    Read the application component. (this is FI-BL-PT   Payment Transactions)
    Then open the transaction BAPI
    Financial Accounting-> Bank Accounting->Payment Request-> Start Payment
    By this you can find the BAPI for a transaction.
    Hope this would be helpful for you.
    Regards,
    Supriya.
    Edited by: Supriya.ch on Jan 30, 2012 2:34 PM

Maybe you are looking for