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

Client BADI

Former Member
0 Likes
470

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

3 REPLIES 3
Read only

Former Member
0 Likes
449

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

Read only

0 Likes
449

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

Read only

0 Likes
449

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