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

Purchase Order

Former Member
0 Likes
571

Hi Friends,

I have copied of MEDRUCK form as ZMEDRUCK and in the copied file, I want to add a field of Material Group. Kindly guide as to how to do the same.

TIA.

Regards,

Mark K

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
553

Hi Mark,

You can use Subroutines to handle this scenario.

Please check this link

http://help.sap.com/saphelp_nw04/helpdata/en/d1/803279454211d189710000e8322d00/content.htm

Best regards,

raam

Hi Friends,

I have copied of MEDRUCK form as ZMEDRUCK and in the copied file, I want to add a field of Material Group. Kindly guide as to how to do the same.

TIA.

Regards,

Mark K

3 REPLIES 3
Read only

Former Member
0 Likes
553

1. Change the script language

2. use perform statement to fetch material type

3. pass material number as parameter to perfom fetch material type from MARA i think MTART

Read only

Former Member
0 Likes
554

Hi Mark,

You can use Subroutines to handle this scenario.

Please check this link

http://help.sap.com/saphelp_nw04/helpdata/en/d1/803279454211d189710000e8322d00/content.htm

Best regards,

raam

Read only

Former Member
0 Likes
553

Hi,

After coping the form you have to decide where you want to show the field (Material Group).Based on that you can change the form to show the field.

After changing the form you might also have to change the print program to provide the value of the field to the form also you can check if the value is already avaliable no need to change the calling program. You can go in debug mode and check the structure if it is avaliable when you are calling you script.

Regards,

Himanshu Verma