cancel
Showing results for 
Search instead for 
Did you mean: 

Limit PO : Enter a period for which you require this item

ashish_shah
Contributor
0 Kudos


Hi Experts,

I am trying to create a Limit PO programatically using "BAPI_POEC_CREATE",

i have filled all the necessary tables Item, partner,Org data , account assignment.

However I did not find any field in BAPI_PO_ITEM_D structure where i can specify the period/duration for this limit PO.

There is only one field DELIV_DATE to mention the delivery date.

When i fill this i am getting an error "Enter a period for which you require this item".

Any solution to this error?

Regards,

Ashish Shah

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ashish,

did you check the below SAP note if its applicable to your SRM version ?

Note : 1254456

Best Regards,

Anil

ashish_shah
Contributor
0 Kudos

Thanks Anil for providing this note.

This is a consulting note, so I also checked with SAP by opening an OSS message.

I was advised by SAP that i can apply this note in my system, however ... since it is a consulting note, i can not expect any more support from SAP on this.

So now i have decided to use BBP_PD_PO_CREATE FM for limit/material POs.

Regards,

Ashish Shah

Answers (2)

Answers (2)

Former Member
0 Kudos


We are using the extended classic scenario and the SAP standard process to create limit items.   For the PO that is created in ECC the to/from dates are in EKKO KDATB and KDATE respecitvely.

On the SRM side those fields are in the table BBP_PDIGP  vper_start and vper_end

The interesting thing now that I look at my test case.   The PO in SRM does not have a validity start and end date at the header level it is all at the line item level.   However, it looks like when it created the PO in the backend it used the to/from date from the first line item. 

Hope this helps.

Sandra

sameer_ahmed6
Explorer
0 Kudos

Hi Ashish,

I guess the product type is 2 (service) for which system is expecting period of the service, Check product cateogry which you are using.

Rg,Sameer