Handling currency (Amount) and Quantity fields in Table or Structure Creation:
In any table, a Quantity Field requires another field Unit of measurement as a reference field either from the same table or from another table and similarly a Currency Key Field should be provided as a reference field for the Currency Field(Amount) because Quantity field make sense along with the unit of measurement field and similarly currency field along with the currency key.
The meaning of the field in the table can be identified by the system, based on it's data type.
We will create a table with Currency and Quantity fields along with other fields.
Since we knew how to create a table, here we are not repeating the process of creating table, data elements, domains etc..
Field details of the custom table.
Create the table ZPURCHASE_1 with all the above fields and make sure that PONO and LIFNR are the Key Fields.
Step 1 : Execute SE11 Transaction to create Table and give table name starts with Z.
Add the fields as per the requirement.
Now Click on the Currency / Quantity Reference tab
Comments
Post a Comment