on 08-22-2007 2:30 PM
Hi,
Because of some requirement . i did created a validation in OB28 for a specific company code.After saving that validation ,code was automatically generated in include GBTI6FID
code:FORM VAL_AJAY.
NEW_SIM_TRACE_AJAY *
G_BFOUND = B_TRUE.
DATA: COND LIKE D_BOOL,
CHECK LIKE D_BOOL,
NVALSEVEREST LIKE SY-SUBRC VALUE -1.
IF G_TAB_FLAG-BKPF <> B_TRUE .
PERFORM READ_MASTER_DATA
USING
'BKPF '
G_BFOUND.
IF G_BFOUND = B_FALSE .
MESSAGE E082 WITH 'BKPF '.
ENDIF.
ENDIF.
G_STEP = '001'.
PERFORM VALCOND_1AJAY###001
CHANGING
COND.
IF COND = B_TRUE .
<u> PERFORM VALCHCK_2AJAY###001</u>
CHANGING
CHECK.
IF CHECK = B_FALSE .
PERFORM MESSAGE_OUTPUT
USING
'Z0 '
'026'
'E'
' '
' '
' '
' '
CHANGING
NVALSEVEREST.
ENDIF.
ENDIF.
Afterwards because of change of requirement i was bound to delete the validation AJAY , but after deleting and saving it the code was not deleted from the includes automatically.
Now when a user is trying to post the journal entry using FB01 , he is getting a compilation error from the includes.
<b>The FORM "VALCHCK_2AJAY###001" does not exist, but there is a FORM with
the similar name "VALCHCK_2TEST###001".</b>In Includes GBTI6FID
Is there any way i can create these forms , or i can delete the perfrom code from the includes.
hi Ajay,
try to run program : RGUGBR00
this will regenerate all generated programs behind validation and substitutions (don't be afraid ti use, it won't destroy anything)
hope this helps
ec
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric,
It got solved but using a different method. Since the code was not getting deleted , i did created the same validation again and have regenerated the code.
Anyways thanks for your inputs i think it will help me out some day.
One more help from you:
can you suggest me some good books or links which can provide information on user exits, enhancements.
Cheers,
Ajay
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.