Skip to Content
avatar image
-1
Former Member

Save SubScreen Data on MIGO POST to ZTABLE

Hi,

I have add custom tab screen in migo using exit MB_MIGO_BADI,

i want to save Data Timbang subscreen data into ztable when post MIGO, any suggest to do it?

Thanks

asq.png (134.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 31, 2017 at 09:42 PM

    No idea what "Data Timbang" is but isn't there a method in the BADI that is triggered when the document is posted? If memory serves, this BADI actually had some documentation as well as samples... Not to mention Google -> MIGO save in Z table site:sap.com -> 409 hits.

    Add comment
    10|10000 characters needed characters exceeded

    • I don't see a table control in the screenshot, it looks like an ALV grid. Either way - have you tried to look at all in Google with the keywords I mentioned? There are also quite a few posts in general on BADI implementation with a subscreen.

  • Sep 01, 2017 at 05:55 AM

    Did you create the customer subscreen in some customer function group?

    If yes create an (update task) FM in this group that save/update the internal table data from your table control to your database table. Trigger this FM in POST_DOCUMENT methid (you could also manage it in HOLD_DATA_SAVE/LOAD/DELETE if required) or call it thru a PERFORM ON COMMIT.

    Add comment
    10|10000 characters needed characters exceeded

    • Not sure what any of this has to do with the initial question. It seems that Raymond is trying to explain that a subscreen and BADI implementation are two separate "entities" and you need to write the ABAP code so that they could exchange data.

      I'm quite confused what exactly is a technical challenge at this point. Raymond already explained how it works. Which part is not clear yet?

  • avatar image
    Former Member
    Sep 03, 2017 at 08:25 AM

    Thansk All for your answer, My Problem is solved

    Add comment
    10|10000 characters needed characters exceeded