2015 Mar 30 6:48 PM
Hi all,
When saving a layout for the standard report program IW58(RIQMEL20), the entry gets saved in LTDX table with the field HANDLE set to 'SERV'.
This standard report program is called from a custom report program of mine using SUBMIT PROGRAM by passing the layout which i have saved in the above step.
On debugging the standard program I found out that when calling the standard program from my custom program, layouts are fetched from the LTDX table where HANDLE = 'INST'.
But the layout i have saved has HANDLE set to 'SERV' and thus i am getting an error saying 'No layouts found'.
How should i be overcoming this error.
Is there a way to set the HANDLE to 'INST' when saving the layout?
Thanks,
Vignesh Sunkasi.K
2015 Mar 31 11:57 AM
Hi all,
The problem has been solved.
When the program is executed from the T-code(IW58) and the layout is created, the HANDLE field is set to 'SERV'.
But when the program is executed from SE38 and the layout is created, the HANDLE field is set to 'INST'.
So i had to create the layout fro SE38 to resolve the issue.
Regards,
Vignesh Sunkasi.K
2015 Mar 30 7:55 PM
There is a point in the program where it assigns the handle based on the transaction code. I think all you can do is try to set sy-tcode to one that picks your handle (and set it back after).
Rob
2015 Mar 31 11:57 AM
Hi all,
The problem has been solved.
When the program is executed from the T-code(IW58) and the layout is created, the HANDLE field is set to 'SERV'.
But when the program is executed from SE38 and the layout is created, the HANDLE field is set to 'INST'.
So i had to create the layout fro SE38 to resolve the issue.
Regards,
Vignesh Sunkasi.K