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: 

where can i find the allocation type in va01/va02

Former Member
0 Kudos
121

hi,

In my requirement, during VA01, I need to get the ARTYP (Allocation type). At what point of sales order creation is this determined and in what structure I can find this value ?

If I have it in some structure or global variable which I can access in MOVE_FIELDS_TO_VBAK, it would be good as I need it to be used further down in my logic.

I need this value before the sales order is saved.

any idea ?

thks

5 REPLIES 5

Former Member
0 Kudos
63

check ur call stack in the debug mode........i do not hv SAP access, these days, so, i dont hv much info.

thanq

Former Member
0 Kudos
63

Hi sdnuser1 sdnsurname,

As from my search there is no Field/Data Type ARTYP (Allocation type).

Regards,

Suneel G

madan_ullasa
Contributor
0 Kudos
63

Are you talking about ATP ? The ATP check when you create a new line item.

0 Kudos
63

hi, it is available in global variable gs_arun_controlldata-artyp in MJ3ARUEX_USER_EXIT_AT_ONCE_ORD.

thnks

Former Member
0 Kudos
63

resolved myself.