‎2009 Dec 11 10:16 AM
Hi all,
i have saved one layout of ALV in variant as 'test'.In selection screen one of the parameter is layout name. When i press F4 help i can see that layout name 'test'. In some other program im trying to call this program using this value. But it is returing an error message telling that no layout found. Could you please help me to reslove this issue.
ie
SUBMIT ztest
WITH layout = '/test'.
‎2009 Dec 11 10:19 AM
anu,
are you sure about the name passed?
/text and text => the / is not there in your F4
or its a typo?
‎2009 Dec 11 10:25 AM
Along with layout name '/' will come automatically in F4 help.
‎2009 Dec 11 10:39 AM
Hi..
Check table LTDX
User specific layouts and standard layouts have naming conventions.
Make sure you give correct one by checking table entry
‎2009 Dec 11 10:46 AM
The difference is User specific layouts doesnt start with /.
‎2009 Dec 11 11:08 AM
I have given layout name correctly. please suggest any other alternative.
‎2009 Dec 11 11:20 AM
>
> Along with layout name '/' will come automatically in F4 help.
dats what.. you have to put the '/' and should be in CAPS
example:
SUBMIT ztest_submit "VIA SELECTION-SCREEN ==> you can use this to see it on the screen to confirm whats passed.
with p_gjahr = 2008
with p_perio = 05
with p_vari = '/RTRTEST' "=> / addedworks perfectly fine with me.
Edited by: Soumyaprakash Mishra on Dec 11, 2009 4:51 PM
‎2009 Dec 11 11:23 AM
I tried giving this also .. Tha is not working..
SUBMIT ztest
WITH layout = '/TEST'.
‎2009 Dec 11 11:31 AM
correct your error which resides probably between seat back and keyboard
Regards,
Clemens
‎2009 Dec 11 11:32 AM
use FMs like /OSP/REPORT_GET_ALV_VARIANT
and pass the report name... it will fetch you the user INDEPENDENT variants only..
you can cross check with what exactly is the name coming
‎2009 Dec 11 11:39 AM
>
> I tried giving this also .. Tha is not working..
> SUBMIT ztest
> WITH layout = '/TEST'.
I m confused..
can u please put the exact code and also look for data truncation in layout name.
I take that you have a parameter name as +Layout+ in selection screen
Layouts are client specific 😛 ..Check the client in which u r running the report
Edited by: A J Raj on Dec 11, 2009 5:10 PM
‎2009 Dec 11 11:49 AM
yes you are right . I have a parameter with name layout.
As per my observation LTDX table is having entry with '/TEST' . But its value of filed HANDLE is 'SERV'. I guess if the value of field HANDLE is INST then it doesnt have any prob. But after saving layout value of HANDLE has set as 'SERV'. please let me now ur thoughts
‎2009 Dec 11 12:06 PM
I am not sure about this..but there is a field "INACTIVE" in LTDX table .Please check it..
May be we can trace the report and check the where clause on table LTDX table..
‎2009 Dec 11 10:21 AM
‎2009 Dec 11 10:24 AM
‎2009 Dec 11 10:42 AM
Hi Anu,
if you save variant as 'test' and try to use '/test' I can understand the system. I wouldn't fin d it either
Regards,
Clemens