cancel
Showing results for 
Search instead for 
Did you mean: 

BDC G/L account creation

former_member549415
Participant
0 Kudos

Hi to all

i m doing BDC for G/L Account creation in FS00,

in that while uploading data, it not going to next window automaticaly ,means its not exicuting the create function in BDC but if do it manualy then it working properly in MODE 'A'

as per the recording program following lines has recored for first screen .

perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.

perform bdc_field using 'BDC_OKCODE'

'=%_GC 118 1'.

perform bdc_field using 'BDC_CURSOR'

'GLACCOUNT_SCREEN_KEY-SAKNR'.

perform bdc_dynpro using 'SAPLSPO4' '0300'.

perform bdc_field using 'BDC_CURSOR'

'SVALD-VALUE(02)'.

perform bdc_field using 'BDC_OKCODE'

'=FURT'.

perform bdc_field using 'SVALD-VALUE(01)'

record-VALUE.

Please guide me for this issue ...

Thanks In Advanced

Somnath

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Try

perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.

perform bdc_field using 'BDC_OKCODE'

'=ACC_CRE'.

It may work.

Regards

Shiba Prasad Dutta

dev_parbutteea
Active Contributor
0 Kudos

Hi,

try running it in mode 'E', thus execution will stop on the screen where you are having the error.

Also,try using the addition "messages into itab" in order to get error messages when your bdc encounters any errors.

Thanks and regards,

Dev

former_member549415
Participant
0 Kudos

Hi ..

i tried it by using in MODE 'E', but even its not taking create function code for create action ...

as per recording folllowing line is for create button

perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.

perform bdc_field using 'BDC_OKCODE'

'=%_GC 118 1'.

Please could u sugetst proper function code for creat action for G/L account in FS00.

Thanks

Somnath