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: 

Select inner loop statement

Former Member
0 Kudos

TABLES : MVKE,MCHB,MARA,VBAK.

SELECTION-SCREEN BEGIN OF BLOCK obl WITH FRAME TITLE text-p05.

  • Materil Number *

SELECT-OPTIONS F005 FOR MARA-MATNR.

  • Sales Organization *

SELECT-OPTIONS F006 FOR VBAK-VKORG.

  • Distribution Channel *

SELECT-OPTIONS F007 FOR VBAK-VTWEG.

SELECTION-SCREEN END OF BLOCK obl.

*internal table for the output report.

Data : begin of i_tab occurs 0,

matnr like mchb-matnr, "MATNR

grid like mchb-J_3ASIZE, "GRID

J_4KSCAT like MCHB-J_4KSCAT, "stock category

VKORG like MVKE-VKORG, "SALES ORG

VTWEG like MVKE-VTWEG, "DC

WERKS like MCHB-WERKS, "PLANT

s_1000 like MCHB-clabs, "storge in location 1000

s_1100 like MCHB-clabs, "storage in location 1100

end of i_tab.

I want a select inner loop statement depending on material number,sales org and distribution channel.

1 REPLY 1

Former Member
0 Kudos

Maybe you could try coding this yourself and get back to the forum with specific problems.

Rob