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: 

PO Start & End dates in BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Kudos

Dear Friends,

We are using BAPI_SALESORDER_CREATEFROMDAT2 to create a Sales order from a flat file. we are unable to find a suitable fields for PO Start & End


dates which is VEDA-VBEGDAT and VEDA-VENDDAT as a screen fileds.

Is there a suitable field which we are missing out here or should we use another BAPI for changing the dates alone?


Please suggest.


with regards,


S Dayananda Murthy

5 REPLIES 5

former_member186385
Active Contributor
0 Kudos

Hi ,

Have you checked the fields PURCH_NO_C  ( customer Purchase order) and PURCH_DATE ( Purchase Order date) components in the BAPI ?

BAPISDHD1 is the structure used to fill these details, Check the structure in SE11 and find for these fileds

thanks

santosh

0 Kudos

Hi Santosh,

The fields which you have mentioned in your reply is meant for Customer Purchase order number and Purchase order date which are already being filled.

I am looking to fill the fields PO start date and end date.

with regards,

S Dayananda Murthy

Former Member
0 Kudos

Dear Friends,

Any suggestions?

with regards,

S Dayananda Murthy

Lakshmipathi
Active Contributor
0 Kudos

Posted in functional forum and expecting technical inputs is not going to help you and that is why, you have not got proper feedback.  Try to post in the right forum to get right guidance.  Moved from SAP ERP SD Sales to ABAP Development

G. Lakshmipathi

former_member188724
Contributor
0 Kudos

Hi,

Please check FM SD_SALESDOCUMENT_CREATE

In that tables Parameter SALES_CONTRACT_IN has CON_ST_DAT & CON_EN_DAT

Hope it helps.

If not please let me know.

Regards,

K.S