cancel
Showing results for 
Search instead for 
Did you mean: 

Function module to determine the delivery date of a Purchase requisition.

0 Kudos
540

Hi Experts,

We can see the field delivery date next to every purchase requisition created. I am curious about which FM is used to determine it during the creation of PR. Also is there a general formula for the calculation of the delivery date ?

Thanks and regards

Accepted Solutions (0)

Answers (2)

Answers (2)

thkolz
Contributor
0 Kudos

Sorry, I got your question wrong.

The delivery date is determined in FM FREIGABETERMIN_BANF_ERMITTELN which is called by BAPI_REQUISITION_CREATE (from include FMMEXE01_ERMITTELN_LIEFERDATUM, form routine ERMITTELN_LIEFERDATUM).

thkolz
Contributor
0 Kudos

Try BAPI_REQUISITION_GETDETAIL.

In the table REQUISITION_ITEMS you have the item delivery date DELIV_DATE.

DominikTylczyn
Active Contributor
0 Kudos

I indented to give a similar response, but that's not what mukeshponraj_vadivel40 is asking about. The question is about logic / function of delivery date calculation during PR creation. It's not on how to read delivery date from an existing purchase requisition.