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: 

Reg: How to add new tab strip in MIGO transaction

Former Member
0 Kudos

Hi Experts,

I need to add a new tab strip(Inside one selection screen, If the user clicks the new tab strip, New selection screen should populate) in MIGO transaction after pressing enter for the movement type '122'.

I tried with the BADI MB_MIGO_BADI, Simply i called the module pool program inside that BADI, But it is not giving any solution.

Please guide me to find the solution for this requirement.

Regards

Vijay.R

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.

REPORT zrmexitfinder .

TABLES: modsap, modact, tstc.

PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',

input2 LIKE modsap-typ DEFAULT ' '.

DATA: search1(6),

search2(3),

search3 LIKE modsap-member.

DATA : first_row VALUE 'Y'.

CONCATENATE: '%' input1 '%' INTO search1,

'%' input2 INTO search2.

SELECT * FROM tstc WHERE tcode LIKE search1.

first_row = 'Y'.

CHECK tstc-pgmna NE space.

CONCATENATE '%' tstc-pgmna '%' INTO search3.

SELECT * FROM modsap WHERE typ LIKE search2

AND member LIKE search3.

SELECT SINGLE * FROM modact WHERE member = modsap-name.

IF first_row EQ 'Y'.

WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,

45 modsap-member, 70 modact-name.

first_row = 'N'.

ELSE.

WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.

ENDIF.

CLEAR : modsap, modact.

ENDSELECT.

IF sy-subrc NE 0.

WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.

ENDIF.

CLEAR tstc.

ENDSELECT.

END-OF-SELECTION.

CLEAR: search1, search2, search3.

Regards,

Renjith Michael.

2 REPLIES 2

Former Member
0 Kudos

Hi,

You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.

REPORT zrmexitfinder .

TABLES: modsap, modact, tstc.

PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',

input2 LIKE modsap-typ DEFAULT ' '.

DATA: search1(6),

search2(3),

search3 LIKE modsap-member.

DATA : first_row VALUE 'Y'.

CONCATENATE: '%' input1 '%' INTO search1,

'%' input2 INTO search2.

SELECT * FROM tstc WHERE tcode LIKE search1.

first_row = 'Y'.

CHECK tstc-pgmna NE space.

CONCATENATE '%' tstc-pgmna '%' INTO search3.

SELECT * FROM modsap WHERE typ LIKE search2

AND member LIKE search3.

SELECT SINGLE * FROM modact WHERE member = modsap-name.

IF first_row EQ 'Y'.

WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,

45 modsap-member, 70 modact-name.

first_row = 'N'.

ELSE.

WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.

ENDIF.

CLEAR : modsap, modact.

ENDSELECT.

IF sy-subrc NE 0.

WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.

ENDIF.

CLEAR tstc.

ENDSELECT.

END-OF-SELECTION.

CLEAR: search1, search2, search3.

Regards,

Renjith Michael.

Former Member
0 Kudos

Hello Rajgopal ,

In The T code Migo you can Add new tab Strip but better you used the existing One .

I have found in the T code Migo There is one Screen there which you can used as Screen exit .

The name is mention below :

SAPLMIGO Screen No 5000

Hope it will help you.

Regards

Swati Namdeo