03-26-2010 5:48 PM
Hi guys,
Validation in field BSEG-ZLPRS for FB02 transaction.
1.- i add new form in se38 -> ZGGBR000
FORM u105 CHANGING b_result.
BREAK-POINT.
DATA: znolib LIKE zliber-znolib.
SELECT SINGLE znolib
INTO znolib
FROM zliber
WHERE bukrs = bseg-bukrs AND
username = sy-uname.
IF sy-subrc <> 0.
b_result = b_false.
MESSAGE i031(z001) WITH sy-uname.
ELSE.
IF znolib = 'N'.
b_result = b_false.
MESSAGE i031(z001) WITH sy-uname.
ELSE.
b_result = b_true.
ENDIF.
ENDIF.
ENDFORM.
2.- After activated i use RGUGBR00 for rebuilding validation structures
3.- The condition is SYST-TCODE = 'FB02', cause there is no specific condition, we need to check thhis field for all circunstances
I have all ok in ggb0
Best regards
Jua
03-26-2010 6:04 PM
Check this link: [http://www.sap-basis-abap.com/sapfi004.htm|http://www.sap-basis-abap.com/sapfi004.htm] to see if you have maintained the proper configurations.
BR,
Suhas
03-26-2010 6:13 PM
Thank Suhas,
Everything is a you mentioned in the link.
Still exit dont execute
Best regards
03-26-2010 6:04 PM
Try activating an "expert trace" breakpoint in GGB0 (under "extras", you must be in display mode) and see if it stops there at all.
If yes, continue debugging, if not ... is ZGGBR000 assigned to area GBLR in tx GCX2?
Thomas
03-26-2010 6:14 PM
Thanks Thomass,
And yes ZGGBR000 assigned to area GBLR
The exit dont execute
Best regards
Juan
03-29-2010 12:51 PM
Hi,
Nothing yet my exit dont execute from FB02, i debugged with trace and it works, i moved the message instead of break-point to see if the the code is wrong.
Please some advices?
Best regards
Juan
03-29-2010 12:58 PM
this is because SAP has not provided this field for validation.Check Table GB01 with entries:
BOOLCLASS = 9
BCLTAB = 'BSEG'
BCLFIELD = ZLSPR
All those fields which are not available for validation or substitution are marked as 'X' in BEXCLUDE field.
If you want to use this field you have to modify this table entry with space instead of 'X'.
03-29-2010 1:03 PM
>
> this is because SAP has not provided this field for validation.Check Table GB01 with entries:
> BOOLCLASS = 9
> BCLTAB = 'BSEG'
> BCLFIELD = ZLSPR
That is what i wanted Juan to check first & he was pretty much sure the field was available for substitution
Now we have a case in hand 😄
03-29-2010 1:12 PM
Sorry Suhas im missunderstood your message
Abauser thanks a lot
And know how can i modified the gb01 table? via IMG?
Best regards
Juan
03-29-2010 1:20 PM
No not from IMG.Only if its absolutely necessary then update table entry directly.try searching for BTE also.
03-29-2010 1:27 PM
Thanks abapuser,
Well i guess that it is necessary cause its marked as 'X' in BEXCLUDE field.
Best regards
Juan
03-29-2010 3:07 PM
Not solved yet...
in table GB01 i have:
BOOLCLASS = 9
CLASSTYPE = B
BLCTAB = BSEG
BCLFIELD = *
BEXCLUDE = ' '
Since i am not sustituying the field only validating its not necessary to change....
But my exit still not working
Best regards
Juan
03-29-2010 3:45 PM
03-30-2010 1:24 PM