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

BAPI_PO_CREATE1 pricing date issue

Former Member
0 Likes
1,122

Hi

I am creating the PO using BAPI_PO_CREATE1 but its picking pricing date as delevery date.

from POSCHEDULE.

Can anybody guide in this regards. what parameter are supposed to pass for the getting pricing date.

Regards

Sagar

6 REPLIES 6
Read only

ThomasZloch
Active Contributor
0 Likes
925

Don't leave meaningless comments when closing old threads, leave the comment box empty.

I am in the process of cleaning up the mess.

Thomas

Read only

Former Member
0 Likes
925

Hi Sagar,

Can you explain more the problem you are having?.

At this moment I only can tell you that there is no field for the picking pricing date on POSCHEDULE table.

Best regards,

Eric

Read only

0 Likes
925

Hi Eric,

Thanks for your reply.

In the BAPI we are passing

poheader = ls_poheader_bapi

poheaderx = ls_poheaderx

testrun = iv_testrun

no_authority = lc_check

no_price_from_po = lc_check

IMPORTING

exppurchaseorder = lv_exppurchaseorder

expheader = ls_expheader

TABLES

return = lt_return

poitem = lt_poitem_bapi

poitemx = lt_poitemx

poschedule = lt_poschd_bapi

poschedulex = lt_poschdx

poaccount = lt_poacc_bapi

poaccountx = lt_poaccx

pocondheader = lt_pocondheader

pocondheaderx = lt_pocondheaderx

pocond = lt_pocond_bapi

pocondx = lt_pocondx

polimits = lt_poesh_bapi

pocontractlimits = lt_poesuc_bapi

poservices = lt_poser_bapi

posrvaccessvalues = lt_poserac_bapi

poservicestext = lt_postext_bapi

potextheader = lt_pohtext_bapi

potextitem = lt_poitext_bapi.

here in this case its not picking the pricing date.

Regards

Sagar

Read only

0 Likes
925

Hi Sagar,

Can you show us how are you assigning that value to the Bapi and it's corresponding field on the "X" table?.

Regards,

Eric

Read only

0 Likes
925

Hi Eric,

Basically we do not have header condition value still its picking up the header condition.

I come across one BAPI "MEPO_DOC_TKOMV_GET" from which it is giving the mmpur_komv values in that I can KDATU as delevery date.

But not able to find out the exact reason.

Regards,

Shashi

Read only

Former Member
0 Likes
925

Answered