CALL FUNCTION 'ADDR_POSTAL_CODE_CHECK' EXPORTING country = 'DE' postal_code_city = '00000' EXCEPTIONS country_not_valid = 1 region_not_valid = 2 postal_code_city_not_valid = 3 postal_code_po_box_not_valid = 4 postal_code_company_not_valid = 5 po_box_missing = 6 postal_code_po_box_missing = 7 postal_code_missing = 8 postal_code_pobox_comp_missing = 9 po_box_region_not_valid = 10 po_box_country_not_valid = 11 pobox_and_poboxnum_filled = 12 OTHERS = 13. IF sy-subrc NE 0. WRITE: / 'PLZ nicht ok.'. ELSE. WRITE: / 'PLZ ok.'. ENDIF.
Kategorien
-
Neueste Beiträge
- [ABAP] Editierbares SALV-Grid (IF_SALV_GUI_OM_EXTEND_GRID_API, IF_SALV_GUI_OM_EDIT_RESTRICTED)
- [ABAP] Neues SAP-Fenster (Modus) öffnen und wieder schließen
- [ABAP] Infos zu Datenelementen und Domänen lesen
- [ABAP] Informationen zu einem Dynpro ermitteln
- [ABAP] Installierte Softwarekomponenten ermitteln
- [SAP] Ändern des SAP Easy Access Anmeldebildes (Einstiegsbild)
- [ABAP] Eigenschaften einer Klasse prüfen
- [ABAP] Element des Selektionsbiles über RadioButtons ein-/ausblenden
- [ABAP] Transportauftrag als ZIP-Datei speichern
- [ABAP] Objektliste zu Transportauftrag lesen