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 runtime error on multiple schedules

gknguyen
Explorer
0 Likes
827

Hi ,

I am getting the runtime error while creating the PO. if i run PO which has only one line item PO is creating sucessfully but if i run PO which has multiple items my program is getting the runtime error or dump i dont know why?

please hlep me out <removed by moderator>.

Thanks,

Edited by: Thomas Zloch on Oct 20, 2011 9:25 PM

3 REPLIES 3
Read only

JL23
Active Contributor
0 Likes
709

the first 5 pages of the dump usually explain very well (understandable for ABAPers) what the problem is.

without giving any information from there it is not really possible for us to help you further

Read only

0 Likes
709

This is a piece of the dump. Hope you can offer some insight into this.

Moderator message - Please respect the 5,000 character maximum when posting. Post only the relevant portions of the dump - format out the spaces at the end of lines

Edited by: Rob Burbank on Oct 20, 2011 4:09 PM

Read only

0 Likes
709

This happens when I use BAPI_PO_CREATE1. Looks like it's in CL_PO_SCHEDULE_HANDLE_MM======CP. The error is raised in FM MEPO_DOC_SCHEDULE_GET. It appears to happen for POu2019s that more than one po line items and more than one schedule lines in each item.