Skip to Content
1
Jul 26, 2021 at 11:10 PM

SAP Business ByDesign - Add Purchase Request to Purchase Order via ABSL Script

503 Views Last edit Jul 27, 2021 at 12:56 AM 2 rev

Hi,

I have a requirement to add Purchase Request items to already open Purchase Orders via ABSL scripts in the Cloud Application studio. There is an action button to do this in the UI:

There is an action on the PurchaseRequest.Item node which we expect is the right one:

But when we try to use it we get different calling patterns from the autocomplete (one indicates two calling parameters and the other just one):

And regardless of what parameters we set there are validation errors "Method or action 'LinkPOWithPrItems' is not permitted":

Any advice on how can we achieve this action from ABSL scripts would be much appreciated, thanks!

//Carl

Attachments

po-add-pr.jpg (59.4 kB)
po-from-pr.jpg (89.7 kB)
pr-item-ac.jpg (12.4 kB)
pr-item-ac2.jpg (19.9 kB)