When creating a client i need to change automatically the field AUFSD off the table KNA1. I try to method:
- Via User_exit SAPMF02D,but this change is not possible using this Exit.
- Via BTE SAMPLE_INTERFACE_00001321.
Does any one have any ideia who to change this situation? Change this field KNA1-AUFSD using the transaction XD01.
Thanks in advanced
Pedro Miguel Rodrigues
Wolfgang Valtin replied
sorry for the late answer.
It would be something like this:
FUNCTION Z_TEST_00001340 .
constants: fieldname(30) value '(SAPMF02D)KNA1-AUFSD'.
IF <your condition>.
Assign (fieldname) to <l_field>.
<L_FIELD> = '01'. " value according to your requirement
But be carefull; with this kind of programming you can change almost any value..