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

Getting PO into the subroutine program

Former Member
0 Likes
418

Hi,

When ever the PO will be created through the transaction ME21n my program it has to store the PO.

For this functionality.

I writen the subroutine program and created the entry in ME21n under the messages but it is not triggering.

Error is coming like 'ZProg does not exist'.

Any inputs for this error.

Regards,

Vijay

2 REPLIES 2
Read only

Former Member
0 Likes
384

may it be that you forgot about teh "in program" at perform in program?

Read only

Former Member
0 Likes
384

hi,

You can capture the PO number in your program using system fields such as

SY-MSGV1, SY-MSGV2, SY-MSGV3.

One of this will be filled with the required content whenever a PO is created. check it.

Thanks

Sharath