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: 

Added Custom field in va01 that value want to populate in vbak-customfield

Kishore25sap
Explorer
0 Kudos
345

Hi all,

I have created a custom field in Additional Tab B VD01 and add field in knvv and vbak with append structure its working fine . I have created a custom field in Additional Tab B (Screen 8309) in VA01 at the header level. Im referring knvv-customfield to va01 customfield (input field in additional tab B ) Now I want that value should be populate in table vbak-customfield. Please can anyone suggest me how to do that?

Regards

Kishore

6 REPLIES 6

eduardo_hinojosa
Active Contributor
0 Kudos
85

Hi

Try it with include MV45AFZZ, subroutine USEREXIT_MOVE_FIELD_TO_VBAK (for VBAK-ZZFIELD).

Regards

Eduardo

0 Kudos
85

Hi,

Thanks for ur reply.

in sapmv45a program knvv & vbak are used in dictionary structure.

so i can move it directly with move statement.( move knvv-customfield to vbak-customfield).

or anyother way.

Regards

Kishore

0 Kudos
85

Hi Kishore,

Yes you can use move statement else create a fm and move it.

Regards,

Madhu.

0 Kudos
85

Hi

Set a break-point, and if in debugging session you can access to KNVV-ZZfield, yes, you can transfer this field to VBAK.

Regards

Eduardo

Former Member
0 Kudos
85

This message was moderated.

madhu_vadlamani
Active Contributor
0 Kudos
85

Hi Kishore,

1 Add your fields in screen no 8459

2) write your code in PBO and PAI after  that.Please check and post if any issues.

Regards,

Madhu.