Skip to Content
avatar image
Former Member

Adding custom screen to VL02N

HI ,

I need to add two custom fields to the tcode VL02N.

I have found the BADI

LE_SHP_TAB_CUST_ITEM whose method ACTIVATE_TAB_PAGE needs to be implemented.

However, the procedure is not clear to me as to how to bring the custom fields in display by implementing this BADI.

I am new to BADI....

Please give any suggestion or steps on how to approach.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    May 06, 2010 at 06:41 AM

    Go to se18-> LE_SHP_TAB_CUST_ITEM -> create implementaion

    Give an implementation name

    now go to Activate_tab_page.

    Create a function-Group through Se80.

    give a name for eg. ZVL02n_Cust .

    Create sreens eg. 9100 .

    Will create a program like 'SAPLZVL02N_CUST' .

    Now

    method IF_EX_LE_SHP_TAB_CUST_ITEM~ACTIVATE_TAB_PAGE.

    ef_caption = 'Waybill'.

    ef_program = 'SAPLZVL02N_CUST'.

    ef_dynpro = '9100'.

    endmethod.

    Hope it will help u

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi subhajit,

      I do have the same requirement for adding a additional screen tab in Vl01n,vl02n and vl03n. I am facing the same issue as yours. I can create the additional screen tab wtih badi LE_SHP_TAB_CUST_HEAD but cannot create additional screen tab with badi LE_SHP_TAB_CUST_ITEM. Did u find solution for this???? If yes do let me know. We have upgraded the system from 5.0 to 6.0.

      Thanks in advance

      Raj

  • avatar image
    Former Member
    May 06, 2010 at 06:36 AM

    Hi Subhajit,

    There is a clear documentation for the BADI in SE18.

    you can follow below steps:

    1) Create a program with a subscreen on which create whatever fields u want

    2) Insert below into ACTIVATE_TAB_PAGE:

    ef_caption = 'XXXX'. "Tab title

    ef_program = 'XXXX'. "program name u just created

    ef_dynpro = 'XXXX'. "the subscreen number

    --

    Reddy

    Add comment
    10|10000 characters needed characters exceeded