Limit PO : Enter a period for which you require this item
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?