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

Set field value inside a business object method

$
0
0

See business object below. I want the reservation to load when CALL TRANSACTION 'MIGO_TR' is executed. Currently it doesn't and I'm wondering if it's because the reference document screen field needs to be set to "R09" (Reservation). However there is no parameter id available for that field value. Is there a way to set GODYNPRO-REFDOC = 'R09' in the method below?  

 

 

 

*****           Implementation of object type ZBUS2093             *****

INCLUDE <object>.

begin_data object. " Do not change.. DATA is generated

* only private members may be inserted into structure private

DATA:

   BEGIN OF key,

       reservation LIKE rkpf-rsnum,

   END OF key.


end_data object. " Do not change.. DATA is generated

 

  begin_method display_migo_tr changing container.

SET PARAMETER ID 'RES' FIELD object-key-reservation.

CALL TRANSACTION 'MIGO_TR' AND SKIP FIRST SCREEN.

end_method.


Viewing all articles
Browse latest Browse all 3316

Trending Articles



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