cancel
Showing results for 
Search instead for 
Did you mean: 

Error I_STEP is unknown in BADI customer exit

Loed
Active Contributor
0 Kudos

Hi guys,

I implemented the this document..

However, I also experienced the same problem as ..Did I miss some config?


Also, do I need to enter the codes below in the INCLUDE ZXRSRU01 of FUNCTION EXIT_SAPLRRS0_001? So I need to remove all existing codes in ZXRSRU01? Is that right?

DATA: badi_glob TYPE REF TO ZBW_VAR_BADI_EXIT.

GET BADI badi_glob

  FILTERS

    zglob_var = i_vnam.

CALL BADI badi_glob ->userexit

  EXPORTING

    flt_val       = i_vnam 

    i_vnam        = i_vnam

    i_vartyp      = i_vartyp

    i_iobjnm      = i_iobjnm

    i_s_cob_pro   = i_s_cob_pro

    i_s_rkb1d     = i_s_rkb1d

    i_periv       = i_periv

    i_t_var_range = i_t_var_range

    i_step        = i_step

  CHANGING

    e_t_range     = e_t_range

    e_meeht       = e_meeht

    e_mefac       = e_mefac

    e_waers       = e_waers

    e_whfac       = e_whfac

    c_s_customer  = c_s_customer.

I also noticed that I need to use the buttons enclosed in RED BOX below to edit the codes of INCLUDE ZXRSRU01..Is this a new feature or can I switch to OLD version where I can edit directly the codes? I also tried to edit the ZXRSRU01 in SE38 but still can't edit directly the codes..

NEW SERVER (BW 7.4 on HANA)

OLD SERVER (BW 7.0)

Thank you.

Loed

Accepted Solutions (0)

Answers (4)

Answers (4)

sander_vanwilligen
Active Contributor
0 Kudos

Hi Loed,

You might want to have a look at my blog . Here I introduce a solid and convenient framework. A detailed step-by-step implementation guide can be found in document .

I suggest to give it a try. Please let me know if you have any questions re. the implementation.

Best regards,

Sander

Former Member
0 Kudos

Hi,

The issue is you have not defined I_step parameter in your variable exit code.

Please find the below screenshot which I used in our customer exit coding in BW7.4 on HANA DB environment.

Hope it will help.

Thanks

swati_gawade
Contributor
0 Kudos

Hi Loed,

When you create a BADI for the Customer Exit variables, you need to create the class and its methods.

you need to define I_step as a parameter or an attribute in this class method.

I currently do not have a system where BADI is implemented for customer exits so I am not able to send you any screenshot.

Hope this helps.

-Swati.

donnie_burhan
Participant
0 Kudos

Hi Loed,

It seems that the document you referred to is a little broad in the explanation, leaving quite some important details.

I found this document that you can refer.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9023a68f-cef9-2f10-3587-e0979adb5...

or maybe rather than making everything from the scratch, you can just make a new implementation out of RSROA_VARIABLES_EXIT_BADI.