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

problem for enhacing F-43 tcode screen

Former Member
0 Likes
1,077

hi all,

i am trying add a new field in 1st screen F-43 screen.

i found a badi FI_HEADER_SUB_1300 from which i am able to add the required field on to the std screen.

The problem is when i am running the t-code for 1st time new field is invisible.

once i enter any data in f-43 n come back from 2nd time onwards new field is being displayed.

I am unable to find the cause for this unusual behaviour,

please suggest me any method/ screen exits/ ways to overcome this.

thanks

laxmikanth

hi all,

i am trying add a new field in 1st screen F-43 screen.

i found a badi FI_HEADER_SUB_1300 from which i am able to add the required field on to the std screen.

The problem is when i am running the t-code for 1st time new field is invisible.

once i enter any data in f-43 n come back from 2nd time onwards new field is being displayed.

I am unable to find the cause for this unusual behaviour,

please suggest me any method/ screen exits/ ways to overcome this.

thanks

laxmikanth

4 REPLIES 4
Read only

vinod_vemuru2
Active Contributor
0 Likes
814

Hi,

Can you debug the PBO of the subscreen and see what are the screen properties for your field like screen-active = 0 or 1 when you enter the T-code for first time.

Thanks,

Vinod.

Read only

0 Likes
814

Check in debug and see what appends during the loop at screen in your PBO.

Read only

0 Likes
814

hi vinod/Julien,

thanks for reply.

actually for the first time the subscreen is not being called ...

Read only

0 Likes
814

Hi,

the problem is in program SAPMF05A in FORM d0100_pre_appl_sub_pbo where is a check on BKPF-BUKRS NE INITIAL

if the field is empty the badi FI_HEADER_SUB_1300 is not called.

the first time you call the transaction FB01, F-43... this field is empty

..

try to add an ENHANCEMENT an populate the field in order to bypass the check

**

if bkpf-bukrs is INITIAL.

select single bukrs from t001

into bkpf-bukrs.

endif.

**

i hope it's useful

kind regards

Carlo

Edited by: Carlo Massoni on May 21, 2010 4:40 PM