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

LDB fields missing in selection screen

0 Likes
1,645

I am using LDB BRF in executable program .I can only see posting date and reference number in general selections .while when run the LDB  BRF in se36 I can see lot of other fields like document type ,entry date etc also in general selection .Why this difference is appearing .

Regards,

Praveen

6 REPLIES 6
Read only

kmoore007
Active Contributor
0 Likes
1,417

On the attributes of the program, check the selection screen you are using.

Read only

0 Likes
1,417

I am not using selection screen in the attributes ,only mentioned the LDB name BRF .why all the fields not appearing .I am not able to understand .

Read only

Former Member
0 Likes
1,417

Hi,

In your Z program after your customized selection sreen is defined, enter below code. It will automatcially put the selection screen fields from LDB of table BKPF.

If you need additional selection feilds feom LDB then write appropriate 'GET table' statement where table is from LDB BRF.

   START-OF-SELECTION.
GET bkpf.

Read only

kmoore007
Active Contributor
0 Likes
1,417

Okay, make sure you have the TABLES statement declaring the tables of the LDB.  See example below:

REPORT ztest_ldb_brf.

TABLES: BKPF, BSEG, BSET.

Read only

Former Member
0 Likes
1,417

Hi,

even if you are using LDB.

Tables : (example BKPF).

should be declered above the selection screen.

Hope this help.

Regards-

Makarand

Read only

Former Member
0 Likes
1,417

The LDB you mentione has dynamic selection BRF, could it be that they are simply hidden when you call it from your program but not when called from se36? To access the dynamic selection you click the toolbar menu button at the top next to the execute button

Which will then open a subscreen that allow you to customise the selection screen by adding a removing parameters