cancel
Showing results for 
Search instead for 
Did you mean: 

Bex Customer Exit: I_STEP 2,3 are not getting called up?

Former Member
0 Kudos

Hi All,

I need a small help in BEX variable customer exit. I am trying to give an error message on what user had entered on the selection screen. I kept several breakpoints. But I understand that this particular code is calling up only when 'I_STEP = 1'. For I_STEP 2 and 3, the follwong code is not being called? I have seen so many validations happening on user entered values with error messages.. But I am not sure where I am missing?

Here is my sample code.. can any one extend the help?

  • The original requirement is to 'modify' what user had entered. But I understand that SAP is not allowing to modify what user had input.. So thought of giving a small error message.. and not able to do that also.. so I am in this Forum..

thanks,

Hari

When 'ZCATID2'.

*data : l_year1(4) type n,

  • l_year2(4) type n,

  • l_text(12).

data: l_cat(10).

*IF I_STEP <> 2.

*

*RAISE no_processing.

*

*ENDIF.

*

IF I_STEP EQ 3.

break-point.

READ TABLE I_T_VAR_RANGE WITH KEY VNAM = 'ZCATID2'

INTO LOC_VAR_RANGE .

if LOC_VAR_RANGE-LOW CP '*'.

message i999(zz) with 'Test'.

endif.

break-point.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Hari!

I think you have to look in https://websmp206.sap-ag.de/bi -> Services & Implementation -> HOW TO... Guides -> Guide List SAP BW 2.x -> How to... Verify the Variable Input !!!

Hope it helps!

(please don't forget to reward the answer !)

Bye,

Roberto

Former Member
0 Kudos

Thanks Roberto for this good document to clear my fundamentals. I think I understand the mistake on my code.

Thanks verymuch for your timely help.

Best Regards,

Hari

( I looked to give more points to you but it allwoed me only 10 points to give you.). Have a nice day!!

Answers (0)