Routine development tcode: vofm

Source: Internet
Author: User

Routine Development (tcode: vofm) is often used in sap erp implementation ). This development currently uses the pricing process that affects SD and mm. The accesskey is required to create a routine, which can be obtained through application. After creation, the routine is included in a request. WriteCodeIn the future, the 'condition calculation scheme' in spro will configure the code number you have written, which will affect the pricing.

How routines work:

Routine, that is, fomula, is a small segment of the pricing process in the sales, procurement, invoice, delivery, and other documents.Program. Fomula exists because the pricing process may vary widely in different business scenarios, but it can be split into several key components, such as copying requests, data transmission, requirements, and formulas, each routine is a short dedicated program. These routine programs are dynamically called by standard programs, such as: Perform XXX in xxxx if found. we can write code snippets in the routine to modify the data in the runtime environment. Each routine has different environment variables and interface data, which is not described in detail here.

The process of creating a routine is actually to do the following:Take requirements-pricing-998 as an Example:

1. You have created a program: rv61a998. You can view the modified program through se38.

2. Add data to tfrm and tfrmt tables, and record information such as the ID of the created routine.

3. When the routine is activated, rv61a998 is included in rv61annn, that is, a line is added to rv61annn: Include rv61a998.

The following explains that it cannot be used normally after transmission..

After the change request is released, the transmission can be completed in steps 1 and 2, but the third step, although activated in the target system, is not included in the rv61annn program, therefore, after the pricing process is configured, The ABAP dump will appear.

Solution: Run the program rv80hgen in the target system to fix the bug, instead of activating the Routine Through vofm in the target system. The function of this program is to add Code such as include rv61a998 to programs such as rv61annn according to the table tfrm and tfrmt, so as to run normally. For details, see Notes: 28683.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.