cancel
Showing results for 
Search instead for 
Did you mean: 

Customer Exit Problem in Bex

Former Member
0 Kudos

Hi Experts,

I don't know abap but as per our requirement I need to write a Customer Exit,

my requirement is

I have user input value variable(ex,10,15 etc upto 31) then I have another Char ZCHSTDATE so if user enters 01 or anyvalue the report result should be the start date plus the value which user enters in the varaible section,ex.if I enter 05 then the out should be startdate+5,so if the start date is 5th Nov then the out put should be 10th Nov.Can't use offset values since user can enter anyvalue between 1 to 31.The Variables I am using are zvuser(User Entered Days) and zvstdays(Customer Exit variable),please can any body help in providing the customer exit code.

Thanks in Advance,

Raga

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Raga,

is ZCHSTDATE of type date and what is the type of zvstdays? if both are of type date then u can directly add the date and days to get the required date.

eg:

zvstdays = zchstdate + zvuser.

u can consult this thread also:

in the customer exit u have to write a case statement like

case <field that is catching the bex vars>.

when '<ur var name>'.

result = <put ur formula>.

endcase.

hope this helps you

regards,

Vaibhav