10-11-2007 6:48 AM
hi all,
i am trying to upload cost center through LSMW
<b>Business Object BUS0012
Method CREATEMULTIPLE
Message Type COSTCENTER_CREATEMULTIPLE</b>
in the 4th step i am getting error message.
<b>"No target structure could be found".</b>
if u have any idea , let me know .
Points will awarded for sure , if its usefull
Thanks and regards
JK
10-11-2007 10:40 AM
Hi Jay,
In 2nd step first u sholud be creat source structure than
3rd step u shoul difine all structure fileds than process 4th step.
automatically this step is processed..
Reward is usefull.
thanks..
10-11-2007 10:45 AM
hi nagaraj patil
Thanks for the reply.
i created like that only ,
2nd step i created the structure
and in 3rd step i defined all the structure
even though i m not able to process the 4ht step.
10-11-2007 11:05 AM
10-11-2007 11:10 AM
hello pattan naveen,
i m getting the error message when i execute that step only.
when i try to assign its telling <b>"Target structure could not be found"</b>.
10-11-2007 11:16 AM
hi jaya,
is it not necessary to take the basic type.
leave ur id.
i will send u the simple documentation related to LSMW with BAPI (with screen shot).
might be u can resolve ur problem by seeing this.
Thanks
null
10-11-2007 11:35 AM
hi pattanNaveen ,
i did not take any basic type..
u just try this .. it will take only two min .
use LSMW
give the projet name etc ..
in the 1st step
select Businees Object Method (BAPI)
Business Object BUS0012
Method CREATEMULTIPLE
Message Type COSTCENTER_CREATEMULTIPLE
Basic Type COSTCENTER_CREATEMULTIPL
then in 2nd step create the structures
then in 3rd step give the values for the structures created in the 2nd step
now run the 4th step u will get the error message.
"Target structures could not be found"
is the error message.
let me know how to correct it.
Thanks and regards
JK
10-11-2007 11:37 AM
My id are ,
removed ***
Thanks yar ...
Edited by: Rob Burbank on Oct 7, 2009 9:40 AM
10-08-2009 7:25 AM
Hi JK,
The reason is Idoc Basic Type COSTCENTER_CREATEMULTIPL does not exist in your system. Please check in WE30.
The segments available in Basic type appear as target structure. As the Idoc does not exist, we are getting error "Target structures could not be found".
You can follow the below steps to create Idoc type.
1. Go to transaction BAPI
2. Click on Alphabetical tab and locate the object Cost center(Bus0012 )
3. Place the cursor on Costcenter --->CrateMultiple method . you can see the ALE message type COSTCENTER_CREATEMULTIPLE. Double click on message type , this will take you to BDBG screen.
The screen appears with default values stated below
Object/Interface Type BUS0012
Method CREATEMULTIPLE
4. Click on Display Interface button to see if already Idoc type & message type exists.
In the next screen you may get the following results
Message type
COSTCENTER_CREATEMULTIPLE
COSTCENTER_CREATEMULTIPLE already exists
IDoc type
COSTCENTER_CREATEMULTIPLE01
COSTCENTER_CREATEMULTIPLE01 does not exist
Function Module for Outbound ALE
ALE_COSTCENTER_CREATEMULTIPLE
ALE_COSTCENTER_CREATEMULTIPLE does not exist
Function Module for Inbound ALE
IDOC_INPUT_COSTCENTER_CREATEMU
IDOC_INPUT_COSTCENTER_CREATEMU does not exist
5. Go back and press create button. You may get the following error
For object BUS0012 and method CREATEMULTIPLE the message type COSTCENTER_CREATEMULTIPLE already exists
This is because ALE interface has not been completely generated for this BAPI Bus0012.
6. Unless you delete the existing incomplete interface, you cannot generate a new interface. So Delete the existing interface(press Delete button)
Then create new interface by pressing Create button.
You will get a popup with default names. Change the names as you required.
7. Once this is done successfully, finally release the Idoc segment(WE31) and Idoc type(WE30) from menu Edit -> Set release.
You can now use this newly created Idoc type and message type in your LSMW.
Please revert if you face any problem while doing the above steps.
Regards,
Savitha
10-07-2009 2:13 PM
Hi JK!
I have exactly the same problem - did you ever found a solution for this problem?
Thanks in advance,
Frank