cancel
Showing results for 
Search instead for 
Did you mean: 

Dump while accessing Cross BO data from IO_READ

Former Member
0 Kudos

Hi,

I have have created badi implementation provided by SAP CDP. This badi is getting called from TOR determination (During Save).

Input parameters in BADI implementations as as follow:

IV_KEY Importing Type /BOBF/CONF_KEY

IS_CRC Importing Type /TMCMA/S_TRACKING_REQ_DATA

IO_READ I mporting Type Ref To /BOBF/IF_FRW_READ

CT_MOD Changing Type /BOBF/T_FRW_MODIFICATION

CO_MESSAGE Changing Type Ref To /BOBF/IF_FRW_MESSAGE

CT_FAILED_KEYS Changing Type /BOBF/T_FRW_KEY

When I use IO_READ retrieve or retrieve by association on same BO (TOR) data retrieved successfully.

as soon as i try for any cross BO association from IO_READ. system is giving dump.

And below is the comment provided at the point of dump error message raised

" if the current transaction state is "finished" (after having saved with Save&Exit Pattern),
" no more service manager usage is allowed

Pls assist.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thank you Sunil for response. 🙂 🙂 🙂

Actually issue was with CDP determination ( Called During Save - Before Writing Data ) and BOPF doesn't allow any Service manager instance creation after 'During save - Before Writing Data'. So SAP CD team has changed the determination to ( Before save Finalize ).

Thank you.

Sandip Chavan.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sandip,

You can't use IO_READ to get data from XBO, but you can get keys. Get target keys using IO_READ->RBA and then get service manager instance of XBO and use retrieve method to get data.

Regards,

Sunil