Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM or BAPI for date and time for the creation of a Purchase Requisition

Former Member
0 Kudos

Hi people:

Does anybody knows about a FM, BAPI or table in which i have de detail for the date and hour of the creation of a Purchase requisition?

Points for helpfull answers.

Thanks in advanced

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

If you want to get the time along with the creation date then use the tables CDHDR and CDPOS, but be careful while passing the data need to pass the entire primary fields data else it will fail in the performance test.

Reward points if useful.

Regards,

Suman

9 REPLIES 9

Former Member
0 Kudos

Hi

<b>see the table</b> EBAN for PR data, there is no BAPI for PR creation

you have date of creation etc

<b>

Reward points for useful Answers</b>

Regards

Anji

Former Member
0 Kudos

Hello,

Check the table EBAN.

Vasanth

Former Member
0 Kudos

Thanks guys:

In EBAN table i have the creation date, however i need the hour of creation too. Does anybody knows where can i get that informations.

Thanks in advanced

0 Kudos

Hi

Try the tables

TADIR and TRDIR by passing OBJECT TYPE = TABL (table) to them

Object name = EBAN

Reward points for useful Answers

Regards

Anji

Message was edited by:

Anji Reddy Vangala

Former Member
0 Kudos

Thanks Anji:

The table that you mencioned only contains dates. My requirement needs time of creation.

Thanks in advanced

Former Member
0 Kudos

Hi,

If you want to get the time along with the creation date then use the tables CDHDR and CDPOS, but be careful while passing the data need to pass the entire primary fields data else it will fail in the performance test.

Reward points if useful.

Regards,

Suman

Former Member
0 Kudos

Thanks Suman:

I've checked that table and it's wonderfull. However, the last date and time that is in that table is the release of the purchase requisition. Is there any way to get the creation time???

0 Kudos

Of all the records you find in CDHDR for object id = PR, there will be one record with change indicator = 'I'. Take the time from that record.

Use CHANGEDOCUMENT_READ function module.

0 Kudos

Hi

I think u can't know the time, CDHDR table should have only the modifications, so u can know only the date Purchase requisition was created.

Max