Ansicht
Dokumentation
PIQ_FIELDS - Define Fields
Vendor Master (General Section) ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
In this Customizing activity, you can display the table for fields included in the standard delivery for the Creation of Price Lists report (transaction V_NLN). You can also define your own fields as follows:
- You can add fields for selection criteria (that is, for materials and customers)
- Note that you must update enhancement spot ES_PIQ_SDPRICELIST with your new fields. For more information, see Notes on Implementation.
- You can add fields for display in the output
- You can remove fields for display in the output
- Note that you can remove standard fields from the output by creating layout variants.
- If you needed to define fields from tables for which no aliases exist in the standard delivery, then you have defined aliases for your new customer-specific fields in the Customizing activity Define Table Mapping.
- If you want to create a display variant for pricing elements and select the rows in a pricing procedure for which the pricing elements are to be available for display or output, you have made settings in Customizing activity Define Pricing Elements Display.
You can choose to add fields to the output (that is, the price list result table). These fields can be fields that the system reads from the following:
- Material master data
- Customer master data
- Fields that the system takes from the pricing result
- Fields that you fill using method PROCESS_RESULT in BAdI: Price List Processing.
Note that when you want to use fields from the pricing result, you must select from pricing (rather than from materials or customers). Also, you must enter communication structure KOMK or KOMP for the source table.
1. Assume that you want to add the material group (MARA-MATKL) to the selection criteria.
A. You make the following entries:
- Field name: MATKL
- Select from: Material
- Source table: MARA
- Source field: MATKL
- Table alias: MARA
- Output:
- You can display the fields included in the standard delivery that are available for output in Customizing activity Define Fields.
B. You create an enhancement (enhancement option ES_PIQ_SDPRICELIST_EXT2) and add the field to the selection screen. This enhancement is for a changed layout.
SELECT-OPTIONS: matkl FOR mara-matkl.
C. You create an enhancement (enhancement option ES_PIQ_SDPRICELIST_EXT6) and transfer the field to the application programming interface. This enhancement is required so that the system considers this new field during the processing of the price list.
transfer_select_option 'MARA' 'MATKL' matkl.
2. Assume that you want to add the field for the distribution-chain specific material status (MVKE-VMSTA) to the output. You create the following entry:
- Field name: VMSTA
- Select from: Material
- Source table: MVKE
- Source field: VMSTA
- Table alias: MVKE
- Output:
3. Assume that you want to remove the field for the sixth condition subtotal from the output. As this field is part of the standard delivery, you must overwrite the entry in the standard delivery by making the same entry for a customer-defined field. However, ensure that you do not select this field for output so that the system removes the field from the output. You create the following entry:
- Field name: KZWI6
- Select from:
- Source table: KOMP
- Source field: KZWI6
- Table alias:
- Output:
4. Assume that you want to display additional information for one additional price condition (that is, condition type) and one additional subtotal that are both defined in a pricing procedure.
You create the following entries related to pricing element K007:
- Field name: KSCHL1,,
- Select from:
- Source table:
- Source field:,, KSCHL
- Table alias:
- Output:
- Sequence number: 1
-------
- Field name:,,KBETR1,,
- Select from:,,
- Source table:
- Source field: KBETR
- Table alias:
- Output:
- Sequence number: 1
-------
- Field name: WAERS1,,
- Select from:
- Source table:
- Source field:,, WAERS
- Table alias:
- Output:
- Sequence number: 1
-------
You create the following entries related to the pricing element for net value 3:
- Field name: VTEXT2,,
- Select from:
- Source table:
- Source field:,, VTEXT
- Table alias:
- Output:
- Sequence number: 2
-------
- Field name:,,KBETR2,,
- Select from:
- Source table:
- Source field:,, KBETR
- Table alias:
- Output:
- Sequence number: 2
-------
- Field name: WAERS2
- Select from:
- Source table:
- Source field: KBETR
- Table alias:
- Output:
- Sequence number: 2
The price list results now contain six additional fields (that is, three for each pricing element).
Note the following:
- The sequence number corresponds to the order of the pricing elements that you have selected for display in Customizing Activity Define Pricing Elements Display. For example, if you select the first, third, and fourth rows for display in Customizing Activity Define Pricing Elements Display, the system numbers these pricing elements as sequence numbers 1, 2, and 3 in this Customizing activity (that is, from top to bottom).
- There are up to seven fields available for each pricing element. The fields that are meaningful for display depend on the pricing element. You can view these fields by displaying the standard fields in Customizing activity Define Fields and by finding the fields with sequence number 1.
ABAP Short Reference BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 9344 Date: 20240523 Time: 190837 sap01-206 ( 103 ms )