cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a trigger in the CIF on ECC custom field ?

0 Kudos

Hi

We have an intercompany scenario in ECC where we use a custom transaction to convert the stock transfer order into a sales order (at the source plant).

As the 2 objects are not technically linked in ECC, we modified the CIF in order to delete the stock transfer during the transfer for the Source location in APO, so we only see the sales order at this location and not anymore the STO.

However this custom transaction is not modifying any standard field in the stock transfer at the point of conversion, therefore there is no trigger to APO generated.

Do you know an easy way to generate this trigger ? we tried with the bapi po_change to modify some standard fields, but no field is really secured to play with. We'd rather prefer to generate a trigger out of a custom field.

Thanks in advance,

Fanny

Accepted Solutions (0)

Answers (2)

Answers (2)

hubert_spohn
Active Participant
0 Kudos

-

aparna_ranganathan
Active Contributor
0 Kudos

Hi Fanny ,

Here is a thought .

You want to delete the sto in APO because you dont want the demand to double dip. That is after you have converted the sto to a sales order using your custom program , unless you delete the sto your demand will show up both in so and sto which is necessarily a duplication of demand.

But there is no need to delete the sto for that. You can make the demand element of the sto as not relevant to pegging . After converting your sto to so , if you mark the demand of the sto as non relevant to pegging then , sto demand will not be accounted for when calculating the stock availability and the demand element will not be displayed in the planning book also. So the only impact in this case will be that the order will be visible in the receipts view though it will not affect the stock . I think this will serve your purpose. Just give it a thought.

But if you decide to follow this approach, you have to put in custom code to pick the relevant sto's and mark them as non- relevant to pegging. Also you have to configure the ATP category corresponding to the sto to pick the confirmed quantity and display the same in the planning book . Otherwise the sto demand will show up in the planning book.

Thanks

Saradha

0 Kudos

Hi

We already setup the exit in the CIF and the logic in place is working fine.

My issue is that, when we convert the stock transfer order into a sales order, there is no trigger to APO, so no queue is generated in the CIF. R/3 doesnt' see any change to the stock transfer order so we don't go through the user exit.

We try to simulate the change of the PO during the conversion (like change the quantity, flag/unflag Delivery completed, etc, but all the fields have impacts on other areas and are generating issues)

Thanks

Fanny

Former Member
0 Kudos

Hi

Please let me know how to trigger CIF for custom field If we change custom field onlt no other fields..

Thanks

Kanth

0 Kudos

Use transaction BD52 on ECC side and register your custom fields.