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

ALE error in distributing model view

Former Member
0 Likes
3,658

Hi all,

I have one client & two logical systems ,ihave generated the partner profile successfully , but when i try to distribute the model view i get the error message :

Model view is not been updated.

Reason:distribution model is currently being processed.

Any help in this regard would be appreciated.

reagrds.

1 ACCEPTED SOLUTION
Read only

dani_mn
Active Contributor
0 Likes
1,794

Because your client is one so when its tries to update the distribution model in second LS then it is also the same client and distribution model is already in process in first LS.

Use two different clients or systems.

Regards,

Wasim Ahmed

13 REPLIES 13
Read only

dani_mn
Active Contributor
0 Likes
1,795

Because your client is one so when its tries to update the distribution model in second LS then it is also the same client and distribution model is already in process in first LS.

Use two different clients or systems.

Regards,

Wasim Ahmed

Read only

Former Member
0 Likes
1,794

what iam doing is:

i have two logical systems :sys1 & sys2.

sys1 is assigned to client 800.

sys2 is assigned to client 805.

created rfc destination for sys1 & sys2 in which target host is the name of application server of client 800,

in bd64 i created model view in which sender is sys1 & reciever is sys2 message type MATMAS generated partner profile.

Now the problem is coming when i try to distribute the view, wht i need to know is if in the given scenario is it necessary to distribute the model view?

Message was edited by: annie sidd

Read only

Former Member
0 Likes
1,794

Hi Annie,

You only have to distribute the model in case of different systems. You can then use ir to create the partner profile in the partner system. In case of multiple clients you can just logon to the 'partner' client and generate the partner profile.

Regards,

John.

Read only

Former Member
0 Likes
1,794

HI ANNIE

IN SENDER SYS1: TARGET HOST WILL BE :CLIENT 805

IN RECIEVER SYS2 TARGET HOST WILL BE: CLIENT 800

Read only

0 Likes
1,794

check the rfc destination.

for sys1 , it should be sys2

and for sys2 it should be sys1

Read only

Former Member
0 Likes
1,794

HI Annie...

what happen ..? hv u done that..?

gv me ur mail id.

Read only

Former Member
0 Likes
1,794

Hello Anni,

ALE is used to sent IDocs from one system/client to another system/client. One client can have only one logical system assigned to it, not 2! If you distribute your model view in your case the system is trying to distribute to itself, hence the error "currently being processed".

Regards,

John.

Read only

Former Member
0 Likes
1,794

Hai Annie

go through the following Steps

1)a Goto Tcode SALE

Click on Sending & Receiving Systems-->Select Logical Systems

Here Define Logical Systems---> Click on Execute Button

go for new entries

1) System Name : ERP000

Description : Sending System

2) System Name : ERP800

Description : Receiving System

press Enter & Save

it will ask Request

if you want new request create new Request orpress continue for transfering the objects

B) goto Tcode SALE

Select Assign Client to Logical Systems-->Execute

000--> Double click on this

Give the following Information

Client : ERP 000

City :

Logical System

Currency

Client role

Save this Data

Step 2) For RFC Creation

Goto Tcode SM59-->Select R/3 Connects

Click on Create Button

RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles

give the information for required fields

RFC Destination : ERP800

Connection type: 3

Description

Target Host : ERP000

System No:000

lan : EN

Client : 800

User : Login User Name

Password:

save this & Test it & RemortLogin

3)

Goto Tcode BD64 -- click on Change mode button

click on create moduleview

short text : xxxxxxxxxxxxxx

Technical Neme : MODEL_ALV

save this & Press ok

select your just created modelview Name :'MODEL_ALV'.

goto add message type

Model Name : MODEL_ALV

sender : ERP000

Receiver : ERP800

Message type :MATMAS

save & Press Enter

4) Goto Tcode BD82

Give Model View : MODEL_ALV

Partner system : ERP800

execute this by press F8 Button

it will gives you sending system port No :A000000015(Like)

5) Goto Tcode BD64

seelct the modelview

goto >edit>modelview-->distribute

press ok & Press enter

6)goto Tcode : BD10 for Material sending

Material : mat_001

Message Type : MATMAS

Logical System : ERP800

and Execute

7)goto Tcode : BD11 for Material Receiving

Material : mat_001

Message Type : MATMAS

and Execute --> 1 request idoc created for message type Matmas

press enter

Here Master Idoc set for Messge type MATMAS-->press Enter

1 Communication Idoc generated for Message Type

this is your IDOC

Thanks & regards

Sreeni

Read only

0 Likes
1,794

hi all,

Refreshing topic,as i was not in office so couldnt read the messages thanx a lot all of u i might be late but i will award points to all of u.

basically sreenivasulu i have been configuring the ale by following the steps u have mentioned iam getting stuck at step No 5 on this step iam getting the error Model view isnot update & cannot be distributed as it is in use currently.

regards.

Also as John mentioned we distribute the model only when we have different systems as i dont have different systems so i dont need to distribute the model in that case wht should be done next.

Message was edited by: annie sidd

Read only

0 Likes
1,794

HI ANNIE

in outbound sm59:

IN SENDER SYS1: TARGET HOST WILL BE :CLIENT 805

then go to bd 64:

sender:CLIENT 800

reciever:CLIENT 805

also in inbound sm59:

IN RECIEVER SYS2 TARGET HOST WILL BE: CLIENT 800

Read only

0 Likes
1,794

hi biswajit,

thanx i would try it.

Read only

0 Likes
1,794

hi annie,

then goto <b>bd10 and send material</b>

and check the status of idoc in we05.

Read only

ashok_kumar24
Contributor
0 Likes
1,794

Hi Annie...

You can go through these links to get a better idea about ALE Configuration.

ALE/ IDOC

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

http://www.sappoint.com/abap/ale.pdf

http://www.sappoint.com/abap/ale2.pdf

http://www.sapgenie.com/sapedi/idoc_abap.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm

http://www.allsaplinks.com/idoc_sample.html

http://www.sappoint.com/abap.html

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

http://www.allsaplinks.com/idoc_sample.html

ALE/ IDOC/ XML

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp

http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm

IDOC Convertion

/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment

Thanks and Regards

Ashok Kumar.N