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: 

Implement ALE_RESERVATION_CREATE

azouz_djelassi2
Participant
0 Kudos

Hi;

I want to trigger the generation of the IDOC MRESCR after the save the reservation MB21/MB22 transaction. To do this, they advised me to use the standard module function ALE_RESERVATION_CREATE .

In what program I need to implement this?

I want to report that, I am a young novice in ALE/IDOC and the additional setup is already perform, still me have this step. An example of implementation help me enormously to advance the project.  

Thanks in advance for your help.

1 ACCEPTED SOLUTION

former_member226225
Contributor
0 Kudos

Hi ,

Please do this.

(1) First configure the ALE Basic Settings , you will get it from the Basis Team,

  •     Create Logical Systems ( For Sender & Reciever )  ( SALE)

  •     Assign Logical System to Client ( SALE)

  •     Create RFC Destination ( SM59).

  •     Create Port Number ( WE21)

(2) Create the Outbound Partner Profile Settings (WE20) .

     Give the Port Number

 

     Mode of Dispatch ( Trigger Immediately or Collect )

     Give Message Type.

(3) Create the Distribution Model BD64.

       Add Message Type (  for Example : Sender , Reciver , Message Type )

        it will give the message.

Message type MRESCR belongs to BAPI

MaterialReservation.CreateFromData: Use the BAPI

in the model

So Click on the ADD Bapi Method .

Give Sender , Receiver  details

Obj. name/interface : MaterialReservation

Method                  :  CreateFromData

Create the Reservation record check the idoc is created or not .

I hope this will be helpful.

Thanks & Regards,

Raghunadh Kodali.

4 REPLIES 4

former_member226225
Contributor
0 Kudos

Hi ,

Please do this.

(1) First configure the ALE Basic Settings , you will get it from the Basis Team,

  •     Create Logical Systems ( For Sender & Reciever )  ( SALE)

  •     Assign Logical System to Client ( SALE)

  •     Create RFC Destination ( SM59).

  •     Create Port Number ( WE21)

(2) Create the Outbound Partner Profile Settings (WE20) .

     Give the Port Number

 

     Mode of Dispatch ( Trigger Immediately or Collect )

     Give Message Type.

(3) Create the Distribution Model BD64.

       Add Message Type (  for Example : Sender , Reciver , Message Type )

        it will give the message.

Message type MRESCR belongs to BAPI

MaterialReservation.CreateFromData: Use the BAPI

in the model

So Click on the ADD Bapi Method .

Give Sender , Receiver  details

Obj. name/interface : MaterialReservation

Method                  :  CreateFromData

Create the Reservation record check the idoc is created or not .

I hope this will be helpful.

Thanks & Regards,

Raghunadh Kodali.

former_member226225
Contributor
0 Kudos

Hi,

Is my solution worked for you or not ?

Thanks & Regards,

Raghunadh Kodali.

0 Kudos

Hi RK;

A huge thank you for these clear and concise explanations.

For the moment, I could not continue on the project following an emergency.

However as soon as possible, I think current next week, I repeat again the project and I'll keep you informed

thanks again,.

Edit : 05-Feb-2015

That's it, I resume the project and I certainly give you news.

Kind regards

0 Kudos

Hi RK;

As promised, I inform you that the configured flow as you has explained me, works manually. Now I turn to the more difficult side which is the link with the external system which requires programming.

Kind regards