Application Development and Automation 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: 
Read only

Change Layout at Run time

arpit_shah
Contributor
0 Likes
646

hi.....

i m calling a another program using submit, and passed the selection criteria.

like.

SUBMIT YPPDAILYUPDATE

with pstngdt in temp

with entdate eq ' '

with posdate eq 'X'

with rdata eq 'X'

with logic eq ' '

with high eq 'X'

with trend eq ' '

and return.

but my problem is based on selection criteria

i want to select layout.

i have created different layout in program.

but i want to select particular layout based on passing parameters.

is it possible?........

point will be assured for the correct answers.

and thanks in advance.

Regards,

Arpit.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
623

pass layout name along with submit statement.

it displays the report in given layout format.

hi.....

i m calling a another program using submit, and passed the selection criteria.

like.

SUBMIT YPPDAILYUPDATE

with pstngdt in temp

with entdate eq ' '

with posdate eq 'X'

with rdata eq 'X'

with logic eq ' '

with high eq 'X'

with trend eq ' '

and return.

but my problem is based on selection criteria

i want to select layout.

i have created different layout in program.

but i want to select particular layout based on passing parameters.

is it possible?........

point will be assured for the correct answers.

and thanks in advance.

Regards,

Arpit.

4 REPLIES 4
Read only

Former Member
0 Likes
624

pass layout name along with submit statement.

it displays the report in given layout format.

Read only

0 Likes
623

how to pass the layout name using submit.

in repot i hv created layout.

in alv i have created layout.

i want to pass layout name.

how to do it?....

Edited by: Arpit Shah on Dec 19, 2007 6:22 AM

Read only

0 Likes
623

Hi Arpit

U can declare one field on selection-screen with no-display property and pass the type of layout which is required

while writing the statement

submit sy-cprog with l_layout ' xyz'

and return.

let me know whether it wrks or not

Edited by: neetu chhabra on Dec 19, 2007 6:58 AM

Read only

0 Likes
623

hi..

based on given ur idea & finding on sdn.

i got a solution.

Regards,

Arpit.