2007 Oct 30 10:37 PM
Hi,
in BADI_INVOICE_UPDATE, in method CHANGE_BEFORE_UPDATE there is an import parameter E_RBGKP that i´d like to change. Having no export parameter
is there a way to chage it here
? if so how?could it be via field-symbols?.
Best regards.
2007 Dec 25 3:40 AM
Try use field symbol assign to change the field value.
First make sure that the field can be assigned to a field symbol. Usually the field must be declare in global top include program.
If yes. Then
ASSIGN (l_v_field) TO <l_fs>.
CHECK sy-subrc EQ 0.
<l_fs> = new_value. " change value here
l_v_field is char type. l_v_field = (PROGRAM-NAME)FIELD-NAME.
Good luck.
Edited by: Chris Xu on Dec 25, 2007 11:47 AM
2007 Oct 31 8:11 AM
Hi,
sorry, the name of the import parameter is <b>S_RBKP_NEW</b>.
Best regards.
2007 Dec 24 10:56 PM
2007 Dec 25 3:40 AM
Try use field symbol assign to change the field value.
First make sure that the field can be assigned to a field symbol. Usually the field must be declare in global top include program.
If yes. Then
ASSIGN (l_v_field) TO <l_fs>.
CHECK sy-subrc EQ 0.
<l_fs> = new_value. " change value here
l_v_field is char type. l_v_field = (PROGRAM-NAME)FIELD-NAME.
Good luck.
Edited by: Chris Xu on Dec 25, 2007 11:47 AM