当前位置:网站首页>How to play with the purchase of SAP variant materials? Look at this article and you will understand
How to play with the purchase of SAP variant materials? Look at this article and you will understand
2022-07-27 07:58:00 【51CTO】
SAP How to play with the purchase of variable materials ? Look at this one and you'll see !
The author has the opportunity and the honor to work on the project of an auto parts company , The company used to produce “ tire ”. Sales in any industry 、 There are variations in both purchase and production businesses , It depends heavily on the characteristics and variants of materials ( variant / variant ), Inevitably, it must be implemented “ Variant configuration ”(VC).
Although the company does not use VC, But in the author's view SAP When the system is audited , The author observed that , When 100 When different material codes are enabled for different production variants , How boring the business has become . The purpose of this article is to explain in the procurement process , How to use SAP Variant conditions of the system (Variant Condition) function , To realize the effect of automatically calculating the surcharge or discount value according to the product characteristics .
The author thinks , Variant configuration is not a solution for customers in specific industries , Can be used anywhere ( for example , On order “Pizza” when ).
Here is a business scenario : According to Pizza Under the type Pizza Order , Then the supplier charges some surcharges according to the user's choice ( Extra cost ).
The test system :S/4 HANA 1709
Example : Product pizza , It has 6 There are two different characteristics ( Pizza type ), Surcharge calculation .

SAP VC Heavily dependent on classes 、 Characteristics and object dependencies to calculate values . under these circumstances , The author will use “Procedure”, Because the author needs to calculate the surcharge continuously , These surcharges are determined by the eigenvalue . Only “Procedure” This dependency type can provide the derivation function of the feature , At this time there is 2 Options to choose from : Coverage and continuous computing .
Dependency type “Procedure” It is mainly used for BOM Row item 、 Task list and configuration parameter file . Later in this article , The author will explain how to use the configuration parameter file .
1, Create a feature , To express different Pizza Types.

2, Use MMCOM Fields in the table VKOND, Use the reference feature to create another feature .
notes : Reference feature refers to the feature of a table field .
In this case , According to table MMCOM Field VKOND Corresponding Pizza type (Pizza Characteristics and their values ) To calculate the purchase Pizza The surcharge on .

MMCOM-VKOND, As shown in the figure below :

Create features and assign reference features .

3, Create a material , Make sure that it is marked as a configurable material in the material master , And assign a Class. Use transaction code CU41 Create a configuration parameter file , Then assign Class And use dependency types procedure Write dependent code .

Use $self-> Write dependent code , And check whether the grammar is correct .

4, Create a purchase information record for this material , As shown below . The condition type VA00 For variant function ( Based on quantity / value ).

Maintain based on pizza type The surcharge on . As shown in the figure below :

Why? VA00 Condition types are used to maintain surcharges in purchase information records ? You can see the configuration of this condition type .

5, Create a purchase order , We can see how the variant function works in purchasing .

choice pizza type, The system will automatically display the surcharge amount . For example, we choose 03 (Pepperoni), The system automatically gets a surcharge of 5 Yuan .

Check condition record , It can be found that the price of the purchase surcharge is based on Pizza Type Calculated according to the characteristics of .

If you will Pizza type Switch to 04(Meat), be SAP The system will automatically calculate the new purchase surcharge .

SAP The system will automatically take out the new surcharge 8 Yuan , As shown in the figure below :

Original English address
https://www.sapspot.com/variant-conditions-in-purchasing-using-reference-characteristics/
- End -
2021-9-22 Translation in residence .
边栏推荐
- MCU multi-level menu
- 为啥国内大厂都把云计算当成香饽饽,这个万亿市场你真的了解吗
- [resolved] the new version of pychart (2022) connects to the server to upload files and reports an error of "command Rsync is not found in path", and the files cannot be synchronized
- 【QT】capture. Obj:-1: error: lnk2019: unresolved external symbols__ imp_ Htons (solution)
- 擎创科技加入龙蜥社区,共建智能运维平台新生态
- 增强:BTE流程简介
- OpenGL shader learning notes: varying variables
- Practical new drug R & D project management platform
- What are the software tuning methods? Let's see what Feiteng technology experts say about dragon lizard technology
- DEMO SUBMIT 某程序并获取该程序ALV数据
猜你喜欢

Lua iterator

杂谈:手里有竿儿,肩上有网,至于背篓里有多少鱼真的重要吗?

【已解决】新版Pycharm(2022)连接服务器进行上传文件报错“Command rsync is not found in PATH”,无法同步文件
![[stonedb class] introductory lesson 1: popular science of database knowledge](/img/ec/4e3c0b91ac2ee164595c2891b23dfb.jpg)
[stonedb class] introductory lesson 1: popular science of database knowledge

物联网工业级UART串口转WiFi转有线网口转以太网网关WiFi模块选型

Lu Xun: I don't remember saying it, or you can check it yourself!

Day111.尚医通:集成NUXT框架、前台页面首页数据、医院详情页

API 版本控制【 Eolink 翻译】

综合案例、

Things come to conform, the future is not welcome, at that time is not miscellaneous, neither love
随机推荐
Harbor正确密码登录不上去
Kalibr calibration realsensed435i -- multi camera calibration
Happy holidays, everyone
An open source OA office automation system
2020国际机器翻译大赛:火山翻译力夺五项冠军
Gossip: it's really important to have a rod in your hand and a net on your shoulder. As for how many fish are in the basket?
[flight control development foundation tutorial 4] crazy shell · open source formation UAV - serial port (optical flow data acquisition)
[golang learning notes 2.1] sorting and searching in arrays in golang
The token verification of applet message push configuration failed. Please check and confirm
API 版本控制【 Eolink 翻译】
Comprehensive analysis of ADC noise-02-adc noise measurement method and related parameters
The seta 2020 international academic conference will be held soon. Welcome to attend!
[golang learning notes 2.0] arrays and slices in golang
What about idea Chinese garbled code
API version control [eolink translation]
CommonTitleBar hide left right
OpenGL shader learning notes: varying variables
擎创科技加入龙蜥社区,共建智能运维平台新生态
An ordinary autumn recruitment experience
JS access cookie example