2010 Sep 03 10:00 AM
Hello folks,
at the moment I try to create some queries and infosets for some users.
The queries are not that simple so I decided to use the functionality to write a own data reading program.
Also I have to add 2 additional structures to the infoset to get the needed data.
In the first place I am able to get almost all data (also for the additional fields) I need through a join.
So far so good.
But now when I try to fill these structures in the data reading code the names of the additional structures is not known.
So I can't generate the infoset.
On the other side when I define the names of the additional fields in the data reading program I can generate the infoset.
But if I try to run query then I got the problem that the additional fields are defined twice and I get a shortdump.
I debugged now the the generation of the infoset to the point when the syntax check is made. If I set the sy-subrc there from 4 to 0 during generating the infoset Infoset and Query are working fine in the end. But that should not be the way to do it.
Is there no possibility to fill the additional fields directly in the data reading program?!?
Hope you have good answers for me.
Cheers
Hello folks,
at the moment I try to create some queries and infosets for some users.
The queries are not that simple so I decided to use the functionality to write a own data reading program.
Also I have to add 2 additional structures to the infoset to get the needed data.
In the first place I am able to get almost all data (also for the additional fields) I need through a join.
So far so good.
But now when I try to fill these structures in the data reading code the names of the additional structures is not known.
So I can't generate the infoset.
On the other side when I define the names of the additional fields in the data reading program I can generate the infoset.
But if I try to run query then I got the problem that the additional fields are defined twice and I get a shortdump.
I debugged now the the generation of the infoset to the point when the syntax check is made. If I set the sy-subrc there from 4 to 0 during generating the infoset Infoset and Query are working fine in the end. But that should not be the way to do it.
Is there no possibility to fill the additional fields directly in the data reading program?!?
Hope you have good answers for me.
Cheers
2010 Sep 06 7:30 AM
So nobody has a idea how that could work or if it is not wanted that way from SAP?
Cheers
Mark