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: 

Adding Custom Field in FB02 at Header ( BKPF )

0 Kudos


Hi Experts,

We have a requirement where we need to add a Custom Field in FB02 Transaction at header Level ( BKPF ). Anybody has any idea as how we can do that ?Is there any screen exit or BADI which can be utilised for the same.

Thanks

Tirthankar

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Soyou want to change a customer field, in which table, BKPF  a customer table ?

Just look at header screen dynpro definitions (F1 during FB02 on dynpro 0700 and 1710)

Alas there seems to be no exit, theres is even no subscreen there. And if you start chganging the screen with sscr key, you will have also some code to change (look at BELEGKOPF_SCHREIBEN in include LF007F01 which only update a set of fields)

  • So you may consider (only suggetsions)
  • Trigger a popup to input your field (either an implicit enhancement option or any standard BADI, BTE or validation rule triggered, use usual tool to identify one)
  • Update the field in one of your table as you want or in BKPF with a substitution rule

Regards,
Raymond

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

Soyou want to change a customer field, in which table, BKPF  a customer table ?

Just look at header screen dynpro definitions (F1 during FB02 on dynpro 0700 and 1710)

Alas there seems to be no exit, theres is even no subscreen there. And if you start chganging the screen with sscr key, you will have also some code to change (look at BELEGKOPF_SCHREIBEN in include LF007F01 which only update a set of fields)

  • So you may consider (only suggetsions)
  • Trigger a popup to input your field (either an implicit enhancement option or any standard BADI, BTE or validation rule triggered, use usual tool to identify one)
  • Update the field in one of your table as you want or in BKPF with a substitution rule

Regards,
Raymond