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

Insert and Update Purchase Contract Condition Type

Former Member
0 Likes
738

Hi experts,

I am using the function 'BAPI_PO_CHANGE' to insert and update new item condition type for a purchase contract.

I declare the pocond and pocondx as below:

DATA: pocond LIKE bapimepocond OCCURS 0 WITH HEADER LINE.

DATA: pocondx LIKE bapimepocondx OCCURS 0 WITH HEADER LINE.

I have also added the CHANGE_ID as 'I' and 'U'.

CALL FUNCTION 'BAPI_PO_CHANGE'

EXPORTING

purchaseorder = '0000000001'

TABLES

return = it_return

pocond = pocond

pocondx = pocondx.

But i got this message: 'Not possible to process a contract using this function'

Please help.

Regards,

starry99

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
685

hai just check thi s note 197958

u will get detials hat can be created and what cant be created using this PO

m.a

hai just check thi s note 197958

u will get detials hat can be created and what cant be created using this PO

m.a

3 REPLIES 3
Read only

Former Member
0 Likes
686

hai just check thi s note 197958

u will get detials hat can be created and what cant be created using this PO

m.a

Read only

0 Likes
685

Hi,

Thanks for the information. But i have read it and seems does not help much. Because i have already add in those required fields. And i have find forums related to this. The method is the same as mine. But i cannot get it right. By the way, do i need to pass in the poheader, poheaderx, poitem, poitemx other than pocond?

Thanks,

Read only

0 Likes
685

Thread Close