Quantcast
Channel: SCN : Popular Discussions - SAP APO - Production Planning, Interfaces and Global ATP
Viewing all articles
Browse latest Browse all 953

Change sales order delivery priority in CIF

$
0
0

Dear all.

 

I want to set default Delivery priority = 01 for sales order position during CIFing to APO.

 

Firstly I had implemented exit APOCF010 Inbound Processing: Sales Order on APO side.

 

LOOP AT it_sl_doc.

  IT_SL_DOC-DLV_PRIO = '01'.

  Modify it_sl_doc.

ENDLOOP.

 

LOOP AT it_sl_doc_x.

  IT_SL_DOC_X-DLV_PRIO = 'X'.

  Modify it_sl_doc_x.

ENDLOOP.

 

But there was no result.

 

In debugger I found that my value was overwritten below by value from it_atpfield table.

 

I had decided to use Exit on ERP side and implemented CIFSLS03 Influencing of Sales Order Data Prior to Dispatc

LOOP AT CT_DOC.

   CT_DOC-DLV_PRIO = '01'.

   MODIFY CT_DOC.

ENDLOOP.

 

LOOP AT CT_DOCX.

   CT_DOCX-DLV_PRIO = 'X'.

   MODIFY CT_DOCX.

ENDLOOP.

 

And right now I received on APO side required priority in IT_SL_DOC even before my APO's exit, but nevertheless below the value again was overwritten from it_atpfield table and as the result no change on APO side.

 

Does anybody have any clue for this issue?


Viewing all articles
Browse latest Browse all 953

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>