cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a custom Rule in AII

sushant_wanjari
Contributor
0 Kudos

Hi,

We have a requirement to disassociate the packaging hierarchy from the outbound delivery. The scenario is described below

1. STO delivery is created in ECC and sent to AII through output DERQ

2. Packaging Hierarchy is assigned to delivery in AII and confirmation sent back to ECC

3. GR happens in ECC which triggers a custom proxy with the delivery number to AII

4. This proxy is meant to break the association of Delivery with Packaging Hierarchy. This is where we are struggling at the moment.

We know that firstly the delivery status in AII has to be modified from "Sent" and then only the disassociation will happen. We have created a new device group and Rule (copy of PACKU_AA) for this. We tried to do the BDC of /ain/mobile1 transaction, but, that is not working.

Is there any standard Method available in the system to trigger the custom rules? Any pointers in this regard will be highly appreciated.

Thanks,

Sushant

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use this FM: /AIN/IF_OBSERVMSG_PROCESS.

you need to create a wrapper Custom FM for this and you can trigger any rules. It worked for me.

Other FM to consider.

/AIN/RULE_EXECUTE_IN_V2_MODE

/AIN/UI_MOBILE_MSG_SEND

/AIN/IF_CALL_RULEPROC

sushant_wanjari
Contributor
0 Kudos

Thanks Vinod. I will check on this FM's and get back to you in case further inputs are needed.

Answers (0)