‎2011 Jun 23 4:25 PM
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
‎2011 Jun 30 8:27 PM
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
‎2011 Jun 30 8:33 PM
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