06-03-2010 7:21 AM
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
06-03-2010 7:32 AM
06-03-2010 7:54 AM
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
06-03-2010 2:34 PM
> 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
06-03-2010 3:06 PM
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