Skip to Content
0
Former Member
Feb 12, 2010 at 05:21 AM

Start Routine

19 Views

Hi SAP Experts,

I have a start routine as coded below

Read all the material which has the same Prod hier

SELECT MATERIAL PROD_HIER /BIC/ZTACOIND FROM /BI0/PMATERIAL

INTO TABLE it_material

for all entries in SOURCE_PACKAGE

WHERE PROD_HIER = SOURCE_PACKAGE-prod_hier AND

MATL_TYPE = 'FERT'.

SORT it_material by prod_hier material /BIC/ZTACOIND ascending.

The scenario is that i have many materials of the type "FERT" tied up to to the same product hierarchy

example material product Hierarchy

M1 P1

M2 P1

M3 P1

The above routine helps me to fetch only the first record and not able to fetch the remaining

materials in it_material table. Can anyone please help me modify this

code to help bring the remaining materials also.

thank you in advance for your continued support and help

Regards,

sanjeev