Beas Item Structure QUERY
I need some one to help. I only have few item structure only the rest item structure do not update. How to other child from item structure. Can clear my doubt as soon as possible. This is the query. Do anyone know what need to add to get the rest of the levels. It's a multilevel BOM. Do anyone try.


Comments
20 comments
for this you need a recursive function. I think, this is not possible in SQL
With beas script command
setvar=itemcode="FT"
object=ue_artikelstamm=structureexport=itemcode=<itemcode><tab>
tools=isql=select * from "BEAS_REPORTAUSWERTUNG" where "ID"=<id> order by "NR"
the system create the report and save this in the table
this command support additional parameters as
maxlevel, routingid, inactive, dateid, version, expandpoitems and quantity
example
object=ue_artikelstamm=structureexport=itemcode=FT<tab>quantity=10
Hi, But the BEAS_REPORTAUSWERTUNG first day save next day no the data empty in table. How do i apply from BEAS_REPORTAUSWERTUNG. Got any other way to to get exact data from ITEM STRUCTURE.Or any other table to get exact item structure.
Hi, BEAS_STL and OITM can match recursive item structure.
Hi, this i take from BEAS_REPORTAUSWERTUNG. BEAS_REPORTAUSWERTUNG is just temporary only. The next day is empty column. May i know which table and which column i take exact column from here.
Hi, May i know how to do recursive function.
Hi, Can give me some example?
Hi, i use the beas in hana.
Hi, BEAS_REPORTAUSWERTUNG once save is there but now the data in table is empty after update 1am. How to solve it once save data should be there after 1am update should be there also. Currently after update 1am data is empty. Do have any solve method on this report table and i request many question can give me some idea then i try it.
Thanks.
Hi, is this correct query. But why i got error when execute
with Hierachy(art1_id, itemcode, Level)
as
(
select art1_id, itemcode, 0 as Level
from beas_stl c
where c.art1_id = '266549'
union all
select c.art1_id, c.itemcode, ch.Level + 1
from beas_stl c
inner join Hierachy ch
on c.itemcode = ch.art1_id
)
select art1_id, itemcode
from Hierachy
where Level > 0
Can help me on this also. Or if this not correct can give me other solution.
He,
In SQL Server it is possible to make a recursive query using with and it contains some recursive parameters.
We use it to create some reports and it works well.
Hi, how to get correct answer. I got an error. Can I have example.
Hi, when I create query recursive there is show an error. Hierarchy not create table. If I'm using with.
Hi, can anyone give correct answer.
Hi, I just try but error. Can anyone solve this.
Hi, Do anyone can solve BEAS_REPORTAUSWERTUNG query. I comment in up. You may find it up stairs.
Hi, Can anyone solve this error.
Hi, Please anyone help me on.
Hi Martin, Can help me on how to multilevel bom.
This query can make more than level 20 right
Please sign in to leave a comment.