‎2006 Sep 05 11:52 PM
Hi!
I need to add 2 fields to the table VBAK. The question is Next : Can I save this fields with a Z'Transaction?, or Do i have to use the Standar transaction to write this new fields??.
Thanks a lot!
Soraya
‎2006 Sep 06 5:28 PM
Use SE11 to create an APPEND structure to VBAK.
You new fields should start with ZZ. SAP can add a standard field to VBAK in future releases. An APPEND with the same name would cause problems.
You can update with standard user exits. Form USEREXIT_MOVE_FIELD_TO_VBAK in program MV45AFZZ can be used to move data to the new ZZ fields.
If a user needs to fill the fields, you can use the enhancement for additional data during sales order processing.
‎2006 Sep 06 12:04 AM
‎2006 Sep 06 12:44 AM
Hi,
You should be updating this to fields using a BAPI - "BAPI_SALESORDER_CHANGE" and use table user this BAPI "EXTENSIONIN" to update this fields. You should not direct update because that may cause future inconsistency of data.
Regards,
Tim
‎2006 Sep 06 5:33 AM
hi
good
you can do it two process
1-by using the UPDATE statement.
2-create a structure using sell and include that structure in the table VBAK.
no need to save it in any ztransction.
thanks
mrutyun^
‎2006 Sep 06 3:51 PM
Hi Mrutyun^
Sorry, but i did'nt understand the sell part, can you be more specific ?, please?.
Thanks a lot!
Regards
Soraya
‎2006 Sep 06 4:13 PM
Use the SE11 trnsaction to define an own structure.
Then you can append this structure to VBAK table.
Because there is no pre-defined include structure in the VBAK table, you have to ask SSCR code from SAP to modify this table - and that will be a standard modification.
Best wishes
‎2006 Sep 06 4:14 PM
‎2006 Sep 06 5:20 PM
Sorry, now i understand, of course i know the SE11 , but i was a little confused because Mrutyun^ wrote sell, so i tought it was some other item.
Thanks a lot.
Regards
Soraya
‎2006 Sep 06 5:28 PM
Use SE11 to create an APPEND structure to VBAK.
You new fields should start with ZZ. SAP can add a standard field to VBAK in future releases. An APPEND with the same name would cause problems.
You can update with standard user exits. Form USEREXIT_MOVE_FIELD_TO_VBAK in program MV45AFZZ can be used to move data to the new ZZ fields.
If a user needs to fill the fields, you can use the enhancement for additional data during sales order processing.