Reg: Additional header tab strip in MIGO Transaction

Hi Experts,
I have added a new header tab strip in MIGO transaction. The tab strip is triggered using the BADI 'MB_MIGO_BADI' (PBO_HEADER method), I populated a selection screen using module pool program through the same BADI. Now i need to update the values in the selection screen fields to the data base table MKPF.  I need a solution for update the screen field values to the data base table MKPF. Whether some other BADI i need to use? if yes how can i pass the screen field values to that BADI.
Please guide me.
Thanks
Vijay.R

Hi,
You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.
REPORT  zrmexitfinder                               .
TABLES: modsap, modact, tstc.
PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',
            input2 LIKE modsap-typ DEFAULT ' '.
DATA: search1(6),
      search2(3),
      search3 LIKE modsap-member.
DATA : first_row VALUE 'Y'.
CONCATENATE: '%' input1 '%' INTO search1,
'%' input2 INTO search2.
SELECT * FROM tstc WHERE tcode LIKE search1.
  first_row = 'Y'.
  CHECK tstc-pgmna NE space.
  CONCATENATE '%' tstc-pgmna '%' INTO search3.
  SELECT * FROM modsap WHERE typ LIKE search2
  AND member LIKE search3.
    SELECT SINGLE * FROM modact WHERE member = modsap-name.
    IF first_row EQ 'Y'.
      WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
             45 modsap-member, 70 modact-name.
      first_row = 'N'.
    ELSE.
      WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.
    ENDIF.
    CLEAR : modsap, modact.
  ENDSELECT.
  IF sy-subrc NE 0.
    WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
  ENDIF.
  CLEAR tstc.
ENDSELECT.
END-OF-SELECTION.
  CLEAR: search1, search2, search3.
Regards,
Renjith Michael.

Similar Messages

  • Reg: How to add new tab strip in MIGO transaction

    Hi Experts,
    I need to add a new tab strip(Inside one selection screen, If the user clicks the new tab strip, New selection screen should populate) in MIGO transaction after pressing enter for the movement type '122'.
    I tried with the BADI MB_MIGO_BADI, Simply i called the module pool program inside that BADI, But it is not giving any solution.
    Please guide me to find the solution for this requirement.
    Regards
    Vijay.R

    Hi,
    You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.
    REPORT  zrmexitfinder                               .
    TABLES: modsap, modact, tstc.
    PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',
                input2 LIKE modsap-typ DEFAULT ' '.
    DATA: search1(6),
          search2(3),
          search3 LIKE modsap-member.
    DATA : first_row VALUE 'Y'.
    CONCATENATE: '%' input1 '%' INTO search1,
    '%' input2 INTO search2.
    SELECT * FROM tstc WHERE tcode LIKE search1.
      first_row = 'Y'.
      CHECK tstc-pgmna NE space.
      CONCATENATE '%' tstc-pgmna '%' INTO search3.
      SELECT * FROM modsap WHERE typ LIKE search2
      AND member LIKE search3.
        SELECT SINGLE * FROM modact WHERE member = modsap-name.
        IF first_row EQ 'Y'.
          WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
                 45 modsap-member, 70 modact-name.
          first_row = 'N'.
        ELSE.
          WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.
        ENDIF.
        CLEAR : modsap, modact.
      ENDSELECT.
      IF sy-subrc NE 0.
        WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
      ENDIF.
      CLEAR tstc.
    ENDSELECT.
    END-OF-SELECTION.
      CLEAR: search1, search2, search3.
    Regards,
    Renjith Michael.

  • How to pass error message for an additional tab strip in MIGO

    Hi,
    I have created one additional tab strip in MIGO transaction,In that tab i have 5 text fields,In that 4 text fields i want to make as mandatory fields,In the existing screen MIGO is using " Application log"  for passing any error message It is calling as include program in SAPLMIGO report program,In that "lmigolo2 " is the include program name.Now i am struggling how to make use that in my newly created screen.
    Regards
    Ambili B

    Hi rahul,
    Can u try these
    :Object failed to run due to an error while processing on the Job Server.
    2 )Object failed to run due to an error
    3 )Object failed to run due to an error while proc... | SCN

  • Reg: Addition of Tab  with fields to the Invoice Header - VF01

    Hi,
      The Requirement is to add an additional tab to the Invoice Header -VF01.Is there any Badi to add the Tab?
    Please Provide me the Solution.
    Thanks in Advance,
    Praveen

    Hi Sourabh,
           Thanks for the Reply.But I could not create an Implemention for the BADI : BADI_SD_CUST_HEAD as it is for SAP internal use.
          Is there any other alternative where we can add a tab to the Invoice Header - VF01.
    Please provide me a solution.It would be of great help to me.
    Thanks in Advance,
    Praveen

  • Reg:Error message in MIGO Transaction

    Hi All,
    I added the new tab strip in MIGO Screen. now i need to make all the fields as mandatory. so using BADI (MB_MIGO_BADI) i gave the mandatory check ( if the Zfield = ' ', then error message) while clicking the check button before posting the material number. But it prevents to proceed further, simply it skips the transaction because of error message. and at the same time 'i should not use the information message'. my requirement is 'Error message should be populated after clicking the check button but it should allow to enter the mandatory fields after the error message'. i.e it should not skip the transaction after the error message.
    Please help me.
    Thanks & Regards
    Vijay.R

    Hi
    Probably the message is called dynamically, so u should try to check by debug when that message is raised.
    U can set a break-point for the statament MESSAGE.
    Max

  • Header texts in MIGO transaction

    Hello to everyone
    Is it possible to change the fixed texts of the header columns in the MIGO transaction, for instance, write supplier instead of vendor?
    Regards

    it would be a modification, you can do it in SE11.
    With the next hot package or OSS note your texts can be overwritten.
    I would not waste my time and money with such requirement. Within 2 days any user is used to the SAP terminology

  • Disabling G/L Account field in MIGO transaction

    HIiya Gurus,
                     I have got a requirement to disable the GL Account field in Accounting tab in the MIGO transaction. since i am an abaper i am not sure how to disable this field. i have gone through the transaction SPRO , but unfortunately for the filed G/L Account field KONTO  there are only 2 options :--
    either to make it optional or mandatory.
                     But my requirement is to make it disabled (greyed out), IS it possible to Grey out that field.
    In my customization this field is set as Option.
                   Kindly provide me with your valuable suggestions.
    Cheers,
    ZIa

    Hi,
    Use this BADI 'MB_MIGO_BADI'
    Do write the code in PBO of the screen.......which you have created ....
    In order to make the fields to be in display mode during the display of material document, create a module under PBO and import the flag value and the production order number details in the method LINE_MODIFY and if that flag = u2018Xu2019, use
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'ZZGBAGS'.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Regards
    krishna
    Edited by: Krishna Gowrneni on May 1, 2009 12:25 AM
    Edited by: Krishna Gowrneni on May 1, 2009 12:39 AM

  • Subscreen in MIGO Transaction

    Hi,
    I am trying to include a sub screen/tab strip in MIGO.
    i.e., For each line item, user has to enter the storage bin, if the default bin is not available.
    I went to BADI's, User exits.But I am not getting the required output.Could anyone Pl guid Me to achieve this functionality?. Thanks in advance.
    Regards
    Elini.P

    hi
    good
    try with these userexits which might help you to add custom screen.
    MBCF0002     Customer function exit: Segment text in material doc. item
    MBCF0005     Material document item for goods receipt/issue slip
    MBCF0006     Customer function for WBS element
    MBCF0007     Customer function exit: Updating a reservation
    MBCF0009     Filling the storage location field
    MBCF0010     Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011     Read from RESB and RKPF for print list in  MB26
    MB_CF001     Customer Function Exit in the Case of Updating a Mat. Doc.
    thanks
    mrutyun

  • Saving custom fields to MSEG added in additional TAB in MIGO transaction

    Hi Experts,
    I am facing an issue with an enhancement in MIGO transaction for which i need help. I have gone through several threads with similar issues but none of them have solved my issue. I have worked around with all BADIs of MIGO and user exits available but to no avail so I am posting a new thread.
    The requirement is pretty straight forward of adding a custom TAB in item details section of MIGO transaction. I have done that using BADI: MB_MIGO_BADI, method PBO_DETAIL. I created a screen with my custom fields and passed them in this method. The TAB appears as expected with all the fields. The custom fields are in MSEG table which has been enhanced and it needs to be updated with the user values on the screen.
    The issue creeps in when there are multiple materials in the purchasing document and user works around with them. Say he clicks on the second material and in the custom TAB changes its details in custom fields. Now he clicks on the fourth material and changes its details. Continues this for all the materials in random order. How do i identify in my custom screen [developed separately and called in PBO_DETAIL of the BADI] which details belong to which material or line number. The only way to do it is by using the purchasing order number and line item number. These are not available in my custom screen and needs to be exported from somewhere and imported there. I have not been able to identify the point where export can be done.
    Can anyone help me out with this problem? Either the point where export can be done or any other way of identifying the link between the line number / material number and the custom field details entered by the user.
    Thanks,
    Ritvik

    Hi Ritvik,
    you will not need it.
    The item methods will process exactly the item what the addional item data are related to. In PBO_DETAIL and PAI_DETAIL, use parameter I_LINE_ID for the item reference.
    Note: Not only read SCN etc,  also the parameters desciption of the methods used.
    Regards,
    Clemens

  • How to add a new field in migo transaction (header level)

    hi guru's
    can you please tell me how to add a field in migo transaction?
    i want to add a field in header data and that too under "general" tab. i dont have data regarding that field.
    and when we enter a value for that field in migo, it has to take .
    thank you.

    Hi, My problem is allmost like the one you are discussing here....
    I have appended MKPF for my Z-fields and created a sub-screen (Design the screen). I am calling this screen in PBO_HEADER. Now i can see my newly created tab along with fields.
    Now the problem is:-
    1. How I can transfer that data entered in screen fields back to my BADI.
    2. How to update my z-fields in MKPF table along with standard fields. I have tried using FM - 'J_1IEXGM_BADI_POST_DOCUMENT' in Method - POST_DOCUMENT, but its not updating table record in MKPF for Z-Fields.
    Please advice.....
    Thanks

  • BED AND ECS AMOUNT IS MORE IN MIGO EXCISE HEADER TAB

    Hi Guys,
    When I am processing the MIGO, in exise tab(Header) the amount of BED and ECS are 10 time more than the acctual amount. Where as the Item details Excise tab it is correct as per the Purchase order.
    Can some body tell me how/from where this headder amount being calculated or flowed.
    Thanks
    Dhanu

    HI,
    If you have done the GR against a PO which has multiple line items then the Excise values which appear in the Header is the summation of excise values for all the line items.
    The excise values for each line item can be viewed in the item details of MIGO transaction.
    Hope its clear.
    Regards,

  • Excise Invoice tab In MIGO transaction code

    Hello
    Could any body suggest, In Excise Invoice tab In MIGO transaction code I am getting "06  No Excise Entry" no otehr fields are coming.? All options like
    01     Capture & Post Excise Invoice
    02     Refer & Post Excise Invoice
    03     Only Capture Excise Invoice
    04     Only Refer Excise Invoice
    05     Only Part1
    Should come. Infact in my SAND Box client it is o.k but with same setting Golden Client it is not coming.?
    Thanks & Regards
    Sudhansu

    Hi,
    These options are coming from Excise Group settings.
    Go to : SPRO-Logistics General-Tax on Goods movements-India-Basic settings-Maintain Excise Groups-in 'MIGO Settings' tab, select the check boxes, accordingly you will get the options in Excise Tab of MIGO screen.
    Hope this will resolve your issue.
    Regards,
    Gopi Chand

  • New tab strip for PO header data

    Hello,
    for a customer project there is the need to add a new customer individual tab strip to PO and contract header data. Is there an User Exit or any other predefined way to do this in a most efficient way with minimum changes in SAP standard?
    Regards
    Norbert

    Hi Norbert,
    You can add th new custom tab to the PO and contract header data  using the below mentioned Enhancement.
    Enhancement        MM06E005
    Short text         Customer fields in purchasing document
    Create a project in the Tcode CMOD and assign the above mentioned enhancement.
    Add new fields in include structure CI_EKKODB.
    Design your screen for the new fields in SAPLXM06        0101.
    Put your logic in the corresponding function module exit as provided in the enhancement.
    Regards
    Dillip

  • Additional fields in MIGO transaction

    Hi Everybody,
      We have a requirement where we need to have additional fields in MIGO transaction when the user chooses 'distribute qty' option to split the quantity, the normal screen shows the following fields,
    1. Qty in UnE
    2. Stock type
    3. Movement type
    4.Stor location, we need Serial number, Drum number in Screen number 1000 of SAPLMIGO program,  Can any one tell me how do I achieve this functionality,
    Rgds,

    The only option I see is design your own custom screen with the required fields and call it as popup ( Modal Dialog Box ) from user exit ZXMBCU02 .
    This user exit will be triggered when you click on "CHECK" or "SAVE" button.
    There is no way to modify MIGO screen itself , so maybe you will have to pass the item number etc from MIGO and have a table control on your custom screen for data entry.
    For saving data into database donot use this exit as a user may just check and go out and you will unnecssarily push the data into z table . In this exit do an export to memory for your custom fields.
    In another exit ZXMBCU01 , do an import from memory and update the required Z table . This exit is called while updating material document in update task.
    However to goto popup screen for displaying chnaging custom fields you will have to press "CHECK" button , maybe a user training issue.
    Cheers

  • MIGO transaction Extra Tab

    Here we are facing one problem in one of the Business Add ins for MIGO Transaction .
    The BADI we have used is MB_MIGO_BADI. It successfully adds the extra tab in migo transaction. But if the change the fields of the communicating structure in Line_modify method it says BADI doenot allow to change the fields and it doesnot modify the database Table MSEG. we have append structure in goitem structure and MSEG Table ... but still we are still getting a msg that the field cannot be modified ....

    There is a BADI MB_MIGO_BADI for adding tabs for MIGO transaction. When you go to se18, open the BADI. Then go to 'GOTO' -> sample code -> display. You can copy the example and play with it.
    The Badi, you can use multiple times. Which means you can create more than one tab. You just need to create more implement against the BADI.
    Hope this helps.
    JC.

Maybe you are looking for

  • Panasonic Lumix FZ1000 RAW files support in Lightroom 4

      http://blogs.adobe.com/lightroomjournal/2014/07/camera-raw-8-6-and-dng-converter-8-6-now-a vailable.html The above says that Panasonic Lumix FZ1000 RAW files are supported in camera raw 8.6.  I specifically checked before buying the camera.  Everyt

  • Why upgrade to 10/8 version of solaris 10?

    I have solaris 10, 5/8 version, why would I upgrade to the latest 10/08 version? Any substantial improvements?

  • 3000 v100 random shutdown

    Hi all: I think some one already posted a similar problem but it was a n100 notebook. I have had the v100 for over a year and my battery has also died. But the problem is not that. Problem is that even on the AC adaptor, the notebook shuts down rando

  • Word completion problem

    Hi folks. Not after code, as I am hoping to write this myself. I am after suggestions from anyone that has been there before or has a bit more experience with this problem and ideas for me. Many of you guys are probably using an IDE with code complet

  • Unable to reset password for AppleID associated with iCloud

    For the last week or so I haven't been able to access my iCloud on my iPhone, because it keeps saying that the password for my AppleID is incorrect.  I've tried resetting the password on several occasions, but I can only reset the password for the ID