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: 

Searching material number, delivery number and destination storage unit nb.

Former Member
0 Kudos

I am given the value corresponding to the field <b>lein-lenum</b> in first screen of transaction <b>lt13</b>. How can I manage with this single datum to determine:

- Material number

- Delivery number

- Destination storage unit number

Thanks.

What I have done so far is, after calling transaction <b>lt13</b>,

if sy-subrc = 0.

clear: entrega, material, orden, hudest.

select single vbeln_gen

into entrega

from vekp

where exidv = t1.

select single matnr tanum nlenr

into (material, orden, hudest)

from ltap

where vlenr = t1

and vbeln = entrega

and werks = zpl0_centro

and lgnum = zpl0_numalm.

...

endif.

1 REPLY 1

Former Member
0 Kudos