Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Submit-layout Variant

Former Member
0 Kudos

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'.

15 REPLIES 15

Former Member
0 Kudos

anu,

are you sure about the name passed?

/text and text => the / is not there in your F4

or its a typo?

0 Kudos

Along with layout name '/' will come automatically in F4 help.

0 Kudos

Hi..

Check table LTDX

User specific layouts and standard layouts have naming conventions.

Make sure you give correct one by checking table entry

0 Kudos

The difference is User specific layouts doesnt start with /.

0 Kudos

I have given layout name correctly. please suggest any other alternative.

0 Kudos

>

> 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' "=> / added

works perfectly fine with me.

Edited by: Soumyaprakash Mishra on Dec 11, 2009 4:51 PM

0 Kudos

I tried giving this also .. Tha is not working..

SUBMIT ztest

WITH layout = '/TEST'.

0 Kudos

correct your error which resides probably between seat back and keyboard

Regards,

Clemens

0 Kudos

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

0 Kudos

>

> 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

0 Kudos

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

0 Kudos

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..

Former Member
0 Kudos

Pass the vairant name in CAPS -- '/TEST'.

Nag

0 Kudos

I have pass it as caps only.

Clemenss
Active Contributor
0 Kudos

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