on 11-02-2015 7:04 AM
Hi experts,
Is it possible to change the default Logistic Area for Goods Receipt with ABSL?
ByD-> Inbound Logistic-> Purchase Orders -> Post Goods Receipt
Best Regards
Fred
Hi experts,
Any tips?
Our use case is :
1. To add an extension field (Logistic Area OVS) to Material Master
2. When we create Post Goods Receipt, we want to default the Logistic Area selected in Material Master.
Best Regards
Fred
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Horst,
Thanks.
I raised an incident, and SAP replied that it is possible.
But they did not give any hint of where we can implement.
Here is how to trigger Post Goods Receipt.
1. Create a purchase order
2. Select the purchase order and Post Goods Receipt under Inbound Logistics
3. Create Inbound Delivery and Goods Receipt screen will open.
Our use case is :
1. To add an extension field (Logistic Area OVS) to Material Master
2. When we create Post Goods Receipt, we want to default the Target Logistic Area selected in Material Master. (In Step 3)
(If the information I gave is not enough, please feel free to let me know.)
Thanks a millions,
Fred
Hi Fred,
I think the BO you are looking for is the SiteLogisticsLot. There you find a MaterialInput node which might help you - but Ito be honest I am not sure if the TargetLogistcsArea is really at this node. You might have to invetigate a little bit more.
Unfortunately this BO SiteLogisticsLot is used in more processes than only Inbound Delivery, so you might have to include some checks that it is the right process.
Best regards,
Uwe
Hi Uwe,
Thanks,
I think ConfirmedInboundDelivery is the right BO.
And i think the following is the right path to change Target Logistics Area.
ConfirmedInboundDelivery.SiteLogisticLot.MaterialInput.ConfirmLogisticsAreaKey.ID
Here is my ABSL in ConfirmedInboundDelivery.Root-Event-AfterModify.absl.
if(this.SiteLogisticLot.IsSet()){
foreach(var input in this.SiteLogisticLot.MaterialInput){
input.ConfirmLogisticsAreaKey.ID="E102"; // E102 is a eligible Logistics Area
}
}
The problem is the codes inside if() never runs because this.SiteLogisticLot is not set.
I debugged the codes.
Thanks,
Fred
Hi Fred,
I remember that we had similar problems with the ConfirmedInboundDelivery in one of our Add-Ons. If I remember correctly (it is almost 2 years ago) the SiteLogisticsLot association is not set in the ConfirmedInboundDelivery during creation (Root-Event-AfterModify runs without association set, then screen shows up with data set).
That's why we decided to integrate directly into the SiteLogisticsLot - instead of extending the ConfirmedInboundDelivery.
Best regards,
Uwe
Hi Fred,
If you want to get data from Material master BO (Extension element) to "Post Goods Receipt" screen LogisticsAreaKey element.
Step 1 : Enhance SiteLogisticsLot BO.
Step 2 : MaterialOutput(Node)-> EventAfterModify (script) file.
Step 3 : Query Material master with SiteLogisticsLot ProductID
Step 4 : Pass the Material extension field value to ConfirmLogisticsAreaKey.
Check the below image for your understanding.
Hope it will solve your issue.
Regards,
Sambasiva G
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.