Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8212

How to debug code in IF_RSPLS_CR_METHODS~DERIVE

$
0
0

There are lot threads regarding this topic and i went through all of them but still i have this issue below :

 

 

My code is also very simple :

 

* implement your derivation algorithm here:


field-SYMBOLS: <l_chavl> type any.

FIELD-SYMBOLS: <l_planitem>   TYPE ANY.

FIELD-SYMBOLS: <l_account>   TYPE ANY.

 

   ASSIGN COMPONENT  '/BIC/WPLANITEM' OF STRUCTURE c_s_chas TO <l_planitem>.

   ASSIGN COMPONENT 'ACCOUNT'   OF STRUCTURE c_s_chas TO <l_chavl>.

 

  <l_chavl> = <l_planitem> .


i) I've put this code in  IF_RSPLS_CR_METHODS~DERIVE after i copied the ClassCL_RSPLS_CR_EXIT_BASE into my own class.

ii) I've read many posts that custom info object should be assigned as '/BIC/<info Object>' . but it's still not helping me . is this because of the compounding object?. ( Source : WPLANITEM .  Target : 0ACCOUNT  & 0CHRT_ACCTS)


Issues :


1) The code doesn't work.

2)  i am not able to debug the code ( Break-point not working work)  .I really would like to know how to debug this particular method .

3) The 0ACCOUNT ( Target char) also has  0CHRT_ACCTS as compounding object ( this is also checked automatically in the target Char) . Does this affect the code?. How to handle this scenario?


Regards,

Satish M


Viewing all articles
Browse latest Browse all 8212

Trending Articles