cancel
Showing results for 
Search instead for 
Did you mean: 

please eloborate on the following form code its a small one

Former Member
0 Kudos

hi can anyone explain me followig form

its used in a program of a sap scripta

and when i click on form entry no perform is there for it it says possible dynamic calls

form entry using return_code us_screen.

clear retcode.

xscreen = us_screen.

perform processing using us_screen.

case retcode.

when 0.

return_code = 0.

when 3.

return_code = 3.

when others.

return_code = 1.

endcase.

endform.

regards

arora

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

When ever you execute a script output using a Transaction (va02,vf02,ME9F) etc

first the cursor starts executing the driver program

and in the driver program it starts from the FORM ENTRY

so this is the starting point of code for form execution and the condition

xscreen = us_screen. will be satisfied and the perform

perform processing using us_screen is executed..

in which actaul data fecthing from tables will be there.

Reward points for useful Answers

Regards

Anji

Former Member
0 Kudos

hi anji

it would be much helpful if you coulld eloborate in more details the above code as got some but still want to know the process in detail

pls eloborate more if possible giving another example

regards

Arora

Former Member
0 Kudos

hi

also please explain to me this code on form calling insided the program

FORM avail_details TABLES inttab STRUCTURE itcsy

outtab STRUCTURE itcsy.

what is structure itcsy and used for how this code works when form called frm a sap script

regards

Arora

Answers (0)