Custom Business Object Code missing in EBP 3.5

Alon Raskin araskin at eOutlook.com
Thu May 13 16:03:09 EDT 2004


Hi Sue,
 
I have seen this sort of thing when someone forgets to terminate a
string. For example, if I was coding and forget to put an end quotes
like
 
  swc_get_property self 'dafdaf lv_my var.
 
The problems is that because the "'" was not closed and then BOR object
is saved. When I looked at it, the BOR object displayed fine but when I
tried to look at the custom code in CHANGE mode, it seemed to all
dissapear. When you do this and you back out it prompts you to save. If
you do save then you have just lost all your code. If you don't then the
code can be retrieved from DISPLAY mode. My guess is that the code was
lost when your developer saved.=20
 
Definitely one to keep mind....
 
Alon
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Susan R. Keohan
Sent: 13 May 2004 20:09
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Custom Business Object Code missing in EBP 3.5
 
Okay, I know you are all rolling on the floor laughing, but first off,
let me add, I was not the developer that this happened to.  Really.
Secondly, this person is now trying to restore code from
who-knows-what-level and is convinced that the business object code will
re-disappear, so please, if anyone has had this happen, and it was NOT a
EBKAC, please let me know.  If this has happened, and it WAS an EBKAC,
that'd be helpful too.  The Basis folks are expending a lot of energy on
this.
(And Basis folks are my friends).
 
Thanks in advance,
Sue
 
Susan R. Keohan wrote:
 
> Hi all,
>
> Our EBP development box (EBP 3.5) is on the following support pack
levels:
> SAP_BASIS       620     0016    SAPKB62016
> SAP_ABA 620     0016    SAPKA62016
> BBPCRM  350     0004    SAPKU35004
> PI_BASIS        2002_1_620      0006    SAPKIPYF56
> ST-A/PI 01C_CRM315      0000         -
> ST-PI   003C_620        0000         -
> WP-PI   500_620 0003    SAPKINE323
>
> Today, a workflow developer was editing custom methods for the object
> ZBUS2121 (Shopping Cart).
> When she saved the object, and went back in to look at it, all custom=20
> code for methods and attributes was gone.  The initial screen in SWo1=20
> (expanding the attributes and methods) still shows our custom methods=20
> and attributes, but if you select one, and press 'program', you will=20
> only see the following standard boilerplate:
>
> *****           Implementation of object type ZBUS2121
*****
>
>
> INCLUDE <object>.
>
>
> BEGIN_DATA OBJECT. " Do not change.. DATA is generated
>
>
> * only private members may be inserted into structure private
>
>
> DATA:
>
>
> " begin of private,
>
>
> "   to declare private attributes remove comments and
>
>
> "   insert private attributes here ...
>
>
> " end of private,
>
>
>   BEGIN OF KEY,
>
>
>       REQUIREMENTREQUEST LIKE REQHEAD-REQNO,
>
>
>   END OF KEY,
>
>
>       PROFITCENTERLIST LIKE REQACCT-PROFIT_CTR OCCURS 0,
>
>
>       CREATEDBYUSER LIKE WFSYST-ACT_AGENT,
>
>
>       ALLSTOCKINDICATOR LIKE BOOLE-BOOLE,
>
>
>       ALLFREECHARGE LIKE BOOLE-BOOLE,
>
>
>       INTERNALORDEREXISTS LIKE BOOLE-BOOLE,
>
>
>       LLTOTALVALUE LIKE REQHEAD-TOTAL_VALUE.
>
>
> END_DATA OBJECT. " Do not change.. DATA is generated
>
>
>
> We now have to recover this object from backup.  The developer is=20
> certain that she did not accidentally delete the business object code=20
> herself.
>
> The question is, has anyone encountered this before ?  If so, did you=20
> ever identify the circumstances under which this occurred, and are you
 
> able to prevent a recurrence ?
>
> Tangent:  At roughly the same time, the ITS Server was being upgraded=20
> to Windows 2000, SP4.  But I don't believe this was the cause.
>
> --
> Susan R. Keohan
> SAP Workflow Developer
> MIT Lincoln Laboratory
> 244 Wood Street
> LI-200
> Lexington, MA. 02420
> 781-981-3561
> keohan at ll.mit.edu
>
 
--
Susan R. Keohan
SAP Workflow Developer
MIT Lincoln Laboratory
244 Wood Street
LI-200
Lexington, MA. 02420
781-981-3561
keohan at ll.mit.edu
 


More information about the SAP-WUG mailing list