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

VA01 Screen Exit

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2006 at 01: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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2006 at 01: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?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2006 at 01:55 AM

    Hi,

    use the user exit USEREXIT_FIELD_MODIFICATION..

    Thanks,

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2006 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2006 at 07: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2006 at 08: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.