cancel
Showing results for 
Search instead for 
Did you mean: 

How to add custom field in Documents Tab of PO Header ?

Former Member
0 Kudos

Dear SRM Friends,

This is a challenging task as an ABAPer to confront to..

We are in the midst of a requirement where we have to add a custom field in the PO Header. But the requirement is to add the field in Documents Tab in PO Header Data as found in the following path of SRM Webpage :

Operational Purchaser > Purchase Orders > Process Purchase Order > Select a PO > Header Data > Documents.

As guided by "Note 672960 - User-defined fields 2" , on executing all the steps of the note the field is getting added, but in the Basic Data Tab of the PO. But this doesnt meet the client requirement.

Anybody having some solution to this, shall be greatly awarded.

Thanks in advance,

Vikas.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The simplest option would be to add/configure additional text id there. If required you can provide some fixed values that the user can select at runtime for the configured text id.

Regards

Kathirvel

Former Member
0 Kudos

Hi Kathirvel,

Thanks for your reply !!

You have reached quite close to the requirement. Although, this option is already in our minds, but actually the requirements is pretty tricky here . Had it been simple text field we would have gone this way, but it is actually to have a custom field for "Standard Text"(Tcode : SO10) field with F4 help.

Also, to further elaborate the complete requirement, the requirement is to further append this Standard Text selected to an existing custom Text ID(defined through customization by Fuctional Consultant) i.e Header Text.

Please guide in this regard. Your valuable inputs are kindly awaited.

Regards,

Vikas.

Former Member
0 Kudos

Hi Vikas,

You can define a Text ID in Header data with F4 help. But the list of values will be fixed, but configurable. This will exactly solve your problem. This will be quite simple and straight forward solution with no custom developments.

Please Navigate to

SAP Implementation Guide -> Supplier Relationship Management -> SRM Server 
-> Cross-Application Basic Settings -> Text Schema

1. Define Text Types


Select BBP_PD and double click text id. Add a new text id here.

2. Define Text Schema


Select PO and add the newly created text id and set required parameters.

3. Define Fixed Values for Texts


Select your PO transaction type and maintain the required values for F4 help / drop down.

Hope this would solve your problem.

Regards

Kathirvel

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kathirvel,

Thanks for the explanation and the steps.

Unfortunately but the Fixed Values as told by you are not fixed in this requirement case, as the Standard Texts(which as per you should be given in the configuration of Fixed Text in SPRO) are defined in Tcode : SO10 by the consultant and should be linked directly with this new custom field. Otherwise as told by you, the consultant has to besides adding / editing the Standard Text in SO10 also has to do the same in Configuration of Fixed Text in SPRO.

Please let me know your opinion and if you have an alternative approach !!

Regards,

Vikas.

Former Member
0 Kudos

Hi Vikas,

Unfortunately the below are the only options available:

1. Text Id with Fixed values as I suggested above

I will recommend this as there are no custom development and the data is captured in the document text

2. Adding a customer field in the header section say basic data etc (I dont think it is possible to get that in the document tab).

This would consume unnecessary efforts for custom developments.

End of the day the requirement is to capture the text in an text id in both cases. I would rather prefer/recommend the simplest and easy to maintain approach (let it be SO10 + developments or the config way, I leave this to you to decide).

Hope the above solves your problem. All the best.

Regards

Kathirvel