Define Sensitive Fields

本文详细介绍SAP系统中财务会计模块的配置步骤,包括公司代码设置、财年定义、货币设定、总分类账账户、客户及供应商账户、银行主数据等。特别关注敏感字段变更的双控设置。

今天在IDES上创建一个VENDOR,发现change时提示要用FK08做confirm,因为有敏感字段变更。

找了资料,发现AC200早就讲过...看来看过的东西都还给老师了

具体配置步骤
IMG: Financial Accounting → Accounts Receivable and Accounts Payable → Vendor Accounts → Master Data → Preparations for Creating Vendor Master Data → Define Sensitive Fields for Dual Control (Vendors)

另外,在http://blog.sina.com.cn/s/blog_4cfa40ac0100b7fe.html 发现了关于AC200提到的,一些基本的配置,共享

1: Organizational Units
1. IMG: Enterprise Structure→Definition→Financial Accounting→ Enter, Copy, Delete, Check Company Code → Copy, Delete, Check Company Code
2. IMG: Enterprise Structure → Definition → Financial Accounting → Edit, Copy, Delete, Check Company Code → Edit Company Code Data
3. IMG: Financial Accounting→Financial Accounting Global Settings → Company Code → Enter Global Parameters
2: The Fiscal Year
4. IMG: Financial Accounting → Financial Accounting Global Settings → Fiscal Year → Maintain Fiscal Year Variant (Maintain Shortened Fiscal Year)
5. IMG: Financial Accounting→Financial Accounting Global Settings → Fiscal Year → Assign Company Code to a Fiscal Year Variant
6. IMG: Financial Accounting → Financial Accounting Global Settings → Fiscal Year → Maintain Fiscal Year Variant (Maintain Shortened Fiscal Year)
3: Currencies
7. IMG: SAP NetWeaver → General Settings → Currencies → Check Exchange Rate Types
4: General Ledger Accounts
8. IMG: Financial Accounting → G/L Accounting → General Ledger Accounts → Master Data → Preparation→ Define Account Group
9. Accounting → Financial Accounting → General Ledger → Master Records → G/L Accounts → Individual Processing→ Centrally
10. Accounting → Financial Accounting → General Ledger → Information System → General Ledger Reports → Master Data → G/L Account List → G/L Account List
5: Customer/Vendor Accounts
11. IMG: Financial Accounting → Accounts Receivable and Accounts Payable → Customer Accounts → Master Data → Preparations for Creating Customer Master Data→ Define Account Group with Screen Layout (Customers)
12. IMG: Financial Accounting → Accounts Receivable and Accounts Payable Accounting → Customer Accounts → Master Data → Preparations for Creating Customer Master Data→ Assign Number Ranges to Customer Account Groups
13. Accounting → Financial Accounting → Customers → Master Records → Create
14. IMG: Financial Accounting → Accounts Receivable and Accounts Payable Accounting → Vendor Accounts → Master Data → Preparations for Creating Vendor Master Data → Define Account Group with Screen Layout (Vendors)
15. IMG: Financial Accounting → Accounts Receivable and Accounts Payable Accounting → Vendor Accounts → Master Data → Preparations for Creating Vendor Master Data → Assign Number Ranges to Account Groups for Vendors
16. Accounting → Financial Accounting → Vendors → Master Records → Create
17. Accounting → Financial Accounting → Vendors → Master Records → Change
18. IMG: Financial Accounting → Accounts Receivable and Accounts Payable → Vendor Accounts → Master Data → Preparations for Creating Vendor Master Data → Define Sensitive Fields for Dual Control (Vendors)
19. Accounting → Financial Accounting → Vendors → Master Records → Confirmation of Change
6: Bank Master Data
20. Accounting → Financial Accounting → Banks → Master Data → Bank Master Record → Create
21. IMG: Financial Accounting → Bank Accounting → Bank Accounts → Define House Banks
7: Document Header
22. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Document Number Ranges → Define Document Number Ranges
23. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Document Number Ranges → Copy to Company Code
24. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Document Header → Overview
25. IMG: Financial Accounting→Financial Accounting Global Settings → Document → Document Header → Define Document Types
8: Line Item
26. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Line Item → Controls → Define Field Status Variants
9: Posting Periods
27. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Posting Periods → Define Variants for Open Posting Periods
28. IMG: Financial Accounting→Financial Accounting Global Settings → Document → Posting Periods→ Open and Close Posting Periods
29. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Posting Periods → Assign Variants to Company Code
10: Posting Authorizations
30. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Line Item → Define Tolerance Groups for Employees
31. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Line Item → Assign Users/Tolerance Groups (Employees)
11: Simple Documents in mySAP ERP Financials
32. Accounting → Financial Accounting → General Ledger → Posting → Enter G/L Account Document
33. Accounting → Financial Accounting → Vendors → Document Entry → Invoice
34. Accounting → Financial Accounting → Customers → Document Entry → Invoice
35. Accounting → Financial Accounting → Customers → Document Entry → Credit Memo
36. Accounting → Financial Accounting → Customers or Vendors → Account → Display/Change Items
12: Default Values
37. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Default Values for Document Processing→ Default Value Date
38. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Document Header → Maximum Exchange Rate Difference → Define Maximum Exchange Rate Difference per Company Code
13: Document Change Rules
39. Accounting → Financial Accounting → Customers → Document → Change
40. IMG: Financial Accounting → Financial Accounting Global Settings → Document → Line Item → Document Change Rules, Line Items
14: Document Reversal
41. IMG: Financial Accounting→General Ledger Accounting→Business Transactions → Adjustment Posting/Reversal → Permit Negative Posting
42. IMG: Financial Accounting→General Ledger Accounting→Business Transactions → Adjustment Posting/Reversal → Define Reasons for Reversal
43. Accounting → Financial Accounting → General Ledger → Account → Display Balances
44. Accounting → Financial Accounting → General Ledger → Document → Reverse → Individual Reversal
15: Terms of Payment and Cash Discounts
45. IMG: Financial Accounting → Accounts Receivable and Accounts Payable Accounting → Business Transactions → Incoming Invoice/Incoming Credit Memos→ Maintain Terms of Payment
16: Taxes
46. IMG: Financial Accounting → Financial Accounting Global Settings → Tax on Sales and Purchases → Calculation→ Define Tax on Sales and Purchases Code
47. IMG: Financial Accounting → Accounts Receivable and Accounts Payable → Business Transactions → Outgoing Invoice/Outgoing Credit Memo → Outgoing Invoices/Outgoing Credit Memos ENJOY→ Define Tax Code per Transaction
17: Cross-Company Code Transactions
48. IMG: Financial Accounting→ Enterprise Structure → Assignment → Financial Accounting → Assign Company Code to Company
49. IMG: Financial Accounting→General Ledger Accounting→Business Transactions → Prepare Cross-Company Code Transactions Accounting → Financial Accounting → Vendors→Document→Cross Company Code Transaction→Display
18: Open Item Clearing
50. Accounting → Financial Accounting → Customers → Account → Display/Change Line Items
51. Accounting → Financial Accounting → Customers→ Account → Clear
19: Incoming and Outgoing Payments
52. Accounting → Financial Accounting → Customers → Document Entry → Incoming Payments
20: Payment Differences
53. IMG: Financial Accounting → Accounts Receivable and Accounts Payable → Business Transactions → Incoming Payment → Incoming Payment Global Settings → Overpayment/Underpayment → Define Reason Codes
54. IMG: Financial Accounting → Accounts Receivable and Accounts Payable Accounting→Business Transactions→Incoming Payment→ Incoming Payment Global Settings → Overpayment/Underpayment→ Define Accounts for Payment Differences
21: Exchange Rate Differences
22: Setting Up the Cash Journal
55. IMG: Financial Accounting → Bank Accounting → Business Transactions→Cash Journal→Create G/L Account for Cash Journal
56. IMG: Financial Accounting → Bank Accounting → Business Transactions → Cash Journal → Set Up Cash Journal
57. IMG: Financial Accounting → Bank Accounting → Business Transactions → Cash Journal → Define Number Range Intervals for Cash Journal Documents
23: Business Transactions in the Cash Journal
58. IMG: Financial Accounting → Bank Accounting → Business Transactions → Cash Journal → Create, Change, Delete Business Transactions
59. Accounting → Financial Accounting → Banks → Input → Cash Journal
24: Document Split
60. Accounting → Financial Accounting → Banks → Outgoings → Cash Journal
25: Posting to One-Time Accounts
26: Logistics - General
27: Procurement Process
28: Purchase Order Processing

61. Logistics → Materials Management → Purchasing → Purchase Order → Create → Vendor/Supplying Plant Known
62. Logistics → Materials Management → Purchasing → Purchase Order → Messages → Print/transmit Messages
29: Goods Receipt Processing
63. Logistics → Materials Management → Inventory Management → Goods Movement → Goods Receipt → For Purchase Order → Purchase Order Number Unknown
30: Invoice Verification
64. Logistics → Materials Management → Logistics Invoice Verification → Document Entry→ Enter Invoice
65. Logistics → Materials Management Logistics Invoice Verification → Further Processing → Display Invoice Document
31: Sales Process
66. Logistics → Sales and Distribution → Sales → Order → Create
67. Logistics → Sales and Distribution → Shipping and Transport → Delivery → Create → Single Document → With Reference to Sales Order
68. Logistics → Sales and Distribution → Shipping and Transport→ Picking→Create Transport Request→ Single Document
69. Logistics → Sales and Distribution → Shipping and Transportation → Post Goods Issue → Outbound Delivery Single Document
70. Logistics → Sales and Distribution → Billing → Billing Document → Create
71. Logistics → Sales and Distribution → Billing → Billing Document → Display

<think>We are given a set of variable declarations and we need to define macros for each variable name that map to a string literal of the variable's name. The pattern from the previous example is: #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_<variable_name> "<variable_name>" However, note that the previous example used a specific prefix: "DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_". Since the user hasn't specified a prefix, we can use the same prefix for consistency? But note the context is accounting session in the previous example. However, looking at the new set of variables, they seem to be related to TACACS+ packet structure? But the user doesn't specify. Since the user said "帮我把这些变量也都宏定义一下", we'll follow the same pattern as the example they provided. The example had: char peer[IPV6_ADDRESS_LENGTH]; #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_peer "peer" So we will define macros for each variable with the same prefix? But note the previous example was for accounting session fields. The new variables include: int rTransmit; u_char timeout; char key[NAS_KEY_MAX_LEN+1]; ... and others. We have two options: 1. Use the same prefix "DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_" for all, but these new variables might be for a different structure (maybe a TACACS+ packet header?). 2. Ask the user for a prefix? But the instruction requires us to generate the code. Since the user did not specify a prefix, and to be consistent with the example they provided, we will use the same prefix. However, note that the example was for an accounting session and these new variables might be for a different context. Alternatively, we can note that the previous example was for a structure that held session data, and the new set of variables might be part of a different structure (like a packet). But the user hasn't provided a struct name. Considering the instruction is to "宏定义一下", we will generate the macros exactly as per the pattern, using the same prefix. Steps: For each variable, we take the variable name and create a macro of the form: #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_<variable_name> "<variable_name>" But note: the variable names might contain underscores and mixed case? In the example, the variable names were in lower case and the macro was in upper case for the prefix? Actually, the prefix is in uppercase and the variable part is exactly the variable name. However, note that the variable names in the new set are mixed? Actually, they are not: they are all lower case or camelCase? Let's see: rTransmit -> note: starts with lowercase 'r' then capital 'T'? This is camelCase. But in the macro we want to use the exact variable name as a string. But note: in C, macro names are case-sensitive and so are variable names. We want the string to exactly match the variable name. Example variable: rTransmit -> the macro would be: #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_rTransmit "rTransmit" However, observe the variable names provided: rTransmit timeout key version type seq_no encryption session_id datalength flags authen_method priv_lvl authen_type service user_len port_len rem_addr_len arg_cnt Some are camelCase (rTransmit) and some are snake_case (seq_no). We must preserve the exact spelling. Important: The variable 'session_id' is written in snake_case and the example we had was for 'peer' (which is also one word). So we don't change the case. We'll generate: #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_rTransmit "rTransmit" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_timeout "timeout" ... and so on. However, note: the previous example had a variable named 'vrfName' (camelCase) and the macro used the same: "vrfName". So we are consistent. But wait: the previous example also had a variable named 'deamonPort' (with a typo? or intended) and the macro used "deamonPort". So we are just mirroring. Important: The user might not want the same prefix? But the instruction is to replicate the pattern. Therefore, we generate the following macros: #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_rTransmit "rTransmit" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_timeout "timeout" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_key "key" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_version "version" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_type "type" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_seq_no "seq_no" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_encryption "encryption" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_session_id "session_id" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_datalength "datalength" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_flags "flags" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_authen_method "authen_method" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_priv_lvl "priv_lvl" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_authen_type "authen_type" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_service "service" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_user_len "user_len" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_port_len "port_len" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_rem_addr_len "rem_addr_len" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_arg_cnt "arg_cnt" However, note: the prefix is quite long and if these variables are for a different structure (say, a TACACS packet header) then perhaps a different prefix would be more appropriate? But the user did not specify. Since the user's previous example used this prefix and they asked to "也都宏定义一下", meaning to do the same for these, we follow. Let's write the code accordingly. </think>根据您提供的变量列表,我将按照之前示例的宏定义格式(`#define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_<变量名> "<变量名>"`)生成对应的宏定义。这种设计确保字符串与变量名严格一致,避免硬编码错误并提高可维护性: ```c /* 变量宏定义 */ #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_rTransmit "rTransmit" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_timeout "timeout" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_key "key" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_version "version" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_type "type" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_seq_no "seq_no" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_encryption "encryption" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_session_id "session_id" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_datalength "datalength" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_flags "flags" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_authen_method "authen_method" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_priv_lvl "priv_lvl" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_authen_type "authen_type" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_service "service" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_user_len "user_len" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_port_len "port_len" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_rem_addr_len "rem_addr_len" #define DATA_TACPLUS_ACCOUNTING_SESSION_FIELD_arg_cnt "arg_cnt" ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值