MB_MIGO_BADI:Conditional New Header Tab

Hi Experts ,
  I am  writting a BADI for MIGO transaction using mb_migo_badi .I have added one new tab in PBO_Header Method .
  User will input something in the field in new tab field , based on that some calculation will be there and result will be
effected in item level . Well its working fine .
Now my requirement is that new tab should come only for good receipt (bwart = 101) .
In that method only one import parameter available i.e- I_CLASS_ID .
please help me to solve this problem .

Under MODE_SET Method
IF i_action = 'A01' .
    g_no_input = 'X'.
    ELSE.
        g_no_input = '' .
  ENDIF.
Then under PBO_HEADER Method
IF g_no_input = 'X' .
"ur code
endif .
Thats it!

Similar Messages

  • 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.

  • MB_MIGO_BADI: Fields on Header - Accessing PO number

    Hi Experts,
    I am using MB_MIGO_BADI to add custom fields to the MIGO header tab. Inside the BADI methods/function modules, I'm not able to access the PO number. The PO number that is entered on the MIGO screen is needed to fill the new fields that I've created. How do I get the PO number?

    Well, I solved it on my own...here's how:
    In the FM of the method PAI_Header, I added this code:
    DATA LV1(28) TYPE c VALUE '(SAPLMIGO)GODYNPRO-PO_NUMBER'.
    FIELD-SYMBOLS <fs1> TYPE ANY.
    ASSIGN (LV1) TO <fs1>.
    Now, I can use Select statements to get data using this PO number!

  • Deactivation of Pricing Conditions at header level of Sales Order

    Hello there,
    We have used a routine in pricing procedure (BaseType Routine) to deactivate condition MWST in the MWST condition line in pricing procedure, transaction V/08.
    In the routine, We played with the KINAK (set to K )and KOBLI (set to space) flags of structure KOMT1 and XKOMV and delete the MWST entry in the TOBLI table and succeeded to deactivate the MWST at item level of the sales order. (MWST condition appear in the conditions tab at item level as inactive)
    We have created a sales order with only one item that has the MWST condition deactivated at item level.
    But in the conditions at header level the MWST condition does not appear. Shouldn't the MWST condition appear at header level but deactivated (with a yellow triangle next to MWST)?
    If yes is there a flag that we forgot to set?

    Hi,
    what is the table name you had mentioned
    TOBLI is it correct?
    Thanks
    mano

  • Dump after creating new header text on sales order and invoice.

    Hello,
    We have created one header text on sales order and the same text for invoices, on VOTXN customizing.
    Testing the new text, system let us save the text fine, but later, if we display the text, system give us dump error.
    My question is, after transport the customizing to the next environment, is necessary run a standard program. Since VOTXN, we have generated the new access created, but dump appear displaying text header tab.
    Any help on this?
    Thanks in advance

    Hello Customer master table man
    1) Did you review the dump analysis- ST22?  Do that because the dump amy or may not be related to the Text config changes.
    2) You are also mentioning about transporting?  Did you already transport and are facing this issue in the target client or is it happening in the source client and you want to avoid it in the target? OSS note 1117467 throws light on transporting issues.
    Review the following OSS notes:
    548615 - FAQ: Text determination in SD II
    548517 - FAQ: Text determination in SD I
    1117467 - Text Customizing change not transferred in target system II
    970153 - Change to Customizing text not transferred to target system
    Hope this helps.

  • Win7 "Task Manager" has lost its header tabs

    Somehow the task manager has lost the header tabs to move from applications to processes to network. It was there originally.
    I also lose from time to time my volume control icon, and it doesn't become hidden, it just disappears completey. To change the volume I have to either go into the control panel/sound and then adjust the volume and leave that open if I need to turn it down. OR reboot and it sometimes comes back.
    When I go to 'notification Icons" in control panel the icon and lettering for sound icon is not bold or high lighted but instead it is diminished. I have also seen a popup stating that modification will take affect when it (the sound) is activated as a pop up, but can't remember where I saw that happen. 
    Another question I have is...
    Ihave only one machine, my C:drive has Vista ultimate, all important files are on E,F HD's, removable, or external drives. I downloaded Win7 and burned a disk.
    I removed the 40Gig C: with Vista  put a 250Gig drive in that location and installed Win7. So far so good and am very pleased with everything even with a few bugs.
    Now I needed to go back to the Vista drive, so I removed the Win7 drive, reinstalled the 40Gig as C and received a prompt stating that ? win logon was not found. So I got the Vista DVD and did a repair which worked. If Win7 doesn't get an update to operate past August 1st and I go back to the 40Gig Vista drive will that happen again? AND where does that file get stored when you originally install? Does it go into the bios chip? Only becasue when I went back to the Win7 HD I got virtually the same prompt for that other drive.
    I am in the process of building another machine, but because the computer I'm currently using is antiquated in comparrison and all new parts are required except for the chasis the cost is setting me back a bit. Maybe when I do get everything I'll be able to do a dual OS, but for now I have what I have. Computer is an old dual xeon with ata drives going on 7yrs old, but has been a work horse and needs to go to pasture.   

    In addition to what Techoutsider said, you can open the Notification Area Icons control panel item and you can try clicking the "Restore default icon behavior" link near the bottom of the window and see if that fixes the MIA volume control.
    Your issue with swapping the hard drives may have something to do with the BIOS. Namely, it may not have correctly registered the replaced drive the first time you rebooted. You may want to try going in and making sure that it's where it should be in the pecking order. If it's expecting the 40 GB HDD, and it suddenly finds a 250 GB HDD, that could be the reason why you're having difficulty booting. Simply removing the drive and swapping it out should not cause it to become unbootable unless something changed within the BIOS settings. Given the drives you've got there aren't identical, there may be an issue with the BIOS not finding the correct drive. Make sure you update the BIOS settings by going in and then saving while exiting.
    For the record, NO OS writes ANYTHING directly to the BIOS. The exceptions to this would be the utilities you get with your motherboard that allow you to tweak settings (overclock) your components - such as Nvidia's NTune applet. All Windows files get written to the hard drive. As long as you didn't change anything, it should be able to find everything as it was the last time the hard drive was plugged in.
    According to rumors and such, there should be an RC build available almost any time now. There have been rumors to April 10th - or 1 week from this writing - and there have been rumors to some time in May.

  • Using the middle mouse button to open a link in a new background tab also reloads the current page.

    When I click on a link with the middle button to open the link in a new background tab, the original page reloads and my view jumps to the top each time.
    The new tab loads fine but in order to continue reading the original page I have to scroll down to where the link I clicked on is.
    If I right-click on the link and select "Open Link in New Tab" from the context menu then the behaviour is as expected -- does not reload the original page. The flaw only happens when using the convenient mouse shortcut.
    This is annoying, for example, on long Wikipedia articles where I want to open some of the cited pages in other tabs for reading later whilst I continue to read original article. I'm constantly having to find where I was in order to continue reading.
    I've observed this behaviour on both Windows XP and Ubuntu on various computers.
    [EDIT]: Better description of problem in title.

    I've never had that happen with Firefox 4 on WinXP. I haven't updated my Netbook that runs Ubuntu to Firefox 4 yet.
    1. Try disabling the Java Console 6.0.24 and the Java Quick Starter 1.0 extensions and see if that solves your middle-click problem.
    2. Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.''
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Open URL from Java in a new browser tab

    Hi OTN,
    Surprisingly can't find the implimintation.
    In an ADF managed bean I retrieve String url. I need to open a new browser tab with this url.
    Found this thread Open a url in a new window in the backing bean which shows using javascript "service.addScript(facesContext, "window.open(http://www.google.coml)");".
    But in my case in doesn't work. The code is executed, but nothing happens. Maybe because the bean is called from a taskflow inline popup.
    ADF 11.1.1.4
    Thanks.

    Well, I'm afraid that is not an option.
    The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
    The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
    That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java.

  • On Firefox 4, the back button does not work on a new browsing tab or window.

    Ever since I installed Firefox 4, I have noticed a problem that was not present with the previous version of Firefox. Whenever I open up Firefox and enter in a new web address, I cannot use the back arrow to go back to my original homepage; the arrow is ghosted out. The same problem exists when I open up a new browsing tab. Let me explain with an example. I open up my browser, and then I open a new tab (now there are two tabs open). In the new tab I type www.espn.com. Then I click on a link on espn.com. Say then I want to go back to the espn.com homepage that I just previously visited. I can't do it by clicking the back arrow; it's ghosted out. I have to physically type the address again (www.espn.com). Why has this changed? Is there a way to fix it? Why can't I just click the back arrow to go back to the espn.com homepage that I typed in originally (or my original homepage if I opened up a new window instead of a tab)? Oddly enough, if I go one link deeper into the espn.com site, I can then go back to the immediately preceding webpage, but not all the way back to the original espn.com homepage.
    I can't stand IE, but it doesn't have this problem. This problem also was not present on the old version of Firefox. I just verified this by testing the old version which I have installed on another computer.
    Please advise.

    Same problem here: I never had a problem with the previous versions and now I don't even get my homepage when I click Firefox. Instead, I am getting a blank screen that says "New Tab", only after I click the "Home" symbol I get my Homepage (Yahoo). The browser - back and browser forward button don't work anymore, very annoying. Normally a newer version should be an improvement but it looks like Mozilla really messed up with this "improvement". probably I am going to use Google chrome from now on.

  • When you open a new browser tab, underneath the box to type in what you are looking for is the recently visited list. I want to disable or delete this list...how do I get rid of this list???

    When you open a new browser tab, underneath the box to type in what you are looking for is the recently visited list. I want to disable or delete this list...how do I get rid of this list???

    The drop-down list displays items from your History and/or Bookmarks.
    You can control what shows (or nothing at all): Options > Privacy, "Location Bar" section. Options are:
    *History and Bookmarks
    *History
    *Bookmarks
    *Nothing
    See --> https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • I can no longer open a new browser tab by either clicking the + at the end of the last browser or by using the Ctrl key + T, how do I fix this?

    I have uninstalled firefox and reinstalled firefox to try and solve this
    issue, but it has not fixed the issue. To open a new tab I must right click
    any current page link to get a new browser tab and then navigate to a new web address. This is a recent issue that just started happening and I can't figure out what happened or what got disabled. Please help me fix this.

    Try uninstalling the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened.

  • When I open my free aol email account, I keep getting redirected to a new open tab ad for Verizon Fios. Is there a way to block this in Firefox?

    I tried SuperAntiSpyware and Malwarebytes but they didn't solve the problem. AOL email is the only place I'm having this problem and it's constantly happening while I have that email open. It will open up the same new tab time after time. Screen shot jpg will not upload but it shows 3 tabs for "FiOS Custom TV" with the following address - http://campaign.verizon.com/customizetv/?CMP=BAC-CON_2015-Q2_MM-ACQ-MZ2ACQQuizP3a_0576
    Help?

    I access my aol email through www.aol.com. When I got to my emails, another tab was automatically opening by itself and I was redirected to that newly opened tab with the page that had the Verizon Fios promotion/ad. This happened automatically and repetitively while I was trying to check my emails. (Note the multiple Verizon tabs in the screenshot attached to this inquiry)
    This happened over the last 2 days while in my free aol email account. I did notice a Verizon ad at the top of my email inbox while this was happening. I never did click on or otherwise access the Verizon ad but was constantly redirected to the new page/tab while viewing my emails. I went to my aol email just now to see if this was still occurring; there is a different ad in place of the Verizon ad and I am no longer being automatically redirected to another tab/page. Don't know why it was happening when the Verizon ad was there but it's not happening now since the Verizon ad has been replaced with another ad from a different company.
    Any thoughts on this?
    thank you

  • New entries tab not appearing in tcode VOR1, VOR2 in application tool bar

    Hi guru's
    Suddenly overnight the new entries tab present in the application tool bar seems to have been vanished from tcode VOR1 & VOR2, in the sandbox, development & quality server, even when the client is open, i.e in tcode SCC4 we have allowed changes to be made, protection level is "0" and changes to repository and cross-client customising allowed.
    Please suggest where & what are the other changes I have to make so that I can get the new entries tab in tcode VOR1 & VOR2
    Thanks & best regards
    satish

    Hi Venkat
    That is where the problem lies. The sales organisation, distribution channel & division has been defined & assigned and even the respective sales area's has been assigned to the respective document types.
    But still the system ECC 6.0 does not allow to create any sales orders because the assgnment in tcodes VOR1 & VOR2 is still pending and the entries do not appear there by default.
    Once again the  distribution channels and divisions has to be assgined to the respective sales organisations in VOR1 & VOR2
    But since the new entries tab is absent I am not able to create any new sales orders because the assignment in tcodes VOR1 & VOR2 is pending.
    Please suggest a solution.
    Thanks
    satish

  • NEW HEADER TEXT IN PO

    Dear Gurus,
    How to create OR Copy new header text type in PO.
    Actually i needed 3 or more new Header text type in PO.
    Please suggest
    Thanks

    Hi
    Follow the following IMG path to configure the new text types & define the copy rules:
    IMG - MAterials Management - Purchasing - Purchase Order - Define text types
    Under this you will have option for Header text & also for Item text types.
    Regards
    Prasad

  • With multiple tabs open, and selecting a new (blank) tab, RoboForm open new web page in far left tab, not the new (blank) one. How to correct this?

    Problem: Firefox Browser Tabs when using RoboForm
    When using Tabs in the Firefox browser (with multiple Tabs already open), I (1) click to open a new (blank) tab and then, (2) click on RoboForm to go to a new website. Instead of the new website opening in the newly opened (blank) tab it opens in the first (far left) tab. This only began happening when I installed Firefox 5.0 and RoboForm Desktop v7.3.2 at the same time.
    My system: HP Pavilion Media center, Windows Vista Ultimate 64-bit, 8GB RAM, Firefox v5.0, Roboform Desktop v7.3.2

    Thanks a lot. The culprit turned out to be Webmail Notifier. Unfortunately, there seems to be some problems on their end that the developer has not yet responded to, but something about the extension is screwing up tab functionality.
    Thanks!

Maybe you are looking for

  • Ical bug: updates to outlook events with iCloud sync do not work

    I have a bug that needs to be submitted to Apple Developers. I am not sure that this is the correct forum, but here goes. I have a calendar that syncs from my Mac to iCloud. If I get a calendar invite from someone using outlook, everything works fine

  • How to read data from an excel using abap program?

    Hi I have to write an abap program to read the contents of ms excel across various sheets. Can any one help me regarding this Thanks in advance Satish

  • Flash CS5 crash when placing bitmap on stage

    Hello, I have a really really annoying problem with Flash CS5 (11.0.2.489) on winXP. Everytime I place a bitmap (jpg, png..) on stage, Flash crashes. It occurs with existing fla, as well as with new documents, but only as3! (with as2 new documents, i

  • Slideshow works on desktop viewer, but not on iPad

    I have an MSO slideshow that works great on the desktop viewer, but when previewed on the iPad it just shows the first state and doesn't transition to the next state. We have made slideshows before that work on both the desktop and iPad content viewe

  • Mplayer depends on libcap...

    ... but I can't really find through which module. Looking at libcap's "required by" in testing, I thought I would only need to reinstall proftpd, avahi, samba and wireshark. But I had to upgrade mplayer and mpd too. So this is just a question, maybe