当前位置:网站首页>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 .
边栏推荐
- Debug:与泛型有关的“无法解析的外部符号”
- 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?
- 「翻译」SAP变式物料的采购如何玩转?看看这篇你就明白了
- [resolved] SSO forwarding succeeded, and there was an unexpected error (type=internal server error, status=500) caused by parameters in the forwarding URL
- 孙子出题难,儿子监考严。老子不会做,还我上学钱
- [golang learning notes 2.1] sorting and searching in arrays in golang
- What are the software tuning methods? Let's see what Feiteng technology experts say about dragon lizard technology
- Digital transformation driven by enterprise architecture!
- [applet] the upload of the wechat applet issued by uniapp failed error: error: {'errcode': -10008,'errmsg':'Invalid IP
- Promise详解
猜你喜欢

如何在 60 秒内去分析和定位问题?

帮个忙呗~不关注不登录,不到一分钟的一个问卷

【小程序】uniapp发行微信小程序上传失败Error: Error: {'errCode':-10008,'errMsg':'invalid ip...
![[resolved] the new version of pychart (2022) connects to the server to upload files and reports an error of](/img/13/573d8ae55eb25580a5628b469dfab3.png)
[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

The seta 2020 international academic conference will be held soon. Welcome to attend!

如何在电脑端登陆多个微信

On data security

An open source OA office automation system

linux能不能安装sqlserver

防止Cookie修改id欺骗登录
随机推荐
[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
C commissioned use cases
Lua有状态迭代器
What about idea Chinese garbled code
Lua stateful iterator
【Day42 文献精读】A Bayesian Model of Perceived Head-Centered Velocity during Smooth Pursuit Eye Movement
Shell awk related exercises
擎创科技加入龙蜥社区,共建智能运维平台新生态
slf4j如何进行logback配置呢?
综合案例、
Happy holidays, everyone
Grandson's questions are difficult, and his son's invigilation is strict. I can't do it. Pay back my school money
Day111.尚医通:集成NUXT框架、前台页面首页数据、医院详情页
C#委托的使用案例
这次龙蜥展区玩的新花样,看看是谁的 DNA 动了?
Usage scenarios for automated testing
mqtt指令收发请求订阅
Redison 3.17.5 release, officially recommended redis client
Shell script learning day01
[flight control development foundation tutorial 4] crazy shell · open source formation UAV - serial port (optical flow data acquisition)