Application Development 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: 

LSMW : Loading Business objects for Methods not having ALE Message Type

Former Member
0 Kudos

Hi,

I need to load Business Object 'BusinessPartner' (BUS1006) using BAPI in LSMW.I'm interested in the method CreateFromData.

Unfortunately, when I'm going to 'Maintain Object Attributes' in LSMW and choosing BAPI as Object Type and Import Method - I'm not able to find BUS1006 in the Business Object drop down associated with it!

Another finding : The method CreateFromData doesnot contain an ALE Message Type.

Any help - How I can use BUS1006 and the method CreateFromData in LSMW?

Thanks.

Arindam

3 REPLIES 3

Former Member
0 Kudos

Hi, for you first question, I can add the BUS1006 in LSMW on my server, even it is not release. Can you find it in the BAPI EXPLORER.

The second question, no problem, in BAPI Exploer, double click on the 'Does not exist' fo ALE message type. You can generate a ALE_MESSAGE type for it.

Maybe after you generate the your ALE message type, the BO will be available in the LSMW, I guess.

That's all. Hope it will be helpful.

0 Kudos

Thanks. Are you meaning that I need to create Z.. Message Type , linked to a ZIdoc type with a Z Function Modules for ALE Inbound Processing and ALE Outbound Processing.....If I try to do it its asking for an access key which I'm not very comfortable with..I hope I have understood you correctly.

Awaiting your answer.

Thanks...

Arindam

Former Member
0 Kudos

Yes, actually you need a associated message type.

But don't need to create manually, use tcode BDBG, or double click the 'ALE message type' in BAPI explorer method windows.

The BDBG will help you to create a ALE message type and IDOC message for the BAPI, and you can check them using WE60 and WE81. The segement of them are very familiar with the BAPI parameter.

After you create the ALE message, then you can choose the associated BO in LSMW.

Hope it will be helpful.