Skip to Content
Former Member
May 12, 2016 at 07:08 AM

BDC for SE41 doesn't populate the function code


I have an urgent requirement to programatically add few buttons in the existing application toolbar for a PF-Status of a program. I couldn't find any standard FM or programs to achieve this.

So, I created a BDC recording in SHDB using tcode 'SE41' and implemented a BDC call transaction for this. But, when I run in it, it's unable to auto populate function codes and therefore the BDC fails. When it is run in foreground mode ('A'), and when the fcodes are given manually, everything works fine. Could anyone please suggest me how can I achieve this either through BDC or any other method.

Program name - 'ZRS_RND',

PF-Status - 'ZSTATUS'

Function code to be added: 'CREA'

See below the SHDB recording for the same and no where it captured the Function Code(CREA) although it captured the 'Info Text' and 'Icon Text' etc., I tried to replace RSMPE-FUNC with Function Code i.e., 'CREA' but it doesn't work.


Create new records




Creates new records