cancel
Showing results for 
Search instead for 
Did you mean: 

customer exit - variable hide

ccc_ccc
Active Contributor
0 Kudos
60

Hi Experts,

Advance Thanks, pls follow my problem.

I have two infoobjects and two variables like 1) 0InObj1 2) 0InoObj2 and YVAR1 and YVAR2 respectivly both are variable represent type is Cutomer Exit.

Now my questions is when my report executed, the two variables are ready for access values from the user. suppose if user enter values in YVAR1 the second variable YVAR2 should no allow to the user to enter value. and vise versa. how will we do this.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nanda,

Couldn't figure out: you wrote that your variables are of type Customer exit allowing user entry?

Best regards,

Eugene

Former Member
0 Kudos

Hi,

First of all, The variable with processing type 'Customer Exit' does not consider the value enter by user.

If the varaible has to get value from some coding , we will define processing as 'Customer exit'. Then why again ,you need to have option to enter value for that variable.

With rgds,

Anil Kumar Sharma .P

ccc_ccc
Active Contributor
0 Kudos

Hi Anil,

How r u?

My Question is suppose if user etner value in YVAR1, the second variable YVAR2 should not allow to the user to enter the value.

If the user enter value In YVAR2 then YVAR1 will not allow to the user to enter value. like this.

any way we have to write customer exit for this. but how to make variable text box as unedit mode.

That is my question.

by

Nanda

Former Member
0 Kudos

Hi Nanda

If I understand you correctly, you have 2 variables in the query and you want the user to enter a value in EITHER one or the other but not both?

My understanding is that the user exit does not let you access the variables whilst the user is entering values.

There are 3 steps when the User Exit is called, see for more info:

http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/content.htm

I don't think it possible to do what you are asking. A possible workaround is to clear the other variable in the I_STEP=2.

Hope that helps.

Chami