<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MIGO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607830#M597908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to add fields in header of MIGO in different tabstrip through badi ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Aug 2007 08:52:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-04T08:52:42Z</dc:date>
    <item>
      <title>MIGO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607830#M597908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to add fields in header of MIGO in different tabstrip through badi ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 08:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607830#M597908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T08:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: MIGO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607831#M597909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow the steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to se19:create a custom BADI and create&lt;/P&gt;&lt;P&gt;give implementation name as MB_MIGO_BADI and create&lt;/P&gt;&lt;P&gt;once inside the BADI-&amp;gt;fill the text -&amp;gt; on the top menu -&amp;gt; GOTO -&amp;gt; Sample code -&amp;gt;copy-&amp;gt;SAP asks if over write is O.K...click "YES"&lt;/P&gt;&lt;P&gt;Activte and Run "MIGO"&lt;/P&gt;&lt;P&gt;You can notice that a custom "MIGO_BADI_EXAMPLE"  in the header and another tab in the detail screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented the same scenario in MIGO header and item level with the extra fields being diverted to another Z-table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;following are the steps i followed&lt;/P&gt;&lt;P&gt;1) create an instance of the BADI....go to se19..create BADI..give definition name  &lt;/P&gt;&lt;P&gt;    as MB_MIGO_BADI and activated after copying the sample code from &lt;/P&gt;&lt;P&gt;   GOTO-&amp;gt;sample code-&amp;gt; COPY to get an extra tab in header and item level inside &lt;/P&gt;&lt;P&gt;   the BADI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)Did changes to the screen fields in PBO header inside the interfaces at &lt;/P&gt;&lt;P&gt;   PBO_HEADER&lt;/P&gt;&lt;P&gt;   PAI_HEADER..commented unnecessary codes in the BADI&lt;/P&gt;&lt;P&gt;   the program name(e_cprog ) in the PBO_DETAIL contains screen 001/002 for item and 003/004 for header PBO_HEADER..go change the screen fields to be added according to your requirement here in the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)in the ( IF_EX_MB_MIGO_BADI~POST_DOCUMENT) which is the  &lt;/P&gt;&lt;P&gt;   POST_DOCUMENT in the interface tab,in the update function module  code was &lt;/P&gt;&lt;P&gt;   written to fill in the desired table fields(CALL FUNCTION  " function name" IN &lt;/P&gt;&lt;P&gt;   UPDATE TASK)&lt;/P&gt;&lt;P&gt;   inside the "POST DOCUMENT" you can see the importing parameters are (MKPF and MSEG) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a code "MOVE-CORRESPONDING is_mkpf TO gs_exdata_header." and a simultaneous update task function module being called which saves data into the table required.I used the structure of my requirement which is a Ztable structure and added code in  update task function module to update the ztable required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current system with Z-table is working fine now&lt;/P&gt;&lt;P&gt;Note:all tables and function groups were termed "EXAMPLE" so i had to create a set of function groups and tables/structures to serve my purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugg the sample code copy of the BADI using break points if my comments were confusing in any way,to understand in-depth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if they were of any use &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 13:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607831#M597909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T13:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: MIGO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607832#M597910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Go through the following Steps for adding New screen to MIGO Tcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MB_MIGO_BADI BADI for MIGO Tcode &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Go to Tcode SE19&amp;amp;#61664; Open ZMB_MIGO_BADI Implementation Name.&lt;/P&gt;&lt;P&gt;2) Click on Interface Tab and Double Click on &lt;/P&gt;&lt;P&gt;ZCL_IM_MB_MIGO_BADI as Name of implementing class then it goes to open &lt;/P&gt;&lt;P&gt;The SE24 Class builder.&lt;/P&gt;&lt;P&gt;3) You have the Following Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~INIT&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~PBO_DETAIL&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~PAI_DETAIL&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~LINE_MODIFY&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~LINE_DELETE&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~RESET&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~POST_DOCUMENT&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~CHECK_ITEM&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~MODE_SET&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~STATUS_AND_HEADER&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~HOLD_DATA_SAVE&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~HOLD_DATA_LOAD&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~HOLD_DATA_DELETE&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~PBO_HEADER&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~PAI_HEADER&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~CHECK_HEADER&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~PUBLISH_MATERIAL_ITEM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the above Methods you can use the following Methods only &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) IF_EX_MB_MIGO_BADI~PBO_DETAIL&lt;/P&gt;&lt;P&gt;2) IF_EX_MB_MIGO_BADI~PBO_HEADER&lt;/P&gt;&lt;P&gt;3) IF_EX_MB_MIGO_BADI~HOLD_DATA_SAVE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been modified the following Changes for the above mentioned Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) IF_EX_MB_MIGO_BADI~PBO_DETAIL&lt;/P&gt;&lt;P&gt;method IF_EX_MB_MIGO_BADI~PBO_DETAIL.&lt;/P&gt;&lt;P&gt;data: ls_extdata type migo_badi_example_screen_field.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This check is obligatory, otherwise the program flow is incorrect&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;(If there would be more than one implementation of BAdI MB_MIGO_BADI,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;only one subscreen would be displayed).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;check i_class_id = gf_class_id.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Show screen only if there is an item&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;check i_line_id &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;External subscreen:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The content of global field G_NO_INPUT (set in method MODE_SET) will&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;influence the number of external subsreen:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Start Additional Code&lt;/P&gt;&lt;P&gt;if g_no_input is initial.&lt;/P&gt;&lt;P&gt;e_cprog = 'ZSAPLMIGO_BADI_EXAMPLE'.&lt;/P&gt;&lt;P&gt;e_dynnr = '0100'. "External fields: Input&lt;/P&gt;&lt;P&gt;e_heading = 'MIGO BAdI Example 1'.&lt;/P&gt;&lt;P&gt;**End Additional Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;e_cprog = 'SAPLMIGO_BADI_EXAMPLE'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;e_dynnr = '0001'. "External fields: Input&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;e_heading = 'MIGO BAdI Example'(004).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;e_cprog = 'SAPLMIGO_BADI_EXAMPLE'.&lt;/P&gt;&lt;P&gt;e_dynnr = '0002'. "External fields: Display&lt;/P&gt;&lt;P&gt;e_heading = 'MIGO BAdI EXAMPLE'(004).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set G_LINE_ID (= line_id of item displayed on detail-tabstrip)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;g_line_id = i_line_id.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;read table gt_extdata into ls_extdata&lt;/P&gt;&lt;P&gt;with table key line_id = i_line_id.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Export data to function group (for display on subscreen)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'MIGO_BADI_EXAMPLE_PUT_DATA'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;is_migo_badi_screen_fields = ls_extdata.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) IF_EX_MB_MIGO_BADI~PBO_HEADER &lt;/P&gt;&lt;P&gt;method IF_EX_MB_MIGO_BADI~PBO_HEADER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This check is obligatory, otherwise the program flow is incorrect&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;(If there would be more than one implementation of BAdI MB_MIGO_BADI,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;only one subscreen would be displayed).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;check i_class_id = gf_class_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;External subscreen:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The content of global field G_NO_INPUT (set in method MODE_SET) will&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;influence the number of external subsreen:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*break-point.&lt;/P&gt;&lt;P&gt;if g_no_input is initial.&lt;/P&gt;&lt;P&gt;**Start Additional Code&lt;/P&gt;&lt;P&gt;e_cprog = 'ZSAPLMIGO_BADI_EXAMPLE'.&lt;/P&gt;&lt;P&gt;e_dynnr = '0100'. "External fields: Input&lt;/P&gt;&lt;P&gt;e_heading = 'MIGO BAdI Example 1'.&lt;/P&gt;&lt;P&gt;**End Additional Code&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;e_cprog = 'SAPLMIGO_BADI_EXAMPLE'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;e_dynnr = '0003'. "External fields: Input&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;e_heading = 'MIGO BAdI EXAMPLE'(004).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;e_cprog = 'SAPLMIGO_BADI_EXAMPLE'.&lt;/P&gt;&lt;P&gt;e_dynnr = '0004'. "External fields: Display&lt;/P&gt;&lt;P&gt;e_heading = 'MIGO BAdI EXAMPLE'(004).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Export data to function group (for display on subscreen)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'MIGO_BADI_EXAMPLE_PUT_HEADER'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;is_migo_badi_header_fields = gs_exdata_header.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;4) IF_EX_MB_MIGO_BADI~HOLD_DATA_SAVE&lt;/P&gt;&lt;P&gt;method IF_EX_MB_MIGO_BADI~HOLD_DATA_SAVE.&lt;/P&gt;&lt;P&gt;**Start Additional Code&lt;/P&gt;&lt;P&gt;data: ls_mara type zmara(custom Table).&lt;/P&gt;&lt;P&gt;**End Additional Code&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Store data cluster (detail data) to data buffer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;export gt_extdata from gt_extdata to data buffer&lt;/P&gt;&lt;P&gt;ls_migo_badi_hold-hold_string.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Store data cluster (header data) to data buffer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;export gs_exdata_header from gs_exdata_header to data buffer&lt;/P&gt;&lt;P&gt;ls_migo_badi_hold-hold_string_head.&lt;/P&gt;&lt;P&gt;ls_migo_badi_hold-guid = i_guid.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Database update:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;insert into migo_badi_hold values ls_migo _hold.&lt;/P&gt;&lt;P&gt;**Start Additional Code&lt;/P&gt;&lt;P&gt;insert into ZMARA values ls_migo_mara.&lt;/P&gt;&lt;P&gt;**End Additional Code&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;message a398(00) with 'Error update MIGO_BADI_HOLD'(005).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 13:55:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607832#M597910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T13:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: MIGO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607833#M597911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could u pls tell me ,what i there in z program and in zmara table,i thing table consist of all three field,but pls tell how to go for z program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 05:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607833#M597911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T05:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: MIGO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607834#M597912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query1&lt;/P&gt;&lt;P&gt;********************************************************************************************&lt;/P&gt;&lt;P&gt;The Zprogram is for designing the screens which will come inside the TAB you add for the MIGO...in the BADI itself in the method IF_EX_MB_MIGO_BADI~PBO_DETAIL&lt;/P&gt;&lt;P&gt;you can see the code &lt;/P&gt;&lt;P&gt;if g_no_input is initial.&lt;/P&gt;&lt;P&gt;e_cprog = &amp;lt;b&amp;gt;'SAPLMIGO_BADI_EXAMPLE'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;e_dynnr = '001'. "External fields: Input&lt;/P&gt;&lt;P&gt;e_heading = 'MIGO BAdI Example 1'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;e_cprog = &amp;lt;b&amp;gt;'SAPLMIGO_BADI_EXAMPLE'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;e_dynnr = '002'. "External fields:Display&lt;/P&gt;&lt;P&gt;e_heading = 'MIGO BAdI Example 1'.&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;if you have copied and created the BADI as i have mentioned above from the standard copy function and activated it then you will see SAPLMIGO_BADI_EXAMPLE in the IF_EX_MB_MIGO_BADI~PBO_DETAIL and&lt;/P&gt;&lt;P&gt;IF_EX_MB_MIGO_BADI~PBO_HEADER....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can go to se38 ...write 'SAPLMIGO_BADI_EXAMPLE' copy it to ZSAPLMIGO_BADI_EXAMPLE to avoid using the sample code.....once you have created this Zprogram you have to design the screen with whatever fields from the tables of your desire using screen painter or going to the layout of the screen 001/002/003/004 &lt;/P&gt;&lt;P&gt;screen 001 is for item level input&lt;/P&gt;&lt;P&gt;screen 002 is for item level display&lt;/P&gt;&lt;P&gt;screen 003 is for header  level input&lt;/P&gt;&lt;P&gt;screen 004 is for header  level display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query 2 &lt;/P&gt;&lt;P&gt;********************************************************************************************&lt;/P&gt;&lt;P&gt;ZMARA table is just an example given to you my friend,&lt;/P&gt;&lt;P&gt;instead you should put the name of the Z-table you need to pass value into...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional INFO&lt;/P&gt;&lt;P&gt;********************************************************************************************&lt;/P&gt;&lt;P&gt;to save the data during posting....&lt;/P&gt;&lt;P&gt;in IF_EX_MB_MIGO_BADI~POST_DOCUMENT you need to perform the function module in update task......&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'MIGO_BADI_UPDATE_HEAD' IN UPDATE TASK&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      is_migo_badi_header_fields = gs_exdata_header1.&lt;/P&gt;&lt;P&gt;where : gs_exdata_header1 contains header details you have captured on screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside 'MIGO_BADI_UPDATE_HEAD' function module add the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change :&lt;/P&gt;&lt;P&gt; data: ls_migo_badi       type ZTABLE.&lt;/P&gt;&lt;P&gt;move-corresponding is_migo_badi_header_fields to ls_migo_badi.  "already there&lt;/P&gt;&lt;P&gt;INSERT ZTABLE FROM ls_migo_badi.           "database update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it solved your problem&lt;/P&gt;&lt;P&gt;Reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 12:11:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/migo/m-p/2607834#M597912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T12:11:46Z</dc:date>
    </item>
  </channel>
</rss>

