We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] Drag and drop alv in a subscreen

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by crepmaster (Mr)
on Oct 5 at 12:44 PM
Mark this reply as helpfulMark as helpful
I'll try something from your post but the alv doesn't display.
I've created a dynpro 202 as subscreen ,
I've created a custom container( GO_CONTAINER_OBJECT) in the dynpro 202.

in the main dynpro (200)
i have in the pbo and pai
pbo

CALL SUBSCREEN sub_202 INCLUDING 'SAPMZPMCMO' '0202'.


pai.

CALL SUBSCREEN sub_202.


in the pbo of 202 i have.

MODULE tree_and_docking.
MODULE alv_display.

module tree_and_docking.

* container for alv-tree
CREATE OBJECT:
go_container_object
EXPORTING
side = cl_gui_docking_container=>dock_at_bottom
repid = sy-repid
ratio = '40'
extension = 250
dynnr = '0202',

go_splitter
EXPORTING parent = go_container_object
rows = 1
columns = 2.

CALL METHOD:
go_splitter->set_border
EXPORTING border = space,

go_splitter->get_container
EXPORTING row = 1
column = 1
RECEIVING container = dock_sub_cont1,

go_splitter->set_row_height
EXPORTING id = 1
height = '30',

go_splitter->set_column_width
EXPORTING id = 1
width = '20',

go_splitter->get_container
EXPORTING row = 1
column = 2
RECEIVING container = dock_sub_cont2,

go_splitter->set_column_width
EXPORTING id = 2
width = '100'.


etc...
but nothing is displaying when i call the screen.
Did i miss something?

---------------Original Message---------------
From: crepmaster
Sent: Sunday, September 12, 2010 3:10 PM
Subject: Drag and drop alv in a subscreen

> I have a complex screen with differents area. I need to insert a new area where i want to put a drag and drop alv. Can i create a subscreen and put the alv dnd inside?

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
crepmaster
SAP Development Helper

Posted helpful replies on 5 threads in a group to earn a Bronze Achievement
In the Spotlight
Toolbox.com for iPhone: Ask Questions & Get Answers Anywhere. Use the New iPhone App
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language