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

problem in view creation

Former Member
0 Likes
420

i have made a view,

in that view im using tables like afko,afpo,vbak,vbap,aufk

now i want the sales order item number which is present in vbap.

so in the tables join conditions i have written afko-kunnr = vbap-kunnr.

but if there is no customer number in afko then no ouput is getting displaced.

what changes should i do that even if there is no customer number (kunnr) i should still be able to see the ouput.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
398

Hi Amit,

Take the Order number from AFKO and write the join as AFKO-AUFNR = AFPO-AUFNR.

Then from AFPO you can take KDAUF and KDPOS like

AFPO-KDAUF = VBAP-VBELN and

AFPO-KDPOS = VBAP-POSNR.

I think this will solve your problem.

2 REPLIES 2
Read only

Former Member
0 Likes
399

Hi Amit,

Take the Order number from AFKO and write the join as AFKO-AUFNR = AFPO-AUFNR.

Then from AFPO you can take KDAUF and KDPOS like

AFPO-KDAUF = VBAP-VBELN and

AFPO-KDPOS = VBAP-POSNR.

I think this will solve your problem.

Read only

Former Member
0 Likes
398