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: 

BAPI_PO_CREATE1

Former Member
0 Kudos

Hi Experts,

I am using BAPI BAPI_PO_CREATE1 to create PO in ECC 6.0.

here along with other parameters I am also passing - po_schedule-stat_date and po_schedule-po_date to BAPI .

This has no effect in ECC 6.0 and it is taking PO DATE(EKET-BEDAT) and Statiscal delv date (EKET-SLFDT) as current date and not replacing with the values passed to BAPI.

In 4.6c same code is working fine and (EKET-BEDAT) and (EKET-SLFDT) are getting replaced correctly.

Any idea for this problem

Thanks

5 REPLIES 5

former_member194669
Active Contributor
0 Kudos

Do you filling ?

POSCHEDULEX-STAT_DATE = 'X'.

POSCHEDULEX-PO_DATE = 'X'.

0 Kudos

Definitely I am filling

POSCHEDULEX-STAT_DATE = 'X'.

POSCHEDULEX-PO_DATE = 'X

The program is all same as it was in 4.6 C and it was working fine in 4.6c and now it is not working ECC 6.0.

0 Kudos

I used BAPI_PO_CHANGE to resolve the issue for Statistical Delivery date.

but still the problem for PO_DATE is not getting resolved and for PO_DATE I am getting following message

I ME 664 Change PurchOrderDate could not be effected

Any Idea.

Thanks.

raymond_giuseppi
Active Contributor
0 Kudos

look at those OSS notes

- [Note 852896 - BAPI_PO_CREATE1: Statistics-relevant delivery date|https://service.sap.com/sap/support/notes/852896]

- [Note 858316 - BAPI_PO_CREATE1: Incorrect delivery date|https://service.sap.com/sap/support/notes/858316]

Regards,

Raymond