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

Sub_Routines

Former Member
0 Likes
617

Hi,

Anyone please send me good material for routines.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
599

Hi,

Anyone please send me good material for routines.

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
600
Read only

Former Member
0 Likes
599

Hi Bharat,

A subroutine is a block of code introduced by FORM and concluded by ENDFORM.

FORM <subr> [USING ... [VALUE(]<pi>[)] [TYPE <t>|LIKE <f>]... ]

[CHANGING... [VALUE(]<pi>[)] [TYPE <t>|LIKE <f>]... ].

...

ENDFORM.

Check these links to know more about subroutines in SAP

http://help.sap.com/saphelp_46c/helpdata/en/9f/db975c35c111d1829f0000e829fbfe/content.htm

http://help.sap.com/saphelp_46c/helpdata/en/9f/db976935c111d1829f0000e829fbfe/content.htm

http://help.sap.com/saphelp_46c/helpdata/en/9f/db977635c111d1829f0000e829fbfe/content.htm

http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_MODULARIZATION_FAQ.html

Thanks,

Vinay

Read only

Former Member
0 Likes
599

sub routine is termed as PERFORM in ABAP similar to PROCEDURE in other programming languages. We usually write PERFORM to modularize our program.

Thanks,

Santosh

Read only

Former Member
0 Likes
599

Check this link for general questions on Routines.

http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_MODULARIZATION_FAQ.html

Regards,

-Venkat.