07-13-2007 11:22 AM
hi all,
i am new to user exits.
and my requirement is to add a field in screen for PA30 tcode screen.
so how i can go for this .
if anyone has added fields in any SAP standard screen
then plz give me the doc regd that with screen shots if u have otherwise give me the steps.
my mail id is- sanjeev.singh@prospectasoftware.com
plz i am looking urgently for it.
i will award all ur efforts.
thanks
sanjeev
07-13-2007 11:29 AM
Hi,
Do you want to modify any infotype?
Gp to pm01 and there give your infotype name. You can add field into a structure and Also set a field on screen.
http://www.sap-img.com/human/how-to-create-a-hr-infotype.htm
Reward if useful!
07-13-2007 11:36 AM
Hi,
You can try use <b>BADI HRPDV00PROFILE0001</b> and BADI HRPAD00INFTY.
User Exit ehanacement PBAS0001
<b>Reward points</b>
Regards
07-13-2007 11:57 AM
Screen Exit
Please remove the TDS-related input fields on the PO entry screen on the customer data tab (PO line details).
- TDS account
- TDS cost code
- TDS sub code
1. Goto Transaction Code Me21n
Fill the following fields
Enter
Give the input values in following fields from ORGDATA TAB
Purchasing org
Purchasing group
Company code
Vendor
Enter
Select Customer Data tab like following
USER EXIT : MM06E005 (Customer fields in purchasing document )
 Goto : T.Code : SMOD
 Give the Enhacement Name : MM06E005
 Click on Display
 Click on Components Push Button
 Double click on function module EXIT_SAPMM06E_016( Export Data to Customer Subscreen for Purchasing document item)
 Double click on Include ZXM06O01.
 Insert the following coding in that include
SET PARAMETER ID 'BUK' FIELD g_ekko-bukrs.
LOOP AT SCREEN.
IF screen-name = 'EKPO_CI-ISMSUBTITLE1'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
*>>>>>>>>>>>>>>>>>>>>>> Begin of insert CR336/BG1 >>>>>>>>>>>>>>>>>>>>>>
IF screen-name = 'G_EAN11'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
*<<<<<<<<<<<<<<<<<<<<<<< End of insert CR336/BG1 <<<<<<<<<<<<<<<<<<<<<<<
*>>>>>>>>>>>>>>>>>> Begin of Changes for K896570/501411945 <<<<<<<<<<<<<
IF screen-name = 'EKPO_CI-TDSACCOUNT'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'EKPO_CI-TDSCOST'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'EKPO_CI-TDSSUB'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
*>>>>>>>>>>>>>>>>>> End of Changes for K896570/501411945 <<<<<<<<<<<<<
*>>>>>>>>>>>>>>>>>>>>>> Begin of insert SM1 >>>>>>>>>>>>>>>>>>>>>>
IF ( screen-name = 'EKPO_CI-TDSACCOUNT'
OR screen-name = 'EKPO_CI-TDSCOST'
OR screen-name = 'EKPO_CI-TDSSUB'
OR screen-name = 'TDS_TXT_1'
OR screen-name = 'TDS_TXT_2'
OR screen-name = 'TDS_TXT_3'
OR screen-name = 'TDSACCOUNT-DESC'
OR screen-name = 'TDSCOST-DESC'
OR screen-name = 'TDSSUB-DESC' ).
IF g_ekko-bukrs(2) <> 'U6'. "not a theatrical company
screen-invisible = '1'.
screen-input = '0'.
ELSEIF g_flag = 0. "display only
screen-invisible = '0'.
screen-input = '0'.
ELSEIF g_flag = 1. "change
screen-invisible = '0'.
*>>>>>>>>>>>>>>>>>> Begin of Changes for K896570/501411945 <<<<<<<<<<<<<
screen-input = '1'. "Fharook Syed
screen-input = '0'. "Fharook Syed
*>>>>>>>>>>>>>>>>>> End of Changes for K896570/501411945 <<<<<<<<<<<<<
ENDIF.
IF screen-name = 'EKPO_CI-TDSACCOUNT'.
screen-required = '1'.
ENDIF.
MODIFY SCREEN.
ENDIF.
*>>>>>>>>>>>>>>>>>>>>>> End of insert SM1 >>>>>>>>>>>>>>>>>>>>>>
 save & activate.
 Repeat the above process in ME21N to see customer data fileds in CUSTOMER DATA tab
After the above Modifications CUSTOMER DATA is displaying like this
07-13-2007 12:24 PM
hi naresh,
thanks for the reply.
i have awarded u for this.
but i am not getting the screen shots which u have tried to show by pasting here.
so my mail id is - sanjeev.singh@prospectasoftware.com
can u send me this doc to my mail id so that i can get screen shots as well bcoz it is not showing in this answer which u have sent to me.
plz can i expect it from you.
thanks in advance