cancel
Showing results for 
Search instead for 
Did you mean: 

PO order confirmation - confirmation category change during ORDRSP (idoc) inbound processing

peter_casper
Contributor

Dear community,

I browsed quite a lot of threads related to changing the confirmation category of an order response for POs during or directly after idoc inbound processing w/o success. Some of the questions where exactly addressing my challenge but none of the replies actually hit the nail. That's the reason why I give it another try.

Problem statement

We established a process where external partners communicate status updates at particular stages of order processing. Therefore an own confirmation control key was set up. This one includes a sequence of standard and custom confirmation categories.

CCK - Z001

All of these three different confirmation categories are suppossed to be submitted from the external partner via EDI message type ORDRSP (idoc basic type ORDERS0*) including a specific differentiator for AB, Z1 or Z2 on idoc level. However I found out that it's not possible to pass the confirmation type via idoc. The derivation of the confirmation category is pretty much hard coded in include LEINMF20 and relates to the entry of table T163D where IBTYP = '1', i.e. AB (in standard SAP). So in essence there can only be one linked confirmation category.

Also user exit EXIT_SAPLEINM_009 is not capable of changing it.

Target

Is there a way to assign a custom confirmation category, e.g. Z1 or Z2, during inbound processing of ORDRSP or is it strictly bound to the configuration setting of "Internal order Categories" (table T163D)?

Any valuable input is very welcome.
Cheers Peter

Accepted Solutions (0)

Answers (1)

Answers (1)

peter_casper
Contributor

Hi all,

for whom it might concern. It doesn't seem to be possible to change the confirmation category during idoc inbound processing. Neither via any kind of customzing setting nor via any inbound user exits or badis. The system processing logic is kind of hard wired to the categories "AB" and "LA" or more precisely the ones which are linked to the table entries of T163D.

Therefore own coding logic needs to be brought in place in order to apply own external confirmation categories. This can be either done based on a complete custom logic or via a custom function module being called to process the respective idoc.

Dependend on the MRP relevance, the following function modules are supposed to be included:

  • ME_CONFIRMATION_UPDATE
  • ME_CONFIRMATION_REDISTR_ITEMS

Having that said, SAP standard function module IDOC_INPUT_ORDRSP can be used as a template.

BR, Peter