Create Employee as a Business partner using BAPI

Hi,
    I created a business partner using the BAPI,
"BAPI_BUP_CREATE_FROM_DATA". I used this within a program. The business partner gets successfully created and gets reflected in the table BUT000. But I do not see it when I run the user exit "RPM_EMPDATA".Because of this I am not able to see the business partner inside cProjects. I am able to see the business partner inside the transaction BP. When I go into change mode and change the role (from Business partner role to Resource role),and when I save this business partner  I am able to see the details in the user exit RPM_EMPDATA. I am also able to assign this business partner to tasks in cProjects.
Message was edited by:
        Sudheendra Puthuraya

Hi sanjay,
Thanks for ur reply.
i just referred all the documents that you have mentioned in the previous suggestion.
[ID 1400877.1] - This one doesnt help me and i have rehired the employee and checked but still facing the same issue in the supplier interface.
[ID 433746.1] - This one refers to the creation supplier through forms and i have checked the same which has been mentioned in the document. Everything is fine which the front end creation too.
But am still facing the same issue.
Kindly suggest me the if the issue can be solved in someother ways.
Thanks in Advance.
Brgds
Max

Similar Messages

  • Error in creating Business Partner using FLBPD1

    Dear All,
    While creating the Business partner using tcode FLBPD1, I get the following error.
    Also I need help to understand how to start Post Processing Office.
    No business partner could be created for customer CFM0031
    Message no. CVIC_UI018
    Diagnosis
    No business partner could be created from the customer selected.
    System Response
    An error occurred when creating a business partner from the customer selected. This error prevents data from being transferred and saved. This could be due to the following:
    Fields have been left blank in the customer that are set as required entry fields for the business partner.
    Settings for assigning Customizing values for the customer to the business partner are incorrect.
    Procedure
    Start the Post Processing Office and check the error message. Make the necessary corrections.
    Regards
    Arpita

    Hello Arpita,
    I faced exactly the same issue and we had to check the entire customer/vendor master data synchronization configurations. We found that many of them were missing when we upgraded to ECC 6.0.
    I would suggest you go through the following SAP notes and check whether all configs are in place or not. Then try again.
    Note 954816, 956054 and then also 1077616.
    Hope the first two notes will be able to help you cope with the issue.
    Regards,
    Suvarghya

  • Search employee details from Business partner number input

    Dear friends
    I am searching employee details by having input as a business partner number from infotype 0000. as pernr has only 8 character in size and bp in 10 char in size. would you please tell me how we can access employee detais from business partner number.
    p.s : I am doing this in CRM system
    Business partner  ?->infotype(0000)-->?
    Any help will be appreicated.
    Regards
    Naeem

    Dear Naeem,
    as a CRM environment is not able to run at the same sytsem / client with HR, the employee data (e.g. infotype actions (IT 0000)) only is available in a scenario with ALE-distribution from a HR-system.
    In this case the employee data from HR-system will be distributed via idocs (message type HRMD_ABA) to the CRM-system and saved to databases HRP558x [x=0 - 5; 0= IT0000; 1 = IT0001; 2 = IT0002; 3 = IT0006, subtype 1; 4 = IT0009; 5 = IT0105, subtype 0005, 0010, 0020] for the central person (object type CP).
    The activated business partner integration (table T77S0, group HRALX, switch HRAC) will create / update related business partners (relation is saved within table HRP1001, subtype B207) according to the mapping of data during idoc inbound processing (active CRM implementation of a BAdI HRALE00INBOUND_IDOC processed within the function module (FM) IDOC_INPUT_HRMD (stored in table TBD52 for evcode = HRMD).
    Reading specific infotype data of a central person (databases HRP558x) will be done using the FM RH_READ_INFTY.
    Regards,
    Michael

  • New user created. How to create Central Person and Business partner

    Hi,
    I got a new users created in SRM 5.0 .how to create Central person and business partner.
    Without CP & BP we cannot work. please guide.
    Regards
    G.Ganesh Kumar

    HI GANESH
    As you aware , assign the user to organisation structure via users_gen , the system will create a BP and Central Person , Position and user for you.
    br
    muthu

  • Bank and account error when adding a business partner using DTW

    I need your help please. I am trying to add a business partner using DTW but the load fails with a message "Bank and account do not exist in the company Application-defined or object-defined error65171".
    The related fields that I am using in the business partner file (csv) are:
    AccountNo
    BankCode
    Branch
    Country
    I am sure that the bank and account exist because previously I manually added a customer with the same bank and data that I am using in the dtw interface.
    SAP-BO 2005A SP01 PL27
    Best Regards
    Jorge Manzo

    Hi,
    You may run a query first to find out what are the current data in OCRD:
    SELECT
    CardCode,
    AccountNo,
    BankCode,
    Branch,
    Country
    FROM OCRD
    Thanks,
    Gordon

  • To get Business Partner using Email Id

    Hi,
    How to get business partner using Email ID.
    Thanks in advance.
    Regards,
    Sheela

    Hi Shantha,
    There are numerous Function Modules already written to fetch data which contains details of the BP. For your requirement use the FM "BAPI_BUPA_SEARCH", pass the email address as the input and in the searchresult structure you will find the BP id.
    Regards,
    Harshit

  • Failed to create executive customer (by Business Partner)

    Forum,
    I am having problems with a recent upgrade to 8.81 PL06. On the server when the OI addon is started it prompts the template creation screen. Upon trying to create them it comes up with the error:
    Failed to create 'Executive Customer (By Business Partner)'
    This is despite being a local admin hence eliminating access rights.
    I have also followed instructions from SAP Note: 861055 - Missing Outlook Integration template however this was to no avail. I get the same error. Upon loading the 'Define Snapshot Templates' screen this is empty for the UK
    This i suspect is what is causing 'Internal Error' message when trying to send emails on clients in addition to the fact nothing is being attached to the email.
    Outlook Integration server has been reinstalled on the server too. It would seem the clients don't seem to be pick up the templates guide.
    Any assistance would be greatly appreciated.
    Regards,
    Juan

    Hi Jun,
    Have you checked this: Got an error when Outlook integration create the template
    Thanks,
    Gordon

  • Creating a business partner using data from a remote legacy system

    Hi Experts,
    I am trying to make an interface for creating a business partner in SAP CRM from customer data created in a remote legacy system. I want to map the fields in XI.
    But to create a customer I need a RFC or a BAPI or maybe an IDoc, that includes all fields for business partner creation and can create a new business partner from the data.
    I have identified an RFC that have the structure of the BDoc BUPA_MAIN. This RFC is called: CRM_BUPA_MAIN_CRM_IN
    But I am not sure if that RFC can be used for Business Partner creation.
    Can anyone tell me if that RFC can be used, or if there are other RFC's, BAPI's or IDoc's that can be used for remote creation of business partners (they have to include all fields of the Business Partner)??
    There are a few BAPI's that include some of the fields for BP creation, but making several calls to different BAPIs from XI to CRM is not an option (I thought the BAPI: BAPI_BUPA_FS_CREATE_FROM_DATA could have been used, but it lacks some of the data fields needed for creating BPs).
    Thanks in advance,
    Torsten
    Edited by: Torsten Sander on Apr 22, 2008 2:48 PM

    Hi Experts,
    I am trying to make an interface for creating a business partner in SAP CRM from customer data created in a remote legacy system. I want to map the fields in XI.
    But to create a customer I need a RFC or a BAPI or maybe an IDoc, that includes all fields for business partner creation and can create a new business partner from the data.
    I have identified an RFC that have the structure of the BDoc BUPA_MAIN. This RFC is called: CRM_BUPA_MAIN_CRM_IN
    But I am not sure if that RFC can be used for Business Partner creation.
    Can anyone tell me if that RFC can be used, or if there are other RFC's, BAPI's or IDoc's that can be used for remote creation of business partners (they have to include all fields of the Business Partner)??
    There are a few BAPI's that include some of the fields for BP creation, but making several calls to different BAPIs from XI to CRM is not an option (I thought the BAPI: BAPI_BUPA_FS_CREATE_FROM_DATA could have been used, but it lacks some of the data fields needed for creating BPs).
    Thanks in advance,
    Torsten
    Edited by: Torsten Sander on Apr 22, 2008 2:48 PM

  • Problem with creating business partner via BAPI

    Hello! I have a simple File-RFC-File scenario:
    XML-file with Firstname, Lastname and PartnerCategory. I use BAPI_BUPA_CREATE_FROM_DATA to create a partner with this data.
    It works, in target file I have a number of new business partner, but I can't find new partner in the system. Like I only tested BAPI_BUPA_CREATE_FROM_DATA in "bapi" transaction without real effect.

    Hi,
    probably you didn't comit the BAPI
    RFC adapter allows to specify comit for BAPI
    add this to your RFC channel configuration and you will see the partner
    for more info read section:
    Commit Control for Single BAPI Calls
    from
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    Regards,
    Michal Krawczyk

  • CAM_ERROR while creating a Business Partner using SD_CUSTOMER_MAINTAIN_ALL

    Hello All,
    I was trying to create a Business Partner(Ship to Party) using function module SD_CUSTOMER_MAINTAIN_ALL. When I am executing this through SE37 transaction, its working fine &
    creating a KUNNR value along with new ADRNR number.
    But when the same data is passed inside the program, its throwing CAM_ERROR(sy-subrc = 22).
    If anyone used this FM, please suggest. Thank you.

    Hello Ragu,
    I am passing the data to function module as shown below.
    *KNA1 population
                      ls_kna1-mandt = sy-mandt.
                      ls_kna1-ktokd = 'ZN02'.
                      ls_kna1-land1 = ls_adrc-country.
                      ls_kna1-name1 = ls_adrc-name1.
                      ls_kna1-name2 = ls_adrc-name2.
                      ls_kna1-ort01 = ls_adrc-city1."City
                      ls_kna1-regio = ls_adrc-po_box_reg.
                      ls_kna1-pstlz = ls_adrc-post_code1.
                      ls_kna1-sortl = ls_adrc-sort_phn.
                      ls_kna1-stras = ls_adrc-house_num1.
                      ls_kna1-spras = ls_adrc-langu.
    *BAPIADDR1 population
                      ls_bapiaddr1-name          = ls_adrc-name1.
                      ls_bapiaddr1-name_2        = ls_adrc-name2.
                      ls_bapiaddr1-city          = ch_adrc_struc-city1.
                      ls_bapiaddr1-postl_cod1    = ch_adrc_struc-post_code1.
                      ls_bapiaddr1-street        = ch_adrc_struc-street.
                      ls_bapiaddr1-house_no      = ch_adrc_struc-house_num1.
                      ls_bapiaddr1-str_suppl1    = ch_adrc_struc-str_suppl1.
                      ls_bapiaddr1-str_suppl2    = ch_adrc_struc-str_suppl2.
                      ls_bapiaddr1-location      = ch_adrc_struc-location.
                      ls_bapiaddr1-country       = ch_adrc_struc-country.
                      ls_bapiaddr1-langu         = ch_adrc_struc-langu.
                      ls_bapiaddr1-sort1         = ch_adrc_struc-sort1.
                      ls_bapiaddr1-sort2         = ch_adrc_struc-sort2.
                      ls_bapiaddr1-langu_cr      = ch_adrc_struc-langu_crea.
    *KNVV Population
                      ls_knvv-vkorg              = '1000'.
                      ls_knvv-vtweg             = '01'.
                      ls_knvv-spart               = '01'.
                        CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
                              EXPORTING
                                i_kna1                        = ls_kna1
                                i_knvv                        = ls_knvv
                                i_bapiaddr1                   = ls_bapiaddr1
                                i_maintain_address_by_kna1    = 'X'
                               i_no_bank_master_update       = 'X'
                               i_raise_no_bte                = 'X'
                                pi_postflag                   = 'X'
                               i_from_customermaster         = 'X'
                              IMPORTING
                                e_kunnr                       = lv_kunnr
                                o_kna1                        = ls_kna1_output
                              EXCEPTIONS
                                client_error                  = 1
                                kna1_incomplete               = 2
                                knb1_incomplete               = 3
                                knb5_incomplete               = 4
                                knvv_incomplete               = 5
                                kunnr_not_unique              = 6
                                sales_area_not_unique         = 7
                                sales_area_not_valid          = 8
                                insert_update_conflict        = 9
                                number_assignment_error       = 10
                                number_not_in_range           = 11
                                number_range_not_extern       = 12
                                number_range_not_intern       = 13
                                account_group_not_valid       = 14
                                parnr_invalid                 = 15
                                bank_address_invalid          = 16
                                tax_data_not_valid            = 17
                                no_authority                  = 18
                                company_code_not_unique       = 19
                                dunning_data_not_valid        = 20
                                knb1_reference_invalid        = 21
                                cam_error                     = 22
                                OTHERS                        = 23.
                            IF sy-subrc = 0.
                              EXPORT kunnr FROM lv_kunnr TO MEMORY ID 'Z_CUST_NUM'.
                              EXPORT adrnr FROM lv_adrnr TO MEMORY ID 'Z_ADDR_NUM'.
                            ENDIF.
    When I am executing this through SE37, its working perfectly. However when used in Sales Order Save exit, its throwing an error saying SY-Subrc = 22(CAM_ERROR).

  • Creating a business object using bapi

    can some one tell me how to create a business object using a bapi and is it possible to create bapi using business object.which is dependent on which one.

    >
    jayashankar wrote:
    > can some one tell me how to create a business object using a bapi and is it possible to create bapi using business object.which is dependent on which one.
    No....
    First read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]...

  • Employee Data for Business Partner

    Hi All,
    I am using BAPI_BUPA_CREATE_FROM_DATA as a Function Module in a program to create Business Partners by reading data from an Excel file.I am able to create business partners but I couldn't find the BAPI using which I can add Employee data for "Employee" role of a new Business Partner.
    Can anyone help me out in this regard.
    Kind Regards,
    Deepti

    Hi Deepti,
    You can see if the function module BAPI_BUPA_FS_EMPLOYM_ADD is more appropriate for you.
    Regards
    Venu

  • Trying to update the business partner using BAPI_BUPA_CENTRAL_CHANGE

    Hi all ,
    i am tryibg to create a function module which updates the first name, last name, email id of the business partner that i already created. the return table shows zero entries and i dont find any udate being done for the business partner if i go and check in the respective table. can some one tell me what is the problem.
    Import paramters for my function module are business partner number, first name, last name, email -d.
    FUNCTION Z_CHANGE_BP2.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(CUST_NO) TYPE  BU_PARTNER
    *"     VALUE(FIRST_NAME) TYPE  BU_NAMEP_F
    *"     VALUE(LAST_NAME) TYPE  BU_NAMEP_L
    *"     VALUE(EMAIL_ID) TYPE  AD_SMTPADR
    *"  TABLES
    *"      IT_RETURN2 STRUCTURE  ZRETURN1 OPTIONAL
    *"      IT_RETURN4 STRUCTURE  ZRETURN1 OPTIONAL
    Defining the internal tables used in BAPI BAPI_BUPA_CENTRAL_CHANGE.
    DATA: it_CENTRALDATA TYPE STANDARD TABLE OF  BAPIBUS1006_CENTRAL  WITH HEADER LINE.
    DATA: it_CENTRALDATAPERSON TYPE STANDARD TABLE OF BAPIBUS1006_CENTRAL_PERSON  WITH HEADER LINE.
    DATA: it_E_MAILDATANONADDRESS TYPE STANDARD TABLE OF  BAPIADSMTP WITH HEADER LINE.
    DATA: it_RETURN1  TYPE STANDARD TABLE OF  BAPIRET2 WITH HEADER LINE.
    DATA: it_RETURN3  TYPE STANDARD TABLE OF  BAPIRET2 WITH HEADER LINE.
    ****Values for seacrh term1, search term2 of it_CENTRALDATA
    it_CENTRALDATA-SEARCHTERM1 = FIRST_NAME.
    it_CENTRALDATA-SEARCHTERM2 = LAST_NAME.
    APPEND it_CENTRALDATA TO it_CENTRALDATA.
    first name, last name of it_CENTRALDATAPERSON
    it_CENTRALDATAPERSON-FIRSTNAME = FIRST_NAME.
    it_CENTRALDATAPERSON-LASTNAME  = LAST_NAME.
    APPEND it_CENTRALDATAPERSON TO it_CENTRALDATAPERSON.
    Value for E_MAIL of it_TELEFONDATANONADDRES-
    it_E_MAILDATANONADDRESS-E_MAIL = EMAIL_ID.
    APPEND it_E_MAILDATANONADDRESS  TO it_E_MAILDATANONADDRESS.
    Call the BAPI BAPI_BUPA_CENTRAL_CHANGE
    CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
      EXPORTING
        BUSINESSPARTNER      = CUST_NO
        CENTRALDATA               =  it_CENTRALDATA
        CENTRALDATAPERSON  = it_CENTRALDATAPERSON
      TABLES
    E_MAILDATANONADDRESS  = it_E_MAILDATANONADDRESS
        RETURN                             = it_RETURN1.
    Call Commit work
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          = 'X'
    IMPORTING
      RETURN        = it_RETURN3.
    ENDFUNCTION.

    Hi,
    Pass values to the Parameter CENTRALDATA_X   in your FM 'BAPI_BUPA_CENTRAL_CHANGE'
    Something Like:
    CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
    EXPORTING
    businesspartner = bpartner
    centraldata = centraldatadetail
    centraldataperson = centraldataperson
    CENTRALDATAORGANIZATION =
    CENTRALDATAGROUP =
    centraldata_x = centraldata_x
    centraldataperson_x = centraldataperson_x
    CENTRALDATAORGANIZATION_X =
    CENTRALDATAGROUP_X =
    TABLES
    return = return.
    Refer to:
    problem with 'BAPI_BUPA_CENTRAL_CHANGE'
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-bupa_central_change-need-help-549117

  • Create and Approve leave's either using BAPI or IDoc

    Hello Experts,
    My requirment is to create a leave from my JSP in to SAP(Employee Login), then there will be a approval process where in my manger will approve the leave from his JSP(Manager login).
    Approach 1: If I use BAPI for this approach what are the BAPI's that I can use? I have found the below BAPI's out of which 1&2's documentation say " Using these APIs can create inconsistencies in time data.Instead, use the corresponding API Methods "ManageDelete," "ManageCreation," and "ManageChange" for the Business Object BUS7007"
    1. BAPI_ABSENCE_APPROVE
    2. BAPI_ABSENCE_CREATE
    3. BAPI_PTMGRATTABS_MNGCREATION
    Approach 2: If I use IDoc what are the Idoc types and process codes for Create and Approve leave's.
    Please help...
    Thanks in Advance,
    Suma
    Edited by: Suma B on Sep 16, 2008 4:16 PM

    Hi,
    Can you please give me the details of the workflow, I will try to get info from that to levarage.
    Thanks,
    Suma

  • Hiding a field in Address tab of Business Partner Using BDT

    Hi,
    I want to Hide the title field in the Business Partner transaction, which exists in the Address Tab using BDT.
    Could you please let me know whether i need to create a custom screen for this or is there any other way where we can modify the predefined screen directly?
      Kindly help me regarding.
    Thanks and Regards,
    Gopi.

    Hi Gopinath,
    Please go through this link..,
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/35/696d360856e808e10000009b38f839/frameset.htm
    This is the introduction regarding BDT ( Business Data Toolset)
    Here you will find some information, I think it may help you.
    Cheers,
    Swamy Kunche

Maybe you are looking for

  • Basic swing question

    I just started looking at swing yesterday because I want to provide a GUI to replace a command line utility we use. I've basically finished it but have a quick question about form - I will get some literature later but would like to get a feel from t

  • How to use array of Point Class

    I use Point class as array. I already create that. However I can't access to setLocation. Ex. Point myPoint[] = new Point[10]; myPoint[0].setLocation(10, 2); It has a error. Please Explain me.

  • PSA showing Request not updated to any data target using delta

    Hi BWers, I am very new to SAP and have a IDES installed with BW. I am trying to do a simple data load from a flat file. I have managed to create a InfoPackage, but when I schedule it and then go into the data source -> manage and look at the screen

  • Fade out and in

    Sorry, I know this is basic stuff. I have learned to fade out individual tracks, but not the entire song. Help, please?

  • Sales Order Rescheduling

    Hi Gurus, please can you tell me if you see any problem to run Sales Order Rescheduling program (SDV03V02) in background during working hours, when a lot of Sales Orders, Deliveries, Goods movements are managed in the system manually and via interfac