cancel
Showing results for 
Search instead for 
Did you mean: 

Customized feilds in Change PO

Former Member
0 Kudos

Hi All,

We are in SRM 4.0 and using extended classic scenario.

We have defined a customized field in PO Header - Basic data tab. This field will get updated only for the Pos created from shopping cart with catalog items. Means there is no manual input required for thsi PO. It will get automatically generated when the shopping cart has been approved.

The value for that field will be populated from an external system while we click on the "Order and Send Immediately" button in output tab. This will be triggered by the BBP_DOC_CHECK_BADI.

Recently we changed the number of characters of that field from 3 to 4 through the structure INCL_EEW_PD_HEADER_CSF_PO and also in the smart form in synch with that external system.

Now when a Po has been created from catalog, there will be two versions (actual and historic).

It is displaying the 4 digit value only in the Historic version and also in the related print preview. In the active version it is still showing the 3 digit value (first 3 digit). Also in table BBP_PDHSC it is showing the 4 digit value only for Historic version.

It seems the changes we did is only triggered during the initial creation of Po. When there are any changes (automatic or manual) occured then it is not taking the changes.

Is there any other place, do we need to make the changes so that it will get reflected in all the versions of the Po.

Please help me.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Some other thoughts:

1. Populating a customer field is done with the BBP_DOC_CHANGE_BADI (unless you fire an event from the BBP_DOC_CHECK_BADI). So maybe there is additional coding somewhere.

2. BBP_DOC_CHECK_BADI is not being fired in your scenario - check by creating an always failing check.

3. A customised workflow? So the entry only gets filled for the CREATE event of a PO?

Regards,

Robin

Answers (1)

Answers (1)

Former Member
0 Kudos

Did you also change the customer field in include INCL_EEW_PD_HEADER_CSF? so both the include structures have the modified field?

So change:

INCL_EEW_PD_HEADER_CSF and

INCL_EEW_PD_HEADER_CSF_PO - notice the no _PO thing in the first mentioned include.

Regards,

Robin

Former Member
0 Kudos

Robin,

Thanks for your reply.

Actually we made the changes to the field which got udpated in all the structure which includes INCL_EEW_PD_HEADER_CSF and INCL_EEW_PD_HEADER_CSF_PO.

Also there should not be any difference between Hisotric version and active version when a Po has initially created. But I could see that this field is showing as the difference while comparing those versions.

Thanks.