Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call function...

Former Member
0 Likes
540

Hi,

Please check this code.

What it does and if nothing then y is this used in standard SAP codes ?

FORM INIT_SOS-NATIO USING RC.

ENDFORM.

The thing that bothers me is that it does not have anything in its body but still its being called that too many no. of times...

PLz do reply...

Regards,

Binay...

Message was edited by:

binay shankar mohanty

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
524

hi

good

through nothing is there in the form statement but it will work as per the changing value of the RC,so as many time the RC value change it ll call this form statement but it wont give you any output.

thanks

mrutyun^

3 REPLIES 3
Read only

Former Member
0 Likes
524

hi,

The code you have given is the way how we write subroutines in abap.of course it does nothing here because to make it work u have to write code in between <b>form</b> and <b>endform</b>. and u need to call it using perform keyword in ur program.

Rgds,

Prajith

Read only

Former Member
0 Likes
524

Hi,

this code is a subroutine with the format

form using/changing

endform.

here using is the pass by reference parameter i.e. formal parameter

regards

Gururaj

Read only

Former Member
0 Likes
525

hi

good

through nothing is there in the form statement but it will work as per the changing value of the RC,so as many time the RC value change it ll call this form statement but it wont give you any output.

thanks

mrutyun^