Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Add extra column at VA01 Line item table control ?

Former Member

Dear All,

My Requirement is:

How to Add extra column at VA01 Line item table control (Item overview tab)

How to add extra tab without access key?

Is there any Screen Enhancement ?

Please find screen shot of Requirement.

1 ACCEPTED SOLUTION

Former Member

Hi Alimohamed,

To achieve your requirement, follow these steps:

  • Create an append structure in VBAP table that will hold your custom field/s in transaction SE11.
  • Go to transaction SE51, and input the following values:
    • Program - SAPMV45A
    • Screen number - 4900
  • Select the Layout Editor radio button, then click Change.
  • In the Screen Painter's toolbox, click on the Input/Output field and then drag the table control to the last row.
  • Double click on the blank area, this should add an additional column in the table control. Name it similar to the custom field in the append structure you created in VBAP (ex. VBAP-ZFIELD). Adjust the attribute according to your requirement.
  • In the toolbox again, click on the text field. Drag and drop it at the top of the column you just previously added, this will serve as the column header. Give it a name and a text value.

  • Save and Activate the screen.

You will be able to see the custom field in all the transactions that use screen 4900. For example, in VA01.

7 REPLIES 7

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

The only way I know you need access key. See note 862228, you need key because it is a modification note (read carefully symptoms). It explains how to add a field in dynpro 4900 (where you want to add the field).

I hope this helps you

Regards

Eduardo

0 Kudos

Hi,

VA01 sales order item over view having  (line item)table control, in that table control having 36 column. i need to add one more ZIMAGE column in to table control at 37th position.

I have appended ZIMAGE in VBAP table. 

How to add that image path in table control?

I hope you will get clear idea about my requirement.

Regards,

Akshath and Alimohamed Bazhir.

.

Former Member

Hi Alimohamed,

To achieve your requirement, follow these steps:

  • Create an append structure in VBAP table that will hold your custom field/s in transaction SE11.
  • Go to transaction SE51, and input the following values:
    • Program - SAPMV45A
    • Screen number - 4900
  • Select the Layout Editor radio button, then click Change.
  • In the Screen Painter's toolbox, click on the Input/Output field and then drag the table control to the last row.
  • Double click on the blank area, this should add an additional column in the table control. Name it similar to the custom field in the append structure you created in VBAP (ex. VBAP-ZFIELD). Adjust the attribute according to your requirement.
  • In the toolbox again, click on the text field. Drag and drop it at the top of the column you just previously added, this will serve as the column header. Give it a name and a text value.

  • Save and Activate the screen.

You will be able to see the custom field in all the transactions that use screen 4900. For example, in VA01.

0 Kudos

Hi Aldrin,

I also had this requirement, to add a new field to the end of the item table.

I did all similar to your post, and also added the new field to the CHAIN. However I still have 2 problems:

- the field is not getting saved - when I save the field is saved empty

- the field is not persistent. I write it, i give Enter and it's cleared (this one I fixed updating the xvbap table)

Anyone has something to say about this? what's the correct procedure?

edit: I also added the field to the additional fields B. If I edit the field there, the update is saved. Also If at same time I change the content on the table, I change another field, it's also saved.

Best Regards,

Charles

0 Kudos

Hi Former Member,

In addition to the steps above, you also need to include your custom field in the flow logic of the screen 4900.

To do this, please follow these steps:

  1. Go to transaction SE51, and input the following values:
    • Program - SAPMV45A
    • Screen number - 4900
  2. Make sure that the Flow logic radio button is selected, then click Change.
  3. Series of dialog boxes will appear, just click the Check button or press Enter.
  4. In the Process After Input, include your custom field in the second chain after the following comments:

     * Auftragsposition: alle Felder aus Position, kaufmännischen Daten und *

     *                   zugehörige E/A-Felder in der 'BEARBEITEN-KETTE'

   5.  Save and activate the screen.

Hope this helps.

Regards,

Aldrin

0 Kudos

Hi Aldrin,

You nailed it!!!

Thanks.

0 Kudos

I'm trying to do the same as you explained, but in another dynpro ( SAPLCOMK / 5120 ).

When I check or activate the dynpro after adding the new field to the tablecontrol I'm getting the following error message:

"Container description for control does not exist"


Do you have any idea or clue about this message?


Best regards.