In transaction ob28 (change validation) i got tyhe next validation which is in COMPLETE DOCUMENT.
Prerequesite
( SYST-TCODE = 'F-58' OR SYST-TCODE = 'FBZ4' ) AND
BSEG-LIFNR = '999109'
Check
U105 (this is the name for my user exit)
Message
****Note: BSEG-LIFNR is the vendor.
-
-
In the user exit form i have this code
FORM U105 USING bool_data TYPE gb002_015
CHANGING b_result.
break CCCRZQ.
B_RESULT = B_FALSE.
Has account 11119991 has been used?
LOOP AT BOOL_DATA-BSEG INTO BSEG
WHERE HKONT = '0011119991'.
B_RESULT = B_TRUE.
EXIT.
ENDLOOP.
ENDFORM.
-***** iam trying to use this user exit to check if in one of the lines in bseg table (when i´m generating the document) has the account(hkont) ='0011119991'
1.- Do u know why the breakpoint is not working in the form whats wrong whe i ran f-58?
2.- The user exit entered in check setion is fine or do i need something else?.
Regards.