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

Using BAPI BAPI_PLANNEDORDER_CREATE .

Former Member
0 Likes
2,665

i had set the field like this.

HEADER-ORDER_START_DATE = '20111010'.

but when the order created,i use t-code md13 to display the order_info,i check out that the date has Replaced by 2011.09.30

when i set the field any other date ,it always Replaced by 2011.09.30

can anybody know this problem?

12 REPLIES 12
Read only

madhu_vadlamani
Active Contributor
0 Likes
2,027

Hi,

Check in the date format in user profile.

Regards,

Madhu.

Read only

0 Likes
2,027

both of the fields format is DATS.

Read only

Former Member
0 Likes
2,027

Hi

Check the date format in the export parameters header-order_start_date field and see whether is there any routine to convert specific format to use it in bapi.

When you give inputs and exxecute and if you again want to give the new inputs to check,first come out of that page completely and again get inside.

Thanks

Adil

Read only

Former Member
0 Likes
2,027

Hi Jasper,

Have you commit your BAPI? Since Bapi's are not atumatically committed, use bapi_transaction_commit to take effect your changes.

Read only

0 Likes
2,027

of course, i commit bapi. and i can find the order in md13. just the field start_date is not correct

Read only

0 Likes
2,027

Hi Jasper,

thanks for your confirmation.. May we know what is the result of the RETURN TABLE once executed? Since from this table, we will know what went wrong...

Read only

0 Likes
2,027

Hi,

Did you check user profile.

Regards,

Madhu.

Read only

0 Likes
2,027

DATA FORMAT IS YYYY.MM.DD

Read only

0 Likes
2,027

RETURN VALUE IS OK... NO PROBLEM.. TYPE IS S TYPE,AND MESSAGE IS 'CREATE PLAN ORDER xxxxx.' LIKE THIS. OBLY THE FIELD START DATE IS NOT correct~

Read only

0 Likes
2,027

Hi Jasper,

Try to change that date format into dd:mm:yyyy and see.

Regards,

madhu.

Read only

0 Likes
2,027

Hi Jasper,

Give the input start date in DDMMYYYY and enter.It will work.I have checked.

Thanks

Adil

Read only

0 Likes
2,027

Give your header-start_date as 10102011.

Thanks

Adil