Hi!
Until now I have used the RECARRAY format to read content server objects, but now I need to insert data in a RECARRAY, I have seen that there is the subtag add.
Basically, I need to do the following:
1. LOOP FOR
FOR
RECARRAY add values in the different header fields
ENFOR
2. OUT OF THE FOR(RUN SUBWEBREPORT AND RECARRAY ADD)
RUNSWR AND RECARRAY ADD
3. SORT RECARRAY
[LL_REPTAG_!RECA RECARRAY:SORT:"ADNID" /]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
My main doubt is when inserting or adding values in the RECARRAY, I have tried something similar to what here below, but without success.
[LL_REPTAG_'865210' setvarataId /]
[LL_REPTAG_'test.pdf' setvar:NAME /]
[LL_REPTAG_'0000000001-00001 ' setvar:ADN /]
[LL_REPTAG_"V{<'DOCID','DOCNAME','ADNID'>}"ADD:"V{<'DOCID','DOCNAME','ADNID''><'[LL_REPTAG_!DataId /]','[LL_REPTAG_!NAME /]','[LL_REPTAG_!ADN /]'>}" /]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I'd appreciate some help.
Thanks.
Until now I have used the RECARRAY format to read content server objects, but now I need to insert data in a RECARRAY, I have seen that there is the subtag add.
Basically, I need to do the following:
1. LOOP FOR
FOR
RECARRAY add values in the different header fields
ENFOR
2. OUT OF THE FOR(RUN SUBWEBREPORT AND RECARRAY ADD)
RUNSWR AND RECARRAY ADD
3. SORT RECARRAY
[LL_REPTAG_!RECA RECARRAY:SORT:"ADNID" /]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
My main doubt is when inserting or adding values in the RECARRAY, I have tried something similar to what here below, but without success.
[LL_REPTAG_'865210' setvarataId /]
[LL_REPTAG_'test.pdf' setvar:NAME /]
[LL_REPTAG_'0000000001-00001 ' setvar:ADN /]
[LL_REPTAG_"V{<'DOCID','DOCNAME','ADNID'>}"ADD:"V{<'DOCID','DOCNAME','ADNID''><'[LL_REPTAG_!DataId /]','[LL_REPTAG_!NAME /]','[LL_REPTAG_!ADN /]'>}" /]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I'd appreciate some help.
Thanks.