Posts

Showing posts from 2018

Get Packaging Material of a Product in EWM

Assumption: The relationship between the Product and its Packaging Specification is one-to-one. Note: Multiple Pack. Spec. for a Product should be handled accordingly. Report Code: *&---------------------------------------------------------------------* *& Report ZAG_GET_PMAT_PRODUCT *&---------------------------------------------------------------------* *& Developed by Arun Ganesh *&---------------------------------------------------------------------* REPORT  zag_get_pmat_product . *-> Selection Screen PARAMETERS  p_mat  TYPE  /scwm/de_matnr . *-> Local Data Declarations DATA :  ls_content_query  TYPE  /scwm/s_ps_content_query ,       lt_ps_keys        TYPE  /scwm/tt_ps_header_key ,       lv_severity       TYPE  bapi...

Report - Get Delivery and PO Details from Internal TU (EWM) - Type 2

*&---------------------------------------------------------------------* *& Report ZAG_TU_DEL2 *&---------------------------------------------------------------------* *& *&---------------------------------------------------------------------* REPORT  zag_tu_del2. *-> Selection Screen PARAMETERS :  p_itu   TYPE  /scwm/de_tu_num OBLIGATORY . *-> Local Data Declarations TYPES :  BEGIN OF  lty_dlv_po ,          docno  TYPE  /scdl/dl_docno_int ,          po     TYPE  /scdl/dl_refdocno ,         END OF  lty_dlv_po . DATA :  ls_tu_sr_act_num    TYPE  /scwm/s_tu_sr_act_num ,       lt_tu_dlv_temp      TYPE  /scwm/tt_bo_t...

Report - Get Delivery and PO Details from Internal TU (EWM) - Type 1

We can also use the below program, or, to be more precise with the same business object, see next post. *&---------------------------------------------------------------------* *& Report ZAG_TU_DEL *&---------------------------------------------------------------------* *& *&---------------------------------------------------------------------* REPORT  zag_tu_del . *-> Selection Screen PARAMETERS :  p_whse  TYPE  /scwm/lgnum OBLIGATORY ,             p_itu   TYPE  /scwm/de_tu_num OBLIGATORY ,             p_pdi   TYPE  char1  RADIOBUTTON GROUP  g1  DEFAULT  'X' ,             p_pdo   TYPE  char1  RADIOBUTTON GROUP  g1 . *-> Local...