Skip to Content
author's profile photo Former Member
Former Member

How a data element can be assigned to a package ?

Hello Experts,

I am trying to rename Data element and Domain (by creating new DE / Domain and copying the old one to new) . I am able to create new, copy old-one to new-one and delete old-one and also activating the new-one, but still i have problems.

1. How will i assign the newly generated DE to a package ? (if i use DDIF_DTEL_PUT)

2. How to suppress pop-up which asks for dev class ? (if i use rpy_dataelement_insert)

If i use DDIF_DTEL_PUT it will not assign it to package and if i use RPY_DATAELEMENT_INSERT it will show pop-up which i don't want.

Please help me.

Thanks and Regards,

Ankur Sharma.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 04, 2012 at 11:10 AM

    Hi Ankur,

    One way is to copy the FM into a custom one and when FM 'RS_CORR_INSERT' is called, pass

    SUPPRESS_DIALOG as 'X' in the EXPORTING parameter.

    OR, you can take a look at how the RPY_DATAELEMENT_INSERT FM makes use of DD_DTEL_PUT inside it. Go through the source code and you will figure it out.

    It use RS_CORR_INSERT FM and RS_TREE_OBJECT_PLACEMENT to write the transport entry.

    Again for RS_CORR_INSERT, use SUPPRESS_DIALOG as 'X' in the EXPORTING parameter.

    Thanks,

    Shambu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I had explained the same above.

      You cannot suppress POPUP in RPY_DATAELEMENT_INSERT.

      If you want to, then create a copy of the FM.

      The RPY_DATAELEMENT_INSERT calls 'RS_CORR_INSERT' inside.

      There in the exporting parameter add SUPPRESS_DIALOG = 'X'.

      You cannot use DDIF_DTEL_PUT to add the package.

      If you need to, call 'RS_CORR_INSERT' before the DDIF_DTEL_PUT is called and call RS_TREE_OBJECT_PLACEMENT after DDIF_DTEL_PUT is completed.

      For sample code check the code of RPY_DATAELEMENT_INSERT.

      Hope its clear now.

      Thanks,

      Shambu

  • author's profile photo Former Member
    Former Member
    Posted on Jul 04, 2012 at 11:35 AM

    Is below option not working for you?


    Untitled.png (2.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 04, 2012 at 12:04 PM

    Hi Shambu,

    Doing the same thing. I was wondering if anyother possibility is there.

    Thanks for the quick replies, if you get any suggestion pls post here.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.