2012 Jun 18 11:52 AM
Hi All,
I am trying to create an Implicit Enhancement in include '/1BCDWB/LSF00000105F01'.
When I am trying to Create Implimantation I am getting mesage as below.
Message:
Please share your views as what can be done to create Implementation in the above mentioned Include.
Your valuable Inputs Required.
Thanks,
VB
2012 Jun 18 12:05 PM
Hi Vikas,
You are trying to Implement an Implicit enhancement on an auto-generated FM against your smartform. You can change your smartform and the FM will be updated automatically.
Regards, Pranav.
2012 Jun 18 12:00 PM
Hello,
I think, it is not possible to enhance generated reports/function groups. Most of them does not have a correct TADIR Entry and I think, the enhancement framework will check against these.
You try to enhance a smartform. Could it be, that you can change the behaviour within the smartform editor?
Kind regards,
Hendrik
2012 Jun 18 12:00 PM
Dear Vikas,
Use T code se03 to find out what are the software packages missing in the component
2012 Jun 18 12:00 PM
This is an automatically generated function group for a smartform (see the function group description). It is not assigned to a package and thus has component "unknown".
Rather try to implement your logic directly in the smartform via transaction SMARTFORMS.
Thomas
2012 Jun 18 12:03 PM
Hi, It seems you are trying to enhance function group of the SMARTFORM generated automatically by the system.
I think you are not allowed to make such changes. If you need any modifications, you can perform those changes directly in the SMARTFORM.
Hope this is clear.
2012 Jun 18 12:46 PM
Hi ,
I am tring to enhance subroutine %EV4 in include /1BCDWB/SF00000105.
I am executing T.code VA22.
When I am entering the Contract Number and press enter it goes to contract overview screen. Then when I double click the line item it goes to Item overview screen. there i select the "reason for rejection" other than space and save.
Now in the initial screen of VA22 when I go to Issue Output i am getting dump as below.
Runtime Errors GETWA_NOT_ASSIGNED
Date and Time 18.06.2012 23:36:27
Short text
Field symbol has not yet been assigned.
What happened?
Error in the ABAP Application Program
The current ABAP program "/1BCDWB/SAPLSF00000105" had to be terminated because
it has
come across a statement that unfortunately cannot be executed.
Error analysis
You attempted to access an unassigned field symbol
(data segment 10).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
3684 IF SY-SUBRC <> 0. RAISE ERROR. ENDIF.
3685 CALL FUNCTION 'SSFCOMP_TABLE_ROW_END'
3686 EXCEPTIONS NON_MAIN_OVERFLOW = 1
3687 OTHERS = 2.
3688 CASE SY-SUBRC.
3689 WHEN 1.
3690 %WEXIT = 'X'.
3691 WHEN 2.
3692 RAISE ERROR.
3693 ENDCASE.
3694 IF %WEXIT <> SPACE. EXIT. ENDIF.
>>>>> IF ( <FS_VBDPA>-VKAUS NE 'Z1'
3696 AND GV_INDEX_PRICE_ALL_VAR EQ SPACE )
3697 CALL FUNCTION 'SSFCOMP_TABLE_ROW_BEGIN'
3698 EXPORTING I_LINE_TYPE = 'LT_
3699 EXCEPTIONS NON_MAIN_OVERFLOW = 1
3700 OTHERS = 2.
3701 CASE SY-SUBRC.
3702 WHEN 1.
3703 %WEXIT = 'X'.
3704 WHEN 2.
3705 RAISE ERROR.
3706 ENDCASE.
Reason for the above dump is FS <FS_VBDPA> is not assigned because of the following code in Subroutine %EV4.
LOOP AT ZTVBDPA ASSIGNING <FS_VBDPA>
WHERE POSNR_NEU EQ 'X'
AND ABGRU EQ SPACE .IF ( GV_FIRST_ITEM EQ 'N' ).CALL FUNCTION 'SSFCOMP_TABLE_ROW_BEGIN'
EXPORTING I_LINE_TYPE = 'LT_BLANK_LINE'
EXCEPTIONS NON_MAIN_OVERFLOW = 1
OTHERS = 2.
Here Reason for Rejection (ABGRU) is eq to SPACE. WHere as we have maintained 01 in the configuration. So Above code fails to assign FS <FS_VBDPA> in Subroutine %EV4 of include /1BCDWB/SF00000105.
Please suggest.
Thanks,
VB
2012 Jun 18 5:20 PM
Hi Vikas,
Please refer SAP Note 1152071 as mentioned in the link below:
http://scn.sap.com/thread/980562
Regards, Pranav.
2012 Jun 18 12:05 PM
Hi Vikas,
You are trying to Implement an Implicit enhancement on an auto-generated FM against your smartform. You can change your smartform and the FM will be updated automatically.
Regards, Pranav.