‎2013 Oct 31 9:36 AM
Hi expert,
I want to create a program that read query structure (Query Bex).
Parameter of program : Structure ID of query.
Output Program : table with several informations :
=> line description
=> line type : formula, infoobject, Restricted key figure,etc.
=> formula : ratio1+ratio2
Example, first line :
ID : FEFE794FECAE94CA94CA
Type : Formula
Formule : D45QWBAI0ZTXWXT + D45QWBAI0ZTX548 =>> I dont want this,
i want this : D45QWBAI0ZTXWXT = 897RERRFERBAI0ZTXWXT + D45ZEDEFEZ81CEXWXT
897RERRFERBAI0ZTXWXT = keyfigure1 + keyfigure 2
D45ZEDEFEZ81CEXWXT = Restricted Key Figure4
D45QWBAI0ZTX548 = keyfigure8
Conclusion :
Insertion output table formule = keyfigure1 + keyfigure 2 + Restricted Key Figure4 + keyfigure8
My problem is recursive, i lose the beginning stages when i have several formula.
My program is in attachements.
Have you got an ideas ?
Thank you for your help.
Goulwen
‎2013 Oct 31 10:02 AM
Hi,
Try to use the type statics for your declaration variable.
Regards,
Maria João Rocha
‎2013 Oct 31 11:46 AM
Hi Maria,
It's not possible, beaucause i use one perform on recursive,
i dont know how many stages i have when i begin the perform
The problem is resume by this picture.
http://www.chambily.com/recursivite/chap_VII_3_fichiers/image002.gif