on 09-07-2017 10:17 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.