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

Function Module to read delivery item

Former Member
0 Likes
4,486

Hi everyone,

Can anyone help me out with a function module to read delivery item if we pass delivery number to it.

Advance Thanks

Regards

Aadarsh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,625

Why FM??

YOu can use LIPS table for the same.

select *

from LIPS

into table it_lips

where vbeln = p_Vbeln.

4 REPLIES 4
Read only

Former Member
0 Likes
2,626

Why FM??

YOu can use LIPS table for the same.

select *

from LIPS

into table it_lips

where vbeln = p_Vbeln.

Read only

Former Member
0 Likes
2,625

Hi

Why don't you directly read the tables?

LIPS for items

LIKP for header

Max

Message was edited by: max bianchi

Read only

Former Member
0 Likes
2,625

Hi,

why do you need FM for that,

you can do using select

parameters: p_vbeln like likp-vbeln.
data: p_possnr like lips-posnr.

select single posnr
   into p_posnr
       from lips
       where vbeln = p_vbeln.

if you want this as FM , you can write your own custom FM, import vbeln, export posnr.

place the above code..inside FM

regards

vijay

Read only

hymavathi_oruganti
Active Contributor
0 Likes
2,625

see ISP_READ_DELIVERY,

/SPE/GET_SINGLE_DELIVERY

the bove fn modules may help u. if u need only fn modules.

or else u can do by select statements as suggested above