Quantcast
Viewing all articles
Browse latest Browse all 8526

Re: Purchasing customized ODS ZPUR_O01 Purchase Order Item

Hi Andreas,

 

After checking  transfer rules of Item datasource, I found the STORENO mapped to reversal indicator with below routine.

 

READ TABLE I_DATAPAK INTO LS_DATAPAK

    WITH KEY
  EBELN = TRAN_STRUCTURE-EBELN
  EBELP = TRAN_STRUCTURE-EBELP.
IF SY-SUBRC = 0.
   RESULT = LS_DATAPAK-ROCANCEl
ENDIF.

 

Also, below routine placed in the start routine.

 

APPEND LINES OF DATAPAK TO I_DATAPAK
DELETE I_DATAPAK WHERE ROCANCEL <> 'R'.

LOOP AT I_DATAPAK INTO LS_DATAPAK.

IF LS_DATAPAK-ROCANCEL = 'R'.

   LS_DATAPAK-LOEKZ = 'L'.

       LS_DATAPAK-ROCANCEL = SPACE.

   MODIFY I_DATAPAK FROM LS_DATAPAK.

   ENDIF.

  ENDLOOP.

 

Can this be possibly a reason of rare cause of not loading changes of some po's?

Update rule is additive.  If we consider changing it to overwrite and remove reversal indicator from transfer rule going with direct mapping of record mode, will that work or can that impact something else?  Please help!

 

Thanks,

Di


Viewing all articles
Browse latest Browse all 8526

Trending Articles



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