Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8635

Re: Selection from a DFKKOP

$
0
0

The accounts use to be with PV but they are not longer under PV and the aging report is still picking up the amounts from the closed PV account. I ran a debug on the program and found that the account is RES and then move the account back to PV.

 

FORM UPDATE_PORTION_MRU_CLASS.

 

                    int_output-portion    = int_eanlh-portion.

                    int_output-termschl   = int_eanlh-ableinh.

 

                    CASE int_eanlh-aklasse.

                      WHEN 'COM'.

                         int_output-z_acctclass  = 'COMM'.

                      WHEN 'IND'.

                        int_output-z_acctclass   = 'IND'.

                      WHEN 'RES'.

                        int_output-z_acctclass   = 'RES'.

                     ENDCASE.

 

                   READ table int_pv   with key vkont = int_dfkkop-vkont.

 

                      IF sy-subrc = '0'.

 

                         int_output-z_acctclass  = 'PHTV'.

 

                      ENDIF.

 

ENDFORM.                   " UPDATE_PORTION_MRU_CLASS


Viewing all articles
Browse latest Browse all 8635

Trending Articles



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