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_CONTRACT_CREATE'

Former Member
0 Likes
2,970

hi friends,

have anyone used the bapi "BAPI_CONTRACT_CREATE".pls explain how to upload data for purchase contract through "BAPI_CONTRACT_CREATE".

regards,

sivaraman

10 REPLIES 10
Read only

Former Member
0 Likes
1,886

Which version you are working on, this does not exist at least on 4.7?

Regards,

Ravi

Read only

0 Likes
1,886

my version is SAP ECC 6.0

Read only

Former Member
0 Likes
1,886

I'm also on SAP ECC 6.0 and I'm trying to use "BAPI_CONTRACT_CREATE", currently, I'm getting and error message!

OBJECTS_OBJREF_NOT_ASSIGNED_NO

CX_SY_REF_IS_INITIAL

METHOD if_bapi_meout~map2e_is2erp.

ls_data = me->my_out_ref->get_data( ).

Has any one experienced this error pointing to ls_data line?

Read only

0 Likes
1,886

Service Items cannot be created using this BAPI.

Did any one encountered this situation?? Any alternatives ??

Regards

Uday Ivaturi.

Read only

0 Likes
1,886

I had exactly the same problem about this dump (dump objects_objref...) and solved it by correcting a wrong initialization in my program of BAPI parameter ITEMX-ITEM_NO. We must absolutely put the item number (otherwise dump), not 'X' value in my case (common error because most of fields in ITEMX have to contain 'X'). For example, if you have parameter ITEM-ITEM_NO = '010', you must also have the corresponding parameter ITEMX-ITEM_NO = '010'.

sandra

Read only

0 Likes
1,886

Service Items cannot be created using this BAPI.

Did any one encountered this situation?? Any alternatives ??

Regards

Uday Ivaturi

I'm facing the exact same problem..

Is there a solution to this?

When I try to create a contract with a service item, the bapi returns the following error: "Item category 9 not supported"

even though I set the item_cat value to 'D' indicating a service.

Someone?

Thanks,

Edited by: Skyrin on Jan 15, 2010 2:19 PM

Read only

0 Likes
1,886

Hi Skyrin,

I'm having the exact same problem..

Is there a solution to this?

Tks

Lucas

Read only

Former Member
0 Likes
1,886

Hello Team,

We are facing also the similar problem. Could you please help me to know if someone have solution to this ?

Thanks and Regards,

Deepak Gupta

Read only

Former Member
0 Likes
1,886

hi sivaraman,

First run the function module with the data given below. PO will be created.

Now, upload the flat file with dis data to the program.Please let me know if it works .

Company Code 1000

document type MK

create date 20110321

vendor 1000

purchase_org 1000

pur_grp 002

currency EUR

vper_end 20110414

item_no 10

short_text test

material 500-120

material_external 500-120

plant 1100

storage_location 0001

matl_grp 004

target_qty 10

net_price 20

Regards,

Sravanthi V.

Read only

0 Likes
1,886

Hello All,

Could you please help us to update about service items creation through BAPI for contract creation ?

If it is not possible through BAPI then we think we need to use BDC or call transaction. Could anybody throw some light on this if they have worked on it ?

Regards,

Deepak Gupta