Quantcast
Channel: SCN : Popular Discussions - ABAP和Java开发 (ABAP & Java Development)
Viewing all articles
Browse latest Browse all 4604

FM WTYSC01_COLLECT_DIP_ITEMS gives DYNAMIC_ITEM_ERROR

$
0
0

Hi Gurus,

 

I am trying to TECO a production order with warranty items.

 

While calling the below FM to collect all warranty related items for the order, I am getting error (sy-subrc = 1) dynamic_item_error. The DIP profile has been attached and maintained correctly.

 

CALL FUNCTION 'WTYSC01_COLLECT_DIP_ITEMS'

               EXPORTING

                 i_aufnr            = Order Number

                 i_date_to          = sy-datum

                 i_check            = 'X'

               TABLES

                 et_claim_items     = it_claim_items

                 et_dlinr_order     = it_dlinr_order

               EXCEPTIONS

                 dynamic_item_error = 1

                 error_with_csorder = 2

                 dip_error          = 3

                 no_data            = 4

                 OTHERS             = 5.


Any idea on what might be causing the error??


P.S. I have done some deep debugging and made some findings but they have hardly been of any help, So I want expert views on this first.


Viewing all articles
Browse latest Browse all 4604

Trending Articles



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