10-09-2007 5:08 PM
Hello all,
I have a requirement in wich i need to create a new subscreen in the client screen thru a BADI.
This subscreen needs to contain a table control to show and allow the change of a Z table.
Can this be done? And if so how can it be done.
Thanks in advance,
Nuno silva
10-09-2007 5:18 PM
Hello Nuno,
The first thing to do is to find wich badi you need on the tcode you r working on.
On this forum will find the way to do it...there is a Z program that will help ypu to achieve it.
The second step is on your badi implementation create a new screen....and the rest should be easy...working the table control you refer....
another idea I think is easier.....create a table maintenance for that Z table and create a tcode for it....and finally on the badi call the tcode you created something like : CALL TRANSACTION ZMYZVIEW.
Hope this helps!!
Gabriel
10-09-2007 5:50 PM
Hello Gabriel,
Thank you for your answer.
I just have a doubt. How do i create the new screen in the badi implementation?
Nuno Silva
10-09-2007 6:00 PM
Hello Nuno,
Try like this....
Im not sure...
CALL SCREEN 0100. ---> double click....
in case you cant....create a Z Function Module on the SE37....
inside create all you need....
something like this...I wrote a pop up window...
FUNCTION ZPOP_UP.
*"----
""Interfase local
*" IMPORTING
*" REFERENCE(SELECCION1) TYPE STRING
*" REFERENCE(SELECCION2) TYPE STRING
*" EXPORTING
*" REFERENCE(SELECTED) TYPE CHAR1
*"----
SEL1 = SELECCION1. -> THIS ARE GLOBALS ON THE INCLUDES
SEL2 = SELECCION2. -> THIS ARE GLOBALS ON THE INCLUDES
call screen 100 starting at 5 5. -
> DOUBLE CLICK AND CREATE A USUAL SCREEN PAI AND PBO....
SELECTED = SEL. -> THIS ARE GLOBALS ON THE INCLUDES
ENDFUNCTION.
Hope this helps
Gabriel