Using BAPI upload excel file for t-code AS02 in SAP

Using BAPI " BAPI_FIXEDASSET_CHANGE " create a zprogram to upload excel file for mass change fixed asset in SAP. REPORT  ZAS02_ASSET_CHANGE_UPLOAD . TYPE-POOLS :  truxs . " Structure for Excel data TYPES :  BEGIN  OF  ty_excel ,          anln1  TYPE  anln1 ,          bukrs  TYPE  bukrs ,          kostl  TYPE  kostl ,          werks  TYPE  werks ,          prctr  TYPE  prctr ,         END  OF  ty_excel . DATA :  lt_excel     TYPE  TABLE  OF  ty_excel ,       ls_excel     TYPE  ty_excel ,     ...

Self Join

We need to know about Self Join meaning ,then we can understand its purpose.I am giving a short meaning : Joining a table with it's self is known as self Join.
We can define Self join as like :
  •  Inner Self Join
  • Outer Self Join (Left,Wright & Full Join)
  • Cross Self Join
Inner Self Join :
Select A.Column_Name1, B.Column_Name1
from Table_name A
Inner Join Table_name B
On A.Primary_Table = B.Primary_Table
 Outer Self Join:
Select A.Column_Name1, B.Column_Name1
from Table_name A

Left Join
Table_name B
On A.Primary_Table = B.Primary_Table
Cross Self Join:
Select
A.Column_Name1, B.Column_Name1
from Table_name A

Cross Join
Table_name B

Comments

Popular posts from this blog

New commodity code create in SAP S/4 Hana

BAPI to Change STO PO/ PO Delivery date in SAP

Decimal remove in a smartforms report