2006 Aug 31 2:02 AM
Hi All,
I have to add few fields in Tcode VA01.
I have created the fields in the table and added the new fields in
Program : SAPMV45A
Screen No: 8459
It appears in VA01. Abla to add values and save to database.
Problem is in VA03 also it appears as input field and not display feild.
How should i change the new fields to display in VA03?
Thanks.
Regards,
Swarna
Hi All,
I have to add few fields in Tcode VA01.
I have created the fields in the table and added the new fields in
Program : SAPMV45A
Screen No: 8459
It appears in VA01. Abla to add values and save to database.
Problem is in VA03 also it appears as input field and not display feild.
How should i change the new fields to display in VA03?
Thanks.
Regards,
Swarna
2006 Aug 31 2:25 AM
On a standard screen, check the values in modification group 1 through 4 for standard SAP fields. Use the same in your custom fields.
If that does not work, you can use user exit USEREXIT_FIELD_MODIFICATION in INCLUDE MV45AFZZ.
Define the custom fields as display only on the screen.
Use a custom ZZ group for the custom fields on the screen.
In the user exit, check for SY-TCODE of VA01 or VA02, check for the custom group value, and make INPUT = 1.
2006 Aug 31 3:16 AM
Hi Norman Salter,
Not able to modify user exit USEREXIT_FIELD_MODIFICATION in INCLUDE MV45AFZZ.
When i click change in prg MV45AFZZ it goes to change mode but not able to include any code.
How should i check for the values in modification group 1 through 4 for standard SAP fields?
Regards,
Swarna
2006 Aug 31 2:47 AM
When you said that you created the fields in the table, did you APPEND to VBAP or VBAK?
If you did, do the field names start with ZZ?
2006 Aug 31 2:55 AM
Hi Norman Salter,
Table : VBAP.
Yes all fields starts with ZZ
Regards,
Swarna
2006 Aug 31 2:55 AM
Hi,
use the user exit USEREXIT_FIELD_MODIFICATION..
Thanks,
Naren
2006 Aug 31 3:17 AM
Hi Naren,
Not able to modify user exit USEREXIT_FIELD_MODIFICATION in INCLUDE MV45AFZZ.
Regards,
Swarna
2006 Aug 31 4:22 AM
HI,
in the application tool bar..there will be buttons like "INSERT" "DELETE"..which is used for modifying the standard sap code..
Press insert in the user exit.Then it will show something like this..
*{
You have to add your include here..
*}
Hope it is clear..
Thanks,
Naren
2006 Aug 31 7:39 AM
Hi,
It does not trigger the USEREXIT_FIELD_MODIFICATION in INCLUDE MV45AFZZ.
Is there any other solution?
Regards,
Swarna
Message was edited by: Swarna
2006 Aug 31 8:03 AM
Hi Swarna,
You can use omsr or oms9 transaction pass the fieldname, fieldselection group, maintenance status values as which the othe fiedls of va* transactions belong. That will create your field in that group and you will achieve that functionality of the transaction.
I think this will helpful to you...
Regards,
Brijesh Patel
2006 Aug 31 9:53 AM
Hi All,
Here goes the steps to do it:
STEP 1 : FIELD CREATION :
CREATE A FIELD IN VBAP ( LETS SAY Z_FIELD) - INCLUDE A STRUCTURE AND ADD A NEW FIELD , ACTIVATE BOTH YOUR STRUCTURE AND VBAK.
STEP 2 .GO TO THE SCREEN: (SE51)
PROGRAM NAME: SAPMV45A
SCREEN NUMBER : 8459
GO TO SCREEN LAYOUT AND CREATE A FIELD FOR YOU AND ASSIGN THE FIELD TO Z_FIELD.
IN FLOW LOGIC:
PBO CREATE A MODULE LETS SAY ; MODULE Z_SCREEN.
DOUBLE CLICK THE MODULE , U WILL LAND AT PROGRAM MV45AOZZ AND WRITE THE BELOW CODE INIT
STEP 3 : WRITE CODE IN MV45AOZZ
MODULE Z_SCREEN OUTPUT.
TO MAKE THE FIELD NON-EDITABLE ONLY FOR DISPALY MODE
LOOP AT SCREEN.
IF SY-TCODE = 'VA03'.
SCREEN-INPUT = 0.
SCREEN-OUTPUT = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDMODULE.
Regards,
Swarna
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |