Skip to Content

BOPF Custom Delegated Node to TEXT COLLECTION

Hi gurus, I have some troubles in BOPF implementation, Text collection topic.

My task is to add Long Text Description(Long text) to the standard UI based on BO EHHSS_RISK_ASSESSMENT.

So my understand it should consist of next steps:

  1. Enhance EHHSS_RISK_ASSESSMENT with own Sub Object - done
  2. Create custom Delegated node as a subnode to ROOT like a standard ROOT_COMMENT (i've called it ROOT_COMMENTSTA, not ZZ* ) - done
  3. Add custom field COMMENTSTA_KEY_REF to Extension structure - done
  4. Add custom field COMMENTSTA_KEY COMMENTSTA_TEXT to Combined structure - done
  5. Add created element to the UI RiskAssesment on Base Info page ( with all properties like in standard Description ) - done

That's all and when i'm trying to test my field on UI enter some information into it, press SAVE button and totally get a short DUMP : ASSERTION_FAILED CL_EHFND_TEXT_COLLECTION_MNGR=CP ( In standard class CL_EHFND_TEXT_COLLECTION_MNGR method INSERT_TEXT ).

I feel that i missed something, please help with this case?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 09, 2018 at 02:50 AM

    Hi Artiyom,

    I am facing the same issue.

    My requirement is to add 2 additional long text fields to the BO EHHSS_RISK_ASSESSMENT.

    I was able to add 1 additional long text by using dependent BO /BOBF/TEXT_COLLECTION for one of the long text instead of BO EHFND_TEXT_COLLECTION (I don't think that is the intention of how this works though).

    As soon as I add the third one using either BO it short dumps.

    From what I can see in the code it loops through and creates an instance of each dependent BO. When it tries to create the second instance of the same BO it finds it already has one and dumps. I'm guessing this is in the design, but haven't found anywhere in the documentation that is the case.


    Add comment
    10|10000 characters needed characters exceeded