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_CREATEFROMDATA

Former Member
0 Likes
726

i tried to compile this bapi with "TEST_DATA_DIRECTORY"

i gave the structure CONTRACT_ITEM_IN-ITEM_NUMBER value

'10' and i get wrong message:

"item 00010 does not exist" and in transaction va41

there is ITEM 10,20,ext

5 REPLIES 5
Read only

Former Member
0 Likes
693

this function module is used to create contract accounts. U need to pass all the valid data to the various variables & int'tables. Might be some of the data is missing in ur test mode which is causing the error.

Try to input all data and test it once again. The contract account will be created. I tried it and it was working fine.

Read only

0 Likes
693

how i can know what data is must full in.

Read only

Former Member
0 Likes
693

As Ramesh was telling..Pls verify that you have all required data when making the call...

elaborating, make sure that the corresponding 'X' entries are also filled...For example an entry in the Item table requires an entry in the itemx table also...pls read the documentation(Pls ignore this if this is a redundant info that i have said)...

Read only

0 Likes
693

i made it and check that i put in "_INX"

but how i know if i miss someting or not.

Read only

0 Likes
693

Read the function module documentation in SE37..It talks about what are the parameters required(in general)...

however it depends on your system as to what all values needs to be passed to get a contract that is "complete"....