Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Function WRF_IPGRP_LOAD_WAPG how buffer is filled

prince_isaac
Active Participant
0 Kudos

Hi

I have a function module WRF_IPGRP_LOAD_WAPG being called with only parameters as below:

{code}

CALL FUNCTION 'WRF_IPGRP_LOAD_WAPG'

           EXPORTING

             i_aktnr                 = i_promotion

             i_read_from_archive     = 'X'

           IMPORTING

             et_wapg                 = lt_wapg

           EXCEPTIONS

             promotion_not_found     = 1

             no_wapg_found           = 2

             technical_archive_error = 3

             OTHERS                  = 4.

{code}

inside the function there is a table defined as STATIC which immediately gets filled with values during debugg/processing.  I need to know how this table is filled.

regards

Prince Isaac

2 REPLIES 2

former_member201275
Active Contributor
0 Kudos

Is it not self explanatory from drilling down in the code?

It is used as export parameter in call to function WRF_IPGRP_READ_FROM_ARCHIVE. You can here see the tables it selects from and look for descriptions and documentation therefore, or drilldown further?

0 Kudos

Hi Glen

The call to function  WRF_IPGRP_READ_FROM_ARCHIVE occurs after ST_BUFFER is filled.  All the inserts done into ST_BUFFER are below the point i am querying.  immediately after ST_BUFFER is defined it is filled with values and my question here is how.  Drilling down on ST_BUFFER will just navigate you back to the definition and no further.

regards

Prince Isaac