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: 

Additional data (va31)

Former Member
0 Kudos

Hi,

I want to modify transaction VA31, "Additional Data B".

I need to add some fields and write them to VBAP in new fields ZZxxxxx.

I don't know how to add these new fields to subscreen "Additional data b".

Thanks for your help.

Liliana.

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi Liliana,

You can perform append structure to add your custom field(s)in VBAP table. Next step, go to <b>SE51</b> (Screen Painter)to modify SAP Program <b>SAPMV45A</b> Screen number <b>4459</b> for Additional data A or Screen number <b>8459</b> for Additional data B to add your append structure custom fields.

Once the above steps done, you can place your logic to populate custom fields in include program <b>MV45AFZZ</b>. i.e <b>USEREXIT_MOVE_FIELD_TO_VBAP</b>.

At the end, please ensure all program and screen are activated. Hope this will help.

Regards,

Ferry Lianto

5 REPLIES 5

Former Member
0 Kudos

additional fields can be added to the VA31 using SCREEN-EXIT. From SMOD get the relevant screen-exit for VA31. This has function modules as well as screen wherein u can add the revelant fiedls which needs to be present initially in VBAP(ZZxxx) structure.

U need to write code in the function module so that whenever the object triggers the values gets updated.

award points if useful.

0 Kudos

Excuse me, but it is the first time I will do such a thing, and I've never used SMOD, nor SCREEN-EXIT.

Can you help me, and tell me the steps I should follow in detail, please?

Thank you.

0 Kudos

Hi Liliana,

regarding the user-exits help you can refer the SAP help.

here you can get detail info.

http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm

Regards

Vjay

Former Member
0 Kudos

Hi Liliana,

I am not sure, but I think you have to change screens 8459 or 8460 from program SAPMV45A.

I will investigate and let you know.

Regards.

Message was edited by: Bruno Mikio

ferry_lianto
Active Contributor
0 Kudos

Hi Liliana,

You can perform append structure to add your custom field(s)in VBAP table. Next step, go to <b>SE51</b> (Screen Painter)to modify SAP Program <b>SAPMV45A</b> Screen number <b>4459</b> for Additional data A or Screen number <b>8459</b> for Additional data B to add your append structure custom fields.

Once the above steps done, you can place your logic to populate custom fields in include program <b>MV45AFZZ</b>. i.e <b>USEREXIT_MOVE_FIELD_TO_VBAP</b>.

At the end, please ensure all program and screen are activated. Hope this will help.

Regards,

Ferry Lianto