Question on SRM bapi

Hi friends
1. In FM BBP_Partner_send(Partner id, Id of backend system) what is the signifinance of the parameters Partner id, Id of  backend system
2. Can we send bapis via Xi
Regards
Ashwini

that function module is used by the system to send Business partner data to another system.
for example , in  the case of SUS , this function module is called in EBP system to replicate (send) the vendor data to SUS , here input data is the business partner number which is to be replicated and the backend system name.
when this function module is executed system will generate new Business partner in the system where it is replicated . XI is compulsory in this case.

Similar Messages

  • How to create a document with SRM BAPIS

    Dear colleagues,
    I have a problem with SRM BAPIs. I need to insert a pdf document into a record using SAP BAPIs, This document is already in a table in a binary format
    I am trying with these BAPIs:
        1.
              CALL FUNCTION 'BAPI_SRM_DOC_CREATE'
                  EXPORTING
                    rms_id                  = rms_id
                    sps_id                  = sps_id
                    documentid              = documentid
                    description             = 'DESCRIPTION'
                    do_commit               = 'X'
                    documentid_check_unique = 'X'
                  IMPORTING
                    return                  = return
                    objectid                = objectid
                    documentclass           = documentclass
                  TABLES
                    required_properties     = required_properties.
              This BAPI is working as expected. It returns objectid for the new document.
         2. Now I'm using BAPI_RECORD_ADDELEMENT:
                 ls_doc_id-objectid = objectid.
                CLEAR: ls_sp_poid. " clear weg und ls_sp_poid clearen
                ls_sp_poid-name  = 'DOC_ID'.
                ls_sp_poid-value = ls_doc_id.
                APPEND ls_sp_poid TO lt_sp_poid.
                CLEAR: ls_doc_id.
                ls_sp_poid-name  = 'VARIANT'.
                ls_sp_poid-value = '0'.
                APPEND ls_sp_poid TO lt_sp_poid.
                CLEAR: ls_doc_id.
                ls_sp_poid-name  = 'VERSION'.
                ls_sp_poid-value = '0'.
                APPEND ls_sp_poid TO lt_sp_poid.
                ls_insertion_by_anchor-anchor = 'DECRET'.
                ls_insertion_by_anchor-parent_node_id = '5'.
                ls_insertion_by_anchor-parent_node_attr_name = 'DECRETAT'.
                ls_insertion_by_anchor-parent_node_attr_value = '40'.
              CALL FUNCTION 'BAPI_RECORD_ADDELEMENT'
                  EXPORTING
                    objectid                    = zrm_attcab_scr-phio_id
                    documentclass               = documentclass
                    sps_id                      = 'ZRM_SPS_DOCVAR'
                    anchor                      = 'DECRETS'
                    description                 = 'Descripcion'
                    store_as_new_version        = 'X' "Si X se crea vacio
    *               STACKED                     = ''
    *               DOC_CONTEXT                 =
                    element_type                = 'I'
    *                 insertion_by_anchor         = ls_insertion_by_anchor
    *                insertion_by_modelid        = insertion_by_modelid
    *               INSERTION_BY_REFERENCE_NODE =
    *              ALL_SAME_NAME_ANCHOR        = 'X'
    *               SET_ELEM_DESCR_HARD         = ' '
    *                omit_authority_check        = 'X'
                  IMPORTING
                    return                      = ls_return
                  TABLES
                    element_sp_poid             = lt_sp_poid.
    *             ELEMENT_PROPERTIES                =
    *             ELEMENT_VISIBILITY                =
             This BAPI returns an internal error
    Am I following the correct steps or am I skipping anything?
    Could anyone help me?
    Thanks in advance!!

    I have the same problem!!!
    Anyone knows?
    Thanks!

  • Mapping SRM BAPI - XCBL Purchase Order

    Hi all,
    my scenario is SRM BAPI -> XI -> supplier HTTP server.
    My customer used to run this scenario on Business Connector and it seems that SAP delivered a kind of BC add-on where this scenario was automatically configured.
    We tried to export the structures ans the mapping (java mapping + XSLT) from BC and import it in XI but until now it hasn't been very succesful.
    Does anyone know if this mapping is available in a ready-to-import-in-XI format ?
    PS : the name of the BAPI is BAPI_POEC_XML_SEND
    Thank you in advance.
    Regards,
    Julien

    Do you think it would be possible to use the Marketplace adapter ?
    Julien

  • Questions for SRM Certification - urgent pls.

    Hi Gurus,
    Could anyone pls help me with SRM questions for certification.
    [email protected]
    thanks in advance.

    Hi gurus,
    I have the following questions, can someone pl. help me to clear my doubts ?
    1. With EBP 3.0, the classic scenario is replaced with the extended classic scenario.
    My question : Is it true ?
    2. The Business Connector for exchange of data between EBP and the catalog.
    What is Business Connector ? Is Business Connector means XI ?
    3. The message types and BAPIs that are defined in the distribution model are later
    transferred to the back-end in either synchronous or asynchronous fashion,
    according to type.
    Since the Model's can ONLY be distributed from EPB to back-end and regened in back-end,
    I may come back with more questions, please help me out. .
    If anyone have any SRM Certification questions, please pass on to me @ [email protected]
    u can count on my points.
    Thank you in advance.
    regards,
    Venkatesh Srinivasan.

  • Some Question About SRM

    Hi experts!
    I am very new to SAP so I wonder if you all able to answer some of my questions and doubts here.
    1. I have attempt to upload 2 similar attachment with the same name under bid response and strangely it was successful. I wonder if there is anyway I can prevent the users from doing so? A validation Like probably an alert pop up? This is over the web interface btw.
    2. We are updating the product master from a r/3 daily by batch using XML. We will send any updates from the material and service master to the SRM to update the product master. So I wonder wat kind of FM or Bapi can i use to merge the Service and Material master into the product master? Do note tis is done daily.
    I will generously reward those who can give me something helpful. hope to hear from u all sooN!
    Cheers
    Jason Chee

    Hi Chee,
    2. If I understand yr requirement correctly, what you are looking at is delta download for matl/ service masters, which is a standard function for SRM.
    For this you need to maintain the tables as per the note 720819.
    maintain filters in R3AC1 (if required)
    create a request in R3AR2.
    and schedule this request as a background job in R3AR4 with desired frequency.
    This will update the masters in SRM periodically.
    (of course yr other settings should be as per config guide.)
    BR
    Dinesh

  • Questions about SRM PO in Classic scenario

    Hello All
    I have a number of questions about the SRM PO in classic scenario.
    1) If the Backend PO is changed in ECC i.e. if any quantity is added , can we have an approval workflow
    for the same?
    We currently have release strategies for other PO's in ECC. How do we accommodate the PO changes only?
    Our requirement is not have an approval initially once the PO is created, but only for the changes
    2) If the PO is sent as XML to the Vendor, is it possible to capture the PO response in ECC? What are the Pre-requisites
    for this to happen. Should SAP XI be required for this?
    3) In case the PO is cancelled/ reduced , does the Balance goes back to SRM sourcing cockpit?
    We are using SRM 7.0
    Regards
    Kedar

    Hi,
    1) If the Backend PO is changed in ECC i.e. if any quantity is added , can we have an approval workflow
    for the same?
    We currently have release strategies for other PO's in ECC. How do we accommodate the PO changes only?
    Our requirement is not have an approval initially once the PO is created, but only for the changes
    Sol: In ECC6.0 if the P.O is changed and release strategy is there in ECC6.0 then it follows the ECC6.0 Approval Route.
    2) If the PO is sent as XML to the Vendor, is it possible to capture the PO response in ECC? What are the Pre-requisites
    for this to happen. Should SAP XI be required for this?
    XI is mandatory
    3) In case the PO is cancelled/ reduced , does the Balance goes back to SRM sourcing cockpit.
    Once P.O is created in ECC 6.0 for the P.R in Sourcing Cockpit, cancelling/reduction will not have a updation in the sourcing cockpit in SRM.
    Eg  100 nos P.R is in SRM sourcing cockpit for which  you have createdaa P.O for 40 nos is ECC6.0
    for the remaining 60 nos PR ,you can create a P.O in ECC6.0
    Regards
    Ganesh

  • Some questions on SRM 2007

    Hi All
    As per my earlier knowledge SRM 2007 ( EBP 6.0) is going to be released in Q4 2008.
    I read some people referring to it as SRM 7.0.
    1) Is this wrong or SAP has officially changed it to SRM 7.0.
    2) What is the corresponding version for SUS ?
    3) Is MDM an absolute must for SRM 2007 , or CCM is OK?
    Regards
    Kedar
    Edited by: Kedar Ghayal on Aug 15, 2008 1:35 PM

    Hello everyone,
    I found this thread incredibly interesting.  There are frequent questions coming from clients and internally about SRM 7.0.  But there seems to be a lack of documentation (or at least itu2019s difficult to find).  The last official memo from SAP I know of is nearly a year old (Oct 2007 https://websmp203.sap-ag.de/~sapdownload/011000358700001040832007E/SRM2007Communication.pdf).  The release documentation (https://websmp208.sap-ag.de/releasestrategy) is dated Jan 2008, which states release November 2008.
    In light of this have a couple of questions:
    - Does anyone have (or know of) any documentation detailing the new functionality compared to SRM 5.0 (or SRM 4.0)?
    - Does anyone know of any more recent official communication from SAP other than those mentioned above?
    Any help gratefully received.

  • Basic questions in SRM for Workflows+need material

    Hi All,
    I have developed Workflows in SAP R3.I am very new to SRM. I have following questions -
    1. What is the use of BADI when we implement Workflow? My understanding till now is to provide all approvers to the
       Shooping Cart.That means for workflows without approval we dont need to BADI to implement.
    2. Is there any other concepts more i have to know? Like in R3 Event will be triggered with help of change doc, status mang., LIS exceptions and all through SWEC tx. is it same in R3?
       Sorry to ask very basic questions.
       Can anyone provide me step to step guide to configure SRM workflows and Cookbook for SRM?
       My Email id is [email protected]
       It will be very helpful for me.
       Thanks in advance.
       Ashwani

    Hi,
    1.All the n step workflows(where approvers are determined dynamically) in SRM can be implemented only using the BADI "BBP_WFL_APPROV_BADI".the main purpose of this BADI is to fetch the Approvers/agents for the workflow.In addition to the  n step WF,you also have no approval, 1 step and 2 step approval workflow in which the agent assignment can be done directly(no BADI reqd) and this is applicable for all types of business objects i.e. Shopping cart,Bid etc.For more details refer the foll link;
    http://help.sap.com/saphelp_srm40/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/content.htm
    2.Work flow concepts are same as in R/3.So techincally you can create your custom workflows in the same way.
    Do let me know if you need any further help.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Questions on BPS BAPI calls and PDF forms

    I will need to create a button on a BPS form and that button is supposed to call a BAPI.  One of the buttons will create a PDF of the form (using the contents of the form) and print said form to a 'default' printer.  The issue is that not all cFolder users will have an ECC logon name.  What am I to do in this instance?  Will I need to pass some type of credentials to the ECC backend in order to run this BAPI?
    Also, how can I get the contents of the form(s) to the BAPI?  I assume that I will need to create the PDF in the code of the BAPI.  Please be patient with me as this is my first time to work with cFolders and/or BPS.
    Regards,
    Davis

    Hi Davis,
    Well, if you are able to log on the BPS application (thus, a Web Interface if I'm not mistaken) then it means that some user is logged on the ABAP-side. It is either a "personal" user or a technical (common) user, that is used for anonymous access.
    You will certainly be able to track down this user with the SM04 transaction.
    You should be able to add a button to the BPS page. One idea would be to call an URL with an ICF service behind that will be able to process the parameters contained in this URL.
    It will be this very ICF service that will call the BAPI.
    Try these links
    http://help.sap.com/saphelp_nw04s/helpdata/en/55/33a83e370cc414e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ea8db790-0201-0010-af98-de15b6c1ee1a
    Hope this helps.
    Best regards,
    Guillaume

  • Basic question about SRM analytics

    Hi Experts !!
    We have implemented SRM analytics by installing BI contents (Cube and below flow and BI queries).
    Is that the only way to implement analytics ? (especially for SRM/Spend analytics)
    Or do we install some application ? if so, please share that info.
    (if you have installed by BI content, please let us know which version of BI ?)
    Thanks a lot !!
    Pratik L Patel

    Hi Pratik
    For analytical needs of ECC/SRM/eSourcing ere is a complementary analytical application for procurement analysis thats part of the Enterprise Performance Management category. The name of this application is Spend Performance Management. This is based on BW backend with a Adobe Flex frontend
    Here is the Svc Marketplace Link for the detailed documentation:
    https://websmp109.sap-ag.de/instguidesssa
    Hope that answers.
    Regards
    Rajesh

  • Question related to BAPI Call

    Hi All,
    I am using a BAPI Call to SAP in my BLS transaction. One of the action blocks in the transaction is a SQL Query which updates a Oracle table based on the SAP returned values from the previous action block. For the most part, it works fine except once in a blue moon, the values show up as 'null' when in fact I expect some values to be returned from SAP. Is there anyone out there who has faced a similar issue? What would be a quick and easy solution to this? Thanks.
    Regards,
    V M.

    Hi Venki,
    Possible response segments for CONF_CNT (in DETAIL_RETURN):
    1) That BAPI will return "000000" for counter if the confirmation was unable to be processed for some reason, but you were able to connect to SAP.  A fairly common reason is the record being locked if you run similar confirmations too close together.  It takes time for the confirmation record to be released by SAP.
    2) It will return a number "000001 or greater if the confirmation was successful (along with a confirmation number). 
    3) The circumstances where it will return an empty field are when it is unable to connect to SAP, but you should have a conditional to check for the success flag from the BAPI.  This is standard error handling when using a BAPI.  This will also leave all fields in the response segment blank. 
    4) And there is another set of circumstances which will leave the fields blank.  This is fairly unusual, but does happen when the error handling inside the BAPI runs into a situation which it can't handle.  So the BAPI crashes and never returns any information back to MII.
    You will need to decide which of these situations are causing your null data.  But put error handling in based on the Success flag for the BAPI for SAP unavailable and for a CONF_CNT = "000000" or blank.
    Good luck,
    Mike

  • Question regarding standard BAPIs used to change quotes etc.,

    Hello friends
    Are SAP BAPI calls for quote change the same for ECC and CRM?
    We are trying to get more info on standard BAPI such as BAPI_CUSTOMERQUOTATION_CHANGE.  I heard that SAP Accelerator Web Service may not work for changing quotes in CRM.
    Any feedback on comment will be highly appreciated.
    Thanks
    Ram

    Not answered. But closing to make way for new questions

  • The question about SRM URL

    Hi,My friends:
        1、when I click 'SHOP' in the homepage,the system displays "404   Not Found,The requested resource does not exist." I have configed the table"TWPURLSVR"and publish all services (program:W3_PUBLISH_SERVICES),Why?
        2、When I click 'Test service' on 'bbpsc01'with transaction"SICF",the URL display"www.hostname:port/sap/bc/gui/sap/its/bbpsc01?sap-client=700",I want to know how I can change the URL?
    Best  Regards!

    Hello,
    Use the report SIAC_PUBLISH_ALL_INTERNAL to publish the templates.
    With transaction SMICM, goto to the services and check that the entry in  table twpurlsvr corresponds to the http service.
    Rgds,
    Pierre

  • Technical Question - ITS (SRM - EBP)

    Hello,
    <b>               `if (gt_scr_itmovr_i-deliv_date[j].visible)`
                    'end'</b>
    I dont know bhtml or java; but do you know what is meant by the above lines; These lines I have taken from one HTML template EBP - SC
    gt_scr_itmovt_i-deliv_date is a date field populated from the ABAP engine; i know for sure and it has a date in it?
    Any help is appreciated.
    Thanks
    Kasee

    hi,
    The code lines refers to a IF condition for the delivery date field at the line item level.
    if (gt_scr_itmovr_i-deliv_date[j].visible)`
    (If the deliver date field is visible )
    endif.
    In the ITS screen the individulal line items are displayed in the form of array(The columns and rows in a table),hence the statement  gt_scr_itmovr_i-deliv_date<b>[j]</b>
    HTH.
    BR,
    Disha.
    Pls reward points for useful answers.

  • BAPI's in SAP SRM Module

    Hi SAP Gurus,
         Please provide me the list of BAPI's with its descriptions for SAP SRM module.
    regards,
    George.

    Hi,
    Which BAPIs are you looking for ? What's your detailed requirement ?
    Using SE37 Transaction, you cand find the BAPI Function modules.
    Search using BAPI* or META* to get all the existing SRM BAPIs.
    Meta function are generic call to external system. Depending on system kind and release, the function to call is different. The bapi that the Meta will effectly call in a backend is defined in table bbp_function_map.
    Some sample BAPIs in SRM ->
    Re: get vendor number BAPI or functional module
    Standard BAPI to pull out data from SRM 5.5
    BAPI_POEC_CREATE
    bapi_srm_doc_getlist
    BBP_VENDOR_GET_NON_BAPI
    BAPI_PCA_MASTER_CREATE
    BAPI_ORGMASTER_REPLICATE
    PCA_MASTER_CREATE
    BAPI_ORGMASTER_SAVE_ORIG_MULT
    BAPI_ORGMASTER_SAVE_REPL_MULT
    BBP_BAPI_CONF_CREATE_IN
    BBP_BAPI_CONF_RESPONSE_CRT
    BBP_BAPI_INV_RESPONSE_CRT
    BBP_BAPI_INV_SEND
    BBP_BAPI_IV_CREATE_IN
    BBP_BAPI_PCO_CREATE_IN
    BBP_BAPI_PO_SEND
    ALE_ORGMASTER_SAVE_REPL_MULT
    IDOC_INPUT_ORGMASTER
    RSO_GET_MASTER_DATA
    RSSEM_UPB_MASTER_DATA
    UPDATE_MASTER
    MASTERIDOC_CREATE_REQ_ADRMAS
    MASTERIDOC_CREATE_SMD_ADRMAS
    UPC_MASTER_DATA_MAINTAIN
    RSDPW_MASTERDATA_UPLOAD
    UPC_BW_MASTER_DATA_MAINTAIN
    UPSDL_MASTER_IDOC_CREATE
    MASTER_IDOC_CREATE_UPSMAS
    MASTER_IDOC_CREATE_UPSRCP
    BR,
    Disha.
    Do reward points for  useful answers.

Maybe you are looking for