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

Problem In BAPI_PO_CREATE1.....

Former Member
0 Likes
770

Hello,

I am facing a problem when i creating a service PO using BAPI_PO_CREATE1. I have pass the following values

In POHEADER

Document type

Purchase Organization

Purchase group

company code

vendor

Currency

In POHEADERX pass X values to the corresponding POHEADER

in POITEM

PO item

short text

plant

storage location

material group

quantity

po unit

Item Category i.e 'D'

Account Assignment Category i.e 'K'

Package No

in POITEX pass X values to the corresponding POITEM

in POACCOUNT

Po item

serial No

In POACCOUNTX pass X values to the corresponding POACCOUNT

In POSERVICES

Package no

Line No

Service No

Quantity

Gross price

In POSRVACCESSVALUES

Package no

Line no

when i execute with the following values it shows the following error message

E MEPO 002 PO Header Data still faulty

E BAPI 001 No instance of Object type purchase order has been created. External Reference

E SE 029 Please Maintain Service or limits.

Please give me some valuable Suggestion

Advance Thanks for All

2 REPLIES 2
Read only

glauco
Active Contributor
0 Likes
611

Hi. I had same problem and I did like this:

gs_pocontractlimits-pckg_no =

p_ebelp.
  gs_pocontractlimits-line_no     = p_ebelp.
  gs_pocontractlimits-con_number = '6000000084'.
  gs_pocontractlimits-con_item   = '10'.
  gs_pocontractlimits-limit      = '10'.
  gs_pocontractlimits-no_limit   = abap_on.
  APPEND gs_pocontractlimits TO gt_pocontractlimits.

But now. it gives other error to me: fill account item.

best regards,

Glauco

Read only

glauco
Active Contributor
0 Likes
611

Hi. I had same problem and I did like this:

gs_pocontractlimits-pckg_no =

p_ebelp.
  gs_pocontractlimits-line_no     = p_ebelp.
  gs_pocontractlimits-con_number = '6000000084'.
  gs_pocontractlimits-con_item   = '10'.
  gs_pocontractlimits-limit      = '10'.
  gs_pocontractlimits-no_limit   = abap_on.
  APPEND gs_pocontractlimits TO gt_pocontractlimits.

But now. it gives other error to me: fill account item.

best regards,

Glauco