2014 Nov 06 2:30 PM
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.
2014 Nov 09 8:36 AM
Hi ,
Please do this.
(1) First configure the ALE Basic Settings , you will get it from the Basis Team,
(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.
2014 Nov 09 8:36 AM
Hi ,
Please do this.
(1) First configure the ALE Basic Settings , you will get it from the Basis Team,
(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.
2014 Nov 11 6:15 AM
Hi,
Is my solution worked for you or not ?
Thanks & Regards,
Raghunadh Kodali.
2014 Nov 14 3:27 PM
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
2015 Mar 05 2:30 PM
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