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: 

want to add fields in struc VBKRED

Former Member
0 Kudos

Hi all,

I need to add few fields in VBKRED structure.

There is already one .include VBKRED_EX1available, now my requirement is to append the fields in this include.

Pls let me know, how to do it?

There is a sap note available(779389), pls let me know how to append the structure.

Thankyou,

Priya

4 REPLIES 4

former_member181995
Active Contributor
0 Kudos

Double click on VBKRED_EX1 and hit F5.

0 Kudos

Hi Amit,

Thanks for your information.

But, i dont want to use append structure in this case.

As per the sap note, it says, inorder to add extra fields to structure VBKRED,

Solution

1. Extend structure VBKRED. For this purpose use structure VBKRED_EX1

which has been inserted as an Include in structure VBKRED.

2. Fill the additional fields in program DBKMVF02 in FORM routine

USER_EXIT_FUELLEN_XVBKRED. In the user exit, internal table XVBKRED,

which also contains your additional fields now, is known.

3. Afterwards the additional fields are available in the list that are

displayed by Transactions VKM1 - 5. Add the fields to the display

variant which you use.

in second point, it mentioned to go to program DBKMVF02 in FORM routine

USER_EXIT_FUELLEN_XVBKRED, to add extra fields.

My question is how to add fields in this user exit.

Pls help me hw to achieve this.

Rgs,

Priya

0 Kudos

> 2. Fill the additional fields in program DBKMVF02 in FORM routine

> USER_EXIT_FUELLEN_XVBKRED. In the user exit, internal table XVBKRED,

> which also contains your additional fields now, is known.

It is not saying to adding fileds here. it's saying about to 'filling the fileds'.The filedds which are extended in first step are available in the exit, so you can fill the values in them.

--

Reddy

0 Kudos

Hello Priya,

1. Extend structure VBKRED. For this purpose use structure VBKRED_EX1
which has been inserted as an Include in structure VBKRED.

Extend the structure means you will have to append the field in EX1.

And second point is suggesting you to how you populate the values in those fields.

Cheers

Amit