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

SAP Query infoset help

0 Likes
1,275

I have made infoset with just one table, BSIS, and i add additional fields my_material & my_menge (BSEG-MATNR & BSEG-MENGE), and when i generate infoset i get the message

"Unit field BSEG-MEINS will not be filled"

Affected quantity fields

my_menge

When a made query next to the bseg-menge (quantity field) comes (automatically) the filed meins witch is measurement unit filed.

What code in infoset i should write to fill bseg-meins field.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,177

Include BSEG-MEINS in your extract

I have made infoset with just one table, BSIS, and i add additional fields my_material & my_menge (BSEG-MATNR & BSEG-MENGE), and when i generate infoset i get the message

"Unit field BSEG-MEINS will not be filled"

Affected quantity fields

my_menge

When a made query next to the bseg-menge (quantity field) comes (automatically) the filed meins witch is measurement unit filed.

What code in infoset i should write to fill bseg-meins field.

Thanks in advance

6 REPLIES 6
Read only

Former Member
0 Likes
1,178

Include BSEG-MEINS in your extract

Read only

0 Likes
1,177

I am not sure that I understand you. (what is "extract")

You mean to add another additional field bseg-meins.

Problem is that that field comes automatically with field menge, and is empty,

If I add another add. Field it will be 2 meins fields, one empty and one additional that it would be filled but it not looks good on the screen.

Read only

0 Likes
1,177

You need to do a little trick here.

Define my_menge with 'LIKE reference' setting in the Field Definition with BSEG-MENGE. You will still get the message, but it will read the unit now.

Read only

0 Likes
1,177

I already have Like ref. BSEG-MENGE to my-menge, still nothing, meins is empty in query.

Read only

Former Member
0 Likes
1,177

Hi,

You might need to specify MEINS as the reference field for MENGE.

Hope this can help.

Regards

Vindy

Read only

0 Likes
1,177

Sorry, but i don't know how can i do that, would you please tell how?