Skip to Content

How to pass internal data from one method to another method in web dynpro?

Dear Experts,

                      I have small doubt in web dynpro (i.e) I have and internal table filled with data in one method like (IT_TAB) in method UPLOAD_EXCEL from here I want that internal table in SAVE_DATA(method) how to achieve this.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 26, 2015 at 09:10 AM

    Hi,

    Declare IT_TAB at global level i.e in your assistance class.Now pass the data into your assistance class i-tab so that you can access the same through out the component where ever required.

    I.e WD_ASSIST->I_TAB = IT_TAB.

    Hope this helps you.

    Thanks

    KH

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 29, 2015 at 09:27 AM

    Hi Vamsi,

    Create an attribute in Component controller--> Attribute tab

    Note: IG_COMPONENTCONTROLLER=>ELEMENTS_MATERIAL

    Material :  is name of the node

    Elements: declares table type

    2. You can set the data to this attribute

    wd_comp_controller->gt_mara = lt_mara( Internal table )

    3. To read the data stored in the GT_MARA

    LT_Data = wd_comp_controller->gt_mara.

    Thanks & Regards,

    Sankar Gelivi


    Capture.PNG (26.7 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 02, 2015 at 08:28 AM

    Hi,

    Is your issue resolved?

    Thanks

    KH

    Add comment
    10|10000 characters needed characters exceeded