04-30-2009 4:02 PM
Hi friends,
in XD02 transaction i need a push button in application tool bar
ie : in the customer sales area screen i need a psuh button to be added
how can i add it.
Regards
Priyanka
05-01-2009 5:49 AM
hi,
Go to Transaction SPRO
Logistics u2013 General
Business Partner
Customers
Control
Adoption of Customeru2019s own Master Data fields
Prepare Modification
Maintain screen groups, give appropriate name for the push button in the description.
Create the implementation for badi CUSTOMER_ADD_DATA.
Assign a function code screen number and description.
This way you can create a Push button for Customer master
Regards
Sharath
05-01-2009 10:46 AM
which method i have to use it in the badi CUSTOMER_ADD_DATA
Regards
Priyanka
05-01-2009 11:05 AM
hi,
Write your code in the method CHECK_ADD_ON_ACTIVE.
The following code should solve your purpose....
method IF_EX_CUSTOMER_ADD_DATA~CHECK_ADD_ON_ACTIVE .
if i_screen_group = 'zz'. " enter your screen group here
e_add_on_active = 'X'.
endif.
endmethod.
regards
Sharath
05-01-2009 3:58 PM
i did that and i got a button on my xd01 transction.
on click of that button its taking into a custome screen
now i need to add some buttons in that suatoem screen
actually its showing me a tab strip
now how can i add the button sin that screen
Regards
Priyanka
05-04-2009 6:03 AM
hi,
If its about adding BUTTONS on the screen, then you directly do that using SE51- TCODE for Screen painter.
Open that corresponding program and screen number, add the buttons as required.
Is that you wanted.??
Regards
Sharath