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: 

MV45AFZZ

Former Member
0 Kudos

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

Former Member
0 Kudos

hi try using MARC,MARA,MARD

0 Kudos

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

former_member188685
Active Contributor
0 Kudos

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

0 Kudos

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.

former_member181995
Active Contributor
0 Kudos
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?

0 Kudos

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