‎2008 Feb 22 5:13 AM
Hi to all,
I just want to know that I have seen in the standard program the declaration of table in the following way.
TABLES: bkdf,
bkpf,
*bkpf.
then what is this *bkpf means.
Thanks
Dharmishta
‎2008 Feb 22 5:18 AM
Hi Dharmishta,
Similar to the concept of a work area for an internal table, we have a *bkpf work area for a database table bkpf.
When the standard programs are running, they transfer the selected record contents into this *<table> structure for processing and hence avoid the selecting of data into an internal table and then again transferring to work area for processing.
Cheers,
Aditya
‎2008 Feb 22 5:20 AM
HI,
*bkpf means
This means that all database changes are made irrevocable and cannot be reversed with ROLLBACK WORK ... PBUKRS LIKE BKPF-BUKRS , PKTOPL LIKE ZGLGRP-KTOPL. ...
regards,
sreelakshmi.
‎2008 Feb 22 5:22 AM
Hi Dharmishta,
It suggests that it will take all these table into account. ARIX_BKPF
BKPF
EBKPF
TXW_S_BKPF
VBKPF
VIAKBKPF
Thanks
Mohinder Singh Chauhan
‎2008 Feb 22 5:28 AM
hi ,
hope it useful for u..
the thing is it s like a work area for an table itself.. we dont want to define an work area for table (ekpo) like (wa_ekpo).. just we put *ekpo.. SAP internally make a work area of type the standard tab le.. here with i attach a piece of code...
tables: ekpo , *ekpo.
select single * from ekpo into *ekpo.
if sy-subrc eq 0.
write : / *ekpo-ebeln.
endif.
..
regards,
Karthik