2010 Jan 08 4:16 PM
Hi Guru,
I want to extract the value of period-paydt (pay date) and save it in a variable gw_date .
FORM add_field USING p_field p_value p_type p_required.
FIELD-SYMBOLS:<field>.
ASSIGN (p_field) TO <field>.
<field> = p_value.
PERFORM format_field USING p_field <field> p_type p_required.
ENDFORM. "add_field
PERFORM add_field USING 'gt_220emplpaydtl-paydate' st_pernr->period-paydt 'D' ''.
gw_date = period-paydat ???
IF not st_pernr.
PERFORM add_field USING 'gt_220emplpaydtl-paydate' gw_date D' ''.
ENDIF.
Thanks a lot in advance.
Soufiene
Hi Guru,
I want to extract the value of period-paydt (pay date) and save it in a variable gw_date .
FORM add_field USING p_field p_value p_type p_required.
FIELD-SYMBOLS:<field>.
ASSIGN (p_field) TO <field>.
<field> = p_value.
PERFORM format_field USING p_field <field> p_type p_required.
ENDFORM. "add_field
PERFORM add_field USING 'gt_220emplpaydtl-paydate' st_pernr->period-paydt 'D' ''.
gw_date = period-paydat ???
IF not st_pernr.
PERFORM add_field USING 'gt_220emplpaydtl-paydate' gw_date D' ''.
ENDIF.
Thanks a lot in advance.
Soufiene
2010 Jan 08 6:35 PM
2010 Jan 08 8:07 PM
Hello David,
This code is ok , it works now
Wrong
gw_date = period-paydt.
Good
MOVE st_pernr->period-paydt to gw_date.
Thanks
Soufiene
2010 Jan 17 3:00 PM
using of the word 'object' will not necessarily assign this to the ABAP objects forum.
Code not formatted as code is not to be discussed.
Regards,
Clemens
2010 Jan 18 2:52 PM