Bapi for maintaining roles

Hi all,
I have to modify role ( adding or deleting Transaction to role) through program. Do anyone knows BAPI or BADI for that which can do changes in in role.
Can we write BDC for role maintenance?
Regards,
Sandip

Hello Sandip
The following sample reports add a transaction to the role menu. However, by adding a transaction to a role usually additional "objects" are inserted into a role which require maintenance of the authorization values.
*& Report  ZUS_SDN_PFCG_ADD_TCODE
REPORT  zus_sdn_pfcg_add_tcode.
DATA:
  gs_tcodes    TYPE agr_tcodes,
  gt_tcodes    TYPE STANDARD TABLE OF agr_tcodes.
PARAMETERS:
  p_role      TYPE agr_name  DEFAULT 'Z_SDN_ROLE1',
  p_tcode     type tcode     default 'SU01'.
START-OF-SELECTION.
  CALL FUNCTION 'PRGN_1221_READ_TRANSACTIONS'
    EXPORTING
      activity_group              = p_role
*     ONLY_TRANSACTIONS           = ' '
    TABLES
      i_agr_tcodes                = gt_tcodes
*     I_AGR_SELECT                =
    EXCEPTIONS
      no_transactions_found       = 1
      OTHERS                      = 2.
  IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  READ TABLE gt_tcodes INTO gs_tcodes INDEX 1.
  gs_tcodes-tcode = p_tcode.
  APPEND gs_tcodes TO gt_tcodes.
  CALL FUNCTION 'PRGN_1221_SAVE_TRANSACTIONS'
    EXPORTING
      activity_group       = p_role
*     DISPLAY_STATUS       = 'X'
    TABLES
      i_agr_tcodes         = gt_tcodes
*     I_AGR_SELECT         =
  CALL FUNCTION 'SUPRN_PROFILE_BATCH'
    EXPORTING
      act_objid                   = p_role
*       LTEXT                       =
*       ENQUEUE                     = ' '
    EXCEPTIONS
      objid_not_found             = 1
      no_authorization            = 2
      generation_not_active       = 3
      empty_authorizations        = 4
      enqueue_failed              = 5
      not_generated               = 6
      OTHERS                      = 7.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
END-OF-SELECTION.
Regards
  Uwe

Similar Messages

  • BAPI for changing roles

    Hi guyz,
    I want to deactivate few roles for some time & for that I want to set the "Valid To" date as 'sy-datum - 1' for few roles through SU01.
    One option to do this is through BDC & other is using BAPI.
    Can somebody please tell me if there is any BAPI to do task.
    Thanks
    Ankit

    > Check this function module.
    > SUSR_USER_SURFACE_MAINT_ATTRIB & check the table agr.
    Hi Bipin,
    Is there any BAPI to Display roles for a given tcode?please reply fast.

  • BAPI for Maintain Scheduling line agreement

    Dear ABAPer,
    I am using SAP version ECC 5.0. I want to develop Change Scheduling line agreement  enhancement.
    my requirement is, any BAPI is there for the same.
    if you have any idea, please help me.
    thanx.
    with best regards,
    Velmurugan.S

    Hi ,
          Hope it helps.
    Maintenance of Scheduling Agreement Delivery Schedule Lines
    BAPI_SCHEDULE_MAINTAIN
    The BAPI_SCHEDULE_MAINTAIN is used to create or change scheduling agreement delivery schedule lines.
    The parameter PURCHASEDOCUMENT and the scheduling (delivery schedule line) data in POSCHEDULE and POSCHEDULEX are to be passed on to the interface. These three parameters are defined as mandatory.
    IMPORT
    Extensionin
    ScComponentX
    ScheduleX
    TechnicalData
    TestRun
    EXPORT
    ExpHeader
    Extensionout
    return
    Changing
    ScComponent
    Schedule
    CALL FUNCTION 'BAPI_SCHEDULE_MAINTAIN'
      EXPORTING
        PURCHASINGDOCUMENT       =
    "   TESTRUN                  =
    "   TECHNICAL_DATA           =
    " IMPORTING
    "   EXP_HEADER               =
      TABLES
        SCHEDULE                 =
        SCHEDULEX                =
    "   SC_COMPONENT             =
    "   SC_COMPONENTX            =
    "   EXTENSIONIN              =
    "   EXTENSIONOUT             =
    "   RETURN                   =
    Thanks,
    Rajesh

  • RFC FUNCTION/BAPI for derived Roles (PFCG)

    Hi all,
    I have found many RFC functions for Users and Roles management but nothing for create derived roles.
    Any idea for creating derived roles from external applications ?
    Thanks
    Andrea

    Hi Andrea,
    check the link below.
    automate update profiles by abap (without PFCG)
    Re: automate update profiles by abap (without PFCG)  ?
    Also check if this is helpful
    BAPI_JOBROLE_CLONE 
    Regards,
    SuryaD.

  • Table for maintaining roles & their  objects

    Hi,
    My requirement is to display the roles and object which are under the roles based on the username. Please tell me the table names where these roles are stored and their objects , activity and description .
    Regards,
    Ramprasad

    Hi,
    You can find the detials in the table
    " USAGR-AGR_NAME"
    or
    "AGR_USERT"
    "AGR_SELECT
    AGR_TCDTXT
    AGR_TCODE3
    AGR_TCODES
    AGR_USERS
    AGR_USERT
    AGR_1250
    Hope it helps you out
    Thanks & Regards

  • How to Assign Roles for maintaining possible agents?

    Hi all,
    I was trying to assign Roles to maintain agent assignment and I was not able to assign role to Task -> Additional data -> Agent Assignment -> Maintain -> Create agent assignment -> selected role but it's not displaying the roles available in the client.
    There is no org. structure in our client.
    So, What all settings do i need to make the roles display and select?  please let me know in detail if possible.
    Regards,
    Sateesh

    Hi,
    I haven't created any org structure or any role and there are no org structures in our client.
    To get roles displayed on search do we need to create an org structure. I don't think so.
    Is any authorization required for a user or any settings need to be made to get roles displayed when searched for roles for assigning role in maintaining agent assignment for a task.
    i even checked with basis person with his id but it is the same problem.
    As far as i know these roles are basis roles only and there are number of roles in our client but its strange it doesn't display any roles( not even a single role when i searched with  ' * ').
    please help me..
    Regards,
    sateesh

  • BAPI for fetching the list of scheduling agreements

    This is my first post in SDN Forums so pardon me if I commit a mistake.
    My question is: Is there a standard BAPI for fetching a list of scheduling agreements?
    I know that there are BAPIs for creating and maintaining scheduling agreements like BAPI_SAG_CREATE and BAPI_SAG_CHANGE and iBAPI_SAG_GETDETAIL but each of these require the scheduling agreement number. My requirement is to list out all the scheduling agreements that are present in the system.
    I found a BAPI named BAPI_DOCUMENT_GETLIST and BAPI_DOCUMENT_GETLIST2 but I'm not able to find out what documents it is able to display. If I don't specify any selection criteria, it is fetching just two records of document type DRW. No other document of any other type is fetched.
    Another BAPI that I found was BAPI_SALESORDER_GETLIST in which if I specify the Transaction group as "3" (for scheduling agreement), it fetches them but those are related to Sales orders and not purchase orders.
    So, if anyone has any info and can help me out, I would really appreciate it.
    Edited by: rkarthea on Jul 30, 2010 10:44 AM

    Hi Raj,
    As I had said earlier, I need the Scheduling agreements related to purchase orders and not sales orders. The ones in EKKO table (Doc category: L).Will this program fetch this info?
    Also, I need a Java app (that's being developed) to fetch this info, so I'm looking for a BAPI. Is there any or can this program (if it fetches the right Scheduling agreements) be called from an external Java app?

  • BAPI FOR Deleting a Schedule Line Item from EKES and EKET tables

    Dear All,
    I would like to for deleting one of the line item from EKES (Po Confirmation ) and the respective line item from the EKET(PO Schedule Line Item Table).
    Assume that am allowing the user to select the lineitem from zprogram screen and collecting the PO and Its LIne Item details in an internal table.
    Can i Use
    <b>BAPI_PO_Change</b> , if so , can anybody tell me the steps to follow to use this bapi for deleting the PO lineItems, since i m going to try BAPI for First time.
    pls help me out
    Message was edited by: Raja K.P

    Hi raja ,
    loop at iekko1.
        w_index = sy-tabix.
        item-po_item   = itemx-po_item   = iekko1-ebelp.
        item-quantity  = iekko1-mng01.
        itemx-quantity = iekko1-mng01.
        if iekko1-wamng = iekko1-wemng.
        itemx-no_more_gr = item-no_more_gr = 'X'.
        else.
        itemx-no_more_gr = item-no_more_gr = ''.
        endif.
        append item.
        append itemx.
          clear return[].
          call function 'BAPI_PO_CHANGE'
               exporting
                    purchaseorder = iekko1-ebeln
               tables
                    return        = return
                    poitem        = item
                    poitemx       = itemx.
          if return[] is initial.
          commit work and wait.
          call function 'DEQUEUE_ALL'.
    search for deletion fields which u have to mark 'X'.
    before calling  this BAPi u have to lock the PO by using ENQUEUE.
    <b>
    FU BAPI_PO_CHANGE
    Text
    Change purchase order
    Functionality
    Function module BAPI_PO_CHANGE enables you to change purchase orders. The Change method uses the technology behind the online transaction ME22N.
    Alternatively, the IDoc type PORDCH1 is available. The data from this IDoc populates the interface parameters of the function module BAPI_PO_CHANGE.
    Functionality in Detail
    Authorization
    When you create (activity 02) an Enjoy purchase order, the following authorization objects are checked:
    M_BEST_BSA (document type in PO)
    M_BEST_EKG (purchasing group in PO)
    M_BEST_EKO (purchasing organization in PO)
    M_BEST_WRK (plant in PO)
    Controlling adoption of field values via X bar
    For most tables, you can use your own parameters in the associated X bar (e.g. PoItemX) to determine whether fields are to be set initial, values inserted via the interface, or default values adopted from Customizing or master records, etc. (for example, it is not mandatory to adopt the material group from an underlying requisition - you can change it with the BAPI).
    Transfer
    Purchase order number
    The PurchaseOrder field uniquely identifies a purchase order. This field must be populated in order to carry out the Change method.
    Header data
    The header data of the Enjoy purchase order is transferred in table PoHeader.
    Item data
    The item data of the Enjoy purchase order is stored in the tables PoItem (general item data). Changes regarding quantity and delivery date are to be made in the table PoSchedule.
    Use the table PoAccount to change the account assignment information.
    Services and limits
    Changes to existing items cannot be carried out with the Change method. It is only possible to create new items.
    Conditions
    Conditions are transferred in the table PoCond; header conditions in the table PoCondHeader. A new price determination process can be initiated via the parameter CALCTYPE in the table PoItem.
    Vendor and delivery address
    The vendor address in the table PoAddrVendor and the delivery address in the table PoAddrDelivery can only be replaced by another address number that already exists in the system (table ADRC). Changes to address details can only be made using the method BAPI_ADDRESSORG_CHANGE.
    Partner roles
    You can change all partners except the partner role "vendor" via the table PoPartner.
    Export/import data
    Export/import data can be specified per item in the table PoExpImpItem. Foreign trade data can only be transferred as default data for new items. Changes to the export/import data of existing items are not possible.
    Texts
    Header and item texts can be transferred in the tables PoTextHeader and PoTextItem. Texts for services are imported in the table PoServicesText. Texts can only be replaced completely.
    Version Management
    You can make use of the Version Management facility via the table AllVersions.
    Return
    If the PO was changed successfully, the header and item tables are populated with the information from the PO.
    Return messages
    Messages are returned in the parameter Return. This also contains information as to whether interface data has been wrongly or probably wrongly (heuristical interface check) populated. If a PO has been successfully created, the PO number is also placed in the return table with the appropriate message.
    Restrictions
    With this function module, it is not possible to:
    Create subcontracting components (you can only use existing ones)
    Create configurations (you can only use existing ones)
    Change message records (table NAST) and additional message data (this data can only be determined via the message determination facility (Customizing))
    Attach documents to the purchase order
    Change foreign trade data
    Change service data
    Change or reexplode BOMs
    A firewall prevents the manipulation of data that is not changeable in Purchasing according to the business logic of the purchase order (e.g. PO number, vendor, etc.).
    PO items with an invoicing plan cannot be created or changed using the BAPIs
    In this connection, please refer to current information in Note 197958.
    To change addresses with numbers from Business Address Services (cantral address management), please use the function module BAPI_ADDRESSORG_CHANGE.
    To change variant configurations, please use the function module BAPI_UI_CHANGE. More information is available in the BAPI Explorer under the Logistics General node.
    In the case of changes that are to be made via the BAPI_PO_CHANGE, a firewall first checks whether the relevant fields are changeable. This approach follows that of the online transaction. Here it is not possible to change the vendor or the document type, for example.
    Example
    Example of changes made to a purchase order with:
    1. Change in header data
    2. Change in item
    3. Change in delivery schedule
    4. Change in account assignment
    5. Change in conditions
    6. Change in partners
    Parameter: PURCHASEORDER 4500049596
    Parameter: POHEADER
    PMNTTRMS = 0002
    PUR_GROUP = 002
    Parameter: POHEADERX
    PMNTTRMS = X
    PUR_GROUP = X
    Parameter: POITEM
    PO_ITEM = 00001
    CONF_CTRL = 0001
    Parameter: POITEMX
    PO_ITEM = 00001
    PO_ITEMX = X
    CONF_CTRL =  X
    Parameter: POSCHEDULE
    PO_ITEM = 00001
    SCHED_LINE = 0001
    QUANTITY = 10.000
    PO_ITEM = 00001
    SCHED_LINE = 0003
    DELETE_IND =  X
    Parameter: POSCHEDULEX
    PO_ITEM =  00001
    SCHED_LINE =  0001
    PO_ITEMX =  X
    SCHED_LINEX =  X
    QUANTITY =  X
    PO_ITEM =  00001
    SCHED_LINE =  0003
    PO_ITEMX =  X
    SCHED_LINEX =  X
    DELETE_IND = X
    Parameter: POACCOUNT
    PO_ITEM = 00001
    SERIAL_NO = 01
    GL_ACCOUNT = 0000400020
    Parameter: POACCOUNTX
    PO_ITEM = 00001
    SERIAL_NO = 01
    PO_ITEMX = X
    SERIAL_NOX = X
    GL_ACCOUNT = X
    Parameter: POCOND
    ITM_NUMBER = 000001
    COND_TYPE = RA02
    COND_VALUE = 2.110000000
    CURRENCY = %
    CHANGE_ID = U
    Parameter: POCONDX
    ITM_NUMBER = 000001
    COND_ST_NO = 001
    ITM_NUMBERX = X
    COND_ST_NOX = X
    COND_TYPE = X
    COND_VALUE = X
    CURRENCY = X
    CHANGE_ID = X
    Parameter: POPARTNER
    PARTNERDESC =  GS
    LANGU =  EN
    BUSPARTNO = 0000001000
    Help in the Case of Problems
    1. Note 197958 lists answers to frequently asked questions (FAQs). (Note 499626 contains answers to FAQs relating to External Services Management.)
    2. If you have detected an error in the function of a BAPI, kindly create a reproducible example in the test data directory in the Function Builder (transaction code SE37). Note 375886 tells you how to do this.
    3. If the problem persists, please create a Customer Problem Message for the componente MM-PUR-PO-BAPI, and document the reproducible example where necessary.
    Customer Enhancements
    The following user exits (function modules) are available for the BAPI BAPI_PO_CREATE1:
    EXIT_SAPL2012_001 (at start of BAPI)
    EXIT_SAPL2012_003 (at end of BAPI)
    The following user exits (function modules) are available for the BAPI BAPI BAPI_PO_CHANGE:
    EXIT_SAPL2012_002 (at start of BAPI)
    EXIT_SAPL2012_004 (at end of BAPI)
    These exits belong to the enhancement SAPL2012 (see also transaction codes SMOD and CMOD).
    There is also the option of populating customer-specific fields for header, item, or account assignment data via the parameter EXTENSIONIN.
    Further Information
    1. Note 197958 contains up-to-date information on the purchase order BAPIs.
    2. If you test the BAPIs BAPI_PO_CREATE1 or BAPI_PO_CHANGE in the Function Builder (transaction code SE37), no database updates will be carried out. If you need this function, please take a look at Note 420646.
    3. The BAPI BAPI_PO_GETDETAIL serves to read the details of a purchase order. The BAPI cannot read all details (e.g. conditions). However, you can use the BAPI BAPI_PO_CHANGE for this purpose if only the document number is populated and the initiator has change authorizations for purchase orders.
    4. Frequently used BAPIs for purchase orders are BAPI_PO_CREATE, BAPI_PO_CREATE1, BAPI_PO_CHANGE, BAPI_PO_GETDETAIL, BAPI_PO_GETITEMS, BAPI_PO_GETITEMSREL, and BAPI_PO_GETRELINFO.
    5. For more information on purchase orders, refer to the SAP library (under MM Purchasing -> Purchase Orders) or the Help for the Enjoy Purchase Order, or choose the path Tools -> ABAP Workbench -> Overview -> BAPI Explorer from the SAP menu.
    Parameters
    PURCHASEORDER
    POHEADER
    POHEADERX
    POADDRVENDOR
    TESTRUN
    MEMORY_UNCOMPLETE
    MEMORY_COMPLETE
    POEXPIMPHEADER
    POEXPIMPHEADERX
    VERSIONS
    NO_MESSAGING
    NO_MESSAGE_REQ
    NO_AUTHORITY
    NO_PRICE_FROM_PO
    EXPHEADER
    EXPPOEXPIMPHEADER
    RETURN
    POITEM
    POITEMX
    POADDRDELIVERY
    POSCHEDULE
    POSCHEDULEX
    POACCOUNT
    POACCOUNTPROFITSEGMENT
    POACCOUNTX
    POCONDHEADER
    POCONDHEADERX
    POCOND
    POCONDX
    POLIMITS
    POCONTRACTLIMITS
    POSERVICES
    POSRVACCESSVALUES
    POSERVICESTEXT
    EXTENSIONIN
    EXTENSIONOUT
    POEXPIMPITEM
    POEXPIMPITEMX
    POTEXTHEADER
    POTEXTITEM
    ALLVERSIONS
    POPARTNER
    Exceptions
    Function Group
    2012
    </b>
    regards
    prabhu
    Message was edited by: Prabhu Peram

  • BAPI for Creating a PM order(iw34) with reference to a Notification

    Hi All,
    Could anyone help to find the BAPI for creating a PM order with reference to a notification Number.
    I will explain my requirement :
    I want to create a notification from an external Application where i got the BAPI BAPI_ALM_NOTIF_CREATE and keeping this created notification number as Referece or for this notification number  i need a create a PM order.Usually this process in done transaction IW34 in R/3.
    But with the BAPI BAPI_ALM_ORDER_MAINTAIN i can create a PM order but this BAPI doesn't have a input parameter "Notification number ".So i can't use this BAPI.
    Could any suggest for a BAPI where i can create a PM order with reference to a Notification Number.
    Regards,
    Sid

    Hi,
    I have tried with the FM CO_IH_ORDER_GENER_2 but when i executes it gives a error message
    "<i>Service/maintenance order type PM02 not completely maintained in plant
    Message no. IW216
    Diagnosis
    For the selected order type and plant, no check control is maintained in Plant Maintenance/Service in 'Availability Check for Materials, PRTs and Capacities'.
    Procedure
    A check control must be maintained for this combination of order type and plant</i>"".
    And even have a doubt what to enter in this input parameter "GEWRK_OBJTYP"  .
    Kindly help me to solve this issue.
    Regards,
    Sid

  • Link is not working for one role. how to check please guide.

    Hi Expert,
    I have a simple question but as don;t aware of some of the techincal area not able to understand where to check.
    I have a link under document flow in offer( opportunity) where for one role sales support user the link is not happening. I have checked for other role its working fine.I understand that for this role the link  will not work as per the role maintianed.
    But where this link got maintained and how i will be able to check which link is tagged to which profile.
    rolewise mappeing with link.
    Please guide.
    Prem.

    Hello Prem,
    Please check the navigation bar profile from your business role.
    Then go to the navigation bar profile settings, you can find the details settings there.
    If it is a link under some work center, you need to start from the work center.
    If it is a direct link, then start from the derect link group.
    Hope this could be helpful.
    Best regards,
    'Maggie

  • Can u tell me any predefined BAPI for change and creation of Material

    Hi,
        Can anybody tell me  predefined BAPI for change and creation of Materialmasterand Pricing?
    Thanks & regards,
    Gopianne.

    you can use the BAPI to BAPI_MATERIAL_SAVEDATA create as well as to change material master.
    When changing material master data, you need enter only the material
    number.
    In the header data, you must select at least one view for which data is
    to be created. Depending on the view selected, you must maintain other
    required parameters. If you do not enter values for all of the required
    parameters, the method is ended with an error message.
    The corresponding fields in the tables (such as CLIENTDATA) must first
    be supplied with data by the calling program. An indicator must also be
    set for each of these fields so that the data is written to the database
    by the method. This requires the calling program to supply the
    corresponding field with the indicator in a checkbox table (for example,
    CLIENTDATAX). Checkbox tables exist for tables that do not contain any
    language-dependent texts (MAKT, MLTX), International Article Numbers
    (MEAN), or tax classifications (MLAN). Several data records for a
    material can be created in these tables.
    regards
    vivek
    reward points if it helps

  • Need information on BAPI for Sales Process ?

    Hello SAP folks,
    I am currently involved in Consumer Portal integration with SAP System. I need information about the right kind of BAPI that would help me to enter and retrieve data from SAP database. I have noted down following funtionality in Sales And Distribution areas where i require a BAPI :
    1. Account Management -- > There are concept of Sales rep, Dealer on the consumer Portal. My question is -- > Could anyone suggest some BAPI for creation of User ID for Sales rep and Dealer as well i need information on the BAPI which would also help me displaying the data from SAP database. As far i know, in Customer Master record, we maintain Contact person and Buiness Partners. So how to take up these development into consideration ???
    2. Mulitple Credit Card Management --> Please suggest the BAPI for meeting this functionality at Sales order level.
    3. Customer Inclusion/Exclusion --> Here the basic need is exclude certain customer from availabling some product. Please suggest the BAPI for this operation.
    Regards,
    Sarthak

    Dear Sarthak M,
               Assume you have gone through the transaction BAPI,
    where you can find all relevant BAPI's .
    select the relevant text such as "sales orders" - from the right side of the screen - check "Tools" tab,where you will find "Create BAPI list", click to search for the Function moduels.

  • Function Module not working for old Role

    Dears
    Function Module not working for old Role
    Function Module: /VIRSA/BAPI_AE_USERS_FOR_ROLES
    Before EHP4 upgrade this functional module working fine, but after updated users are not visible.
    We have chekced if the users are assigned directly users are visible but indirect (Position Based) assignment users are not apprearing.
    Pl check the fucntion module with given roles below and identify the root cause,
    EP_TRVL_ALL_CAB     - Old Role
    EP_TRN_TRVL_DRGC_V2 - New Role
    Regards
    Krishna Mohan CH
    9704500717

    Krishna,
    I do not think this BAPI is meant to be called by anyone but the application using it, and its functionality may therefore change without notice.
    What are you trying to achieve? Maybe there's a better way to do that...
    Frank.

  • BAPI for customer Block/Unblock through transaction code : XD05

    Hi Gurus,
    I want to block/unblock customer sales areas(Transaction code : XD05) through program. Could you please suggest any BAPI for the same. As writing BDC will not be a good choice.
    Please help.
    Thanks,
    Bhupender

    Hello Bhupender,
    the best and easies solution is the MASS maintenance transaction as proposed above.
    For the BAPI question, sorry but there is NO BAPI to maintain a customer master data.
    The function module provided by my predecessor, even if it has the perfect look like is definitively not the one to use.
    Despite the name, this FM is designed to support only the maintenance of CONSUMERs.
    Moreover it is not an RFC enabled function module.
    It might work in your case, as the data to maintain is quite simple and limited but you still may face several troubles like NO change documents and change pointers created and/or no synchronisation with TREX, CRM, ...
    There is also a BAPI with a nice name, but in fact it is designed to be used only with SAP Online Store and SAP Product Catalog.
    The only reliable path for investigation is described within [note 384462|https://service.sap.com/sap/support/notes/384462].
    A other path for investigation is the class CMD_EI_API which has been introduced with ECC 2005 (6.00).
    You could wrap method MAINTAIN_BAPI inside of a bapi function module you would have written.
    Otherwise, but still with limited functionality there are some eSOA webservices to find, read, maintain customer master data.
    Hope this helps.
    BR
    Alain

  • BAPI for shipment

    Hi Experts,
    My requirement is :
    *for export ocean there is scenario like orders getting attached to a shipment, this shipment is the container shipment and shipment type is Z070
    u2022     Similiarly there will many container shipments created, now all these container shipments will be then added to a big shipment and the big shipment is called as ocean shipment, type is Z075
    u2022     There is an entity in ocean export scenario called as FF (FREIGHT FORWARDER) . In the system FF is a number maintained as partner function against partner TF
    u2022     FF will be maintained in sales order under partner tab.
    u2022     Now FF which is available in sales order have to be copied to container shipment in partner function--vt02
    u2022     Now all these container shipments will be attached to ocean shipment, so the FF of the first container shipment will be copied to partner profile of ocean shipment.
    Can anybody suggest BAPI for the above requirement.
    Thanks in advance.

    Please check this mght help you..
    BAPI_SHIPMENT_CREATE
    Also check the below link
    Re: Bapi or Functional Module for shipment!!
    Try to test the bapi in se37 with required input you have..
    Regards
    Satish Boguda

Maybe you are looking for

  • Photo File Names Reset After Every Synch with iPhoto

    I have iPhone 3GS running iOS 4.0.1 This only started happening in the last couple weeks: every time I synch-and-delete my photos with iPhoto (6.0.6), it resets the "file name" counter on the photos I take on the phone. I've been using this version o

  • ADF BC Binds too many parameters

    This has to be something simple. There's only one bind parameter (nullable), and one View criteria...but for some reason, ADF BC wants to bind 3 parms and it blows up. Anyone have any insight as to where the 3rd is coming from? [665] ViewObjectImpl.c

  • Dependent Characteristic specs in routing

    Hello all, Some of our materials are subjected for in-process inspection. The lower, upper and target values differs for the different customers. I know the procedure of dependent characteristic specs and I am using that in inspection plan already. B

  • Speed of iPhoto 6 on PowerPC chip

    I watched the demo Jobs gave at MacWorld with iPhoto and wondered how fast the program runs on the last gen iMac with the PowerPC chip running Tiger. Has anyone installed this yet on the above setup? Problems installing? Problems running? Bugs? Speed

  • Premiere CS3 and  HD Camcorder

    I am working with a school that wants to purchase an HD Camcorder.  They want to create DVD's and BluRay disks.  What would be the minimum configuration of the computer that they are also going to purchase?