cancel
Showing results for 
Search instead for 
Did you mean: 

users_gen -> error message: Action Canceled

Former Member
0 Kudos

Dear Friends

upload "Users" from a file (csv) through T-Code users_gen returns always the error message Action Canceled.

It is not possible to create new user in the system with this T-Code. All my efforts went into vain. Please suggest me how to handle in this case I can't create 200 User without users_gen. Do you have an idea what is the problem in this issue.

While debugging I saw how this function module returns the error message.

CALL FUNCTION 'BBP_OM_USR_CREATE_EMPLOYEE_EXT'
          EXPORTING
            is_employee_data     = ls_employee_data
            is_workplace_address = ls_workplace_address
            iv_orgunit_id        = orgunit_id
            iv_username          = username-bapibname
            iv_usr_password      = lv_usr_password
            iv_usr_email         = email_dummy-e_mail
            is_usr_defaults      = defaults.
      CATCH cx_bbp_om_internal_error.
        MESSAGE e001(bbpu_messages).
      CATCH cx_bbp_om_not_found.
        MESSAGE e001(bbpu_messages).
      CATCH cx_bbp_om_conflict.
        MESSAGE e001(bbpu_messages).
      CATCH cx_bbp_om_no_authorization.
        MESSAGE e003(bbpu_messages).
    ENDTRY.

Regards

Marco

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

then in debugging go inside the FM and see from where the error is getting raised.

Former Member
0 Kudos

I have set breakpoints through "Menü-> Breakpoint at Statement" -> Messages

All these error messages were displayed.

Which conclusion is right here allowed? I have also checked T-Code bp (business partner) he is exiting.

MESSAGE e201(r1) WITH iv_partner RAISING not_found.
MESSAGE E751 RAISING INTERVAL_NOT_FOUND WITH OBJECT SUBOBJECT
MESSAGE e368(am) RAISING duplicate_check_not_active.
MESSAGE e106(tax_txjcd) WITH im_kalsm RAISING no_ttxd.
      WHEN 1.      message_and_raise no_ttxd.
MESSAGE e201(r1) WITH i_partner RAISING not_found.    0000022886
MESSAGE e201(r1) WITH i_partner RAISING not_found.
MESSAGE e201(r1) WITH i_partner RAISING not_found.
MESSAGE e125(r11) WITH iv_partner RAISING not_found.
MESSAGE e153(r11) WITH lv_partner RAISING not_found.

Tabelle NRIV
MESSAGE E751 RAISING INTERVAL_NOT_FOUND WITH OBJECT SUBOBJECT NR_RANGE_NR TNRO-CODE
OBJECT	                                   	RP_PLAN
SUBOBJECT	                                   	01CP
NR_RANGE_NR	                                   	IN
TNRO-CODE	 

message e164 with i_reltyp raising not_found

message e165 with i_reltyp i_spras raising not_found.                                  
                   BBP001   D 

message e164 with i_reltyp raising not_found.
                  BBP002
message e165 with i_reltyp i_spras raising not_found.

MESSAGE E198 WITH IV_OBJAP RAISING NOT_FOUND.

MESSAGE E437(R11) WITH IV_OBJAP RAISING NOT_FOUND_WITH_OBJAP

message e540(r11) with i_reltyp raising not_found.

 MESSAGE e170(5w) WITH act_plvar act_otype        01 BP
  act_objid act_wegid
  RAISING no_entry_found
  ACT_OBJID	                                   	0000022886
  ACT_WEGID	                                   	BP-O/CP
  
R11 153   No BP role exists for partner &1
MESSAGE E292 WITH I_OBJAP RAISING NOT_FOUND.  
                  BUPR
                   
MESSAGE E348 WITH I_OBJAP I_ACTION RAISING NOT_FOUND.
MESSAGE e012 WITH persnumber comp_pers
                RAISING person_not_exist.                    
                  
MESSAGE e010 WITH addrnumber RAISING address_not_exist.  0000216565 ADCP

MESSAGE e286 WITH 'ADRCOMC'RAISING adrcomc_not_exist.

MESSAGE e248 WITH i_partner RAISING no_data_found
No data for BP found ---    0000022817
MESSAGE e201(r1) WITH iv_partner RAISING not_found.
 
 
   CALL FUNCTION 'BUPA_CENTRAL_EXPL_SAVE_HR'.
  CALL FUNCTION 'BUFFER_REFRESH_ALL'.
  CALL FUNCTION 'BUP_MEMORY_CENTRAL_INIT'.
  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

former_member22425
Active Participant
0 Kudos

Hello,

Kindly check the sap notes 1055921 & 1666164 here.

Best Regards,

Rahul

Former Member
0 Kudos

thx

Regards

Marco