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: 

cs15 recursive to get in list

prabhanjan_reddy
Participant
0 Kudos

hi experts ..

for transaction cs15 i made a recording programm and made that as a function module

now when ever i am executing i am getting output

if i give matnr :: 200002090

plant : 1001

stlan : 1

then it will give recurrsive materials

in cs15 it will display but were as in my funtion module its not diaplying

i need all materials which are like recursive i need to get list in function module

as i need to get ouptlist for header material and i am using bdc please help me out in this

this is my code

and please help me in this ...

regards,

prabhanjan

Edited by: Rob Burbank on Jun 6, 2011 9:50 AM

Edited by: prabhanjangeevanagari on Jun 7, 2011 6:58 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi prabhanjangeevanagari,

keep track of all the materials for which you've searched where they are used. As soon as a material is used at a deeper level that it was used before, you may interrupt further searching (otherwise you'd enter in an endless loop), and identify that material as recursive.

Kind regards,

Alvaro

1 REPLY 1

Former Member
0 Kudos

Hi prabhanjangeevanagari,

keep track of all the materials for which you've searched where they are used. As soon as a material is used at a deeper level that it was used before, you may interrupt further searching (otherwise you'd enter in an endless loop), and identify that material as recursive.

Kind regards,

Alvaro