on 07-16-2010 11:33 AM
Hi,
I need to add new filed to komp.
I know how to do it, i just need one clarification on it.
Proceed as follows:
1. Call up the ABAP Dictionary (Transaction SE11) and create data type ZZPSTYV. Choose PSTYV as a domain.As a short text, you can use, for example, 'ZZ - sales document item category' and as a field label, you can use the field labels of PSTYV.Save, check and activate your entries.
2. Call up structure KOMPAZ in the ABAP Dictionary (Transaction SE11) in the change mode and make the following entry:
The above 2. point says that call KOMPAZ in changes mode.
Does it mean that we change it using the Access key(That would mean modification), other wise will we append structure to add field to it, which I guess is the correct way.
Please suggest.
thanks.
Dear Devendar,
Please follow instructions of moderators who suggest to search forums before posting as forums with similar issues may already there.
Anyway the below link might help
http://www.sap-img.com/sap-sd/how-to-create-field-in-komp-komp.htm
balu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Balaji,
I have followed all the steps in the above post.
in exit USEREXIT_PRICING_PREPARE_TKOMP I have added this line.
FORM USEREXIT_PRICING_PREPARE_TKOMP.
TKOMP-zzfield = xxxx-zzfield2.
*{ INSERT EDVK907165 1
*tkomp-zzroute = xkomp-zzroute.
move xkomp-zzroute to tkomp-zzroute. <<----
This line added.
*} INSERT
ENDFORM.
But I m still getting a Dump and the message says "Field symbole not assigned".
please tell me where I am making the mistake.
Thanks.
I problem was in the codeing part, I m still marking as helpfull answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.