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

its really imp

Former Member
0 Likes
432

SELECT aerfmg algort amatnr amblnr awerks bbudat INTO CORRESPONDING FIELDS OF

itab FROM mseg AS a INNER JOIN mkpf AS b ON

amblnr = bmblnr WHERE

a~werks = '1000' AND

a~mblnr IN ('4900000088','4900000086' ) AND

a~matnr = 'DC0018' AND

a~lgort = 'FGS' AND

a~bwart = '101' AND

b~budat IN period.

ENDSELECT.

in this code value of 4900000086 in not coming in the column how to get values of both the mblnr in one column plz help e with this code

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
407

Hi,

Please try with the following query.

SELECT aerfmg algort amatnr amblnr awerks bbudat INTO CORRESPONDING FIELDS OF

TABLE itab FROM mseg AS a INNER JOIN mkpf AS b ON

amblnr = bmblnr WHERE

a~werks = '1000' AND

a~mblnr IN ('4900000088','4900000086' ) AND

a~matnr = 'DC0018' AND

a~lgort = 'FGS' AND

a~bwart = '101' AND

b~budat IN period.

Regards,

Aravind JM.

3 REPLIES 3
Read only

Former Member
0 Likes
408

Hi,

Please try with the following query.

SELECT aerfmg algort amatnr amblnr awerks bbudat INTO CORRESPONDING FIELDS OF

TABLE itab FROM mseg AS a INNER JOIN mkpf AS b ON

amblnr = bmblnr WHERE

a~werks = '1000' AND

a~mblnr IN ('4900000088','4900000086' ) AND

a~matnr = 'DC0018' AND

a~lgort = 'FGS' AND

a~bwart = '101' AND

b~budat IN period.

Regards,

Aravind JM.

Read only

0 Likes
407

thank you very much

Read only

0 Likes
407

sir,

is it possible that i can access erfmg in two diffrerent columns based on the posting date,movement,storage location.