Posts

Showing posts with the label DISTINCT Statement & Operator

BAPI for material storage location Add

 We can add material storage location plant wise using third party app or web. BAPI names : BAPI_MATERIAL_MAINTAINDATA_RT Import parameters: HEADDATA: Material Tables: STORAGELOCATIONDATA: Material: Plant: STGE_LOC:   STORAGELOCATIONDATAX: Material: Plant: STGE_LOC:   use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.        

SELECT DISTINCT Statement & OPerator

Image
Today I am talking about another Select Statement.That is Select DISTINCT Statement. The   SELECT DISTINCT statement is used to return only distinct (different) values. Inside a table, a column often contains many duplicate values; and sometimes you only want to list the different (distinct) values. The  SELECT DISTINCT statement is used to return only distinct (different) values. The statement look like : SELECT DISTINCT column1 , column2, column3,..... FROM table_name ;  Select statement likely : SELECT column1 , column2, column3,..... FROM table_name ;  For example I am showing you both of two queries. Hope it will help you to clear the concept. Difference between Select and Select DISTINCT : By using Select statement we get all the value if have any duplicate values in a table. On the other hand Select DISTINCT statement gives only single values.It's remove duplicate values. Query's are like:  SELECT Column name FRO...