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

mm predefined constants

Former Member
0 Likes
493

Hello!

Considering MM and Purchase Requisitions, I would like to know if there is some interface defining common constants, like 'item category purchase requisition'. For example, I wanna compare the pstyp value but I don't wanna to use the value to compare it...In code below, I want to avoid the first example and use the second one :

if pstyp = 7. ' NO!

if pstyp = <constant defining the value for stock transfer>. ' YES!

Thanks a lot!

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
431

Take a look at include /SAPSLL/PI_CONSTANTS_R3.

Regards

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
432

Take a look at include /SAPSLL/PI_CONSTANTS_R3.

Regards

Read only

0 Likes
431

Hi Raymond

Thank you very much! It's exactly what I need!