Skip to Content

Copy WA01 to ZWA01 or enhance WA01?

Hi,

I have a requirement which is to do those things:

- ADD a new Z column to the 0122 screen table-control and fill it with some data.

- Validate data of 0122 standard screen fields and trigger an error message if validations are not passed.

Which would be the best way to achieve that? Copy the transaction or with enhacements? I need some help about that, because I think that I can't achieve that use enhancements. Copying the transaction could help me, but I Would need to replace the 0122 screen by other one that I would have to create.

Thanks for your time.

Best regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 13, 2016 at 07:06 PM

    "Best way" is to work with the business users and a functional expert to find the most appropriate solution within SAP best practices. You'll need to evaluate how the available user exits / BADI / enhancement points can be used to satisfy the business need. And "business need" here would be "we must enter X data for Y purpose", not "add Z-column".

    Creating a copy of a standard transaction is not a solution unless you want to run ZSAP.

    Add comment
    10|10000 characters needed characters exceeded

    • Agreed. Never copy (the reason is discussed in many threads; enhance or do a modification of the standard; for the latter, it's supported by system upgrade tools, while a Z copy won't be supported).

  • Dec 14, 2016 at 09:57 AM

    Hi,

    It is imperative that you first find out what the Business Requirement is. Your requirement is too much focused on the chosen development.

    I've had cases where a client wanted me to add something to an SAP standard transaction screen which is used to change master data. After rejecting the requirement and communicating and trying to understand exactly what the need is, we found out that they just wanted a way to see information. The reason why they wanted it in the SAP standard transaction was because they were just used to the transaction. I think in the end I gave them a quick view which covered all of their needs.

    Kind regards, Rob Dielemans

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 19, 2016 at 10:28 PM

    Thanks for your replies. But I would need to add a custom field at item level in allocation table. This Z field should be maintained by the end user in WA01 tx because when the SO or PO is created in the WA08 tx, I am going to use the value of this Z field to fill PO or SO data at the user-exits of PO/SO creation.

    Any idea for that?

    Best regards

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 19, 2016 at 11:57 PM

    I have just found out a badi to modify ALV data

    WRF_X_AT_POOL_DISPL

    Which is the ALV that it modifies? Could that badi help me for my achievement?

    Another possibility could be to triguer a custom popul in wich the end-user would add the z data to aupo table. Any idea for that? Is there any badi or user-exit that could help me to populate the code for that?

    Bests regards.

    Add comment
    10|10000 characters needed characters exceeded