Skip to Content
avatar image
Former Member

Add additional field in Sales Document

H i

To Add New Fields in Additional Data B Screen of VA01 Screen , Line Items VBAP Table

1.Create an append structure for VBAP containing the new fields......( Plz tell me how to Append and create new field with ZZ)

2. modify user exit screen SAPMV45A 8459 to map the new fields...( When i go to VBAK screen -System status--Screen Program ---Screen No 4002 instead of 8459 ....... WHAT I NEED TO MDIFY)

2. modify user Include MV45AFZZ to add ABAP logic....... LOGIC PLZ

Regards

Rohit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 27, 2009 at 12:01 PM

    Hi

    To Add New Fields in Additional Data B Screen of VA01 Screen , Line Items VBAP Table

    1.Create an append structure for VBAP containing the new fields......( Plz tell me how to Append and create new field with ZZ)

    A: GOto SE11 and create ZZ domain first or use existing one who met your requirement. assigned that domain to your data element. and then create ZZ field.

    2. modify user exit screen SAPMV45A 8459 to map the new fields...( When i go to VBAK screen -Systemstatus--Screen Program ---Screen No 4002 instead of 8459 ....... WHAT I NEED TO MDIFY)

    A: take access key/developer key to modify it. Better take help of ABAPer.

    2. modify user Include MV45AFZZ to add ABAP logic....... LOGIC PLZ

    A: What logic do you want???

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      Follow these Steps:

      1) Go to SE11 and Give the table name as VBAP and click on display.

      2) click on the append structure on the application bar.A pop up comes with the list of append structures.

      3) On that pop up ,you can find a create button( Create new append structure). Click on that.

      4) Give the name of the append structure as ZZ****. and press enter.

      5) Add your needed fieds at the componets and give the concerned componenet types ( Data Elements).

      6) If you dont find any data element for your requirement. Try to create the data element OR . Click on the Predefined type in the screen. Then you can give the Data type and length Short description.

      Save and activate the structure.

      7) Now get the access key for the program screen 8459.

      8) Place these fields with the ABAP help on this screen.

      9) If you refer same field names on the screen also, then you need not to write any logic.

      Example: If you put a field as in VBAP table as ZZASD. On the screen field name also you put it as VBAP-ZZASD. Then you need not to write any logic.

      If you refer some other name on the screen field : Like V_ZZASD. Then the value in this field needs to be moved to the VBAP-ZZASD. In this case you need to write the logic .

      VBAP-ZZASD = V_ZZASD.

      Hope you are clear.

      Regards,

      Sai