Application Development and Automation 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: 
Read only

Va01 - Additional field in items table control

Former Member
0 Likes
2,361

Hello All,

I need to have a new field in item table control data in a sales order, it is not currently available in the list.

Please let me know if we any note or a work around for this.

Regards,

Manohar

Hello All,

I need to have a new field in item table control data in a sales order, it is not currently available in the list.

Please let me know if we any note or a work around for this.

Regards,

Manohar

7 REPLIES 7
Read only

Former Member
0 Likes
1,618

Hi Manohar,

You can append fields to structure RV45A via transaction SE11. The append structure must have a name starting with the letter Z, and all fields inside that structure must start with 2 letters Z (like ZZNEWFIELD).

Furthermore you need to process your data in one of the available user exits (look in Program SAPMV45A for available USER EXITS).

Regards,

Rob.

Read only

Former Member
0 Likes
1,618

Hi,

I guess, you should also use screen exit for the new field.

Kamal

Read only

0 Likes
1,618

Hello,

Plz give the details of the Screen exit which caters this reqmt??

Regards, Murugesh AS

Read only

Former Member
0 Likes
1,618

Manohar,

You need to create an append structure for table VBAP (for example ZAVBAP) using SE11. In this structure you create your ZZ fields. If you need a non-SAP domain/data element for your field then you need to create it first using the same transaction and activate it. Attach ZAVBAP to VBAP so the SE11 shows:

.APPEND in the Fields column and

ZAVBAP in the Field type column.

Your ZZ fields will be shown automatically.

When you have finished then activate your ZAVBAP structure. You will notice when you go VA01 (for example) that a lot of programs are being recompiled. Don't worry. It will be ok.

The user-exit screen number for items is 8459 (in program SAPMV45A).

Thanks,

Wojtek

Read only

0 Likes
1,618

Hi Mano & others,

I've tried extending both table VBAP and the structure mentioned here with no luck.... were you able to figure this one out??

Thanks

Read only

0 Likes
1,618

Hi,

As Wojtek mentioned extention of table VBAP is not enough. You should also inclue your fields at appropriate screen in program SAPMV45A using screen painter.

Then your fields will be avaiable to see and program will automatically save their content.

Krzys

Read only

Former Member
0 Likes
1,618

Manohar,

My solution was that you will have your extra fields not on the table control but on the separate tab - 'Additional Data B'.

Thanks,

Wojtek