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: 

ALE - using BAPI as message type

Former Member
0 Kudos

Hi Friends,

Can any provide me steps involved in setting up ALE set up using BAPI as message type.

Thanks in advance.

With Regards

Vasu

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi Vasu,

Check this link perhaps it may help to start with.

http://idocs.de/www3/cookbooks/ale/chap09/docu.htm

Regards,

Ferry Lianto

10 REPLIES 10

ferry_lianto
Active Contributor
0 Kudos

Hi Vasu,

There is no BAPI message type but there is BAPI process code.

If you want to know about BAPI/ALE integration, please check this links.

http://help.sap.com/saphelp_nw04/helpdata/en/43/b46c4b53c111d395fa00a0c94260a5/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/18/22b812773211d396b20004ac96334b/content.htm

Regards,

Ferry Lianto

0 Kudos

Hi Ferry,

I have studied the URL you have given to earlier, that document gives me the steps to create new BAPI_ALE. I would like to set up the ALE using BAPI object type BUS10010 and method Savedata to create material master data.

Kindly can you give me steps how to set up this configuration.

Thanks in advance

With Regards

Vasu

ferry_lianto
Active Contributor
0 Kudos

Hi Vasu,

Please try this.

1. Create distribution model (BD64) for message type MATMAS_BAPI.

2. Create inbound partner profile (WE20) for message type MATMAS_BAPI and IDoc type MATMAS_BAPI01 and process code BAPI.

3. Create IDoc ports (WE21)

4. Setup RFC destination (SM59).

Hope this will help to start with.

Regards,

Ferry Lianto

Please reward points if helpful.

0 Kudos

Hi Ferry,

Thanks for your reply, I have done the steps you have suggested - can you help me how to populate data into MATMAS_BAPI01 Idoc type - for example we use BD10 to pupulate data into MATMAS05 Idoc type if I use MATMAS as message type.

Thanks in advance

With regards

Vasu

ferry_lianto
Active Contributor
0 Kudos

Hi Vasu,

You can not use message type MATMAS_BAPI01 for BD10.

You can use message type MATMAS, IDoc type MATMAS05 and process code MATM for the inbound process.

For outbound process, you can use message type MATMAS, IDoc type MATMAS05.

Again, hope this will help.

Regards,

Ferry Lianto

0 Kudos

Hi Ferry,

I know that we can use BD10 only for message type MATMAS.

Can you say how to populate data into MATMAS_BAPI01 - is there any standard program SAP has provided which i can use to populate the data into Idoc.

Thanks in Advance.

With Regards

Vasu

0 Kudos

Hello,

If I understand your question properly, you want to test your ALE settings for the Inbound IDOC . If this is true, go to transaction code WE19->basic IDOC type ->MATMAS_BAPI01 and Execute. The next screen allows you to populate your test data in each of the fields related to various segments. You may fill the mandatory fields and then click 'Standard Inbound' button.

Hope this helps.

Regards,

Sreekanth

ferry_lianto
Active Contributor
0 Kudos

Hi Vasu,

I am not aware any standard program to populate IDoc MATMAS_BAPI01.

Usually, it is done in middleware/translator system lile SAP XI, Gentran and etc.

This IDoc is used for inbound process purpose only.

Why do you need to use MATMAS_BAPI01 for BD10? Any specific reason?

Regards,

Ferry Lianto

0 Kudos

Hi Ferry,

I just learning for my knowledge purpose, so i thought of taking this one for my practice purpose.

Can you help me out if you have any document with steps to configure ALE/BAPI.

Thanks for your help.

With Regards

Vasu

ferry_lianto
Active Contributor
0 Kudos

Hi Vasu,

Check this link perhaps it may help to start with.

http://idocs.de/www3/cookbooks/ale/chap09/docu.htm

Regards,

Ferry Lianto