cancel
Showing results for 
Search instead for 
Did you mean: 

Change default Logistic Area for Goods Receipt with ABSL

former_member200567
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member200567
Active Contributor
0 Kudos

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

former_member200567
Active Contributor
0 Kudos

Any suggestion?

Is the requirement possible to implement?

Best Regards

Fred

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Fred,

I am not familar with purchasing.

How do you trigger the Post Goods Receipt creation?

Bye,
    Horst

former_member200567
Active Contributor
0 Kudos

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

umehring4cloud
Participant
0 Kudos

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

former_member200567
Active Contributor
0 Kudos

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

umehring4cloud
Participant
0 Kudos

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

Former Member
0 Kudos

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

former_member200567
Active Contributor
0 Kudos

Hi Sambasiva,

Yes, I can assign the logistics area now in Post Goods Receipt.

Needed to ask PSM released for ConfirmedLogisticAreaKey, though.

Thanks,

Fred

Former Member
0 Kudos

Hi Frey,

  ConfirmedLogisticAreaKey field is already PSM released in SiteLogisticsLot BO, you just follow my steps you can acheive your requirement.

Regards,

Sambasiva G

former_member200567
Active Contributor
0 Kudos

Hi Sambasiva,

I meant I needed to ask PSM released for that field.

That's why it is now available (in my tenants).

The requirement was achieved after being given the PSM released.

Thanks,

Fred

Former Member
0 Kudos

Hi Frey,

ok fine

Answers (0)