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 a new field in transaction F-02

former_member197281
Active Participant
0 Kudos

Greetings,

I would like to add a new field to the transaction f-02 at

item level.Is this possible through coding block?I tried using

coding block but was not successful.Could anyone suggest

me the best possible way of doing this enhancement.?

Helpful answers will be rewarded.

Regards,

Jinesh.

1 ACCEPTED SOLUTION

former_member181995
Active Contributor
0 Kudos

check these BADI:BADI_FDCB_SUBBAS02

BADI_FDCB_SUBBAS03

BADI_FDCB_SUBBAS04

BADI_FDCB_SUBBAS05

choose either one acoording to your screen.

all above BADi have same methods inside them.

remember you must implement both below methods to activate additional data to your screen.otherwise data would not be fetched to your screen even they are appended to screen.

PUT_DATA_TO_SCREEN_OBJECT

GET_DATA_FROM_SCREEN_OBJECT

4 REPLIES 4

former_member181995
Active Contributor
0 Kudos

check these BADI:BADI_FDCB_SUBBAS02

BADI_FDCB_SUBBAS03

BADI_FDCB_SUBBAS04

BADI_FDCB_SUBBAS05

choose either one acoording to your screen.

all above BADi have same methods inside them.

remember you must implement both below methods to activate additional data to your screen.otherwise data would not be fetched to your screen even they are appended to screen.

PUT_DATA_TO_SCREEN_OBJECT

GET_DATA_FROM_SCREEN_OBJECT

0 Kudos

hi,

can i use this badi to add a new field to the screen.or is this for

validation only?

Regards,

jinesh.

0 Kudos

yes you may add new screen fiels but some prerequisites is there to implement this BADi:

Screen fields: The fields must be in structure INVFO.

If the values in the FI document are to be saved, the fields must also be in table BKPF or BSEG. If the values in the MM document are to be saved, the fields must be in the structure ACMM_VENDOR_COMP, the view RBKP, and table RBKP.

for more info you may read the documentation of BADI_FDCB_SUBBAS01 BADi this same Documentation would be applied to all other BADI but the screen number is changed.

0 Kudos

Hi Amit,

Will it be possible for you to get some details on how you added

the screen fields?I am not able to change the subscreen object.

Regards,

jinesh.