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: 

Add a standard hidden field of the header of a PO

jos_mm
Explorer
0 Kudos


Hello everyone;

I would like to add a stardard field (EKKO- LEGAL_CONTRACT - 40 CHAR) to the header of a PO.

Currently, this field is hide (I can not see it).

Please, How can I do it?

I have tried to change in the IMG but I did not find in where:

Material management - >Purchasin - > Purchase order -> Define Screen Layout at Document Level

Thank you very much

Argpes

5 REPLIES 5

former_member226419
Contributor
0 Kudos

Hi,

Screenshot please?

BR

Sumeet

former_member184569
Active Contributor
0 Kudos

Hi Jose,

Enhance badi ME_PROCESS_PO_CUST and set the visible & invisible mode of the fields in subscreen using the method FIELDSELECTION_HEADER.

You could also try this.

SPRO- SAP Reference IMG -> Mat Management -> Purchasing -> Purchase Order -> Define screen layout at Document level.

jos_mm
Explorer
0 Kudos

Hi Susmitha/ Summet,

Susmitha

I had tried your second proposal. I activated some header fields, but I can not see this field in the PO.

I think that this field does not belong to MM. Althought this field appears in the EKKO table.

I am not sure but I think this field is reserved for SAP CLM integration (p.e.)

The other option is to create a Z field for this reference number (40 char), and customize this field.

How can I create this process?

What do you recommend me?

Thank you very much!!

ARGPES

0 Kudos

Hi Argpes,

You can create a Z field following this steps:

  • Add your Z field to the CI_EKKODB structure.

  • Run the CMOD transaction to implement the proyect for Purchase orders.

                                                      

  • Then you have to implement the EXIT FMs for your purpose (PBO and PAI events, add the new Z field to the dynpro, etc):

    • EXIT_SAPMM06E_006 --> for PBO event
    • EXIT_SAPMM06E_008 --> for PAI event
    • DYNPRO 101 --> to add the new "Z" field on the dynpro

            

Best Regards

0 Kudos

Thank you very much Adrián for your answer.