PRESET_VALUES_SAREA

<< Click to Display Table of Contents >>

Navigation:  All About ABAP Technique > English > ABAP Tutorial > ABAP Workbench Tools > Enhancement > Business Add-Ins (BADI) > Business Add-Ins (BADI) Examples > ZCUSTOMER_ADD_DATA >

PRESET_VALUES_SAREA

method IF_EX_CUSTOMER_ADD_DATA~PRESET_VALUES_SAREA .
 
IF E_KNVV-VTWEG eq '01' or E_KNVV-VTWEG eq '02'.
   E_KNVV-PODKZ = 'X'.
   E_KNVV-MRNKZ = 'X'.
   E_KNVV-BOKRE = 'X'.
   E_KNVV-PRFRE = 'X'.
   E_KNVV-PERFK = 'ID'.
   E_KNVV-PERRL = 'ID'.
   E_KNVV-INCO1 = 'FRC'.
   E_KNVV-INCO2 = 'SURABAYA'.
ENDIF.
 
 E_KNVV-KZAZU = ''.
 
*** Customer Group 1 updated automatically
IF E_KNVV-ZTERM = 'Z00'.   "cash customers
   E_KNVV-KVGR1 = 'CAS'.
ELSE.
   E_KNVV-KVGR1 = 'CRE'.   "credit customers
ENDIF.
 
 
 
endmethod.