Hi,
If you're in the PAI (ZXPADU02), you can change the internal value of IT2001 that will be refresh on the PBO.
The code should be like:
CASE innnn-infty.
WHEN '2001'.
CALLMETHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = i2001.
MOVE XXX TO P2001-ANZHL.
CALLMETHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = i2001
IMPORTING
prelp = innnn.
ENDCASE.
Best regards,
Jonathan