Application Development and Automation 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: 
Read only

finding realease dates task

Former Member
0 Likes
599

hi all,

please see the requirement below, i am not getting correct output.please help me, if you can.

Selection screen:

PR no : EBAN-BANFN

Purchase group in PR: EBAN-EKGRP

PR Doc Type: EBAN-BSART

Requisitioner in PR: EBAN-AFNAM

PR Date : EBAN-BADAT

Put the above criteria input by user in EBAN table and fetch the relevant EBAN- BANFN

Output fields:

PR No: EBAN- BANFN

Creation Date: Put BANFN and BNFPO = 10 in EBAN and fetch EBAN-BADAT (A)

Purchase grp: Put BANFN and BNFPO = 10 in EBAN and fetch EBAN-EKGRP

Requisitioner: Put BANFN and BNFPO = 10 in EBAN and fetch EBAN- AFNAM

Release date: in table CDHDR put OBJECTCLAS = BANF, OBJECTID = EBAN-BANFN and TCODE = ME54N or ME55, fetch CDHDR-UDATE (B)

Days1: B-A

PO no: Put BANFN and BNFPO = 10 in EBAN and fetch EBAN- EBELN

PO date: Put EBELN in EKKO and fetch EKKO- BEDAT(C)

Supplier: Put EBELN in EKKO and fetch EKKO-LIFNR. Put LINFR in LFA1 and fetch LFA1-NAME

Final release: in table CDHDR put OBJECTCLAS = EINKBELEG, OBJECTID = EBAN-EBELN and TCODE = ME29N or ME28, fetch CDHDR-UDATE (D)

Days2: D-C

Day3: D-B

3 REPLIES 3
Read only

Former Member
0 Likes
543

hi all,

please see the requirement below, i am not getting correct output.please help me, if you can.

I havea requirement where i have to retrieve lead time between purchase requisition and purchase order final release date.

using tables cdhdr and eban.

Regards ,

Asha.

Read only

Former Member
0 Likes
543

Dear ,

Please check the below code, which will give the history of PR release strategy..

You need to modify the final output.

Link [http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-HistoryofPurchaseRequisitionsReleasestrategies(Readymade)ALV+Report]

Thanks and Regards,

Read only

ThomasZloch
Active Contributor
0 Likes
543

So far you only posted your complete requirement, and your error analysis is "not getting correct output". Please note that these forums will not provide complete solutions to requirements, also give all details necessary to understand a problem when posting again.

[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]

Thread locked.

Thomas