cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Error CALL_FUNCTION_PARM_MISSING in a custom report program

mandeep_shrestha1
Participant
0 Kudos

Hi All,

I've created a custom report program to create parameters for a user in a system. I'm getting a runtime error in the code.

The code snippet as below.

I'm getting that error at line no 161. I'm not able to figure it out. Please help me to correct it.

Regards

Mandeep Shrestha

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member201275
Active Contributor
0 Kudos
former_member201275
Active Contributor
0 Kudos

Hi Mandeep,

Have you managed to fix this yet?


former_member201275
Active Contributor
0 Kudos

Hi Mandeep,

The error you are getting is exaclty what it say i.e. you are missing a Parameter for your function.

If you have a look at BAPI_USER_CREATE you will see there are 4 Parameters which are mandatory i.e. you have to pass values for these (username, logondata, password, address). You are only passing USERNAME and this is not enough.

You can do a where-used list on this function and see how it is used correctly.

Regards,

Glen.

mandeep_shrestha1
Participant
0 Kudos

Hi Glenn,

I'm not creating a user. My requirement is to add a parameter

CRM_THTMLB_IE_COMP with value 'IE8'. I've written the below set of code to achieve that. Can you please help me further.

:i_userlist,i_return,l_errorrole,lv_rows,i_error,i_final,

  l_e
,lv_rows,l_s.



 
REFRESH i_bname1.



 
IF u_name IS NOT INITIAL.

   
SELECT bname FROM usr01 INTO TABLE

    i_bname1
WHERE bname IN u_name.



   
IF sy-subrc = 0.

     
LOOP AT i_bname1 INTO wa_bname1.

        wa_userlist
-username = wa_bname1-bname.

       
APPEND wa_userlist TO i_userlist.

       
CLEAR wa_userlist.

     
ENDLOOP.

     
DESCRIBE TABLE i_bname1 LINES lv_rows.

   
ENDIF.

 
ELSE.

****get all the users****

   
CALL FUNCTION 'BAPI_USER_GETLIST'

     
EXPORTING

        max_rows       
= 0

        with_username  
= ' '

     
IMPORTING

       
ROWS            = lv_rows

     
TABLES

*       SELECTION_RANGE =

*       SELECTION_EXP   =

        userlist       
= i_userlist

       
RETURN          = i_return.



 
ENDIF.



****read the PFCG and Business Roles****

 
SELECT  *   FROM crmc_ui_profile INTO TABLE i_profile .



 
IF i_userlist IS INITIAL.

   
WRITE:'No Users'.

   
EXIT.

 
ELSE.

   
LOOP AT i_userlist INTO wa_userlist.

     
CLEAR: i_param,i_agrgrp,i_retagr,lv_pfcg.

     
"IF wa_userlist-username = 'BUILDER_B'.

     
CALL FUNCTION 'BAPI_USER_GET_DETAIL'

       
EXPORTING

          username      
= wa_userlist-username

          cache_results 
= 'X'

       
TABLES

         
PARAMETER      = i_param

*         PROFILES       =

          activitygroups
= i_agrgrp

         
RETURN         = i_retagr

*         PARAMETER1     =

       
.

     
CLEAR :wa_agrgrp,l_errorrole,wa_retparm,v_business_unit.



     
CLEAR ls_sales_org.

     
CALL FUNCTION 'Z0CR_GET_USER_DETAILS'

       
EXPORTING

          iv_username     
= wa_userlist-username

       
IMPORTING

*         EV_USER_TYPE     =

*         EV_BUGROUPID     =

          es_sales_org    
= ls_sales_org

*         EV_PARTNER_ID    =

          ev_business_unit
= v_business_unit.



     
CALL METHOD CL_CRM_ORGMAN_SERVICES=>MAP_HROBJECT_TO_R3_SALES_ORG

       
EXPORTING

          HROBJECT        
= ls_sales_org-SALES_ORG

*         dbread           =

       
IMPORTING

          VKORG           
= L_ECC

       
EXCEPTIONS

          NO_AUTHORIZATION
= 1

          NOT_FOUND       
= 2

         
OTHERS           = 3.



*CALL FUNCTION 'CRM_BUPA_SALES_AREA_TO_R3'

*  EXPORTING

*    IS_SALES_AREA            = ls_sales_org

* IMPORTING

*   EV_VKORG                 = L_ECC

**   EV_VTWEG                 =

**   EV_SPART                 =

* EXCEPTIONS

*   NO_MAPPING_DEFINED       = 1

*   R3_KEY_NOT_DEFINED       = 2

*   OTHERS                   = 3

*          .

*IF SY-SUBRC <> 0.

** Implement suitable error handling here

*ENDIF.



     
IF L_ECC = 2040 OR L_ECC = 2010 OR L_ECC = 2050 OR L_ECC = 1900.

**        loop at  i_param into wa_param  .

*            wa_param-PARID = 'CRM_THTMLB_IE_COMP' .

*            wa_param-PARVA = 'IE8'.

*            wa_param-PARTXT = 'CRM BW REPORT PARAMETER'.

*           append wa_param to i_param.

**          ENDLOOP.

*

*

*      endif.

       
CLEAR lv_flag .

****checking if the  role having prime support roles then assign the CRM_THTMLB_IE_COMP as IE8

       
CLEAR lt_role.

       
SELECT * FROM zuser_role INTO TABLE lt_role

       
FOR ALL ENTRIES IN i_agrgrp

       
WHERE pfcg_role = i_agrgrp-agr_name.

       
IF sy-subrc = 0.

          lv_flag 
= 'X'.



       
ENDIF.



       
CLEAR :lv_land.



       
SELECT SINGLE land1 INTO lv_land FROM hrp1028 WHERE

        otjid
= ls_sales_org.



       
LOOP AT i_retagr INTO wa_retagr WHERE TYPE = 'E' OR TYPE = 'A'.

          l_errorrole
= 'X'.

       
ENDLOOP.



**error records

       
IF l_errorrole EQ 'X'.

          l_e
= l_e + 1.

         
CLEAR :lv_pfcg,lv_brole.

          wa_error
-user = wa_userlist-username.

          wa_error
-pfcg = lv_pfcg .

          wa_error
-role = lv_brole .

          wa_error
-MESSAGE = wa_retparm-MESSAGE .

         
APPEND wa_error TO i_error.

         
CLEAR l_errorrole.

       
ELSE.

         
CLEAR sy-subrc.



         
CLEAR :wa_param1,lv_vlaues,wa_param.

         
READ TABLE i_param INTO wa_param1

         
WITH KEY parid = 'CRM_THTMLB_IE_COMP'.

         
IF sy-subrc <> 0.

           
CLEAR wa_paramx.

            wa_paramx
-parid = 'X'.

            wa_paramx
-parva = 'X'.

           
CLEAR :wa_paramc,i_paramc.

            wa_paramc
-parid 'CRM_THTMLB_IE_COMP'.

            wa_paramc
-parva = ' '.

           
APPEND wa_paramc TO i_paramc.

           
CALL FUNCTION 'BAPI_USER_CREATE'

             
EXPORTING

                USERNAME 
= wa_userlist-username

             
TABLES

               
PARAMETER = i_paramc

               
RETURN    = i_retparm.

         
ENDIF.

          lv_vlaues
= wa_param1-parva.

         
IF i_agrgrp IS INITIAL AND lv_vlaues IS NOT INITIAL.



           
CLEAR wa_paramx.

            wa_paramx
-parid = 'X'.

            wa_paramx
-parva = 'X'.

           
CLEAR :wa_paramc,i_paramc.

            wa_paramc
-parid 'CRM_THTMLB_IE_COMP'.

            wa_paramc
-parva = ' '.

           
APPEND wa_paramc TO i_paramc.

           
CALL FUNCTION 'BAPI_USER_CHANGE'

             
EXPORTING

                username  
= wa_userlist-username

                parameterx
= wa_paramx

*               COMPANY    =

             
TABLES

               
PARAMETER  = i_paramc

               
RETURN     = i_retparm

*               PARAMETER1 = .

             
.

           
CLEAR :wa_retparm ,l_errorrole.



           
IF i_retparm IS NOT INITIAL.

             
LOOP AT i_retparm INTO wa_retparm WHERE TYPE = 'E' OR TYPE = 'A'.

                l_errorrole
= 'X'.

             
ENDLOOP.

           
ENDIF.

**error records

           
IF l_errorrole EQ 'X'.

              l_e
= l_e + 1.

              wa_error
-user = wa_userlist-username.

              wa_error
-pfcg = lv_pfcg .

              wa_error
-role = lv_brole .

              wa_error
-MESSAGE = wa_retparm-MESSAGE .

             
APPEND wa_error TO i_error.

             
CLEAR l_errorrole.

           
ELSE.



              l_e
= l_e + 1.

              wa_error
-user = wa_userlist-username.

              wa_error
-pfcg = lv_pfcg .

              wa_error
-role = lv_brole .

              wa_error
-MESSAGE = 'No Roles assigned to User' .

             
APPEND wa_error TO i_error.

             
CLEAR l_errorrole.

           
ENDIF.

         
ENDIF.

         
IF i_agrgrp IS NOT INITIAL .



           
CLEAR lv_count.

           
LOOP AT i_agrgrp INTO wa_agrgrp WHERE agr_name CP 'L*'.

             
CLEAR wa_profile.

             
READ TABLE i_profile

             
INTO wa_profile

             
WITH KEY pfcg_role = wa_agrgrp-agr_name.

             
IF sy-subrc EQ 0 AND

              wa_profile
-profile IS NOT INITIAL.

                lv_count
= lv_count + 1.

             
ENDIF.

           
ENDLOOP.





           
IF lv_count EQ '1'.

             
LOOP AT i_agrgrp INTO wa_agrgrp WHERE agr_name CP 'L*'.

               
CLEAR :wa_profile,lv_brole,lv_pfcg.





               
IF wa_agrgrp-agr_name CP 'L*'.

                  lv_pfcg
wa_agrgrp-agr_name.

                 
READ TABLE i_profile

                 
INTO wa_profile

                 
WITH KEY

                  pfcg_role
= wa_agrgrp-agr_name.

                 
IF sy-subrc EQ 0.

**              ***fill business role

                    lv_brole
= wa_profile-profile.

                 
ELSE.

                    l_e
= l_e + 1.

                   
CLEAR lv_brole.

                    wa_error
-user = wa_userlist-username.

                    wa_error
-pfcg = lv_pfcg .

                    wa_error
-role = lv_brole .

                    wa_error
-MESSAGE = 'No Business Role for PFCG' .

                   
APPEND wa_error TO i_error.

                   
CLEAR l_errorrole.

                   
CONTINUE.

                 
ENDIF.

               
ENDIF.



               
IF lv_brole IS NOT INITIAL.

                 
CLEAR wa_paramx.

                  wa_paramx
-parid = 'X'.

                  wa_paramx
-parva = 'X'.

                 
CLEAR :wa_paramc,i_paramc.

                  wa_paramc
-parid 'CRM_THTMLB_IE_COMP'.



                 
IF lv_flag = 'X'.

                    lv_brole
=   'IE8'.

                    wa_paramc
-parva = lv_brole .

*                  CLEAR lv_flag.

                 
ELSE.

                    wa_paramc
-parva = lv_brole.

                 
ENDIF.



                 
APPEND wa_paramc TO i_paramc.

                 
CALL FUNCTION 'BAPI_USER_CHANGE'

                   
EXPORTING

                      username  
= wa_userlist-username

                      parameterx
= wa_paramx

*                     COMPANY    =

                   
TABLES

                     
PARAMETER  = i_paramc

                     
RETURN     = i_retparm

*                     PARAMETER1 = .

                   
.

                 
CLEAR :wa_retparm .

                 
IF i_retparm IS NOT INITIAL.

                   
LOOP AT i_retparm INTO wa_retparm WHERE TYPE = 'E' OR TYPE = 'A'.

                      l_errorrole
= 'X'.

                   
ENDLOOP.

                 
ENDIF.

**error records

                 
IF l_errorrole EQ 'X'.

                    l_e
= l_e + 1.

                    wa_error
-user = wa_userlist-username.

                    wa_error
-pfcg = lv_pfcg .

                    wa_error
-role = lv_brole .

                    wa_error
-MESSAGE = wa_retparm-MESSAGE .

                   
APPEND wa_error TO i_error.

                   
CLEAR l_errorrole.

                 
ELSE.

*      **success records

                    l_s
= l_s +  1 .

                    wa_final
-user = wa_userlist-username.

                    wa_final
-pfcg = lv_pfcg .

                    wa_final
-role = lv_brole .

                   
APPEND wa_final TO i_final.

                   
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

                     
EXPORTING

                       
WAIT = 'X'.

                 
ENDIF.

               
ENDIF.

             
ENDLOOP.

             
IF sy-subrc <> 0.

                l_e
= l_e + 1.

               
CLEAR :lv_pfcg,lv_brole.

                wa_error
-user = wa_userlist-username.

                wa_error
-pfcg = lv_pfcg .

                wa_error
-role = lv_brole .

                wa_error
-MESSAGE = 'No Roles Maintained' .

               
APPEND wa_error TO i_error.

               
CLEAR l_errorrole.

             
ENDIF.

           
ELSEIF lv_count = 0.

              l_e
= l_e + 1.

             
CLEAR :lv_pfcg,lv_brole.

              wa_error
-user = wa_userlist-username.

              wa_error
-pfcg = lv_pfcg .

              wa_error
-role = lv_brole .

              wa_error
-MESSAGE = 'No Roles Maintained' .

             
APPEND wa_error TO i_error.

             
CLEAR l_errorrole.



******checking for composite role for PRIME R2 NL/SW/BE******

****** Added for PRIME R2

           
ELSEIF v_business_unit = c_business_unit.

*            IF lv_land NE 'BE' OR lv_land NE 'SE' .

*            IF lv_land eq 'BE' OR lv_land eq 'SE' or lv_land eq 'NL'.

             
CLEAR lv_count1.

             
LOOP AT i_agrgrp INTO wa_agrgrp WHERE agr_name CP 'LCRMJ*'.

               
CLEAR wa_profile.

               
READ TABLE i_profile

               
INTO wa_profile

               
WITH KEY pfcg_role = wa_agrgrp-agr_name.

               
IF sy-subrc EQ 0 AND

                wa_profile
-profile IS NOT INITIAL.

                  lv_count1
= lv_count1 + 1.

               
ENDIF.

             
ENDLOOP.



             
IF lv_count1 EQ 1.

               
LOOP AT i_agrgrp INTO wa_agrgrp WHERE agr_name CP 'LCRMJ*'.

                 
CLEAR :wa_profile,lv_brole,lv_pfcg.



                 
IF wa_agrgrp-agr_name CP 'LCRMJ*'.

                    lv_pfcg
wa_agrgrp-agr_name.

                   
READ TABLE i_profile

                   
INTO wa_profile

                   
WITH KEY

                    pfcg_role
= wa_agrgrp-agr_name.

                   
IF sy-subrc EQ 0.

**              ***fill business role

                      lv_brole
= wa_profile-profile.

                   
ELSE.

                      l_e
= l_e + 1.

                     
CLEAR lv_brole.

                      wa_error
-user = wa_userlist-username.

                      wa_error
-pfcg = lv_pfcg .

                      wa_error
-role = lv_brole .

                      wa_error
-MESSAGE = 'No Business Role for PFCG' .

                     
APPEND wa_error TO i_error.

                     
CLEAR l_errorrole.

                     
CONTINUE.

                   
ENDIF.

                 
ENDIF.





                 
IF lv_brole IS NOT INITIAL.



                   
CLEAR wa_paramx.

                    wa_paramx
-parid = 'X'.

                    wa_paramx
-parva = 'X'.

                   
CLEAR :wa_paramc,i_paramc.

                    wa_paramc
-parid 'CRM_THTMLB_IE_COMP'.

                   
IF lv_flag = 'X'.

                      lv_brole
=   'IE8'.

                      wa_paramc
-parva = lv_brole.

*                      CLEAR lv_flag.

                   
ELSE.

                      wa_paramc
-parva = lv_brole.

                   
ENDIF.



*                  wa_paramc-parva = ' '.

                   
APPEND wa_paramc TO i_paramc.

                   
CALL FUNCTION 'BAPI_USER_CHANGE'

                     
EXPORTING

                        username  
= wa_userlist-username

                        parameterx
= wa_paramx

*                       COMPANY    =

                     
TABLES

                       
PARAMETER  = i_paramc

                       
RETURN     = i_retparm

*                       PARAMETER1 = .

                     
.

                   
CLEAR :wa_retparm ,l_errorrole.



                   
IF i_retparm IS NOT INITIAL.

                     
LOOP AT i_retparm INTO wa_retparm WHERE TYPE = 'E' OR TYPE = 'A'.

                        l_errorrole
= 'X'.

                     
ENDLOOP.

                   
ENDIF.

                   
IF l_errorrole EQ 'X'.

                      l_e
= l_e + 1.

                      wa_error
-user = wa_userlist-username.

                      wa_error
-pfcg = lv_pfcg .

                      wa_error
-role = lv_brole .

                      wa_error
-MESSAGE = wa_retparm-MESSAGE .

                     
APPEND wa_error TO i_error.

                     
CLEAR l_errorrole.

                   
ELSE.

*      **success records

                      l_s
= l_s +  1 .

                      wa_final
-user = wa_userlist-username.

                      wa_final
-pfcg = lv_pfcg .

                      wa_final
-role = lv_brole .

                     
APPEND wa_final TO i_final.

                     
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

                       
EXPORTING

                         
WAIT = 'X'.

                   
ENDIF.

                 
ENDIF.

               
ENDLOOP.

             
ELSE.

                l_e
= l_e + 1.

               
CLEAR :lv_pfcg,lv_brole.

                wa_error
-user = wa_userlist-username.

                wa_error
-pfcg = lv_pfcg .

                wa_error
-role = lv_brole .

                wa_error
-MESSAGE = 'Multiple Composite Roles Maintained' .

               
APPEND wa_error TO i_error.

               
CLEAR lv_count.

             
ENDIF.

*            ENDIF.



********            END OF PRIME R2 CODE FOR COMPOSITE ROLE CHECK

           
ELSE.

              l_e
= l_e + 1.

             
CLEAR :lv_pfcg,lv_brole.

              wa_error
-user = wa_userlist-username.

              wa_error
-pfcg = lv_pfcg .

              wa_error
-role = lv_brole .

              wa_error
-MESSAGE = 'Multiple Roles Maintained' .

             
APPEND wa_error TO i_error.

             
CLEAR lv_count.



           
ENDIF.



         
ELSE.

            l_e
= l_e + 1.

           
CLEAR :lv_pfcg,lv_brole,wa_error.

            wa_error
-user = wa_userlist-username.

            wa_error
-pfcg = lv_pfcg .

            wa_error
-role = lv_brole .

            wa_error
-MESSAGE = 'No Roles assigned to User' .

           
APPEND wa_error TO i_error.



         
ENDIF.

       
ENDIF.

*      ELSE.

*        EXIT.

     
ENDIF.

   
ENDLOOP.

 
ENDIF.



ENDFORM.                    " PROCESS_DATA

former_member201275
Active Contributor
0 Kudos

Hi,

You may not be creating a user, but you are calling Function Module BAPI_USER_CREATE because it is there in your code that you posted.

If you are not using this Function then comment it out and you won't get an error.

If you are using the Function then you have to use the Mandatory Parameters that are provided.

As I mentioned if you do a where used list on this Function you can see sap standard code of how this Function should be called, your code is incorrect.

Please can you post your ST22 dump here.


mandeep_shrestha1
Participant
0 Kudos

Hi Glenn,

PFB the dump.

Category          ABAP Programming Error
Runtime Errors          CALL_FUNCTION_PARM_MISSING
Except.          CX_SY_DYN_CALL_PARAM_MISSING
ABAP Program          Z0CRUPDATE_PARAMETER
Application Component          Not Assigned
Date and Time          22.09.2014    11:24:35

Short text
  Incorrect parameter with CALL FUNCTION.

What happened?
  When calling a function module, one of the parmaeters was not
  specified.
  Error in the ABAP Application Program

  The current ABAP program "Z0CRUPDATE_PARAMETER" had to be terminated because it
   has
  come across a statement that unfortunately cannot be executed.

What can you do?
  Note down which actions and inputs caused the error.


  To process the problem further, contact you SAP system
  administrator.

  Using Transaction ST22 for ABAP Dump Analysis, you can look
  at and manage termination messages, and you can also
  keep them for a long time.

Error analysis
  An exception occurred that is explained in detail below.
  The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was
   not caught in
  procedure "PROCESS_DATA" "(FORM)", nor was it propagated by a RAISING clause.
  Since the caller of the procedure could not have anticipated that the
  exception would occur, the current program is terminated.
  The reason for the exception is:
  When calling the function module "BAPI_USER_CREATE", one of the parameters
  needed according to the interface description was not specified.

  This parameter was "ADDRESS".

How to correct the error

  If the error occures in a non-modified SAP program, you may be able to
  find an interim solution in an SAP Note.
  If you have access to SAP Notes, carry out a search with the following
  keywords:

  "CALL_FUNCTION_PARM_MISSING" "CX_SY_DYN_CALL_PARAM_MISSING"
  "Z0CRUPDATE_PARAMETER" or "Z0CRUPDATE_PARAMETER_FORM"
  "PROCESS_DATA"

  If you cannot solve the problem yourself and want to send an error
  notification to SAP, include the following information:

  1. The description of the current problem (short dump)

     To save the description, choose "System->List->Save->Local File
  (Unconverted)".

  2. Corresponding system log

     Display the system log by calling transaction SM21.
     Restrict the time interval to 10 minutes before and five minutes
  after the short dump. Then choose "System->List->Save->Local File
  (Unconverted)".

  3. If the problem occurs in a problem of your own or a modified SAP
  program: The source code of the program
     In the editor, choose "Utilities->More
  Utilities->Upload/Download->Download".

  4. Details about the conditions under which the error occurred or which
  actions and input led to the error.

  The exception must either be prevented, caught within proedure
  "PROCESS_DATA" "(FORM)", or its possible occurrence must be declared in the
  RAISING clause of the procedure.
  To prevent the exception, note the following:

System environment
  SAP Release..... 731
  SAP Basis Level. 0005

  Application server... "ecd2051a"
  Network address...... "145.17.200.196"
  Operating system..... "AIX"
  Release.............. "7.1"
  Hardware type........ "00CE28064C00"
  Character length.... 16 Bits
  Pointer length....... 64 Bits
  Work process number.. 35
  Shortdump setting.... "full"

  Database server... "ecd2001a"
  Database type..... "DB6"
  Database name..... "CD2"
  Database user ID.. "SAPSR3"

  Terminal.......... "BRBSAPP21758"

  Char.set.... "C"

  SAP kernel....... 721
  created (date)... "Apr 20 2014 09:48:22"
  create on........ "AIX 1 6 00C027A54C00"
  Database version. "DB6_81 "

  Patch level. 228
  Patch text.. " "

  Database............. "DB6 09.07.*, DB6 09.08.*, DB6 10.*"
  SAP database version. 721
  Operating system..... "AIX 1 6, AIX 1 7"

  Memory consumption
  Roll.... 0
  EM...... 25138752
  Heap.... 0
  Page.... 499712
  MM Used. 2457376
  MM Free. 1729744

User and Transaction
  Client.............. 120
  User................ "SHRESTHA_M"
  Language key........ "E"
  Transaction......... "ST22 "
  Transaction ID...... "541F294F9E4B0E90E10080009111C841"

  EPP Whole Context ID.... "54071909259D0BE0E10080009111C841"
  EPP Connection ID....... 00000000000000000000000000000000
  EPP Caller Counter...... 0

  Program............. "Z0CRUPDATE_PARAMETER"
  Screen.............. "SAPMSSY0 1000"
  Screen Line......... 6
  Debugger Active..... "(TPDA)"

Information on where terminated
  Termination occurred in the ABAP program "Z0CRUPDATE_PARAMETER" - in
   "PROCESS_DATA".
  The main program was "Z0CRUPDATE_PARAMETER ".

  In the source code you have the termination point in line 162
  of the (Include) program "Z0CRUPDATE_PARAMETER_FORM".
  The termination is caused because exception "CX_SY_DYN_CALL_PARAM_MISSING"
   occurred in
  procedure "PROCESS_DATA" "(FORM)", but it was neither handled locally nor
   declared
  in the RAISING clause of its signature.

  The procedure is in program "Z0CRUPDATE_PARAMETER "; its source code begins in
   line
  12 of the (Include program "Z0CRUPDATE_PARAMETER_FORM ".

Source Code Extract (Source code has changed)

Line  SourceCde

   132          otjid = ls_sales_org.
   133
   134          LOOP AT i_retagr INTO wa_retagr WHERE TYPE = 'E' OR TYPE = 'A'.
   135            l_errorrole = 'X'.
   136          ENDLOOP.
   137
   138  **error records
   139          IF l_errorrole EQ 'X'.
   140            l_e = l_e + 1.
   141            CLEAR :lv_pfcg,lv_brole.
   142            wa_error-user = wa_userlist-username.
   143            wa_error-pfcg = lv_pfcg .
   144            wa_error-role = lv_brole .
   145            wa_error-MESSAGE = wa_retparm-MESSAGE .
   146            APPEND wa_error TO i_error.
   147            CLEAR l_errorrole.
   148          ELSE.
   149            CLEAR sy-subrc.
   150
   151            CLEAR :wa_param1,lv_vlaues,wa_param.
   152            READ TABLE i_param INTO wa_param1
   153            WITH KEY parid = 'CRM_THTMLB_IE_COMP'.
   154            IF sy-subrc <> 0.
   155              CLEAR wa_paramx.
   156              wa_paramx-parid = 'X'.
   157              wa_paramx-parva = 'X'.
   158              CLEAR :wa_paramc,i_paramc.
   159              wa_paramc-parid =  'CRM_THTMLB_IE_COMP'.
   160              wa_paramc-parva = ' '.
   161              APPEND wa_paramc TO i_paramc.
>>>>>              CALL FUNCTION 'BAPI_USER_CREATE'
   163                EXPORTING
   164                  USERNAME  = wa_userlist-username
   165                TABLES
   166                  PARAMETER = i_paramc
   167                  RETURN    = i_retparm.
   168            ENDIF.
   169            lv_vlaues = wa_param1-parva.
   170            IF i_agrgrp IS INITIAL AND lv_vlaues IS NOT INITIAL.
   171
   172              CLEAR wa_paramx.
   173              wa_paramx-parid = 'X'.
   174              wa_paramx-parva = 'X'.
   175              CLEAR :wa_paramc,i_paramc.
   176              wa_paramc-parid =  'CRM_THTMLB_IE_COMP'.
   177              wa_paramc-parva = ' '.
   178              APPEND wa_paramc TO i_paramc.
   179              CALL FUNCTION 'BAPI_USER_CHANGE'
   180                EXPORTING
   181                  username   = wa_userlist-username

Contents of system fields

Name    Val.

SY-SUBRC    4
SY-INDEX    0
SY-TABIX    0
SY-DBCNT    1
SY-FDPOS    45
SY-LSIND    0
SY-PAGNO    0
SY-LINNO    1
SY-COLNO    1
SY-PFKEY
SY-UCOMM
SY-TITLE    Report program to update BW parameter for PRIME R3 users
SY-MSGTY    I
SY-MSGID    SF
SY-MSGNO    616
SY-MSGV1    Z0CRUPDATE_PARAMETER
SY-MSGV2    RE
SY-MSGV3    EN
SY-MSGV4
SY-MODNO    0
SY-DATUM    20140922
SY-UZEIT    112357
SY-XPROG    SAPCNVE
SY-XFORM    CONVERSION_EXIT

Active Calls/Events

No.  Ty.      Program            Include       Line
   Name

     2  FORM      Z0CRUPDATE_PARAMETER            Z0CRUPDATE_PARAMETER_FORM         162
   PROCESS_DATA
     1  EVENT      Z0CRUPDATE_PARAMETER            Z0CRUPDATE_PARAMETER          35
   START-OF-SELECTION

Chosen variables

Name
  Val.

No.      2    Ty.     FORM
Name  PROCESS_DATA

SY-SUBRC
  4
  0000
  0004
  00000004
WA_PARAM1

  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
LV_VLAUES

  000000000000000000
  000000000000000000
  222222222222222222
  000000000000000000
  002000200020002000200020002000200020002000200020002000200020002000200020
WA_PARAM

  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
I_PARAM
  Table IT_77[1x196]
  \PROGRAM=Z0CRUPDATE_PARAMETER\DATA=I_PARAM
  Table reference: 36
  TABH+  0(20) = 0A00010000205570000000000000000000000000
  TABH+ 20(20) = 000000240000004D00000001000000C4FFFFFFFF
  TABH+ 40(16) = 040000000000A7B00004249403000000
  store        = 0x0A00010000205570
  ext1         = 0x0000000000000000
  shmId        = 0     (0x00000000)
  id           = 36    (0x00000024)
  label        = 77    (0x0000004D)
  fill         = 1     (0x00000001)
  leng         = 196   (0x000000C4)
  loop         = -1    (0xFFFFFFFF)
  xtyp         = TYPE#000019
  occu         = 4     (0x00000004)
  accKind      = 1     (ItAccessStandard)
  idxKind      = 0     (ItIndexNone)
  uniKind      = 2     (ItUniNo)
  keyKind      = 1     (default)
  cmpMode      = 2     (cmpSingleMcmpR)
  occu0        = 1
  stMode       = 0
  groupCntl    = 0
  rfc          = 0
  unShareable  = 0
  mightBeShared = 0
  sharedWithShmTab = 0
  isShmLockId  = 0
  isUsed       = 1
  isCtfyAble   = 1
  hasScndKeys  = 0
  hasRowId     = 0
  scndKeysOutdated = 0
  scndUniKeysOutdated = 0
  ----- Shareable Table Header Data -----
  tabi         = 0x0A000100002DDCF0
  pgHook       = 0x0000000000000000
  idxPtr       = 0x0000000000000000
  id           = 65    (0x00000041)
  shmTabhSet   = 0x0000000000000000
  refCount     = 0     (0x00000000)
  tstRefCount  = 0     (0x00000000)
  lineAdmin    = 4     (0x00000004)
  lineAlloc    = 4     (0x00000004)
  shmVersId    = 0     (0x00000000)
  shmRefCount  = 1     (0x00000001)
  rowId        = 18446744073709551615
  scndKeyAdmin = 0x0000000000000000
  CRM_UI_PROFILE      ZULCZ_ADM         CRM UI Profile
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  4545545554444422222255445544422222222245425425766666222222222222222222222222222222222222222222
  32DF59F02F69C5000000A5C3AF14D00000000032D059002F69C5000000000000000000000000000000000000000000
  00430052004D005F00550049005F00500052004F00460049004C0045002000200020002000200020005A0055004C00
%_DUMMY$$

  0000
  0000
  2222
  0000
  0020002000200020
USR01

  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
SY-REPID
  Z0CRUPDATE_PARAMETER
  0000000000000000000000000000000000000000
  0000000000000000000000000000000000000000
  5345554454554544454522222222222222222222
  A032504145F0121D545200000000000000000000
  005A003000430052005500500044004100540045005F0050004100520041004D004500540045005200200020002000
WA_PARAMX
  XX
  000
  000
  552
  880
  005800580020
WA_PARAMC
  CRM_THTMLB_IE_COMP
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  4545545444544544452222222222222222222222222222222222222222222222222222222222222222222222222222
  32DF484DC2F95F3FD00000000000000000000000000000000000000000000000000000000000000000000000000000
  00430052004D005F005400480054004D004C0042005F00490045005F0043004F004D00500020002000200020002000
I_PARAMC
  Table[initial]

WA_PARAMC-PARID
  CRM_THTMLB_IE_COMP
  00000000000000000000
  00000000000000000000
  45455454445445444522
  32DF484DC2F95F3FD000
  00430052004D005F005400480054004D004C0042005F00490045005F0043004F004D005000200020
LS_SALES_ORG
  O 50002413    2010O 50002413    2040CZK
  00000000000000000000000000000000000000000
  00000000000000000000000000000000000000000
  42333333332222333342333333332222333345422
  F05000241300002010F050002413000020403AB00
  004F00200035003000300030003200340031003300200020002000200032003000310030004F002000350030003000
WA_PARAMC-PARVA

  000000000000000000
  000000000000000000
  222222222222222222
  000000000000000000
  002000200020002000200020002000200020002000200020002000200020002000200020
I_AGRGRP
  Table IT_70[5x254]
  \PROGRAM=Z0CRUPDATE_PARAMETER\DATA=I_AGRGRP
  Table reference: 37
  TABH+  0(20) = 0A0001000013A5E0000000000000000000000000
  TABH+ 20(20) = 000000250000004600000005000000FEFFFFFFFF
  TABH+ 40(16) = 040000000000A8700004249413000000
  store        = 0x0A0001000013A5E0
  ext1         = 0x0000000000000000
  shmId        = 0     (0x00000000)
  id           = 37    (0x00000025)
  label        = 70    (0x00000046)
  fill         = 5     (0x00000005)
  leng         = 254   (0x000000FE)
  loop         = -1    (0xFFFFFFFF)
  xtyp         = TYPE#000023
  occu         = 4     (0x00000004)
  accKind      = 1     (ItAccessStandard)
  idxKind      = 0     (ItIndexNone)
  uniKind      = 2     (ItUniNo)
  keyKind      = 1     (default)
  cmpMode      = 2     (cmpSingleMcmpR)
  occu0        = 1
  stMode       = 0
  groupCntl    = 0
  rfc          = 0
  unShareable  = 0
  mightBeShared = 1
  sharedWithShmTab = 0
  isShmLockId  = 0
  isUsed       = 1
  isCtfyAble   = 1
  hasScndKeys  = 0
  hasRowId     = 0
  scndKeysOutdated = 0
  scndUniKeysOutdated = 0
  ----- Shareable Table Header Data -----
  tabi         = 0x0A00010000204E40
  pgHook       = 0x0A00010000205260
  idxPtr       = 0x0000000000000000
  id           = 60    (0x0000003C)
  shmTabhSet   = 0x0000000000000000
  refCount     = 0     (0x00000000)
  tstRefCount  = 0     (0x00000000)
  lineAdmin    = 60    (0x0000003C)
  lineAlloc    = 12    (0x0000000C)
  shmVersId    = 0     (0x00000000)
  shmRefCount  = 1     (0x00000001)
  rowId        = 18446744073709551615
  scndKeyAdmin = 0x0000000000000000

  GCRMT-GENRL_USR_ROLE          2014060599991231Global General User Role
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  4454524445455555544422222222223333333333333333466666246667662576725666222222222222222222222222
  732D4D75E2CF532F2FC5000000000020140605999912317CF21C075E521C0535202FC5000000000000000000000000
  004700430052004D0054002D00470045004E0052004C005F005500530052005F0052004F004C004500200020002000

  LCRMJ-SALES_ADMIN-CZ          2014060599991231Local Sales Admin-Czech Republic
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  4454425444554444424522222222223333333333333333466662566672466662476662567766662222222222222222
  C32DAD31C53F14D9ED3A00000000002014060599991231CF31C031C53014D9ED3A538025052C930000000000000000
  004C00430052004D004A002D00530041004C00450053005F00410044004D0049004E002D0043005A00200020002000

  LCRMT-SLS24-ADMIN_CUSTOM      2014060599991231Local Sales Admin Custom Component Access
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  4454525453324444454555442222223333333333333333466662566672466662477766246676666724666772222222
  C32D4D3C324D14D9EF3534FD0000002014060599991231CF31C031C53014D9E03534FD03FD0FE5E401335330000000
  004C00430052004D0054002D0053004C005300320034002D00410044004D0049004E005F0043005500530054004F00

  LCRMT-SLS28-SALES_REP-CZ      2014060599991231Local Sales Representative-Czech Republic
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  4454525453325444555452452222223333333333333333466662566672567767667676762476662567766662222222
  C32D4D3C328D31C53F250D3A0000002014060599991231CF31C031C5302502535E414965D3A538025052C930000000
  004C00430052004D0054002D0053004C005300320038002D00530041004C00450053005F005200450050002D004300

  LCRMT-SLS31-ADMIN-CZ          2014060599991231Local Sales Admin-Czech Republic
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  4454525453324444424522222222223333333333333333466662566672466662476662567766662222222222222222
  C32D4D3C331D14D9ED3A00000000002014060599991231CF31C031C53014D9ED3A538025052C930000000000000000
  004C00430052004D0054002D0053004C005300330031002D00410044004D0049004E002D0043005A00200020002000
I_FINAL
  Table[initial]

WA_USERLIST-USERNAME
  PTSTCZAD01
  000000000000
  000000000000
  555545443322
  04343A140100
  00500054005300540043005A004100440030003100200020
I_RETPARM
  Table[initial]

SYST-REPID
  Z0CRUPDATE_PARAMETER
  0000000000000000000000000000000000000000
  0000000000000000000000000000000000000000
  5345554454554544454522222222222222222222
  A032504145F0121D545200000000000000000000
  005A003000430052005500500044004100540045005F0050004100520041004D004500540045005200200020002000

No.      1    Ty.     EVENT
Name  START-OF-SELECTION

%_PRINT
      000                                                                                   0###
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223000
  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  0020002000200020003000300030002000200020002000200020002000200020002000200020002000200020002000

Internal notes
  The termination was triggered in function "FuncParams"
  of the SAP kernel, in line 6611 of the module
   "//bas/721_REL/src/krn/runt/abfunc.c#9".
  The internal operation just processed is "FUNC".
  Internal mode was started at 20140922112354.

Active Calls in SAP Kernel

Lines of C Stack in Kernel (Structure Differs on Each Platform)

=> 64 bit R/3 Kernel
=> 64 bit AIX Kernel
=> Heap limit      = unlimited
=> Stack limit     = unlimited
=> Core limit      = 1073741312
=> File size limit = unlimited
=> Heap address  = 0x11a39f640
=> Stack address = 0xfffffffffff4e80
=> Stack low     =  0xfffffffffff4e80
=> Stack high    =  0xffffffffffff710
=> Stack Trace:
  CTrcStack@glue4DC() at 0x1005e867c
  @22@rabax_CStackSave__Fv@AF114_100() at 0x100a9aab4
  ab_rabax() at 0x100157d40
  @22@FuncParams__FP9FUNC_INFO() at 0x1000f62f8
  ab_jfunc__Fv() at 0x100ff68dc
  ab_extri__Fv() at 0x1001e820c
  ab_run() at 0x1001ec320
  @17@dynpmcal() at 0x100127154
  @17@dynppai0() at 0x100129754
  dynprctl() at 0x10010abcc
  dynpen00() at 0x100119de0
  Thdynpen00() at 0x101f6814c
  Unknown at 0x100bebf80
  ThStart() at 0x10000eca0
  main() at 0x10000d2f4

List of ABAP programs affected

Index   Typ  Program              Group  Date  Time Size Lang.

      0   Prg  Z0CRUPDATE_PARAMETER                   0  22.09.2014  11:23:37     52224 E
      1   Prg  SAPMSSY0                   1  09.09.2011  03:02:28    111616 E
      2   Prg  SAPMSSYD                   1  27.10.2013  01:23:45     24576 E
      3   Prg  SAPFSYSCALLS                   1  17.12.2004  10:47:44      8192 E
      4   Prg  RSDBRUNT                   0  27.10.2013  01:17:51    306176 E
      5   Typ  RSSCR                   0  20.06.1997  14:06:55      5120
      6   Prg  RSDBSPBL                   0  19.02.2005  11:28:27     84992 E
      7   Prg  SAPDB__S                   0  17.12.2004  10:47:44     21504 E
      8   Typ  VARID                   0  21.04.2010  06:02:09      5120
      9   Typ  SSCRFIELDS                   0  02.05.1997  13:16:39      5120
     10   Prg  RSDBSPVA                   0  27.10.2013  01:17:51    160768 E
     11   Prg  %_CSYDB0                   0  19.02.2005  11:28:27     40960 E
     12   Typ  RSVAMEMKEY                   0  16.12.1996  19:31:50      2048
     13   Prg  RSDBSPMC                   0  16.02.2007  12:48:48     92160 E
     14   Typ  DDSHDESCR                   0  28.11.1997  16:26:30      4096
     15   Typ  SPPARAMS                   0  07.03.1997  14:48:48      2048
     16   Prg  SAPLICON                  16  15.04.2008  13:25:32     31744 E
     17   Prg  %_CICON                  16  15.04.2008  13:25:29    126976 E
     18   Typ  ICONT                   0  16.02.2007  12:48:48      2048
     19   Prg  SAPLSABE                  19  09.09.2011  02:48:41     14336 E
     20   Prg  SAPLSECU                  20  27.10.2013  01:05:35    110592 E
     21   Typ  RSSUBINFO                   0  28.01.2000  04:14:21      3072
     22   Prg  %_CRSDS                   0  19.02.2005  11:28:17     11264 E
     23   Typ  RSDSEXPR                   0  16.12.1996  19:31:30      3072
     24   Prg  SAPLDSYA                  24  09.09.2011  02:46:55     52224 E
     25   Prg  SAPFSDS1                  24  17.12.2004  10:47:44     61440 E
     26   Typ  TDCLD                   0  14.07.1998  14:53:43      5120
     27   Prg  SAPLSDOD                  27  09.09.2011  02:51:44     50176 E
     28   Typ  DOKIL                   0  07.04.1997  18:29:04      3072
     29   Prg  SAPCNVE                  29  17.12.2004  10:47:44      9216 E
     30   Prg  SAPLLANG                  30  09.09.2011  02:50:12     11264 E
     31   Typ  T002                   0  08.03.2007  14:21:52      2048
     32   Typ  RSEXFCODE                   0  18.07.1997  17:04:17      2048
     33   Prg  SAPFSPOR                   0  15.04.2008  15:34:39     16384 E
     34   Typ  RSSELINT                   0  21.02.1995  15:08:07      3072
     35   Prg  SAPLSCNT                  35  19.02.2005  11:28:30     34816 E
     36   Typ  DYCBOX                   0  04.05.1998  15:32:24      3072
     37   Prg  SAPLSVSM                  37  21.04.2010  06:13:18     33792 E
     38   Prg  SAPLSGUI                  38  21.05.2008  19:23:25    105472 E
     39   Prg  SAPLSTTM                  39  09.09.2011  02:57:08     79872 E
     40   Prg  SAPLSBDC                  40  15.04.2008  13:00:20     48128 E
     41   Prg  CL_DATAPROVIDER===============CP                  41  02.03.2005  15:37:22     57344 E
     42   Prg  SAPSHDTV                  35  27.10.2013  01:23:45     38912 E
     43   Prg  SAPFS_SECLOG                   1  27.10.2013  01:27:16     16384 E
     44   Typ  INDX                   0  29.04.1998  10:21:27      6144
     45   Typ  TSECLOG_SETTINGS                   0  27.10.2013  00:47:28      2048
     46   Prg  SAPFGUICNTL                   1  19.02.2005  11:28:11     27648 E
     47   Prg  SAPLOLEA                  47  21.04.2010  06:07:46    110592 E
     48   Prg  SAPLSFES                  48  27.10.2013  01:27:58    317440 E
     49   Prg  SAPLSPLUGIN                  49  09.09.2011  02:53:47      9216 E
     50   Typ  ARFCRDATA                   0  09.09.2011  02:37:01      6144
     51   Prg  SAPLGRFC                  51  21.04.2010  06:08:39     16384 E
     52   Typ  SWCBCONT                   0  09.09.2011  02:38:30      3072
     53   Typ  OLE_VERBS                   0  09.02.1995  13:23:37      2048
     54   Typ  OLE_PA                   0  13.01.1995  11:06:59      2048
     55   Typ  SSCRTEXTS                   0  15.08.1997  14:15:15      3072
     56   Prg  CL_GUI_PROPS_CONSUMER=========CP                  56  09.09.2011  02:49:02     34816 E
     57   Prg  SAPLTHFB                  57  09.09.2011  02:56:26    472064 E
     58   Typ  EUDB                   0  09.09.2011  02:39:19      8192
     59   Prg  %_CCNTL                  56  19.02.2005  11:28:11     17408 E
     60   Prg  CL_DYNAMIC_GUI_EXTENSIONS=====CP                  60  10.05.2010  12:54:03     44032 E
     61   Prg  CL_GUI_DATAMANAGER============CP                  61  10.05.2010  12:54:03     86016 E
     62   Prg  CL_ABAP_CHAR_UTILITIES========CP                  62  27.06.2005  10:18:44     14336 E
     63   Typ  RSVUVINT                   0  15.12.1995  16:07:46      2048
     64   Prg  RSDBSPVD                   0  09.09.2011  03:01:55    102400 E
     65   Typ  RVARI                   0  28.02.1998  12:45:14      4096
     66   Typ  RSVARIVDAT                   0  07.03.1995  13:57:58      2048
     67   Typ  USR01                   0  09.09.2011  02:39:19      4096
     68   Typ  BAPIUSNAME                   0  09.09.2011  02:37:01      2048
     69   Typ  SYST                   0  16.12.2004  20:31:11     30720
     70   Typ  BAPIAGR                   0  09.09.2011  02:38:54      3072
     71   Typ  BAPIPARAM                   0  09.09.2011  02:39:03      2048
     72   Typ  BAPIRET2                   0  13.02.1998  13:55:06      5120
     73   Prg  SAPLSU_USER                  73  09.09.2011  08:50:59    784384 E
     74   Typ  BAPICOMREM                   0  09.09.2011  02:37:00      3072
     75   Typ  BAPIADFAX                   0  09.09.2011  02:37:01      4096
     76   Typ  BAPIADPAG                   0  09.09.2011  02:37:00      4096
     77   Typ  BAPIADPRT                   0  09.09.2011  02:37:00      3072
     78   Typ  BAPIADRFC                   0  09.09.2011  02:37:01      3072
     79   Typ  BAPIADRML                   0  09.09.2011  02:38:49      4096
     80   Typ  BAPIADSMTP                   0  09.09.2011  02:37:00      4096
     81   Typ  BAPIADSSF                   0  09.09.2011  02:37:00     10240
     82   Typ  BAPIADTEL                   0  09.09.2011  02:38:44      4096
     83   Typ  BAPIADTLX                   0  09.09.2011  02:37:00      3072
     84   Typ  BAPIADTTX                   0  09.09.2011  02:37:00      3072
     85   Typ  BAPIADURI                   0  09.09.2011  02:37:29      9216
     86   Typ  BAPIADX400                   0  09.09.2011  02:37:00      9216
     87   Typ  BAPIUSEXTIDHEAD                   0  09.09.2011  02:37:01      3072
     88   Typ  BAPIUSEXTIDPART                   0  09.09.2011  02:37:01      3072
     89   Typ  BAPIGROUPS                   0  09.09.2011  02:37:29      2048
     90   Typ  BAPIPARAM1                   0  09.09.2011  02:37:01      2048
     91   Typ  BAPIPROF                   0  09.09.2011  02:37:01      2048
     92   Typ  BAPIRCVSYS                   0  09.09.2011  02:37:02      2048
     93   Typ  BAPIUCLASSSYS                   0  09.09.2011  02:37:01      3072
     94   Prg  CL_IDENTITY_PERSISTENCE=======CP                  94  09.09.2011  08:50:59     13312 E
     95   Prg  CL_SUID_MSG_BUFFER============CP                  95  09.09.2011  03:03:09     33792 E
     96   Typ  SUID_ST_BNAME                   0  09.09.2011  02:38:28      2048
     97   Prg  CL_IDENTITY_FACTORY===========CP                  97  22.09.2011  16:05:02     62464 E
     98   Prg  CL_IDENTITY===================CP                  98  11.06.2014  12:21:55   1238016 E
     99   Prg  SAPLSUGS                  99  26.10.2013  21:51:14     92160 E
    100   Prg  IF_IDENTITY===================IP                  98  09.09.2011  03:19:08     26624 E
    101   Prg  CL_IDENTITY_DB_PERSISTENCE====CP                 101  09.09.2011  08:50:59    289792 E
    102   Prg  CL_SUID_CUA===================CP                 102  09.09.2011  03:03:09     39936 E
    103   Typ  USZBVLNDRC                   0  09.09.2011  02:38:37      3072
    104   Prg  SAPLSUU6                 104  09.09.2011  02:55:42    273408 E
    105   Typ  USBAPILINK                   0  27.10.2013  00:47:29      2048
    106   Typ  USZBVLNDSC                   0  09.09.2011  02:38:37      2048
    107   Prg  CL_SUID_TOOLS=================CP                 107  27.10.2013  01:21:51    240640 E
    108   Prg  CL_SUID_NOTIFICATION_HANDLER==CP                 108  09.09.2011  03:03:09     21504 E
    109   Prg  CX_SUID_IDENTITY==============CP                 109  09.09.2011  03:11:10     19456 E
    110   Prg  CX_STATIC_CHECK===============CP                 110  27.06.2005  10:18:45     11264 E
    111   Prg  CX_ROOT=======================CP                 111  09.09.2011  03:09:03     13312 E
    112   Prg  IF_IDENTITY_DEFINITION========IP                  98  27.10.2013  01:20:10     27648 E
    113   Typ  SUID_ST_NODE_ROOT                   0  09.09.2011  02:38:28      2048
    114   Typ  SUID_ST_IDENTITY                   0  09.09.2011  02:39:31      2048
    115   Typ  SYMSG                   0  09.05.1997  12:49:35      3072
    116   Typ  USR02                   0  09.09.2011  02:32:04      9216
    117   Typ  USR21                   0  09.09.2011  02:34:51      4096
    118   Prg  CL_IDENTITY_TOOLS=============CP                 118  09.09.2011  08:50:59    120832 E
    119   Typ  SUID_ST_NODE_ROLE                   0  09.09.2011  02:38:28      3072
    120   Typ  SUID_ST_NODE_ROLE_DETAIL                   0  09.09.2011  02:38:28      2048
    121   Prg  CL_SUID_ROLE_HELPER===========CP                 121  27.10.2013  00:55:48    122880 E
    122   Typ  AGR_TEXTS                   0  09.09.2011  02:34:55      3072
    123   Typ  SUID_ST_ROLE_NAME                   0  09.09.2011  02:39:12      2048
    124   Typ  AGR_DEFINE                   0  09.09.2011  02:32:09      4096
    125   Typ  AGR_FLAGS                   0  09.09.2011  02:37:00      3072
    126   Typ  SUID_ST_NODE_PARAMETER                   0  09.09.2011  02:38:28      3072
    127   Typ  /MAC/RSS_CRM_ERP_SALES_ORG                   0  27.10.2013  06:39:02      3072
    128   Prg  SAPLZ0CR_PRIME_COMMON                 128  04.02.2014  11:41:41     15360 E
    129   Prg  /MAC/SAPLRSFG_COMMON                 129  09.09.2014  12:29:09     89088 E
    130   Prg  /MAC/RS_BADI_DEF_USR_ORG_UNIT=CP                 130  07.03.2014  14:37:21     14336 E
    131   Prg  CL_BADI_BASE==================CP                 131  21.04.2010  06:15:13     18432 E
    132   Typ  USSELMODBE                   0  09.09.2011  02:39:34      2048
    133   Prg  SAPLBP_CENTRAL_PERSON                 133  11.06.2014  12:21:20    105472 E
    134   Prg  SAPLRHS0                 134  09.09.2011  02:47:49     17408 E
    135   Prg  SAPLRHDB                 135  09.09.2011  02:47:29    335872 E
    136   Prg  MSTT77S0                 135  17.12.2004  10:47:42     11264 E
    137   Typ  T77S0                   0  07.08.1995  11:25:19      2048
    138   Typ  HRP1001                   0  05.12.1997  12:46:14      5120
    139   Typ  P1001                   0  19.01.2001  18:52:15      6144
    140   Typ  WPLOG_LONG                   0  06.12.2002  14:37:37      7168
    141   Typ  HRI1001                   0  19.01.2001  18:50:36      6144
    142   Prg  SAPLRHAC                 142  09.09.2011  02:47:14    312320 E
    143   Prg  CL_HR_SYSTEM_AUTHORITY_TRACE==CP                 143  13.06.2008  14:38:25     37888 E
    144   Prg  CL_HRBAS_EXT_RELAT_FACTORY====CP                 144  21.04.2010  06:15:15     39936 E
    145   Prg  CX_HRBAS_EXT_RELAT============CP                 145  27.06.2005  10:18:45     13312 E
    146   Prg  CL_HR_T77EV===================CP                 146  16.12.2004  20:55:59     18432 E
    147   Typ  T77EV                   0  09.09.2011  02:39:18      3072
    148   Typ  RNGE_OTYPE                   0  02.11.1999  20:28:31      2048
    149   Typ  OMATTVALRT                   0  30.01.2001  19:32:41      4096
    150   Prg  SAPLCRM_ORGMAN_REPORTING                 150  09.09.2011  04:14:55    159744 E
    151   Typ  HROBJECT                   0  07.08.1995  10:43:12      2048
    152   Typ  CRMT_EMPLOYES_OF_ORGUNIT                   0  11.10.2000  10:51:03      2048
    153   Typ  OBJEC                   0  05.12.1997  12:46:32      3072
    154   Prg  SAPLRH_STRUCTURE_GET                 154  09.09.2011  02:48:09     57344 E
    155   Typ  STRUC                   0  05.12.1997  12:46:59      6144
    156   Typ  SWHACTOR                   0  07.08.1995  10:54:18      2048
    157   Prg  SAPLRHAS                 157  09.09.2011  02:47:25    321536 E
    158   Typ  HRCHECK                   0  07.08.1995  10:42:25      2048
    159   Typ  T77UU                   0  08.08.1997  15:01:50      2048
    160   Prg  SAPLHRBAS00UTILITIES                 160  09.09.2011  02:49:42    106496 E
    161   Typ  ACT_IMP                   0  19.01.2001  18:45:09      2048
    162   Prg  CL_EXITHANDLER================CP                 162  10.05.2010  12:52:30     29696 E
    163   Prg  SAPLSEXV                 163  21.09.2011  17:09:04    131072 E
    164   Prg  CL_BADI_FLT_DATA_TRANS_AND_DB=CP                 164  10.05.2010  12:53:18     37888 E
    165   Typ  SXC_EXIT                   0  19.01.2001  18:56:38      2048
    166   Typ  T77UA                   0  12.03.2004  15:54:21      3072
    167   Typ  T77PR_WA                   0  12.03.2004  15:42:38      4096
    168   Typ  T778O                   0  09.09.2011  02:38:33      3072
    169   Typ  HRVIEW                   0  12.03.2004  15:37:32      3072
    170   Typ  T778A                   0  22.03.1996  00:05:57      2048
    171   Prg  CL_HR_MINMAXCHAR_FIELDS=======CP                 171  27.06.2005  10:18:44      9216 E
    172   Typ  T777E                   0  07.08.1995  11:17:40      2048
    173   Typ  T77AW                   0  07.08.1995  11:20:11      3072
    174   Prg  MSTT777Z                 157  17.12.2004  10:47:42     23552 E
    175   Typ  T777Z                   0  07.08.1995  11:18:38      2048
    176   Typ  TEXTBUF                   0  05.12.1997  12:47:07      3072
    177   Prg  RHUSER00                 135  27.10.2013  01:05:03     79872 E
    178   Prg  SAPLRHUS                 178  15.04.2008  13:07:32     20480 E
    179   Typ  V_USERNAME                   0  09.09.2011  04:37:16      3072
    180   Typ  HRIEXOB                   0  05.12.1997  12:46:13      3072
    181   Typ  HRCOND                   0  20.06.1997  14:06:31      2048
    182   Prg  CL_HRBAS_CONDITION============CP                 182  16.12.2004  20:55:57     26624 E
    183   Prg  CX_HRBAS_INVALID_DB_ACCESS====CP                 183  16.12.2004  20:35:26     13312 E
    184   Prg  CX_HRBAS_VIOLATED_PRECONDITIONCP                 184  12.03.2004  16:36:16     11264 E
    185   Prg  CX_HRBAS_VIOLATED_ASSERTION===CP                 185  12.03.2004  16:36:16     11264 E
    186   Prg  CX_DYNAMIC_CHECK==============CP                 186  27.06.2005  10:18:45     11264 E
    187   Prg  IF_HRBAS_EXT_RELAT_READ=======IP                 144  19.12.2005  18:37:24     14336 E
    188   Typ  HROEXIST                   0  05.12.1997  12:46:13      2048
    189   Typ  T77EO                   0  28.01.2000  04:31:23      3072
    190   Typ  RHOBJEXTRD                   0  07.04.1997  18:30:43      2048
    191   Typ  V_USEREXST                   0  09.09.2011  04:37:16      2048
    192   Prg  SAPLRHOMBUFFER                 192  09.09.2011  02:47:41    440320 E
    193   Prg  CL_HR_T77EO===================CP                 193  16.12.2004  20:55:59     13312 E
    194   Prg  MSTT77FC                 142  16.12.2004  20:31:16     10240 E
    195   Typ  T77FC                   0  26.10.1998  14:10:25      3072
    196   Typ  GDSTR                   0  05.12.1997  12:46:09      4096
    197   Prg  CL_CRM_ORGMAN_INTERFACE=======CP                 197  09.09.2011  04:24:14     27648 E
    198   Prg  CL_HR_T77S0===================CP                 198  27.08.2002  05:37:59     12288 E
    199   Prg  SAPLHRBAS00GENATTR_RUNTIME                 199  09.09.2011  02:49:39     89088 E
    200   Prg  CL_HR_GENAT_SCENARIO==========CP                 200  10.05.2010  12:53:15    102400 E
    201   Prg  CL_CRM_ORGMAN_SCENARIO_SALE===CP                 201  09.09.2011  04:24:15    169984 E
    202   Typ  OMATTREF                   0  27.08.2002  05:26:42      2048
    203   Prg  SAPLHRBAS00GENATTR_DEFINITION                 203  12.03.2004  16:42:17     28672 E
    204   Typ  HRROOTOB                   0  29.03.1996  15:49:11      2048
    205   Typ  OMATTRTREE                   0  27.08.2002  05:26:42      3072
    206   Prg  SAPLHRBAS00EXTERNAL_OBJECTS                 206  16.12.2004  20:31:18     72704 E
    207   Prg  SAPLSMO0                 207  09.09.2011  04:15:04    530432 E
    208   Typ  SMOFPARSFA                   0  09.09.2011  02:34:19      5120
    209   Typ  LINETAB                   0  28.11.1997  16:26:35      2048
    210   Typ  V_T77OMATTUS                   0  27.08.2002  05:37:08      3072
    211   Typ  HRV5551A                   0  09.09.2011  02:38:04      4096
    212   Typ  PT1222                   0  06.10.2000  17:55:22      4096
    213   Typ  OMATTVALRTX                   0  27.08.2002  05:26:42      5120
    214   Typ  PLOGI                   0  18.07.1997  17:11:41      2048
    215   Prg  CL_CRM_ORG_MANAGEMENT=========CP                 215  21.04.2010  07:54:06     55296 E
    216   Prg  SAPLCOM_ORGMAN_CB                 216  19.02.2005  11:28:28      9216 E
    217   Prg  CL_CRM_ORGMAN_SERVICES========CP                 217  21.04.2010  07:54:05    349184 E
    218   Prg  /CEM/SAPLENT_PRICE_BL                 218  21.04.2010  07:32:37    104448 E
    219   Typ  HRV1222A                   0  23.04.2001  17:22:28      5120
    220   Prg  SAPLCRM_IC_AUI_FUNC                 220  18.04.2008  21:34:21     13312 E
    221   Typ  BAPIPARAMX                   0  04.02.1998  18:32:58      2048
    222   Prg  CX_SY_DYN_CALL_PARAM_MISSING==CP                 222  12.03.2004  16:01:37     13312 E
    223   Prg  CX_SY_DYN_CALL_PARAMETER_ERRORCP                 223  27.06.2005  10:18:45     13312 E
    224   Prg  CX_SY_DYN_CALL_ERROR==========CP                 224  27.06.2005  10:18:45     12288 E
    225   Prg  CX_NO_CHECK===================CP                 225  27.06.2005  10:18:45     11264 E
    226   Prg  CX_SY_NO_HANDLER==============CP                 226  27.06.2005  10:18:45     11264 E

Directory of Application Tables

Name                Date   Time   Lngth
  Val.

Program    Z0CRUPDATE_PARAMETER

SYST                16.12.2004   20:31:11   00004612
  \0\0\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0\0\0\0\0\x0001\0-\0
SY                  .  .     :  :   00004612
  \0\0\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0\0\0\0\0\x0001\0-\0
USR01                  .  .     :  :   00000222

SSCRFIELDS                16.12.2004   20:30:43   00001708

SSCRTEXTS                  .  .     :  :   00000742


Program    RSDBRUNT

RSVUVINT                  .  .     :  :   00000094
                                                 |
VARID                  .  .     :  :   00000252


Program    SAPLICON

ICONT                  .  .     :  :   00000130


Program    SAPFSDS1

TDCLD                  .  .     :  :   00000098
  RE  DOKU  40R XX XXLIMUDOCUX ⠀XR3TRPROGX         |

Program    SAPLSDOD

DOKIL                  .  .     :  :   00000152


Program    SAPLLANG

T002                  .  .     :  :   00000010
  ES1EN|

Program    SAPFS_SECLOG

INDX                  .  .     :  :   00003104
  120%L%_SeclogExcludedCaller\0\0\0  00000000

Program    CL_GUI_PROPS_CONSUMER=========CP

EUDB                  .  .     :  :   00004068
  %C54071908259D0BE0E10080009111C841         \0\0\0

Program    SAPLRHDB

PLOGI                  .  .     :  :   00000032
     01  00000000 |

Program    MSTT77S0

T77S0                  .  .     :  :   00000046
  120OTYPEPERNRP         |

Program    SAPLRHAC

T77UA                  .  .     :  :   00000090
  120SAP*        ALL         1900010199991231  |
T778O                  .  .     :  :   00000210
  120XS          ICON_BIW_SOURCE_SYS_R3
T77FC                  .  .     :  :   00000112
  120DISP                DISP                \x0001Ā 1 0000
T77UU                  .  .     :  :   00000054
                 000000000000|

Program    CL_HR_SYSTEM_AUTHORITY_TRACE==CP

INDX                  .  .     :  :   00003104
  120PD%SA_TRACE%SHRESTHA_M  \0\0\0  00000000

Program    SAPLRHAS

T778A                  .  .     :  :   00000022
  120US_CP_O |
T77AW                  .  .     :  :   00000050
  120US_CP_O 030S A003* O  |

Program    CL_CRM_ORGMAN_SCENARIO_SALE===CP

INDX                  .  .     :  :   00003104
  120P/SALE    O 50002413    \0\0\0  00000000

ABAP Control Blocks (CONT) (Source code has changed)

Index  Name   Fl  PAR0 PAR1  PAR2  PAR3  PAR4 PAR5  PAR6 Source Code        Line

20140  1233
   426  BREL   80  0000           Z0CRUPDATE_PARAMETER_FORM             154
   427  CLEA   00  0030           Z0CRUPDATE_PARAMETER_FORM             155
   428  mlq1   02  0000 04B8  0058        Z0CRUPDATE_PARAMETER_FORM             156
   430  mlq1   02  0000 04BA  0058        Z0CRUPDATE_PARAMETER_FORM             157
   432  CLEA   00  0031           Z0CRUPDATE_PARAMETER_FORM             158
   433  CLEA   00  0028           Z0CRUPDATE_PARAMETER_FORM             158
   434  MOVL   00  0002 006E  0048        Z0CRUPDATE_PARAMETER_FORM             159
   436  MOVL   00  0002 006F  0026        Z0CRUPDATE_PARAMETER_FORM             160
   438  FUNC   00  82D7           Z0CRUPDATE_PARAMETER_FORM             162
   439  FUNC   80  0070           Z0CRUPDATE_PARAMETER_FORM             162
   440  PAR2   02  0000 002E  005D        Z0CRUPDATE_PARAMETER_FORM             162
>>>>>  FUNC   10  0005           Z0CRUPDATE_PARAMETER_FORM             162
   443  PAR2   07  0000 0030  0028        Z0CRUPDATE_PARAMETER_FORM             162
   445  PAR2   07  0000 0029  0029        Z0CRUPDATE_PARAMETER_FORM             162
   447  FUNC   FF  0000           Z0CRUPDATE_PARAMETER_FORM             162
   448  mvqk   24  0000 1688  1224        Z0CRUPDATE_PARAMETER_FORM             169
   450  CMPS   20  02DD 0026  0026        Z0CRUPDATE_PARAMETER_FORM             170
   452  BRAF   02  0003           Z0CRUPDATE_PARAMETER_FORM             170
   453  CMPS   20  02DB 0044  0044        Z0CRUPDATE_PARAMETER_FORM             170

former_member201275
Active Contributor
0 Kudos

Hi Mandeep,

In your dump it says exactly what i mentioned to you. It says:

"When calling the function module "BAPI_USER_CREATE", one of the parameters needed according to the interface description was not specified. This parameter was "ADDRESS"."

As I said in my first response there are 4 parameters that you have to use i.e. (username, logondata, password, address). At the moment you are only using 1 of these so will get this dump until you use all 4.

Have you done a where used list?