2006 Mar 21 1:26 PM
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.
2006 Mar 21 3:18 PM
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
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
2006 Mar 21 1:44 PM
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.
2006 Mar 21 2:18 PM
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.
2006 Mar 21 2:46 PM
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
2006 Mar 21 2:39 PM
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
2006 Mar 21 3:18 PM
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
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |