cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice reference number to be displayed in PO history

samar_jose2
Contributor
0 Kudos

Hello All, We have a requirement to display the invoice reference number in the Po history. Can anyone please provide me with some tips if already worked on this, likewise how to find the Internet Service , HTML template. and whether Badi's are required for this or any FM

Thanks in advance

Rgds

Saj

Accepted Solutions (0)

Answers (2)

Answers (2)

samar_jose2
Contributor
0 Kudos

Solved

Former Member
0 Kudos

Hi,

How did you solve this issue ?

I cannot see the reference value in PO history.

Regards,

CD

Former Member
0 Kudos

Hi Saj,

I think you need to add a customer field to the PO history screen so that you can fill the value of invoice reference number there and display it.

For Adding the customer field to Po history you need to follow the below given OSS Note:

Note 672960 - User-defined fields 2

You have to add this cutom field in the following structures:

INCL_EEW_PD_HISTORY_CSF

If you have defined document-specific fields on header and/or item level, you also have to define them in structures INCL_EEW_PD_HEADER_CSF (for the fields of the header) and INCL_EEW_PD_ITEM_CSF IF THEY HAVE NOT BEEN DEFINED THERE YET. Consequently, these structures contain the combination of header or item fields of all document-specific fields.

Once the field is available in the history screen you need to map the value of the field using the the

BAdI: BBP_DOC_CHANGE_BADI.

Method: BBP_PO_CHANGE.

This must get you started.

Thanks,

Pradeep

samar_jose2
Contributor
0 Kudos

Hi Pradeep, Thanks for the information. However we are thinking of populating the inv ref no: in the description field of th PO history where we already the invoice number if displayed, So we think that instead of creating a new field, we have have this field used to populate only the inv ref no;. In such case what would be the best way of doing this.

Please advise.

Thanks

Saj