Application Development 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: 

how to prepopulate with the default values

surya_ramireddy
Participant
0 Kudos
154

Hi Experts,

how to prepopulate the default values from a table on to the screen for a cotract account while creating it using transaction caa1.

regards,

surya.

3 REPLIES 3

Former Member
0 Kudos
83

use SET PARAMETER in PBO

0 Kudos
83

Hi thanks for reply,

could u plz give me solution descriptively

regards,

surya

Former Member
0 Kudos
83

hi,

use SET PARAMETERS for filling up of default values for any transaction.

Here is the sample code.

********************

*----


at line-selection.

*----


get cursor field c_field.

if c_field = 'SUM_IT-BELNR'.

set parameter id 'GJR' field sum_it-gjahr.

set parameter id 'BUK' field sum_it-bukrs.

set parameter id 'BLN' field sum_it-belnr.

call transaction 'FB03' and skip first screen.

endif.

*********************

if helpful reward some points.

with regards,

Suresh Aluri.