Skip to Content
0
Former Member
Dec 13, 2013 at 12:47 PM

questions for parameter text and exception handling

65 Views

Hi expert,

my code is as follows:

REPORT ZBI_PR_0001_AUTODEL_REQU.

Data: zinfoprov(30) type c occurs 0 with header line.

Select-options: s_infoprov for c.

parameter: zolder(3) type n default 30.

Loop at s_infoprov.

SUBMIT RSSM_AUTODEL_REQU_MASTER_TEXT
WITH infoprov EQ s_infoprov-low
WITH older EQ zolder
AND RETURN.
Endloop.

I have two questions:

(1) I want show some input text when running this code, such as for select-options s_infoprov and parameter zolder

' please input infoprovider ' : ZAA_C010 -------> this for select-options s_infoprov

'please input older days': 7 days. ---> this is for parameter zolder

how to change in the code?

(2) in program 'RSSM_AUTODEL_REQU_MASTER_TEXT ', there is calling function module and error handling, do I have to do error handling in 'ZBI_PR_0001_AUTODEL_REQU' ? because I think called program has already catch all exceptions, it will automatically transfer to calling program, is that right? please tell me how exception message transferred between calling program and called program?

Many Thanks,

Andy