Posts

Showing posts from June, 2020

Vendor Validaton on GST Screen

Image
Some time required to add validation on sin number so we can add in number validation as per requirement Include Name ZXF05U01 EXIT_SAPMF02K_001 FIELD-SYMBOLS  : <RKPANDEY>  type  J_1IGTAKLD . ASSIGN  ( '(SAPLJ1I_MASTER)J_1IMOVEND-VEN_CLASS' )  TO  <RKPANDEY> . IF  I_LFA1 - STCD4  IS  INITIAL . if  <RKPANDEY>  EQ  ' ' . MESSAGE  E000 ( 8i )  with  'GST VALUE NOT ALLOWD' . ENDIF . ENDIF . ********* Please support my work

Validation and substitute in SAP ABAP issue

Image
irst of all you have to define your user exit in the FORM routine GET_EXIT_TITLES with the correct exit type (EXITS-PARAM). The exit type required for your FORM routine is C_EXIT_PARAM_CLASS A where complete type is transferred as a parameter. Bear in mind that this exit type can only be used for callup points with complete documents (3). Hereafter an example for your issue exits-name = 'USDN' . exits-param = c_exit_param_class . exits-title = 'SDN Test 4 GSBER Substitution' . append exits . *&---------------------------------------------------------------------* *& USER EXIT USDN *&---------------------------------------------------------------------* * GSBER substitution *----------------------------------------------------------------------* form usdn using bool_data type gb002_015 . data wa_bseg type bseg . loop at bool_data-bseg into wa_bseg where koart = 'K' . exit. endloop. .