Skip to Content
author's profile photo Former Member
Former Member

badi ME_GUI_PO_CUST is it possible to create 2 subscreen ?

hello ,

me21n

the customer ask for alote of fields in the

subscreen that i build with ME_GUI_PO_CUST ,

so is there any way to create more than on

subscreen ?

thanks .

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Aug 03, 2006 at 01:44 PM

    Check SAP Standard example:

      DATA: ls_subscriber LIKE LINE OF re_subscribers.
    
    * we want to add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'ITEM'.
    
    * each line in re_subscribers generates a subscreen. We add one subscreen in this example
      CLEAR re_subscribers[].
    * the name is a unique identifier for the subscreen and defined in this class definition
      ls_subscriber-name = subscreen1.
    * the dynpro number to use
      ls_subscriber-dynpro = '0001'.
    * the program where the dynpro can be found
      ls_subscriber-program = 'SAPLMEPOBADIEX'.
    * each subscreen needs his own DDIC-Structure
      ls_subscriber-struct_name = 'MEPO_BADI_STRUCT'.
    * a label can be defined
      ls_subscriber-label = text-001.
    * the position within the tabstrib can be defined
      ls_subscriber-position = 5.
    * the height of the screen can be defined here. Currently we suport two screen sizes:
    * value <= 7 a sevel line subscreen
    * value > 7  a 16 line subscreen
      ls_subscriber-height = 7.
    
      APPEND ls_subscriber TO re_subscribers.

    You could try to create a subscreen2 but I am sure I've tried and and it didn't work...

    Why do you need so much screen space?

    I use header and item Custom tabs and it provides me plenty of space. Remember, you subscreen can be 2 different sizes: 7 or 16 lines.

    For me it is so roomy, that I even have graphics showing in there. You can easily fit 30-50 fields in there!

    Hope it helps!

    Leonardo De Araujo

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 01:54 PM

    yes i tried it also ( subscreen 2 ) , not work ,

    i also enlarge the subscreen how much i could but

    the customer ask for more , you cant believe

    what i already build there 😊 .

    i want to find the way to do the second screen .

    in the guide they talk about this option .

    Add comment
    10|10000 characters needed characters exceeded