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

MV45AFZZ

Former Member
0 Likes
1,074

I need to use the MATNR field inside the user exit USER_EXIT_MOVE_FIELDS_TO_VBKD from some structures or internal fields generated at runtime.

Can anyone tell me the exact structure from which I can get the MATNR field other than VBAP. I am dealing with header level data only. I don't want any fields that is relevent only for line item level.

I need to use the MATNR field inside the user exit USER_EXIT_MOVE_FIELDS_TO_VBKD from some structures or internal fields generated at runtime.

Can anyone tell me the exact structure from which I can get the MATNR field other than VBAP. I am dealing with header level data only. I don't want any fields that is relevent only for line item level.

6 REPLIES 6
Read only

Former Member
0 Likes
993

hi try using MARC,MARA,MARD

Read only

0 Likes
993

These structures are not containing any data at runtime. I have checked already

Read only

Former Member
0 Likes
993

But MATNR is present at Item level only. what exactly you are doing..?

Read only

0 Likes
993

In IS AUTO the matnr determines the product hierarchy. It should address the data at header level only. I require this value of product hierarchy selected from VMS screen.

Read only

Former Member
0 Likes
993
Can anyone tell me the exact structure from which I can get the MATNR field other than VBAP.

it doesnt make any sence.

let suppose in one SO you are using perticuler MATNR which is exsist in XVBAP table at runtime.and if you fetch from this any other table then on what condition based you fetch? or of you have any condition than obviously MANT would be the same in other table as XVBAP table for perticuler SO.

any other reason for doing so?

Read only

0 Likes
993

We are using this logic before creation of any sales document.

We are getting the payer/posting partner from XVBAP table and based on those values out logic works. The problem here is we are not getting the MATNR field from any of those structures at runtime