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

Re: How do I access start routine internal table from Field Routine ?

$
0
0

okay, I changed it, but still the same.

 

*$*$ begin of global - insert your declaration only below this line  *-*

... "insert your code here

DATA: it_zdso_1 TYPE STANDARD TABLE OF  /BIC/AZDSO_1.

DATA: wa_zdso_1 TYPE /BIC/AZDSO_1.

*$*$ end of global - insert your declaration only before this line   *-*




*$*$ begin of routine - insert your code only below this line        *-*

... "insert your code here


read table it_zdso_1 into wa_zdso_1

      with table key doc_number  = SOURCE_FIELDS-VBELN

                     s_ord_item  = SOURCE_FIELDS-POSNR

                     gi_date     = SOURCE_FIELDS-WADAT

                     material    = SOURCE_FIELDS-MATNR

                     sched_line  = SOURCE_FIELDS-ETENR.

if sy-subrc = 0.

   result = wa_zdso_1-NETPR_VKM.

endif.


*--  fill table "MONITOR" with values of structure "MONITOR_REC"

*-   to make monitor entries

... "to cancel the update process

*    raise exception type CX_RSROUT_ABORT.

... "to skip a record"

*    raise exception type CX_RSROUT_SKIP_RECORD.

... "to clear target fields

*    raise exception type CX_RSROUT_SKIP_VAL.

 

 

 

*$*$ end of routine - insert your code only before this line         *-*

   ENDMETHOD.                    "compute_0NETPR_VKM


Viewing all articles
Browse latest Browse all 3354

Trending Articles



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