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

Routines

Former Member
0 Likes
475

Hi Experts

What are routines and how to use them.

I have to create the routines.I want to know the steps for creating routines.

And how can we implement the coding in the routines.

Answers will be rewarded

Regards

Hitesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
457

Hi ......

I have worked on couple of Pricing Routines....

Hope the contents below will be usefull....

Routine are used for some calculations to be performed which

are further used in SAP programs.

Steps for the Creation of Routines:-

1.) To create routine you need to go in trns VOFM.

Each routine is associated to one Condition Type.

2.) Select your area from the Menu in which you need to create the Routine.

3.) For creating routine you need to have access key.

Give the Routine number and descrption.

The source code can be written into a window which appears on pressing

source text button on the menubar.

4.) Step 3 will take you to an include in which you have to implement your code.

And put your code in Activate stage.

5.) Imp. Point ......

Whatever value is calculated in the routine is stored in a variable.

After that, variable is suppos to be assigned to the field 'xkwert'.

The above 4 steps includes the creation and implementation pf the routines.

For details check this link...http://mysapstudy.blogspot.com/2007/09/sap-sd-vofm-routines.html

Regards,

Mandeep.

Note : Plz reward points if reply is needful....

Hi Experts

What are routines and how to use them.

I have to create the routines.I want to know the steps for creating routines.

And how can we implement the coding in the routines.

Answers will be rewarded

Regards

Hitesh

2 REPLIES 2
Read only

Former Member
0 Likes
457
Read only

Former Member
0 Likes
458

Hi ......

I have worked on couple of Pricing Routines....

Hope the contents below will be usefull....

Routine are used for some calculations to be performed which

are further used in SAP programs.

Steps for the Creation of Routines:-

1.) To create routine you need to go in trns VOFM.

Each routine is associated to one Condition Type.

2.) Select your area from the Menu in which you need to create the Routine.

3.) For creating routine you need to have access key.

Give the Routine number and descrption.

The source code can be written into a window which appears on pressing

source text button on the menubar.

4.) Step 3 will take you to an include in which you have to implement your code.

And put your code in Activate stage.

5.) Imp. Point ......

Whatever value is calculated in the routine is stored in a variable.

After that, variable is suppos to be assigned to the field 'xkwert'.

The above 4 steps includes the creation and implementation pf the routines.

For details check this link...http://mysapstudy.blogspot.com/2007/09/sap-sd-vofm-routines.html

Regards,

Mandeep.

Note : Plz reward points if reply is needful....