on ‎2006 Feb 15 12:54 PM
Hi All!
I am new to ABAP.Can anybody please explain me how to do the following.
Copying customer master fields to a sales document header:
new additional customer master fileds to be added are ZZKVGR6,ZZKVGR7.
I am being provided the following procedure to follow to add the fields:
Copying customer master fields to a sales document is carried out in two steps:
1. A field in the customer master table KNVV is first copied by INCLUDE (KUAGVZ) to the sold-to party, ship-to party or payer view (KUAGV). A value is assigned to the field via a user exit (V05EZZAG).
2. The field is copied to the sales order table (VBAK) from the respective customer view (KUAGV). A value is assigned to the field via a user exit in program MV45AFZZ (USEREXIT_MOVE_FIELD_TO_VBAK).
Note:
You can create new fields (ZZ...) in an existing table. This does not cause problems during puts because the additional fields are put at the end of the table and the name range cannot be overwritten. Make certain that field names begin with "ZZ"
Now my query is where shall i add the new fields in KNVV table or shall i add in KUAGV through include KUAGVZ.
Please advise.
regards
pavan
Request clarification before answering.
Hi Pavan, towards the end u have
.INCLUDE /BEV1/EMKNVV_I
/BEV1/EMLGPFAND /BEV1/EMGPFAND
/BEV1/EMLGFORTS /BEV1/EMGFORTS
YOu can use these extensions to add ypour new fields.
Shobana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.