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: 

Create New Fields in Sales Order Header

Former Member
0 Kudos

Hi,

I have to create new fields in the Standard Transaction VA01 . These fields are already there in the Table VBAK.

I need to Design the Sceern in VA01 and also make sure that when user creates a Sales order and enteres the data it should be updated in the table.

Pls let me know.

thanks & Regards,

MG.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Mike,

If you have to Design the screen on the Standard Transaction VA01. And if you have Authorizations , Then in the sales order Screen if you go to header and you can find Additional Data A and Additional Data B . This screen can be used for your fields .

And You can use include MV45AFZZ, and use the perform

                                  • begin insert TCCC JDC ******************************

----


  • FORM USEREXIT_MOVE_FIELD_TO_VBAK *

----


  • This userexit can be used to move some fields into the sales *

  • dokument header workaerea VBAK. *

  • *

  • SVBAK-TABIX = 0: Create header *

  • SVBAK-TABIX > 0: Change header *

  • *

  • This form is called at the end of form VBAK_FUELLEN. *

  • *

----


form userexit_move_field_to_vbak.

Endform.

To move the fields .

I hope you don't have to move , they will be moved as they belong to the table.

pls let me know if this solves the problem.

Thanks & Regards,

Naidu.

3 REPLIES 3

Former Member
0 Kudos

See below link you find exits available in the sales order. Basically you need a screen exit to put those fields in the sales order

http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm

Former Member
0 Kudos

Hi Mike,

If you have to Design the screen on the Standard Transaction VA01. And if you have Authorizations , Then in the sales order Screen if you go to header and you can find Additional Data A and Additional Data B . This screen can be used for your fields .

And You can use include MV45AFZZ, and use the perform

                                  • begin insert TCCC JDC ******************************

----


  • FORM USEREXIT_MOVE_FIELD_TO_VBAK *

----


  • This userexit can be used to move some fields into the sales *

  • dokument header workaerea VBAK. *

  • *

  • SVBAK-TABIX = 0: Create header *

  • SVBAK-TABIX > 0: Change header *

  • *

  • This form is called at the end of form VBAK_FUELLEN. *

  • *

----


form userexit_move_field_to_vbak.

Endform.

To move the fields .

I hope you don't have to move , they will be moved as they belong to the table.

pls let me know if this solves the problem.

Thanks & Regards,

Naidu.

0 Kudos

Hi,

The problem of Desigining the Screen is solved with your help. I have seen the Additional data Screen's and its empty for Creating new fields.

Thanks for the help.

MG.