Skip to Content

container vs globalcontainer in UDF

Can any one differentiate container vs globalcontainer in UDF

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2007 at 07:43 AM

    Hi

    <b>Container</b> enables to cache the values,when the <b>same</b> user-defined function is calle next time.

    <b>Global Container</b> enables to cache the values when <b>any</b> user-defined function in the <b>same message mapping</b> is called next time.

    Regards

    Yuga

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 20, 2007 at 09:58 PM

    Is SP14 and above avoid Global Container. Use Java Section of Message Mapping to define Global Variables and to used them in your UDF's.

    Regards

    Bhavesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 20, 2007 at 07:58 AM

    Hi ,

    Contanier -- Local Variable

    Global Container -- Global Varibale

    Regards.,

    V.Rangarajan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2007 at 09:55 AM

    Hi !

    <b>what is global container</b>

    in the old days it was used to store objects in mappings

    now we can use global variables instead

    <b>Container Object:</b> This object enables you to cache the values that you want to read again when you next call the same user-defined function

    <b>Methods of the Container Object:</b>

    void setParameter (String parName, Object obj);

    Object getParameter(String parName);

    MappingTrace getTrace();

    GlobalContainer getGlobalContainer();

    java.util.Map container.getTransformationParameters()

    <b>b]GlobalContainer getGlobalContainer();</b>

    Returns a GlobalContainer object with which you can save the values that can be read by any user-specific functions in the same message mapping.

    <b>For more help please go through the link below</b>

    http://help.sap.com/saphelp_erp2004/helpdata/en/78/b4ea10263c404599ec6edabf59aa6c/content.htm

    <b>also ref</b>

    /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14

    http://help.sap.com/saphelp_nw2004s/helpdata/en/75/8e0f8f3b0c2e4ea5f8d8f9faa9461a/frameset.htm

    /people/michal.krawczyk2/blog/2005/03/04/globalcontainer--in-graphical-mapping-xi

    http://help.sap.com/saphelp_nw04/helpdata/en/e0/7d8e40496f6f1de10000000a1550b0/frameset.htm

    Thanks!!

    Regards

    Abhishek

    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.