|
|
Using BDT development to populate new fields that have been created on the CI_INCLUDE of the grant master table (GMGR)·
Add fields to CI_ include CI_GMGR of GMGR
database table · Execute grants management BDT development transaction (GRANT_CUSTOMIZE) · Grant Master BDT Customizing-> Screen layout and select ‘Field groups’(GMS2)
· Click on ‘New Entries’
·
Enter details of new field group. For this
example we are simply adding 2 fields to the gmgr
·
Go back to main field group screen, select your
new entry and double click on the
·
Before you do the next steps you will need to go
to SE80 and create a new function group · Within the top include of the function group insert the following declaration: TABLES: ci_gmgr. DATA: wa_gmgr
TYPE gmgr, wa_gmgr_old
LIKE wa_gmgr. ·
Within the source code of the function module
Z_GMGR_NEWFIELD_PBO enter the
CALL FUNCTION 'GMG_GMGT_GMGR_GET'
IMPORTING
e_gmgr = wa_gmgr. wa_gmgr_old = wa_gmgr. MOVE-CORRESPONDING wa_gmgr TO ci_gmgr. ·
Within the source code of the function module
Z_GMGR_NEWFIELD_PAI enter the MOVE-CORRESPONDING ci_gmgr TO wa_gmgr.
CALL FUNCTION 'GMG_GMGT_GMGR_COLLECT'
EXPORTING
i_subname = 'CI_GMGR'
i_gmgr
= wa_gmgr. ·
Now create a screen 0100 as a subscreen within the function group. Within the pbo ·
Add the two new fields created in the CI_GMGR
structure onto the screen. One way to do ·
Return to main BDT customizing screen (Grant_customize) and select ‘Views’(GMS3).
·
Enter view information as below, starting with
the name as the next number in your custom
·
Go back to main Views screen, select your new
entry and double click on the
·
Return to main BDT customizing screen and select
‘Sections’(GMS4). Then click the
· Input new entry and give it a description and title. Save data
·
Go back to main Sections screen, select your new
entry and double click on the
·
Return to main BDT customizing screen and select
‘Screens’(GMS5). Then click the
· Enter details for you new screen, Save data.
·
Go back to main Screen screen,
select your new entry and double click on the
·
Return to main BDT customizing screen and select
‘Screen Sequence’(GMS6). Then
· Add your screen to the sequence by clicking on the ‘New Entries’ button
· Add you new screen to the screen sequence. Save data.
·
Execute transaction BUSP (click on option from
main grant customizing menu), new
|
||||