Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table declaration in Standard Program

Former Member
0 Likes
515

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

4 REPLIES 4
Read only

Former Member
0 Likes
485

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

Read only

Former Member
0 Likes
485

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.

Read only

Former Member
0 Likes
485

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

Read only

Former Member
0 Likes
485

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